SketchUp SDK
Main Page
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
slapi
model
entities.h
Go to the documentation of this file.
1
// Copyright 2013 Trimble Navigation Ltd. All Rights Reserved.
2
#ifndef SLAPI_MODEL_ENTITIES_H_
3
#define SLAPI_MODEL_ENTITIES_H_
4
5
#include <
slapi/geometry.h
>
6
#include <
slapi/slapi.h
>
7
#include <
slapi/unicodestring.h
>
8
#include <
slapi/model/curve.h
>
9
#include <
slapi/model/defs.h
>
10
11
#pragma pack(push, 8)
12
#ifdef __cplusplus
13
extern
"C"
{
14
#endif
15
34
SU_RESULT
SUEntitiesFill
(
SUEntitiesRef
entities,
35
SUGeometryInputRef
geom_input,
36
bool
weld_vertices);
37
47
SU_RESULT
SUEntitiesGetBoundingBox
(
SUEntitiesRef
entities,
48
struct
SUBoundingBox3D
* bbox);
49
59
SU_RESULT
SUEntitiesGetNumFaces
(
SUEntitiesRef
entities,
size_t
* count);
60
72
SU_RESULT
SUEntitiesGetFaces
(
SUEntitiesRef
entities,
73
size_t
len,
74
SUFaceRef
faces[],
75
size_t
* count);
76
87
SU_RESULT
SUEntitiesGetNumCurves
(
SUEntitiesRef
entities,
size_t
* count);
88
101
SU_RESULT
SUEntitiesGetCurves
(
SUEntitiesRef
entities,
102
size_t
len,
103
SUCurveRef
curves[],
104
size_t
* count);
105
117
SU_RESULT
SUEntitiesGetNumEdges
(
SUEntitiesRef
entities,
118
bool
standalone_only,
119
size_t
* count);
120
134
SU_RESULT
SUEntitiesGetEdges
(
SUEntitiesRef
entities,
135
bool
standalone_only,
size_t
len,
136
SUEdgeRef
edges[],
size_t
* count);
137
147
SU_RESULT
SUEntitiesGetNumPolyline3ds
(
SUEntitiesRef
entities,
148
size_t
* count);
149
161
SU_RESULT
SUEntitiesGetPolyline3ds
(
SUEntitiesRef
entities,
162
size_t
len,
163
SUPolyline3dRef
lines[],
164
size_t
* count);
165
176
SU_RESULT
SUEntitiesAddFaces
(
SUEntitiesRef
entities,
177
size_t
len,
178
const
SUFaceRef
faces[]);
179
190
SU_RESULT
SUEntitiesAddEdges
(
SUEntitiesRef
entities,
191
size_t
len,
192
const
SUEdgeRef
edges[]);
193
204
SU_RESULT
SUEntitiesAddCurves
(
SUEntitiesRef
entities,
205
size_t
len,
206
const
SUCurveRef
curves[]);
207
216
SU_RESULT
SUEntitiesAddGroup
(
SUEntitiesRef
entities,
SUGroupRef
group);
217
226
SU_RESULT
SUEntitiesAddImage
(
SUEntitiesRef
entities,
SUImageRef
image);
227
241
SU_RESULT
SUEntitiesAddInstance
(
SUEntitiesRef
entities,
242
SUComponentInstanceRef
instance,
243
SUStringRef
* name);
244
254
SU_RESULT
SUEntitiesGetNumGroups
(
SUEntitiesRef
entities,
size_t
* count);
255
267
SU_RESULT
SUEntitiesGetGroups
(
SUEntitiesRef
entities,
268
size_t
len,
269
SUGroupRef
groups[],
270
size_t
* count);
271
281
SU_RESULT
SUEntitiesGetNumImages
(
SUEntitiesRef
entities,
size_t
* count);
282
294
SU_RESULT
SUEntitiesGetImages
(
SUEntitiesRef
entities,
295
size_t
len,
296
SUImageRef
images[],
297
size_t
* count);
298
308
SU_RESULT
SUEntitiesGetNumInstances
(
SUEntitiesRef
entities,
size_t
* count);
309
321
SU_RESULT
SUEntitiesGetInstances
(
SUEntitiesRef
entities,
322
size_t
len,
323
SUComponentInstanceRef
instances[],
324
size_t
* count);
325
326
#ifdef __cplusplus
327
}
// extern "C"
328
#endif
329
#pragma pack(pop)
330
331
#endif // SLAPI_MODEL_ENTITIES_H_
Generated on Tue Aug 6 2013 11:05:25 for SketchUp SDK by
1.8.3.1