NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
SketchGeometryBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// Header for C++ interface to JA API
5
//--------------------------------------------------------------------------
6
//
7
// Source File:
8
// SketchGeometryBuilder.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/SketchOperationBuilder.hxx>
22
#include <NXOpen/ugmath.hxx>
23
#include <NXOpen/libnxopencpp_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
class
SketchGeometryBuilder
;
34
class
NXObject
;
35
class
SketchFoundRelation
;
36
class
SketchOperationBuilder
;
37
class
_SketchGeometryBuilderBuilder;
38
class
SketchGeometryBuilderImpl;
42
class
NXOPENCPPEXPORT SketchGeometryBuilder :
public
NXOpen::SketchOperationBuilder
43
{
45
public
:
enum
RelationStatus
46
{
47
RelationStatusFree
,
48
RelationStatusSliding
,
49
RelationStatusDirectionLocked
50
};
51
private
:
SketchGeometryBuilderImpl
* m_sketchgeometrybuilder_impl;
52
private
:
friend
class
_SketchGeometryBuilderBuilder;
53
protected
:
SketchGeometryBuilder
();
54
public
:
~SketchGeometryBuilder
();
58
public
:
bool
SnapEnabled
59
(
60
);
64
public
:
void
SetSnapEnabled
65
(
66
bool
isSnapEnabled
67
);
71
public
:
double
SnapRadius
72
(
73
);
77
public
:
void
SetSnapRadius
78
(
79
double
snapRadius
80
);
84
public
: std::vector<NXOpen::NXObject *>
GetPreviewGeometry
85
(
86
);
90
public
:
void
SetSnapTarget
91
(
92
NXOpen::NXObject
* snapTarget
93
);
97
public
:
void
SetSnapPointTarget
98
(
99
NXOpen::NXObject
* snapTarget ,
100
const
NXOpen::Point3d
& snapHelpPoint
101
);
105
public
:
void
LockDirectionalSnapRelations
106
(
107
);
111
public
:
void
UnlockDirectionalSnapRelations
112
(
113
);
117
public
:
void
SetDirectionAtTarget
118
(
119
int
index ,
120
const
NXOpen::Vector3d
& direction
121
);
125
public
:
NXOpen::SketchGeometryBuilder::RelationStatus
GetRelationStatus
126
(
127
);
131
public
:
void
Reset
132
(
133
);
137
public
: std::vector<NXOpen::SketchFoundRelation *>
GetSnapRelations
138
(
139
);
140
};
141
}
142
#ifdef _MSC_VER
143
#pragma warning(pop)
144
#endif
145
#ifdef __GNUC__
146
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
147
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
148
#endif
149
#endif
150
#undef EXPORTLIBRARY