NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Features_DatumAxisBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口到JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Features_DatumAxisBuilder.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/GeometricUtilities_OnPathDimensionBuilder.hxx>
22
#include <NXOpen/Features_DatumBuilder.hxx>
23
#include <NXOpen/Section.hxx>
24
#include <NXOpen/SelectObject.hxx>
25
#include <NXOpen/SelectObjectList.hxx>
26
#include <NXOpen/type.hxx>
27
#include <NXOpen/libnxopencpp_features_exports.hxx>
28
#ifdef _MSC_VER
29
#pragma warning(push)
30
#pragma warning(disable:4996)
31
#endif
32
#ifdef __GNUC__
33
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
34
#endif
35
namespace
NXOpen
36
{
37
namespace
Features
38
{
39
class
DatumAxisBuilder
;
40
}
41
class
Direction
;
42
class
DisplayableObject
;
43
namespace
Features
44
{
45
class
DatumBuilder
;
46
}
47
namespace
GeometricUtilities
48
{
49
class
OnPathDimensionBuilder
;
50
}
51
class
ICurve
;
52
class
Point
;
53
class
Section
;
54
class
SelectICurve
;
55
class
SelectNXObject
;
56
class
SelectNXObjectList
;
57
namespace
Features
58
{
59
class
_DatumAxisBuilderBuilder;
60
class
DatumAxisBuilderImpl;
65
class
NXOPENCPP_FEATURESEXPORT DatumAxisBuilder :
public
NXOpen::Features::DatumBuilder
66
{
68
public
:
enum
FixedType
69
{
70
FixedTypeAll
,
71
FixedTypeX
,
72
FixedTypeY
,
73
FixedTypeZ
74
};
75
76
public
:
enum
CurveOption
77
{
78
CurveOptionDistance
,
79
CurveOptionPercent
80
};
81
82
public
:
enum
AlternateSolution
83
{
84
AlternateSolutionUndefined
,
85
AlternateSolutionTangent
,
86
AlternateSolutionNormal
,
87
AlternateSolutionBinormal
,
88
AlternateSolutionOppositeTangent
,
89
AlternateSolutionOppositeNormal
,
90
AlternateSolutionOppositeBinormal
,
91
AlternateSolutionProject
92
};
93
94
public
:
enum
ConstraintType
95
{
96
ConstraintTypeUndefined
,
97
ConstraintTypeCoincident
,
98
ConstraintTypeParallel
,
99
ConstraintTypePerpendicular
,
100
ConstraintTypeCenter
,
101
ConstraintTypeTangent
,
102
ConstraintTypeDistance
,
103
ConstraintTypeAngle
,
104
ConstraintTypeFrenet
105
};
106
107
public
:
enum
UseArcLength
108
{
109
UseArcLengthNoPoint
,
110
UseArcLengthFirstPoint
,
111
UseArcLengthSecondPoint
,
112
UseArcLengthAllPoints
113
};
114
115
public
:
enum
DirectionOrientations
116
{
117
DirectionOrientationsParallelToVector
,
118
DirectionOrientationsPerpendicularToVector
119
};
120
121
public
:
enum
CurveOrientations
122
{
123
CurveOrientationsTangent
,
124
CurveOrientationsNormal
,
125
CurveOrientationsBinormal
,
126
CurveOrientationsPerpendicularToObject
,
127
CurveOrientationsParallelToObject
128
};
129
130
public
:
enum
Types
131
{
132
TypesInferred
,
133
TypesIntersection
,
134
TypesCurveOrFaceAxis
,
135
TypesOnCurveVector
,
136
TypesXcAxis
,
137
TypesYcAxis
,
138
TypesZcAxis
,
139
TypesPointAndDir
,
140
TypesTwoPoints
,
141
TypesFixed
142
};
143
private
:
DatumAxisBuilderImpl
* m_datumaxisbuilder_impl;
144
private
:
friend
class
_DatumAxisBuilderBuilder;
145
protected
:
DatumAxisBuilder
();
146
public
:
~DatumAxisBuilder
();
150
public
:
bool
ReverseDirection
151
(
152
);
156
public
:
void
SetReverseDirection
157
(
158
bool
reverseDirection
159
);
163
public
:
void
SetPointAndDirection
164
(
165
NXOpen::Point
* point ,
166
NXOpen::Direction
* direction
167
);
171
public
:
void
SetTwoPoints
172
(
173
NXOpen::Point
* point1 ,
174
NXOpen::Point
* point2 ,
175
NXOpen::Features::DatumAxisBuilder::UseArcLength
useArcLength
176
);
180
public
:
void
SetPointOnCurve
181
(
182
double
arcLength ,
183
const
NXString
& constraint ,
184
NXOpen::Features::DatumAxisBuilder::AlternateSolution
alternateSolution ,
185
NXOpen::Features::DatumAxisBuilder::CurveOption
option ,
186
NXOpen::ICurve
* curve
187
);
191
void
SetPointOnCurve
192
(
193
double
arcLength ,
194
const
char
* constraint ,
195
NXOpen::Features::DatumAxisBuilder::AlternateSolution
alternateSolution ,
196
NXOpen::Features::DatumAxisBuilder::CurveOption
option ,
197
NXOpen::ICurve
* curve
198
);
202
public
:
void
SetPointOnCurve
203
(
204
double
arcLength ,
205
const
NXString
& constraint ,
206
NXOpen::Features::DatumAxisBuilder::CurveOption
option ,
207
NXOpen::ICurve
* curve ,
208
NXOpen::DisplayableObject
* secondGeometry
209
);
213
void
SetPointOnCurve
214
(
215
double
arcLength ,
216
const
char
* constraint ,
217
NXOpen::Features::DatumAxisBuilder::CurveOption
option ,
218
NXOpen::ICurve
* curve ,
219
NXOpen::DisplayableObject
* secondGeometry
220
);
224
public
:
void
SetPointOnCurve
225
(
226
double
arcLength ,
227
const
NXString
& constraint ,
228
NXOpen::Features::DatumAxisBuilder::CurveOption
option ,
229
NXOpen::DisplayableObject
* secondGeometry ,
230
NXOpen::ICurve
* curve
231
);
235
void
SetPointOnCurve
236
(
237
double
arcLength ,
238
const
char
* constraint ,
239
NXOpen::Features::DatumAxisBuilder::CurveOption
option ,
240
NXOpen::DisplayableObject
* secondGeometry ,
241
NXOpen::ICurve
* curve
242
);
270
public
:
void
SetGeometryAndConstraints
271
(
272
NXOpen::DisplayableObject
* geometry1 ,
273
NXOpen::Features::DatumAxisBuilder::ConstraintType
geometryConstraintType1 ,
274
int
constraintAttribute1 ,
275
double
constraintValue1 ,
276
const
NXString
& constraint1 ,
278
NXOpen::DisplayableObject
* geometry2 ,
279
NXOpen::Features::DatumAxisBuilder::ConstraintType
geometryConstraintType2 ,
280
int
constraintAttribute2 ,
281
double
constraintValue2 ,
282
const
NXString
& constraint2 ,
284
NXOpen::Sense
direction
285
);
313
void
SetGeometryAndConstraints
314
(
315
NXOpen::DisplayableObject
* geometry1 ,
316
NXOpen::Features::DatumAxisBuilder::ConstraintType
geometryConstraintType1 ,
317
int
constraintAttribute1 ,
318
double
constraintValue1 ,
319
const
char
* constraint1 ,
321
NXOpen::DisplayableObject
* geometry2 ,
322
NXOpen::Features::DatumAxisBuilder::ConstraintType
geometryConstraintType2 ,
323
int
constraintAttribute2 ,
324
double
constraintValue2 ,
325
const
char
* constraint2 ,
327
NXOpen::Sense
direction
328
);
332
public
:
void
SetFixedDatumAxis
333
(
334
NXOpen::Features::DatumAxisBuilder::FixedType
type
335
);
339
public
:
NXOpen::Features::DatumAxisBuilder::Types
Type
340
(
341
);
345
public
:
void
SetType
346
(
347
NXOpen::Features::DatumAxisBuilder::Types
type
348
);
353
public
:
NXOpen::SelectNXObjectList
*
Objects
354
(
355
);
360
public
:
NXOpen::SelectICurve
*
Curve
361
(
362
);
367
public
:
NXOpen::Section
*
Section
368
(
369
);
373
public
:
void
EvaluatePath
374
(
375
NXOpen::Section
* section
376
);
381
public
:
NXOpen::Point
*
Point
382
(
383
);
388
public
:
void
SetPoint
389
(
390
NXOpen::Point
* point
391
);
396
public
:
NXOpen::Point
*
Point1
397
(
398
);
403
public
:
void
SetPoint1
404
(
405
NXOpen::Point
* point1
406
);
411
public
:
NXOpen::Point
*
Point2
412
(
413
);
418
public
:
void
SetPoint2
419
(
420
NXOpen::Point
* point2
421
);
426
public
:
NXOpen::SelectNXObject
*
Object1
427
(
428
);
433
public
:
NXOpen::SelectNXObject
*
Object2
434
(
435
);
440
public
:
NXOpen::SelectNXObject
*
CurveOrFace
441
(
442
);
447
public
:
NXOpen::Features::DatumAxisBuilder::DirectionOrientations
DirectionOrientation
448
(
449
);
454
public
:
void
SetDirectionOrientation
455
(
456
NXOpen::Features::DatumAxisBuilder::DirectionOrientations
directionOrientation
457
);
462
public
:
NXOpen::Direction
*
Vector
463
(
464
);
469
public
:
void
SetVector
470
(
471
NXOpen::Direction
* vector
472
);
477
public
:
NXOpen::GeometricUtilities::OnPathDimensionBuilder
*
ArcLength
478
(
479
);
484
public
:
NXOpen::Features::DatumAxisBuilder::CurveOrientations
CurveOrientation
485
(
486
);
491
public
:
void
SetCurveOrientation
492
(
493
NXOpen::Features::DatumAxisBuilder::CurveOrientations
curveOrientation
494
);
499
public
:
NXOpen::Features::DatumAxisBuilder::AlternateSolution
AlternateSolutionType
500
(
501
);
506
public
:
void
SetAlternateSolutionType
507
(
508
NXOpen::Features::DatumAxisBuilder::AlternateSolution
alternateSolutionType
509
);
514
public
:
NXOpen::SelectNXObject
*
OrientationObject
515
(
516
);
520
public
:
bool
IsAxisReversed
521
(
522
);
526
public
:
void
SetAxisReversed
527
(
528
bool
isAxisReversed
529
);
533
public
:
bool
IsAssociative
534
(
535
);
539
public
:
void
SetAssociative
540
(
541
bool
isAssociative
542
);
546
public
:
double
ResizedEndDistance
547
(
548
);
552
public
:
void
SetResizedEndDistance
553
(
554
double
resizedEndDistance
555
);
556
};
557
}
558
}
559
#ifdef _MSC_VER
560
#pragma warning(pop)
561
#endif
562
#ifdef __GNUC__
563
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
564
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
565
#endif
566
#endif
567
#undef EXPORTLIBRARY