NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
SketchDragGeometryBuilder.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口JA API的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// SketchDragGeometryBuilder.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/SketchOperationBuilder.hxx>
22#include <NXOpen/Sketch.hxx>
23#include <NXOpen/ugmath.hxx>
24#include <NXOpen/libnxopencpp_exports.hxx>
25#ifdef _MSC_VER
26#pragma warning(push)
27#pragma warning(disable:4996)
28#endif
29#ifdef __GNUC__
30#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
31#endif
32namespace NXOpen
33{
35 class NXObject;
37 class _SketchDragGeometryBuilderBuilder;
38 class SketchDragGeometryBuilderImpl;
42 class NXOPENCPPEXPORT SketchDragGeometryBuilder : public NXOpen::SketchOperationBuilder
43 {
44 private: SketchDragGeometryBuilderImpl * m_sketchdraggeometrybuilder_impl;
45 private: friend class _SketchDragGeometryBuilderBuilder;
46 protected: SketchDragGeometryBuilder();
47 public: ~SketchDragGeometryBuilder();
51 public: bool SnapEnabled
52 (
53 );
57 public: void SetSnapEnabled
58 (
59 bool isSnapEnabled
60 );
64 public: double SnapRadius
65 (
66 );
70 public: void SetSnapRadius
71 (
72 double snapRadius
73 );
78 (
79 );
84 (
85 const NXOpen::Vector3d & snapGridOffset
86 );
91 (
92 );
96 public: void SetSnapGeometry
97 (
98 const NXOpen::Sketch::SketchGeometry & snapGeometry
99 );
103 public: void GetDragGeometry
104 (
105 std::vector<NXOpen::Sketch::SketchGeometry> & dragObjects
106 );
110 public: void SetDragGeometry
111 (
112 const std::vector<NXOpen::Sketch::SketchGeometry> & dragObjects
113 );
117 public: void InitializeDrag
118 (
119 const NXOpen::Point3d & initialPosition
120 );
124 public: void SetSnapTarget
125 (
126 NXOpen::NXObject * snapTarget
127 );
132 (
133 NXOpen::NXObject * snapTarget ,
134 const NXOpen::Point3d & snapHelpPoint
135 );
139 public: void DragToPoint
140 (
141 const NXOpen::Point3d & newPosition
142 );
146 public: void DetachGeometry
147 (
148 );
152 public: bool SplineLinearScale
153 (
154 );
159 (
160 bool enableSplineLinearScale
161 );
162 };
163}
164#ifdef _MSC_VER
165#pragma warning(pop)
166#endif
167#ifdef __GNUC__
168#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
169#pragma GCC diagnostic warning "-Wdeprecated-declarations"
170#endif
171#endif
172#undef EXPORTLIBRARY