LayOut C API
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator 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 
32  const struct SUPoint2D* point1, const struct SUPoint2D* point2, struct SUVector2D* vector);
33 
47  const struct SUPoint2D* point1, const struct SUPoint2D* point2, bool* equal);
48 
62  const struct SUPoint2D* point1, const struct SUVector2D* vector, struct SUPoint2D* point2);
63 
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_