NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
AutomaticTraceline.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++ 接口访问 JA API 的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// AutomaticTraceline.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/Traceline.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
31namespace NXOpen
32{
34 class Direction;
35 class Point;
36 class Traceline;
37 class _AutomaticTracelineBuilder;
38 class AutomaticTracelineImpl;
43 class NXOPENCPPEXPORT AutomaticTraceline : public NXOpen::Traceline
44 {
52 private: AutomaticTracelineImpl * m_automatictraceline_impl;
53 private: friend class _AutomaticTracelineBuilder;
54 protected: AutomaticTraceline();
55 public: ~AutomaticTraceline();
60 (
61 );
65 public: void SetStartPoint
66 (
67 NXOpen::Point * point
68 );
73 (
74 );
78 public: void SetStartDirection
79 (
80 NXOpen::Direction * direction
81 );
86 (
87 );
91 public: void SetEndPoint
92 (
93 NXOpen::Point * point
94 );
99 (
100 );
104 public: void SetEndDirection
105 (
106 NXOpen::Direction * direction
107 );
112 (
113 );
117 public: void SetOrientation
118 (
119 const NXOpen::Matrix3x3 & orientation
120 );
125 (
126 );
130 public: void SetMode
131 (
133 );
137 public: int Solution
138 (
139 );
143 public: void SetSolution
144 (
145 int solution
146 );
150 public: double StartOffset
151 (
152 );
156 public: void SetStartOffset
157 (
158 double startOffset
159 );
163 public: double EndOffset
164 (
165 );
169 public: void SetEndOffset
170 (
171 double endOffset
172 );
177 (
178 std::vector<int> & segmentIndices ,
179 std::vector<double> & segmentLengths
180 );
185 (
186 const std::vector<int> & segmentIndices ,
187 const std::vector<double> & segmentLengths
188 );
193 (
194 int segmentIndex
195 );
196 };
197}
198#ifdef _MSC_VER
199#pragma warning(pop)
200#endif
201#ifdef __GNUC__
202#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
203#pragma GCC diagnostic warning "-Wdeprecated-declarations"
204#endif
205#endif
206#undef EXPORTLIBRARY