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
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
42 SU_RESULT SURay3DDistanceTo(
43 const struct SURay3D* ray, const struct SUPoint3D* point, double* distance);
44
57 SU_RESULT SURay3DProjectTo(
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_