NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Features_MeshSurfaceBuilder.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口的JA API头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Features_MeshSurfaceBuilder.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/MeshParameterData.hxx>
22#include <NXOpen/MeshProfileString.hxx>
23#include <NXOpen/Features_FeatureBuilder.hxx>
24#include <NXOpen/SurfaceRebuildData.hxx>
25#include <NXOpen/ugmath.hxx>
26#include <NXOpen/libnxopencpp_features_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{
36 namespace Features
37 {
39 }
40 class Curve;
41 namespace Features
42 {
43 class FeatureBuilder;
44 }
47 class ScCollector;
48 class Section;
50 namespace Features
51 {
52 class _MeshSurfaceBuilderBuilder;
53 class MeshSurfaceBuilderImpl;
57 class NXOPENCPP_FEATURESEXPORT MeshSurfaceBuilder : public NXOpen::Features::FeatureBuilder
58 {
66
73 private: MeshSurfaceBuilderImpl * m_meshsurfacebuilder_impl;
74 private: friend class _MeshSurfaceBuilderBuilder;
75 protected: MeshSurfaceBuilder();
76 public: ~MeshSurfaceBuilder();
81 (
82 );
87 (
88 );
92 public: void SetFeatureType
93 (
95 );
99 public: std::vector<double> GetTolerances
100 (
101 int tolLength
102 );
106 public: void SetTolerances
107 (
108 const std::vector<double> & tol
109 );
113 public: std::vector<NXString> GetToleranceString
114 (
115 int tolStrLength
116 );
121 (
122 std::vector<NXString> & tolString
123 );
128 (
129 int stringIndex ,
130 int arrayLength ,
131 std::vector<int> & alignIndex ,
132 std::vector<double> & alignParams
133 );
138 (
139 int stringIndex ,
140 const std::vector<int> & alignIndex ,
141 const std::vector<double> & alignParams
142 );
147 (
148 int nSides ,
149 std::vector<int> & facesCons ,
150 int numCollectors ,
151 std::vector<NXOpen::ScCollector *> & collectors ,
152 int numConsTypes ,
153 std::vector<NXOpen::Features::MeshSurfaceBuilder::ConstraintType> & consTypes
154 );
159 (
160 const std::vector<int> & facesCons ,
161 const std::vector<NXOpen::ScCollector *> & collectors ,
162 const std::vector<NXOpen::Features::MeshSurfaceBuilder::ConstraintType> & consTypes
163 );
168 (
169 bool conehead ,
170 NXOpen::MeshProfileString::Type profileStringType ,
173 const std::vector<NXOpen::Section *> & sections ,
174 bool editInsertProfile ,
176 );
181 (
182 int index
183 );
188 (
189 int profileIndex ,
190 int stringIndex
191 );
196 (
197 int profileIndex ,
199 int stringIndex
200 );
205 (
206 int stringIndex ,
207 NXOpen::Curve * stringStartCurve
208 );
213 (
214 );
219 (
220 );
224 public: void SetRebuildData
225 (
227 );
232 (
233 );
237 public: std::vector<NXOpen::Features::MeshSurfaceBuilder::ConstraintType> GetFaceConstraintTypes
238 (
239 int constraintSize
240 );
245 (
246 const std::vector<NXOpen::Features::MeshSurfaceBuilder::ConstraintType> & constraintTypes
247 );
252 (
253 );
257 public: void SetParametersData
258 (
259 NXOpen::MeshParameterData * parameters
260 );
265 (
266 );
271 (
272 bool simple
273 );
278 (
279 );
284 (
285 const NXOpen::Point3d & point1 ,
286 const NXOpen::Point3d & point2
287 );
292 (
293 NXOpen::Point3d* point1 ,
294 NXOpen::Point3d* point2
295 );
300 (
301 const NXOpen::Vector3d & vector
302 );
307 (
308 );
314 (
315 );
321 (
322 );
327 (
328 );
333 (
334 );
339 (
341 );
346 (
347 );
352 (
353 bool normalToEndSections
354 );
355 };
356 }
357}
358#ifdef _MSC_VER
359#pragma warning(pop)
360#endif
361#ifdef __GNUC__
362#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
363#pragma GCC diagnostic warning "-Wdeprecated-declarations"
364#endif
365#endif
366#undef EXPORTLIBRARY