SketchUp SDK
Main Page
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
slapi
model
loop.h
Go to the documentation of this file.
1
// Copyright 2013 Trimble Navigation Ltd. All Rights Reserved.
2
#ifndef SLAPI_MODEL_LOOP_H_
3
#define SLAPI_MODEL_LOOP_H_
4
5
#include <
slapi/slapi.h
>
6
#include <
slapi/model/defs.h
>
7
8
#ifdef __cplusplus
9
extern
"C"
{
10
#endif
11
22
enum
SULoopWinding
{
23
SULoopWinding_CCW
,
24
SULoopWinding_CW
25
};
26
35
SU_EXPORT
SUEntityRef
SULoopToEntity
(
SULoopRef
loop);
36
46
SU_EXPORT
SULoopRef
SULoopFromEntity
(
SUEntityRef
entity);
47
57
SU_RESULT
SULoopGetNumVertices
(
SULoopRef
loop,
size_t
* count);
58
70
SU_RESULT
SULoopGetVertices
(
SULoopRef
loop,
71
size_t
len,
SUVertexRef
vertices[],
72
size_t
* count);
73
85
SU_RESULT
SULoopGetEdges
(
SULoopRef
loop,
86
size_t
len,
SUEdgeRef
edges[],
size_t
* count);
87
99
SU_RESULT
SULoopGetWinding
(
SULoopRef
loop,
100
const
struct
SUVector3D
* vector3d,
101
enum
SULoopWinding
* orientation);
102
116
SU_RESULT
SULoopIsEdgeReversed
(
SULoopRef
loop,
SUEdgeRef
edge,
117
bool
* reversed);
118
129
SU_RESULT
SULoopGetFace
(
SULoopRef
loop,
SUFaceRef
* face);
130
141
SU_RESULT
SULoopIsConvex
(
SULoopRef
loop,
bool
* convex);
142
154
SU_RESULT
SULoopIsOuterLoop
(
SULoopRef
loop,
bool
* outer_loop);
155
167
SU_RESULT
SULoopGetEdgeUses
(
SULoopRef
loop,
size_t
len,
168
SUEdgeUseRef
edge_uses[],
size_t
* count);
169
170
#ifdef __cplusplus
171
}
// extern "C" {
172
#endif
173
174
#endif // SLAPI_MODEL_LOOP_H_
Generated on Tue Aug 6 2013 11:05:25 for SketchUp SDK by
1.8.3.1