Class GeometryUnitTest

java.lang.Object
georegression.misc.test.GeometryUnitTest

public class GeometryUnitTest extends Object
  • Constructor Details

    • GeometryUnitTest

      public GeometryUnitTest()
  • Method Details

    • assertEquals

      public static void assertEquals(Se3_F64 expected, Se3_F64 found, double tolTran, double tolRotation)
    • assertEquals

      public static void assertEquals(Se3_F32 expected, Se3_F32 found, float tolTran, float tolRotation)
    • assertEquals

      public static void assertEquals(Se2_F64 expected, Se2_F64 found, double tolTran, double tolyaw)
    • assertEquals

      public static void assertEquals(Se2_F32 expected, Se2_F32 found, float tolTran, float tolyaw)
    • assertNotEquals

      public static void assertNotEquals(Se2_F64 expected, Se2_F64 found, double tolTran, double tolYaw)
      Sees if every parameter in expected is not each to each other. Note that this test passes if only one is not equals.
      Parameters:
      expected - The expected transform.
      found - The found transform.
      tolTran - tolerance used for translational parameters.
      tolYaw - tolerance used for rotational parameters.
    • assertEquals

      public static void assertEquals(GeoTuple3D_F64 expected, GeoTuple3D_F64 found, double tol)
    • assertEquals

      public static void assertEquals(GeoTuple3D_F32 expected, GeoTuple3D_F32 found, float tol)
    • assertEquals

      public static void assertEquals(GeoTuple2D_F64 expected, GeoTuple2D_F64 found, double tol)
    • assertEquals

      public static void assertEquals(GeoTuple2D_F32 expected, GeoTuple2D_F32 found, float tol)
    • assertEquals

      public static void assertEquals(Point2D_I32 expected, Point2D_I32 found)
    • assertEquals

      public static void assertEquals(int x, int y, Point2D_I32 found)
    • assertEquals

      public static void assertEquals(float x, float y, Point2D_F32 found, float tol)
    • assertEquals

      public static void assertEquals(double x, double y, Point2D_F64 found, double tol)
    • assertNotEquals

      public static void assertNotEquals(GeoTuple2D_F64 expected, GeoTuple2D_F64 found, double tol)
    • assertEquals

      public static void assertEquals(GeoTuple3D_F64 a, double x, double y, double z, double tol)
    • assertEquals

      public static void assertEquals(GeoTuple3D_F32 a, float x, float y, float z, float tol)
    • assertNotEquals

      public static void assertNotEquals(GeoTuple3D_F32 expected, GeoTuple3D_F32 found, float tol)
    • assertNotEquals

      public static void assertNotEquals(GeoTuple3D_F64 expected, GeoTuple3D_F64 found, double tol)
    • assertEquals

      public static void assertEquals(GeoTuple_F64 a, GeoTuple_F64 b, double tol)
    • assertEquals

      public static void assertEquals(int valueA, int valueB, String message)
    • assertEquals

      public static void assertEquals(double valueA, double valueB, double tol, String message)
    • assertNotEquals

      public static void assertNotEquals(double valueA, double valueB, double tol, String message)
    • assertTrue

      public static void assertTrue(boolean value, String message)