LayOut C API
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ray3d.h
Go to the documentation of this file.
1 // Copyright 2017 Trimble Inc., All rights reserved.
2 
7 #ifndef SKETCHUP_GEOMETRY_RAY3D_H_
8 #define SKETCHUP_GEOMETRY_RAY3D_H_
9 
10 #include <SketchUpAPI/geometry.h>
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif // __cplusplus
15 
28 SU_RESULT SURay3DIsOn(const struct SURay3D* ray, const struct SUPoint3D* point, bool* is_on);
29 
43  const struct SURay3D* ray, const struct SUPoint3D* point, double* distance);
44 
58  const struct SURay3D* ray, const struct SUPoint3D* point, struct SUPoint3D* projected_point);
59 
60 #ifdef __cplusplus
61 } // end extern "C"
62 #endif // __cplusplus
63 
64 #endif // SKETCHUP_GEOMETRY_RAY3D_H_