LayOut C API

- Main Page
- Related Pages
- Data Structures
- Files

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
geometry.h
Go to the documentation of this file.
1 // Copyright 2015 Trimble Navigation Ltd., All rights reserved.
2 // This file is intended for public distribution.
3
4 #ifndef LAYOUT_GEOMETRY_GEOMETRY_H_
5 #define LAYOUT_GEOMETRY_GEOMETRY_H_
6
7 #include <SketchUpAPI/geometry.h>
8
9 #pragma pack(push, 8)
10
15 typedef SUPoint2D LOPoint2D;
16
21 typedef SUPoint3D LOPoint3D;
22
28 typedef SUVector2D LOVector2D;
29
30
36 typedef SUAxisAlignedRect2D LOAxisAlignedRect2D;
37
43 struct LOOrientedRect2D {
44 LOPoint2D upper_left;
45 LOPoint2D upper_right;
46 LOPoint2D lower_right;
47 LOPoint2D lower_left;
48 };
49
59 typedef SUTransformation2D LOTransformMatrix2D;
60
65 typedef LOPoint2D LOSize2D;
66
71 struct LORect2D {
72 LOPoint2D origin;
73 LOSize2D size;
74 };
75
76 #pragma pack(pop)
77
78 #endif // LAYOUT_GEOMETRY_GEOMETRY_H_