NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Features_GeometricConstraintData.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口至JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Features_GeometricConstraintData.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/TaggedObject.hxx>
22
#include <NXOpen/libnxopencpp_features_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
namespace
Features
33
{
34
class
GeometricConstraintData
;
35
}
36
class
Direction
;
37
class
Offset
;
38
class
Point
;
39
class
Scalar
;
40
namespace
Features
41
{
42
class
_GeometricConstraintDataBuilder;
43
class
GeometricConstraintDataImpl;
74
class
NXOPENCPP_FEATURESEXPORT GeometricConstraintData :
public
NXOpen::TaggedObject
75
{
77
public
:
enum
AutoConstraintType
78
{
79
AutoConstraintTypeNone
,
80
AutoConstraintTypeTangent
,
81
AutoConstraintTypeCurvature
,
82
AutoConstraintTypeCurvatureDerivative
83
};
84
85
public
:
enum
ParameterDirection
86
{
87
ParameterDirectionIso
,
88
ParameterDirectionSection
,
89
ParameterDirectionNormal
,
90
ParameterDirectionPerpendicular
91
};
92
private
:
GeometricConstraintDataImpl
* m_geometricconstraintdata_impl;
93
private
:
friend
class
_GeometricConstraintDataBuilder;
94
protected
:
GeometricConstraintData
();
95
public
:
~GeometricConstraintData
();
99
public
:
NXOpen::Point
*
Point
100
(
101
);
105
public
:
void
SetPoint
106
(
107
NXOpen::Point
* point
108
);
112
public
:
NXOpen::Features::GeometricConstraintData::AutoConstraintType
AutomaticConstraintType
113
(
114
);
118
public
:
void
SetAutomaticConstraintType
119
(
120
NXOpen::Features::GeometricConstraintData::AutoConstraintType
autoConstraintType
121
);
125
public
:
NXOpen::Features::GeometricConstraintData::ParameterDirection
AutomaticConstraintDirection
126
(
127
);
131
public
:
void
SetAutomaticConstraintDirection
132
(
133
NXOpen::Features::GeometricConstraintData::ParameterDirection
autoConstraintDirection
134
);
139
public
:
bool
CanInferConstraintFromAttachmentParent
140
(
141
);
146
public
:
void
SetCanInferConstraintFromAttachmentParent
147
(
148
bool
canInferConstraintFromAttachmentParent
149
);
153
public
:
NXOpen::Direction
*
TangentDirection
154
(
155
);
159
public
:
void
SetTangentDirection
160
(
161
NXOpen::Direction
* tangentDirection
162
);
166
public
:
NXOpen::Scalar
*
TangentMagnitude
167
(
168
);
172
public
:
void
SetTangentMagnitude
173
(
174
NXOpen::Scalar
* tangentMagnitude
175
);
179
public
:
NXOpen::Offset
*
Curvature
180
(
181
);
185
public
:
void
SetCurvature
186
(
187
NXOpen::Offset
* curvature
188
);
192
public
:
NXOpen::Offset
*
CurvatureDerivative
193
(
194
);
198
public
:
void
SetCurvatureDerivative
199
(
200
NXOpen::Offset
* curvatureDerivative
201
);
205
public
:
bool
HasSymmetricModelingConstraint
206
(
207
);
211
public
:
void
SetHasSymmetricModelingConstraint
212
(
213
bool
symmetric
214
);
215
};
216
}
217
}
218
#ifdef _MSC_VER
219
#pragma warning(pop)
220
#endif
221
#ifdef __GNUC__
222
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
223
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
224
#endif
225
#endif
226
#undef EXPORTLIBRARY