LayOut C API
|
Represents a point in 3-dimensional space. More...
#include <geometry.h>
Data Fields | |
double | x |
X coordinate. More... | |
double | y |
Y coordinate. More... | |
double | z |
Z coordinate. More... | |
Related Functions | |
(Note that these are not member functions.) | |
SU_RESULT | SUPoint3DGetEqual (const struct SUPoint3D *point1, const struct SUPoint3D *point2, bool *equal) |
Determines if two points are equal. More... | |
SU_RESULT | SUPoint3DLessThan (const struct SUPoint3D *point1, const struct SUPoint3D *point2, bool *less_than) |
Determines if point1 is less than point2. More... | |
SU_RESULT | SUPoint3DOffset (const struct SUPoint3D *point1, const struct SUVector3D *vector, struct SUPoint3D *point2) |
Creates a new point that is offset from another point. More... | |
SU_RESULT | SUPoint3DDistanceToSUPoint3D (const struct SUPoint3D *point1, const struct SUPoint3D *point2, double *distance) |
Gets the distance between two point objects. More... | |
SU_RESULT | 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. |
double SUPoint3D::x |
X coordinate.
double SUPoint3D::y |
Y coordinate.
double SUPoint3D::z |
Z coordinate.