NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
InferredConstraintsBuilder.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口JA API的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// InferredConstraintsBuilder.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/Builder.hxx>
22#include <NXOpen/Sketch.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
31namespace NXOpen
32{
34 class Builder;
35 class _InferredConstraintsBuilderBuilder;
36 class InferredConstraintsBuilderImpl;
42 class NXOPENCPPEXPORT InferredConstraintsBuilder : public NXOpen::Builder
43 {
44 private: InferredConstraintsBuilderImpl * m_inferredconstraintsbuilder_impl;
45 private: friend class _InferredConstraintsBuilderBuilder;
46 protected: InferredConstraintsBuilder();
47 public: ~InferredConstraintsBuilder();
52 public: bool Horizontal
53 (
54 );
59 public: void SetHorizontal
60 (
61 bool horizontal
62 );
67 public: bool Vertical
68 (
69 );
74 public: void SetVertical
75 (
76 bool vertical
77 );
82 public: bool Tangent
83 (
84 );
89 public: void SetTangent
90 (
91 bool tangent
92 );
96 public: bool Parallel
97 (
98 );
102 public: void SetParallel
103 (
104 bool parallel
105 );
109 public: bool Perpendicular
110 (
111 );
115 public: void SetPerpendicular
116 (
117 bool perpendicular
118 );
122 public: bool Collinear
123 (
124 );
128 public: void SetCollinear
129 (
130 bool collinear
131 );
135 public: bool Concentric
136 (
137 );
141 public: void SetConcentric
142 (
143 bool concentric
144 );
148 public: bool EqualLength
149 (
150 );
154 public: void SetEqualLength
155 (
156 bool equalLength
157 );
161 public: bool EqualRadius
162 (
163 );
167 public: void SetEqualRadius
168 (
169 bool equalRadius
170 );
175 (
176 );
181 (
182 bool dimensionalConstraint
183 );
187 public: bool PointOnCurve
188 (
189 );
193 public: void SetPointOnCurve
194 (
195 bool pointOnCurve
196 );
200 public: bool Coincident
201 (
202 );
206 public: void SetCoincident
207 (
208 bool coincident
209 );
213 public: bool Midpoint
214 (
215 );
219 public: void SetMidpoint
220 (
221 bool midpoint
222 );
227 public: NX_DEPRECATED("Deprecated in NX11.0.0. Please use NXOpen::InferredConstraintsBuilder::PreferStringConstraints") bool PointOnString
228 (
229 );
234 public: NX_DEPRECATED("Deprecated in NX11.0.0. Please use NXOpen::InferredConstraintsBuilder::SetPreferStringConstraints") void SetPointOnString
235 (
236 bool pointOnString
237 );
241 public: std::vector<NXOpen::Sketch::AutoDimensioningRule> GetRules
242 (
243 );
247 public: void SetRules
248 (
249 const std::vector<NXOpen::Sketch::AutoDimensioningRule> & rules
250 );
255 (
256 );
261 (
262 bool horizontalAlign
263 );
267 public: bool VerticalAlignment
268 (
269 );
274 (
275 bool verticalAlign
276 );
281 (
282 );
287 (
288 bool preferStringCons
289 );
290 };
291}
292#ifdef _MSC_VER
293#pragma warning(pop)
294#endif
295#ifdef __GNUC__
296#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
297#pragma GCC diagnostic warning "-Wdeprecated-declarations"
298#endif
299#endif
300#undef EXPORTLIBRARY