NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Positioning_Constraint.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// NX JA API的C++接口头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Positioning_Constraint.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/NXObject.hxx>
22#include <NXOpen/Positioning_ConstraintReference.hxx>
23#include <NXOpen/ugmath.hxx>
24#include <NXOpen/libnxopencpp_positioning_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{
34 namespace Positioning
35 {
36 class Constraint;
37 }
38 class Expression;
39 class NXObject;
40 namespace Positioning
41 {
43 }
44 namespace Positioning
45 {
47 }
48 namespace Positioning
49 {
50 class _ConstraintBuilder;
51 class ConstraintImpl;
66 class NXOPENCPP_POSITIONINGEXPORT Constraint : public NXOpen::NXObject
67 {
101
108
131
138 private: ConstraintImpl * m_constraint_impl;
139 private: friend class _ConstraintBuilder;
140 protected: Constraint();
141public: ~Constraint();
147 public: std::vector<NXOpen::Positioning::ConstraintReference *> GetReferences
148 (
149 );
155 (
156 NXOpen::Positioning::ConstraintReference * constraintReference
157 );
164 (
165 NXOpen::NXObject * movableObject ,
166 NXOpen::NXObject * geometry ,
167 bool usesAxis ,
168 bool isIndirect
169 );
176 (
177 NXOpen::NXObject * movableObject ,
178 NXOpen::NXObject * geometry ,
179 bool usesAxis ,
180 bool isIndirect ,
181 bool usePortRotate
182 );
188 (
189 NXOpen::Positioning::ConstraintReference * constraintReference ,
190 NXOpen::NXObject * movableObject ,
191 NXOpen::NXObject * geometry ,
192 bool usesAxis ,
193 bool isIndirect ,
194 bool usePortRotate
195 );
201 (
202 );
207 public: void SetConstraintType
208 (
210 );
216 (
218 );
224 (
225 );
230 public: void FlipAlignment
231 (
232 );
236 public: void SetSuppressed
237 (
238 bool suppressed
239 );
243 public: bool Suppressed
244 (
245 );
250 public: void SetExpression
251 (
252 const NXString & expression
253 );
259 (
260 const char * expression
261 );
267 (
268 );
275 (
276 );
286 public: void SetAlignmentHint
287 (
289 );
293 public: void SetPersistent
294 (
295 bool persistent
296 );
300 public: bool Persistent
301 (
302 );
306 public: void SetAutomatic
307 (
308 bool isauto
309 );
313 public: bool Automatic
314 (
315 );
321 (
322 std::vector<NXString> & lines
323 );
329 public: void ReverseDirection
330 (
331 );
336 (
337 );
342 (
344 );
351 (
352 );
357 public: bool ExpressionDriven
358 (
359 );
365 (
366 bool expressionDriven
367 );
372 public: bool UpperLimitEnabled
373 (
374 );
380 (
381 bool hasLimit
382 );
387 public: bool LowerLimitEnabled
388 (
389 );
395 (
396 bool hasLimit
397 );
403 (
404 );
410 (
411 );
417 (
418 const NXString & limitRightHandSide
419 );
425 (
426 const char * limitRightHandSide
427 );
433 (
434 );
440 (
441 );
447 (
448 const NXString & limitRightHandSide
449 );
455 (
456 const char * limitRightHandSide
457 );
461 public: void Renew
462 (
463 );
469 (
470 );
477 (
478 );
485 (
486 const NXString & secondExpressionRightHandSide
487 );
494 (
495 const char * secondExpressionRightHandSide
496 );
503 (
504 );
511 (
512 bool secondExpressionDriven
513 );
519 (
520 );
526 (
527 bool hasLimit
528 );
534 (
535 );
541 (
542 bool hasLimit
543 );
549 (
550 );
557 (
558 );
565 (
566 const NXString & limitRightHandSide
567 );
574 (
575 const char * limitRightHandSide
576 );
583 (
584 );
591 (
592 );
599 (
600 const NXString & limitRightHandSide
601 );
608 (
609 const char * limitRightHandSide
610 );
617 (
618 );
625 (
626 );
633 (
634 const NXString & offset
635 );
642 (
643 const char * offset
644 );
651 (
652 NXOpen::NXObject * coupledConstraint
653 );
659 (
661 NXOpen::NXObject * coupledConstraint
662 );
668 (
670 );
676 (
677 );
678 };
679 }
680}
681#ifdef _MSC_VER
682#pragma warning(pop)
683#endif
684#ifdef __GNUC__
685#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
686#pragma GCC diagnostic warning "-Wdeprecated-declarations"
687#endif
688#endif
689#undef EXPORTLIBRARY