LayOut C API
Main Page
Related Pages
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
SketchUpAPI
geometry.h
Go to the documentation of this file.
1
// Copyright 2013 Trimble Inc., All rights reserved.
2
7
#ifndef SKETCHUP_GEOMETRY_H_
8
#define SKETCHUP_GEOMETRY_H_
9
10
// includes
11
#include <
SketchUpAPI/common.h
>
12
13
#pragma pack(push, 8)
14
15
#ifdef __cplusplus
16
extern
"C"
{
17
#endif // __cplusplus
18
23
struct
SUPoint2D
{
24
double
x
;
25
double
y
;
26
};
27
32
struct
SUVector2D
{
33
double
x
;
34
double
y
;
35
};
36
41
struct
SUPoint3D
{
42
double
x
;
43
double
y
;
44
double
z
;
45
};
46
51
struct
SUVector3D
{
52
double
x
;
53
double
y
;
54
double
z
;
55
};
56
63
struct
SUPlane3D
{
64
double
a
;
65
double
b
;
66
double
c
;
67
double
d
;
68
};
69
75
struct
SUBoundingBox3D
{
76
struct
SUPoint3D
min_point
;
77
78
struct
SUPoint3D
max_point
;
79
80
};
81
87
struct
SUAxisAlignedRect2D
{
88
struct
SUPoint2D
upper_left
;
89
struct
SUPoint2D
lower_right
;
90
};
91
97
struct
SURay3D
{
98
struct
SUPoint3D
point
;
99
struct
SUVector3D
normal
;
100
};
101
124
struct
SUTransformation
{
125
double
values
[16];
126
};
127
137
struct
SUTransformation2D
{
138
double
m11
;
139
double
m12
;
140
double
m21
;
141
double
m22
;
142
double
tx
;
143
double
ty
;
144
};
145
146
#ifdef __cplusplus
147
}
// end extern "C"
148
#endif // __cplusplus
149
150
#pragma pack(pop)
151
152
#endif // SKETCHUP_GEOMETRY_H_
Generated on Wed Sep 8 2021 14:15:26 for LayOut C API by
1.8.3.1