public interface Point3DBasics extends Tuple3DBasics, Point3DReadOnly, Transformable
A 3D point represents the 3D coordinates of a location in space.
Although a point and vector hold onto the same type of information, the distinction is made between them as they represent different geometry objects and are typically not handled the same way:
| Modifier and Type | Method and Description |
|---|---|
default void |
applyInverseTransform(Transform transform)
Transforms this point by the inverse of the given
transform. |
default void |
applyTransform(Transform transform)
Transforms this point by the given
transform. |
absolute, add, add, add, addX, addY, addZ, clipToMax, clipToMin, clipToMinMax, containsNaN, interpolate, interpolate, negate, scale, scale, scaleAdd, scaleAdd, scaleSub, scaleSub, set, set, set, set, set, set, set, set, set, set, set, setAndAbsolute, setAndClipToMax, setAndClipToMin, setAndClipToMinMax, setAndNegate, setAndScale, setElement, setToNaN, setToZero, setX, setY, setZ, sub, sub, sub, subX, subY, subZdistance, distanceFromOrigin, distanceFromOriginSquared, distanceSquared, distanceXY, distanceXY, distanceXYSquared, distanceXYSquared, geometricallyEqualsepsilonEquals, equals, get, get, get, get, get, get, get, getElement, getElement32, getX, getX32, getY, getY32, getZ, getZ32default void applyTransform(Transform transform)
transform.
The transformation depends on the implementation of the transform, here are a few examples:
RigidBodyTransform rotates then translates a point.
QuaternionBasedTransform rotates then translates a point.
AffineTransform scales, rotates, then translates a point.
applyTransform in interface Transformabletransform - the geometric transform to apply on this point. Not modified.default void applyInverseTransform(Transform transform)
transform.
The transformation depends on the implementation of the transform, here are a few examples:
RigidBodyTransform rotates then translates a point.
QuaternionBasedTransform rotates then translates a point.
AffineTransform scales, rotates, then translates a point.
applyInverseTransform in interface Transformabletransform - the geometric transform to apply on this point. Not modified.