NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
SketchEvaluator.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// Header for C++ interface to JA API
5
//--------------------------------------------------------------------------
6
//
7
// Source File:
8
// SketchEvaluator.ja
9
//
10
// Generated by:
11
// apiwrap
12
//
13
// WARNING:
14
// This file is automatically generated - do not edit by hand
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_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
class
SketchEvaluator
;
33
class
Curve
;
34
class
Section
;
35
class
_SketchEvaluatorBuilder;
36
class
SketchEvaluatorImpl;
42
class
NXOPENCPPEXPORT SketchEvaluator :
public
NXOpen::TaggedObject
43
{
44
private
:
SketchEvaluatorImpl
* m_sketchevaluator_impl;
45
private
:
friend
class
_SketchEvaluatorBuilder;
46
protected
: SketchEvaluator();
47
public
: ~SketchEvaluator();
57
public
:
void
SetSection
58
(
59
NXOpen::Section
* section
60
);
64
public
:
void
SetDistanceTolerance
65
(
66
double
distanceTolerance
67
);
71
public
:
void
SetAngularTolerance
72
(
73
double
angleTolerance
74
);
82
public
:
void
SetCreateCurveOption
83
(
84
bool
createCurveOption
85
);
93
public
:
bool
CreateCurveOption
94
(
95
);
104
public
:
void
SetSimplifyCurveOption
105
(
106
bool
simplifySplineOption
107
);
116
public
:
bool
SimplifyCurveOption
117
(
118
);
151
public
: std::vector<NXOpen::Curve *>
EvaluateOneSketch
152
(
153
double
pathLocation
154
);
158
public
:
double
DistanceTolerance
159
(
160
);
164
public
:
double
AngularTolerance
165
(
166
);
176
public
:
NXOpen::Section
*
Section
177
(
178
);
182
public
:
void
Destroy
183
(
184
);
185
};
186
}
187
#ifdef _MSC_VER
188
#pragma warning(pop)
189
#endif
190
#ifdef __GNUC__
191
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
192
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
193
#endif
194
#endif
195
#undef EXPORTLIBRARY