NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
DatumConstraint.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// JA API的C++接口头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// DatumConstraint.ja
9
//
10
// 生成工具:
11
// apiwrap
12
//
13
// 警告:
14
// 此文件为自动生成,请勿手动编辑
15
//
16
#pragma once
17
#include <NXOpen/NXDeprecation.hxx>
18
#include <vector>
19
#include <NXOpen/NXString.hxx>
20
#include <NXOpen/Callback.hxx>
21
#include <NXOpen/TransientObject.hxx>
22
#include <NXOpen/libnxopencpp_exports.hxx>
23
#ifdef _MSC_VER
24
#pragma warning(push)
25
#pragma warning(disable:4996)
26
#endif
27
#ifdef __GNUC__
28
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
29
#endif
30
namespace
NXOpen
31
{
32
class
DatumConstraint
;
33
class
DisplayableObject
;
34
class
Expression
;
35
class
DatumConstraintImpl;
39
class
NXOPENCPPEXPORT
DatumConstraint
:
public
NXOpen::TransientObject
40
{
42
public
:
enum
CurveOption
43
{
44
CurveOptionDistance
,
45
CurveOptionPercent
46
};
47
48
public
:
enum
Solution
49
{
50
SolutionUndefined
,
51
SolutionTangent
,
52
SolutionNormal
,
53
SolutionBinormal
,
54
SolutionOppositeTangent
,
55
SolutionOppositeNormal
,
56
SolutionOppositeBinormal
,
57
SolutionProject
58
};
59
60
public
:
enum
Type
61
{
62
TypeUndefined
,
63
TypeCoincident
,
64
TypeParallel
,
65
TypePerpendicular
,
66
TypeCenter
,
67
TypeTangent
,
68
TypeDistance
,
69
TypeAngle
,
70
TypeFrenet
71
};
72
private
:
DatumConstraintImpl
* m_datumconstraint_impl;
74
public
:
explicit
DatumConstraint
(
void
*ptr);
76
79
public
:
NXOpen::DatumConstraint::Type
ConstraintType
80
(
81
);
85
public
:
void
SetConstraintType
86
(
87
NXOpen::DatumConstraint::Type
constraintType
88
);
92
public
:
NXOpen::DisplayableObject
*
Geometry
93
(
94
);
98
public
:
void
SetGeometry
99
(
100
NXOpen::DisplayableObject
* geometry
101
);
105
public
:
NXOpen::DatumConstraint::CurveOption
ArcLengthType
106
(
107
);
111
public
:
void
SetArcLengthType
112
(
113
NXOpen::DatumConstraint::CurveOption
option
114
);
118
public
:
NXOpen::Expression
*
ArcLength
119
(
120
);
124
public
:
void
SetArcLength
125
(
126
const
NXString
& length
127
);
131
void
SetArcLength
132
(
133
const
char
* length
134
);
138
public
:
NXOpen::DatumConstraint::Solution
AlternateSolution
139
(
140
);
144
public
:
void
SetAlternateSolution
145
(
146
NXOpen::DatumConstraint::Solution
solution
147
);
151
public
:
virtual
~DatumConstraint
();
152
};
//lint !e1712 default constructor not defined for class
153
}
154
#ifdef _MSC_VER
155
#pragma warning(pop)
156
#endif
157
#ifdef __GNUC__
158
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
159
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
160
#endif
161
#endif
162
#undef EXPORTLIBRARY