SketchUp SDK
Main Page
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
slapi
model
curve.h
Go to the documentation of this file.
1
// Copyright 2013 Trimble Navigation Ltd. All Rights Reserved.
2
#ifndef SLAPI_MODEL_CURVE_H_
3
#define SLAPI_MODEL_CURVE_H_
4
5
#include <
slapi/slapi.h
>
6
#include <
slapi/model/defs.h
>
7
8
#ifdef __cplusplus
9
extern
"C"
{
10
#endif
11
21
enum
SUCurveType
{
22
SUCurveType_Simple
= 0,
23
SUCurveType_Arc
24
};
25
34
SU_EXPORT
SUEntityRef
SUCurveToEntity
(
SUCurveRef
curve);
35
45
SU_EXPORT
SUCurveRef
SUCurveFromEntity
(
SUEntityRef
entity);
46
67
SU_RESULT
SUCurveCreateWithEdges
(
SUCurveRef
* curve,
const
SUEdgeRef
edges[],
68
size_t
len);
69
78
SU_RESULT
SUCurveRelease
(
SUCurveRef
* curve);
79
89
SU_RESULT
SUCurveGetType
(
SUCurveRef
curve,
enum
SUCurveType
* type);
90
100
SU_RESULT
SUCurveGetNumEdges
(
SUCurveRef
curve,
size_t
* count);
101
113
SU_RESULT
SUCurveGetEdges
(
SUCurveRef
curve,
size_t
len,
SUEdgeRef
edges[],
114
size_t
* count);
115
116
#ifdef __cplusplus
117
}
// extern "C"
118
#endif
119
120
#endif // SLAPI_MODEL_CURVE_H_
Generated on Tue Aug 6 2013 11:05:25 for SketchUp SDK by
1.8.3.1