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
point2d.h
Go to the documentation of this file.
1 // Copyright 2017 Trimble Inc. All Rights Reserved.
2
7 #ifndef SKETCHUP_GEOMETRY_POINT2D_H_
8 #define SKETCHUP_GEOMETRY_POINT2D_H_
9
10 #include <SketchUpAPI/common.h>
11 #include <SketchUpAPI/geometry.h>
12
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16
30 SU_DEPRECATED_FUNCTION("SketchUp API 6.0")
31 SU_RESULT SUPoint2DToSUPoint2D(
32 const struct SUPoint2D* point1, const struct SUPoint2D* point2, struct SUVector2D* vector);
33
46 SU_RESULT SUPoint2DGetEqual(
47 const struct SUPoint2D* point1, const struct SUPoint2D* point2, bool* equal);
48
61 SU_RESULT SUPoint2DOffset(
62 const struct SUPoint2D* point1, const struct SUVector2D* vector, struct SUPoint2D* point2);
63
76 SU_RESULT SUPoint2DDistanceToSUPoint2D(
77 const struct SUPoint2D* point1, const struct SUPoint2D* point2, double* distance);
78
90 SU_RESULT SUPoint2DTransform(const struct SUTransformation2D* transform, struct SUPoint2D* point);
91
92 #ifdef __cplusplus
93 } // extern "C"
94 #endif
95
96 #endif // SKETCHUP_GEOMETRY_POINT2D_H_