NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
PointList.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// JA API的C++接口头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// PointList.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/TaggedObject.hxx>
22#include <NXOpen/ObjectList.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{
33 class PointList;
34 class Point;
35 class _PointListBuilder;
36 class PointListImpl;
40 class NXOPENCPPEXPORT PointList : public NXOpen::TaggedObject
41 {
42 private: PointListImpl * m_pointlist_impl;
43 private: friend class _PointListBuilder;
44 protected: PointList();
45 public: ~PointList();
49 public: void Append
50 (
51 const std::vector<NXOpen::Point *> & objects
52 );
56 public: void Append
57 (
58 NXOpen::Point * object
59 );
63 public: int Length
64 (
65 );
69 public: void ClearIndex
70 (
71 int deleteIdx
72 );
77 public: int FindIndex
78 (
79 NXOpen::Point * obj
80 );
86 (
87 int index
88 );
92 public: void Erase
93 (
94 int index
95 );
100 public: void Erase
101 (
102 int index ,
104 );
109 public: void Erase
110 (
111 NXOpen::Point * obj
112 );
117 public: void Erase
118 (
119 NXOpen::Point * obj ,
121 );
126 public: void Clear
127 (
128 );
132 public: void Clear
133 (
135 );
139 public: std::vector<NXOpen::Point *> GetContents
140 (
141 );
146 public: void SetContents
147 (
148 const std::vector<NXOpen::Point *> & objects
149 );
155 public: void Swap
156 (
157 int index1 ,
158 int index2
159 );
165 public: void Swap
166 (
167 NXOpen::Point * object1 ,
168 NXOpen::Point * object2
169 );
173 public: void Insert
174 (
175 int location ,
176 NXOpen::Point * object
177 );
181 public: void MoveToTop
182 (
183 int index
184 );
188 public: void MoveToBottom
189 (
190 int index
191 );
192 };
193}
194#ifdef _MSC_VER
195#pragma warning(pop)
196#endif
197#ifdef __GNUC__
198#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
199#pragma GCC diagnostic warning "-Wdeprecated-declarations"
200#endif
201#endif
202#undef EXPORTLIBRARY