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
point3d.h
Go to the documentation of this file.
1 // Copyright 2017 Trimble Inc. All Rights Reserved.
2
7 #ifndef SKETCHUP_GEOMETRY_POINT3D_H_
8 #define SKETCHUP_GEOMETRY_POINT3D_H_
9
10 #include <SketchUpAPI/common.h>
11 #include <SketchUpAPI/geometry.h>
12
13 // Forward declarations
14 struct SUTransformation;
15
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19
32 SU_RESULT SUPoint3DGetEqual(
33 const struct SUPoint3D* point1, const struct SUPoint3D* point2, bool* equal);
34
47 SU_RESULT SUPoint3DLessThan(
48 const struct SUPoint3D* point1, const struct SUPoint3D* point2, bool* less_than);
49
62 SU_RESULT SUPoint3DOffset(
63 const struct SUPoint3D* point1, const struct SUVector3D* vector, struct SUPoint3D* point2);
64
77 SU_RESULT SUPoint3DDistanceToSUPoint3D(
78 const struct SUPoint3D* point1, const struct SUPoint3D* point2, double* distance);
79
92 SU_RESULT SUPoint3DTransform(const struct SUTransformation* transform, struct SUPoint3D* point);
93
94 #ifdef __cplusplus
95 } // extern "C"
96 #endif
97
98 #endif // SKETCHUP_GEOMETRY_POINT3D_H_