NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Positioning_ConstraintReference.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// JA API的C++接口头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Positioning_ConstraintReference.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/NXObject.hxx>
22
#include <NXOpen/ugmath.hxx>
23
#include <NXOpen/libnxopencpp_positioning_exports.hxx>
24
#ifdef _MSC_VER
25
#pragma warning(push)
26
#pragma warning(disable:4996)
27
#endif
28
#ifdef __GNUC__
29
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
30
#endif
31
namespace
NXOpen
32
{
33
namespace
Positioning
34
{
35
class
ConstraintReference
;
36
}
37
class
NXObject
;
38
namespace
Positioning
39
{
40
class
_ConstraintReferenceBuilder;
41
class
ConstraintReferenceImpl;
48
class
NXOPENCPP_POSITIONINGEXPORT ConstraintReference :
public
NXOpen::NXObject
49
{
54
public
:
enum
GeometryType
55
{
56
GeometryTypeUnknown
= -1,
57
GeometryTypePoint
,
58
GeometryTypeLine
,
59
GeometryTypeCircle
,
60
GeometryTypePlane
,
61
GeometryTypeCylinder
,
62
GeometryTypeSphere
,
63
GeometryTypeSweepSurface
,
64
GeometryTypeParametricSurface
,
65
GeometryTypeParametricCurve
,
66
GeometryTypeSplineCurve
,
67
GeometryTypeTorus
,
68
GeometryTypeCone
,
69
GeometryTypeEllipse
,
70
GeometryTypeSplineSurface
,
71
GeometryTypeCoordinateSystem
= 1001
72
};
73
77
public
:
enum
ConstraintOrder
78
{
79
ConstraintOrderUnknown
,
80
ConstraintOrderInside
,
81
ConstraintOrderOutside
82
};
83
86
public
:
enum
HalfSpace
87
{
88
HalfSpaceInfer
,
89
HalfSpacePositive
,
90
HalfSpaceNegative
91
};
92
private
:
ConstraintReferenceImpl
* m_constraintreference_impl;
93
private
:
friend
class
_ConstraintReferenceBuilder;
94
protected
:
ConstraintReference
();
95
public
:
~ConstraintReference
();
101
public
:
NXOpen::NXObject
*
GetGeometry
102
(
103
);
109
public
:
NXOpen::NXObject
*
GetPrototypeGeometry
110
(
111
);
117
public
:
NXOpen::NXObject
*
GetMovableObject
118
(
119
);
124
public
:
void
SetHelpPoint
125
(
126
const
NXOpen::Point3d
& helpPoint
127
);
132
public
:
NXOpen::Point3d
HelpPoint
133
(
134
);
140
public
:
bool
GetUsesGeometryAxis
141
(
142
);
150
public
:
void
SetFixHint
151
(
152
bool
set
153
);
161
public
:
void
SetFixHintForUpdate
162
(
163
bool
set
164
);
171
public
:
bool
GetUsePortRotate
172
(
173
);
178
public
:
void
SetUsePortRotateFlag
179
(
180
bool
useRotate
181
);
186
public
:
bool
UsePortRotateFlag
187
(
188
);
192
public
:
NXOpen::Positioning::ConstraintReference::GeometryType
SolverGeometryType
193
(
194
);
198
public
:
NXOpen::Positioning::ConstraintReference::ConstraintOrder
Order
199
(
200
);
204
public
:
void
SetConstraintReferenceHalfSpace
205
(
206
NXOpen::Positioning::ConstraintReference::HalfSpace
halfSpace
207
);
211
public
:
NXOpen::Positioning::ConstraintReference::HalfSpace
ConstraintReferenceHalfSpace
212
(
213
);
223
public
:
bool
GetHasPerpendicularVector
224
(
225
);
234
public
:
NXOpen::Vector3d
GetPrototypePerpendicularVector
235
(
236
);
246
public
:
void
SetPrototypePerpendicularVector
247
(
248
const
NXOpen::Vector3d
& perpendicularVector
249
);
255
public
:
void
SetGeometryDirectionReversed
256
(
257
bool
geometryDirectionReversed
258
);
264
public
:
bool
GeometryDirectionReversed
265
(
266
);
267
};
268
}
269
}
270
#ifdef _MSC_VER
271
#pragma warning(pop)
272
#endif
273
#ifdef __GNUC__
274
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
275
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
276
#endif
277
#endif
278
#undef EXPORTLIBRARY