NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Annotations_UnitsStyleBuilder.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++ 接口到 JA API 的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Annotations_UnitsStyleBuilder.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/Dimensions.hxx>
22#include <NXOpen/GeometricUtilities_IComponentBuilder.hxx>
23#include <NXOpen/TaggedObject.hxx>
24#include <NXOpen/libnxopencpp_annotations_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 Annotations
35 {
37 }
38 namespace GeometricUtilities
39 {
41 }
42 namespace Annotations
43 {
44 class _UnitsStyleBuilderBuilder;
45 class UnitsStyleBuilderImpl;
51 class NXOPENCPP_ANNOTATIONSEXPORT UnitsStyleBuilder : public NXOpen::TaggedObject, public virtual NXOpen::GeometricUtilities::IComponentBuilder
52 {
53 private: UnitsStyleBuilderImpl * m_unitsstylebuilder_impl;
54 private: friend class _UnitsStyleBuilderBuilder;
55 protected: UnitsStyleBuilder();
56 public: ~UnitsStyleBuilder();
61 (
62 );
67 (
69 );
74 (
75 );
80 (
81 NXOpen::Annotations::TolerancePlacement dimensionTolerancePlacement
82 );
87 (
88 );
93 (
94 bool displayTrailingZeros
95 );
100 (
101 );
106 (
107 bool displayLeadingDimensionZeros
108 );
113 (
114 );
119 (
120 bool displayLeadingToleranceZeros
121 );
126 (
127 );
132 (
134 );
139 (
140 );
145 (
146 NXOpen::Annotations::DimensionUnit dimensionLinearUnits
147 );
152 (
153 );
158 (
159 NXOpen::Annotations::AngularDimensionFormat dimensionAngularFormat
160 );
165 (
166 );
171 (
172 NXOpen::Annotations::AngularDimensionFormat toleranceAngularFormat
173 );
178 (
179 );
184 (
186 );
192 (
193 );
199 (
201 );
206 (
207 );
212 (
213 NXOpen::Annotations::DimensionUnit dualDimensionUnits
214 );
219 (
220 );
225 (
227 );
233 (
234 );
240 (
241 bool convertPrimaryTolerance
242 );
246 public: bool FractionalDisplay
247 (
248 );
253 (
254 bool fractionalDisplay
255 );
260 (
261 );
266 (
267 int numeratorDegrees
268 );
273 (
274 );
279 (
280 int numeratorMinutes
281 );
286 (
287 );
292 (
293 int numeratorSeconds
294 );
298 public: double NumeratorFraction
299 (
300 );
305 (
306 double numeratorFraction
307 );
314 (
315 );
322 (
323 bool centerDimensionLine
324 );
331 public: virtual bool Validate
332 (
333 );
334 };
335 }
336}
337#ifdef _MSC_VER
338#pragma warning(pop)
339#endif
340#ifdef __GNUC__
341#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
342#pragma GCC diagnostic warning "-Wdeprecated-declarations"
343#endif
344#endif
345#undef EXPORTLIBRARY