SketchUp C API
|
Represents a point in 3-dimensional space. More...
#include <SketchUpAPI/geometry.h>
Data Fields | |
double | x |
X coordinate. | |
double | y |
Y coordinate. | |
double | z |
Z coordinate. | |
Related Functions | |
(Note that these are not member functions.) | |
enum SUResult | SUPoint3DGetEqual (const struct SUPoint3D *point1, const struct SUPoint3D *point2, bool *equal) |
Determines if two points are equal. More... | |
enum SUResult | SUPoint3DLessThan (const struct SUPoint3D *point1, const struct SUPoint3D *point2, bool *less_than) |
Determines if point1 is less than point2. More... | |
enum SUResult | SUPoint3DOffset (const struct SUPoint3D *point1, const struct SUVector3D *vector, struct SUPoint3D *point2) |
Creates a new point that is offset from another point. More... | |
enum SUResult | SUPoint3DDistanceToSUPoint3D (const struct SUPoint3D *point1, const struct SUPoint3D *point2, double *distance) |
Gets the distance between two point objects. More... | |
enum SUResult | SUPoint3DTransform (const struct SUTransformation *transform, struct SUPoint3D *point) |
Transforms the provided 3D point by applying the provided 3D transformation. More... | |
Represents a point in 3-dimensional space.
|
related |
Gets the distance between two point objects.
[in] | point1 | The first point object. |
[in] | point2 | The second point object. |
[out] | distance | The distance between the two points. |
|
related |
Determines if two points are equal.
[in] | point1 | The first point object. |
[in] | point2 | The second point object. |
[out] | equal | Whether the two points are the same. |
|
related |
Determines if point1 is less than point2.
[in] | point1 | The first point object. |
[in] | point2 | The second point object. |
[out] | less_than | Whether point1 is less than point2. |
|
related |
Creates a new point that is offset from another point.
[in] | point1 | The point object. |
[in] | vector | The offset vector object. |
[out] | point2 | The new point. |
|
related |
Transforms the provided 3D point by applying the provided 3D transformation.
[in] | transform | The transformation to be applied. |
[in,out] | point | The point to be transformed. |