NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
GeometricUtilities_Extend.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口至JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// GeometricUtilities_Extend.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_IComponentBuilder.hxx>
22
#include <NXOpen/TaggedObject.hxx>
23
#include <NXOpen/libnxopencpp_geometricutilities_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
GeometricUtilities
34
{
35
class
Extend
;
36
}
37
class
DisplayableObject
;
38
class
Expression
;
39
namespace
GeometricUtilities
40
{
41
class
IComponentBuilder
;
42
}
43
namespace
GeometricUtilities
44
{
45
class
_ExtendBuilder;
46
class
ExtendImpl;
50
class
NXOPENCPP_GEOMETRICUTILITIESEXPORT Extend :
public
NXOpen::TaggedObject
,
public
virtual
NXOpen::GeometricUtilities::IComponentBuilder
51
{
53
public
:
enum
ExtendType
54
{
55
ExtendTypeValue
,
56
ExtendTypeValueFromStartLimit
,
57
ExtendTypeUntilNext
,
58
ExtendTypeUntilSelected
,
59
ExtendTypeUntilExtended
,
60
ExtendTypeOffsetFromSelected
,
61
ExtendTypeThroughAll
,
62
ExtendTypeSymmetric
,
63
ExtendTypePercent
,
64
ExtendTypeArcLength
,
65
ExtendTypeThruPoint
66
};
67
private
:
ExtendImpl
* m_extend_impl;
68
private
:
friend
class
_ExtendBuilder;
69
protected
:
Extend
();
70
public
:
~Extend
();
76
public
:
void
SetTarget
77
(
78
NXOpen::DisplayableObject
* selectedObject
80
);
86
public
:
NXOpen::DisplayableObject
*
Target
87
(
88
);
93
public
:
void
SetTrimType
94
(
95
NXOpen::GeometricUtilities::Extend::ExtendType
extendType
96
);
101
public
:
NXOpen::GeometricUtilities::Extend::ExtendType
TrimType
102
(
103
);
108
public
:
NXOpen::Expression
*
Value
109
(
110
);
116
public
:
NX_DEPRECATED
(
"Deprecated in NX8.5.0. To set the value of the expression modify the expression directly using GeometricUtilities::Extend::Value and Expression::SetRightHandSide."
) void
SetValue
117
(
118
const
NXString
& valueExpression
119
);
125
void
SetValue
126
(
127
const
char
* valueExpression
128
);
133
public: virtual
bool
Validate
134
(
135
);
136
};
137
}
138
}
139
#ifdef _MSC_VER
140
#pragma warning(pop)
141
#endif
142
#ifdef __GNUC__
143
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
144
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
145
#endif
146
#endif
147
#undef EXPORTLIBRARY