Modifier and Type | Method | Description |
---|---|---|
static void |
EuclidCoreTestTools.assertPoint2DGeometricallyEquals(java.lang.String messagePrefix,
Point2DReadOnly expected,
Point2DReadOnly actual,
double epsilon) |
Asserts on a per component basis that the two points represent the same geometry to an
epsilon . |
static void |
EuclidCoreTestTools.assertPoint2DGeometricallyEquals(java.lang.String messagePrefix,
Point2DReadOnly expected,
Point2DReadOnly actual,
double epsilon,
java.lang.String format) |
Asserts on a per component basis that the two points represent the same geometry to an
epsilon . |
static void |
EuclidCoreTestTools.assertPoint2DGeometricallyEquals(Point2DReadOnly expected,
Point2DReadOnly actual,
double epsilon) |
Asserts on a per component basis that the two points represent the same geometry to an
epsilon . |
Modifier and Type | Method | Description |
---|---|---|
void |
AffineTransform.inverseTransform(Point2DReadOnly pointOriginal,
Point2DBasics pointTransformed,
boolean checkIfTransformInXYPlane) |
Performs the inverse of the transform on the given point
pointOriginal and stores the
result in pointTransformed . |
void |
QuaternionBasedTransform.inverseTransform(Point2DReadOnly pointOriginal,
Point2DBasics pointTransformed,
boolean checkIfTransformInXYPlane) |
Performs the inverse of the transform on the given point
pointOriginal and stores the
result in pointTransformed . |
void |
RigidBodyTransform.inverseTransform(Point2DReadOnly pointOriginal,
Point2DBasics pointTransformed,
boolean checkIfTransformInXYPlane) |
Performs the inverse of the transform on the given point
pointOriginal and stores the
result in pointTransformed . |
void |
AffineTransform.transform(Point2DReadOnly pointOriginal,
Point2DBasics pointTransformed,
boolean checkIfTransformInXYPlane) |
Transforms the given
point2DOriginal by this transform and stores the result in
point2DTransformed . |
void |
QuaternionBasedTransform.transform(Point2DReadOnly pointOriginal,
Point2DBasics pointTransformed,
boolean checkIfTransformInXYPlane) |
Transforms the given
point2DOriginal by this transform and stores the result in
point2DTransformed . |
void |
RigidBodyTransform.transform(Point2DReadOnly point2DOriginal,
Point2DBasics point2DTransformed,
boolean checkIfTransformInXYPlane) |
Transforms the given
point2DOriginal by this transform and stores the result in
point2DTransformed . |
Modifier and Type | Method | Description |
---|---|---|
default void |
Transform.inverseTransform(Point2DReadOnly point2DOriginal,
Point2DBasics point2DTransformed) |
Performs the inverse of the transform on the given point
pointOriginal and stores the
result in pointTransformed . |
void |
Transform.inverseTransform(Point2DReadOnly point2DOriginal,
Point2DBasics point2DTransformed,
boolean checkIfTransformInXYPlane) |
Performs the inverse of the transform on the given point
pointOriginal and stores the
result in pointTransformed . |
default void |
Transform.transform(Point2DReadOnly pointOriginal,
Point2DBasics pointTransformed) |
Transforms the given
point2DOriginal by this transform and stores the result in
point2DTransformed . |
void |
Transform.transform(Point2DReadOnly pointOriginal,
Point2DBasics pointTransformed,
boolean checkIfTransformInXYPlane) |
Transforms the given
point2DOriginal by this transform and stores the result in
point2DTransformed . |
Modifier and Type | Class | Description |
---|---|---|
class |
Point2D |
A 2D point represents the 2D coordinates of a location on the XY-plane.
|
class |
Point2D32 |
A 2D point represents the 2D coordinates of a location on the XY-plane.
|
Modifier and Type | Interface | Description |
---|---|---|
interface |
Point2DBasics |
Write and read interface for a 2 dimensional point.
|
Modifier and Type | Method | Description |
---|---|---|
default double |
Point2DReadOnly.distance(Point2DReadOnly other) |
Calculates and returns the distance between this point and
other . |
default double |
Point2DReadOnly.distanceSquared(Point2DReadOnly other) |
Calculates and returns the square of the distance between this point and
other . |
default boolean |
Point2DReadOnly.geometricallyEquals(Point2DReadOnly other,
double epsilon) |
Tests if
this and other represent the same point 2D to an epsilon . |
Modifier and Type | Method | Description |
---|---|---|
default double |
Point3DReadOnly.distanceXY(Point2DReadOnly point2DReadOnly) |
Calculates and returns the distance between this point and
point2DReadOnly in the
XY-plane. |
default double |
Point3DReadOnly.distanceXYSquared(Point2DReadOnly point2DReadOnly) |
Calculates and returns the square of the distance between this point and
point2DReadOnly in the XY-plane. |