NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
GeometricUtilities_FeatureOffset.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// 用于JA API的C++接口的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// GeometricUtilities_FeatureOffset.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
FeatureOffset
;
36
}
37
class
Expression
;
38
namespace
GeometricUtilities
39
{
40
class
IComponentBuilder
;
41
}
42
namespace
GeometricUtilities
43
{
45
enum
Type
46
{
47
TypeNoOffset
,
48
TypeNonsymmetricOffset
,
49
TypeSymmetricOffset
,
50
TypeSingleOffset
51
};
52
}
53
namespace
GeometricUtilities
54
{
55
class
_FeatureOffsetBuilder;
56
class
FeatureOffsetImpl;
60
class
NXOPENCPP_GEOMETRICUTILITIESEXPORT FeatureOffset :
public
NXOpen::TaggedObject
,
public
virtual
NXOpen::GeometricUtilities::IComponentBuilder
61
{
62
private
: FeatureOffsetImpl * m_featureoffset_impl;
63
private
:
friend
class
_FeatureOffsetBuilder;
64
protected
: FeatureOffset();
65
public
: ~FeatureOffset();
70
public
:
NX_DEPRECATED
(
"在NX8.5.0中已弃用。 要设置表达式的值,请直接使用GeometricUtilities::FeatureOffset::StartOffset和Expression::SetRightHandSide修改表达式。"
) void
SetStartOffset
71
(
72
const
NXString
& valueExpression
73
);
78
void
SetStartOffset
79
(
80
const
char
* valueExpression
81
);
86
public:
NX_DEPRECATED
(
"在NX8.5.0中已弃用。 要设置表达式的值,请直接使用GeometricUtilities::FeatureOffset::EndOffset和Expression::SetRightHandSide修改表达式。"
)
void
SetEndOffset
87
(
88
const
NXString
& valueExpression
89
);
94
void
SetEndOffset
95
(
96
const
char
* valueExpression
97
);
101
public:
NXOpen
::
Expression
*
StartOffset
102
(
103
);
107
public:
NXOpen
::
Expression
*
EndOffset
108
(
109
);
113
public:
void
SetOption
114
(
115
NXOpen
::
GeometricUtilities
::
Type
offsetType
116
);
120
public:
NXOpen
::
GeometricUtilities
::
Type
Option
121
(
122
);
127
public: virtual
bool
Validate
128
(
129
);
130
};
131
}
132
}
133
#ifdef _MSC_VER
134
#pragma warning(pop)
135
#endif
136
#ifdef __GNUC__
137
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
138
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
139
#endif
140
#endif
141
#undef EXPORTLIBRARY