public interface FrameVector4DReadOnly extends us.ihmc.euclid.tuple4D.interfaces.Vector4DReadOnly, FrameTuple4DReadOnly
In addition to representing a Vector4DReadOnly, a ReferenceFrame is associated to
a FrameVector4DReadOnly. This allows, for instance, to enforce, at runtime, that
operations on vectors occur in the same coordinate system.
Because a FrameVector4DReadOnly extends Vector4DReadOnly, it is compatible with
methods only requiring Vector4DReadOnly. However, these methods do NOT assert that the
operation occur in the proper coordinate system. Use this feature carefully and always prefer
using methods requiring FrameVector4DReadOnly.
| Modifier and Type | Method and Description |
|---|---|
default boolean |
geometricallyEquals(FrameVector4DReadOnly other,
double epsilon)
Compares
this to other to determine if the two frame vectors are geometrically
similar, i.e. |
geometricallyEqualsdot, epsilonEquals, equalscontainsNaN, dot, epsilonEquals, equals, get, get, get, get, get, get, get, getElement, getElement32, getS, getS32, getX, getX32, getY, getY32, getZ, getZ32, norm, normSquaredcheckReferenceFrameMatch, checkReferenceFrameMatch, getReferenceFramedefault boolean geometricallyEquals(FrameVector4DReadOnly other, double epsilon)
this to other to determine if the two frame vectors are geometrically
similar, i.e. the length of the distance between them is less than or equal to epsilon.other - the frame vector to compare to. Not modified.epsilon - the tolerance of the comparison.true if the two frame vectors represent the same geometry, false
otherwise.ReferenceFrameMismatchException - if other is not expressed in the same reference
frame as this.