NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
SketchOffsetBuilder.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// Header for C++ interface to JA API
5//--------------------------------------------------------------------------
6//
7// Source File:
8// SketchOffsetBuilder.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/Expression.hxx>
22#include <NXOpen/Builder.hxx>
23#include <NXOpen/Section.hxx>
24#include <NXOpen/SketchOffset.hxx>
25#include <NXOpen/ugmath.hxx>
26#include <NXOpen/libnxopencpp_exports.hxx>
27#ifdef _MSC_VER
28#pragma warning(push)
29#pragma warning(disable:4996)
30#endif
31#ifdef __GNUC__
32#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
33#endif
34namespace NXOpen
35{
37 class Builder;
38 class Expression;
39 class NXObject;
40 class Section;
41 class _SketchOffsetBuilderBuilder;
42 class SketchOffsetBuilderImpl;
78 class NXOPENCPPEXPORT SketchOffsetBuilder : public NXOpen::Builder
79 {
80 private: SketchOffsetBuilderImpl * m_sketchoffsetbuilder_impl;
81 private: friend class _SketchOffsetBuilderBuilder;
82 protected: SketchOffsetBuilder();
83public: ~SketchOffsetBuilder();
88 (
89 );
93 public: void RemoveSection
94 (
95 NXOpen::Section * section
96 );
101 (
102 );
106 public: int NumberOfCopies
107 (
108 );
112 public: void SetNumberOfCopies
113 (
114 int copies
115 );
119 public: bool CreateDimension
120 (
121 );
126 (
127 bool createDim
128 );
133 (
134 );
138 public: void SetCapType
139 (
141 );
145 public: bool IsSymmetric
146 (
147 );
151 public: void SetSymmetric
152 (
153 bool symmetric
154 );
159 (
160 );
165 (
166 bool reference
167 );
171 public: int Degree
172 (
173 );
177 public: void SetDegree
178 (
179 int degree
180 );
184 public: double Tolerance
185 (
186 );
190 public: void SetTolerance
191 (
192 double tolerance
193 );
198 (
199 NXOpen::NXObject * objectInChain
200 );
205 (
206 );
210 public: void BreakChain
211 (
212 NXOpen::NXObject * object1 ,
213 NXOpen::NXObject * object2 ,
214 const NXOpen::Point3d & helpPt
215 );
219 public: void MergeChains
220 (
221 NXOpen::NXObject * object1 ,
222 NXOpen::NXObject * object2 ,
223 const NXOpen::Point3d & helpPt
224 );
228 public: void SetEndConstraint
229 (
230 NXOpen::NXObject * objectInChain ,
231 int inx ,
232 bool isStartEnd ,
233 bool constraint
234 );
238 public: std::vector<NXOpen::NXObject *> GetOutputCurvesOfOffset
239 (
240 );
244 public: std::vector<NXOpen::Section *> GetSections
245 (
246 );
251 (
252 );
256 public: void EvaluateOffset
257 (
258 );
263 (
264 );
268 public: bool CreateConstraint
269 (
270 );
275 (
276 bool constraintCreation
277 );
281 public: void UpdateSymmetry
282 (
283 );
284};
285}
286#ifdef _MSC_VER
287#pragma warning(pop)
288#endif
289#ifdef __GNUC__
290#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
291#pragma GCC diagnostic warning "-Wdeprecated-declarations"
292#endif
293#endif
294#undef EXPORTLIBRARY