Class MetricTransformation3DTest

java.lang.Object
com.irurueta.geometry.MetricTransformation3DTest

class MetricTransformation3DTest extends Object
  • Field Details

  • Constructor Details

    • MetricTransformation3DTest

      MetricTransformation3DTest()
  • Method Details

    • testConstructor

      @Test void testConstructor() throws RotationException, CoincidentPointsException
      Throws:
      RotationException
      CoincidentPointsException
    • testGetSetRotation

      @Test void testGetSetRotation() throws RotationException
      Throws:
      RotationException
    • testAddRotation

      @Test void testAddRotation() throws RotationException
      Throws:
      RotationException
    • testGetSetTranslation

      @Test void testGetSetTranslation()
    • testAddTranslation

      @Test void testAddTranslation()
    • testGetSetTranslationX

      @Test void testGetSetTranslationX()
    • testGetSetTranslationY

      @Test void testGetSetTranslationY()
    • testGetSetTranslationZ

      @Test void testGetSetTranslationZ()
    • testSetTranslationCoordinates

      @Test void testSetTranslationCoordinates()
    • testGetSetTranslationPoint

      @Test void testGetSetTranslationPoint()
    • testAddTranslationX

      @Test void testAddTranslationX()
    • testAddTranslationY

      @Test void testAddTranslationY()
    • testAddTranslationZ

      @Test void testAddTranslationZ()
    • testAddTranslationCoordinates

      @Test void testAddTranslationCoordinates()
    • testAddTranslationPoint

      @Test void testAddTranslationPoint()
    • testGetSetScale

      @Test void testGetSetScale()
    • testAsMatrix

      @Test void testAsMatrix() throws com.irurueta.algebra.WrongSizeException
      Throws:
      com.irurueta.algebra.WrongSizeException
    • testTransformPoint

      @Test void testTransformPoint()
    • testTransformPoints

      @Test void testTransformPoints()
    • testTransformAndOverwritePoints

      @Test void testTransformAndOverwritePoints()
    • testTransformQuadric

      @Test void testTransformQuadric() throws NonSymmetricMatrixException, com.irurueta.algebra.AlgebraException
      Throws:
      NonSymmetricMatrixException
      com.irurueta.algebra.AlgebraException
    • testTransformQuadricAndPoints

      @Test void testTransformQuadricAndPoints() throws com.irurueta.algebra.AlgebraException, GeometryException
      Throws:
      com.irurueta.algebra.AlgebraException
      GeometryException
    • tesTransformDualQuadric

      @Test void tesTransformDualQuadric() throws NonSymmetricMatrixException, com.irurueta.algebra.AlgebraException
      Throws:
      NonSymmetricMatrixException
      com.irurueta.algebra.AlgebraException
    • testTransformDualQuadricAndPlanes

      @Test void testTransformDualQuadricAndPlanes() throws com.irurueta.algebra.AlgebraException, GeometryException
      Throws:
      com.irurueta.algebra.AlgebraException
      GeometryException
    • testTransformPlane

      @Test void testTransformPlane() throws com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.algebra.AlgebraException
    • testTransformPlaneAndPoints

      @Test void testTransformPlaneAndPoints() throws com.irurueta.algebra.AlgebraException, GeometryException
      Throws:
      com.irurueta.algebra.AlgebraException
      GeometryException
    • testTransformPlanes

      @Test void testTransformPlanes() throws com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.algebra.AlgebraException
    • testTransformAndOverwritePlanes

      @Test void testTransformAndOverwritePlanes() throws com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.algebra.AlgebraException
    • testTransformLine

      @Test void testTransformLine() throws CoincidentPointsException, CoincidentPlanesException, com.irurueta.algebra.AlgebraException
      Throws:
      CoincidentPointsException
      CoincidentPlanesException
      com.irurueta.algebra.AlgebraException
    • testTransformLines

      @Test void testTransformLines() throws CoincidentPlanesException, CoincidentPointsException, com.irurueta.algebra.AlgebraException
      Throws:
      CoincidentPlanesException
      CoincidentPointsException
      com.irurueta.algebra.AlgebraException
    • testTransformAndOverwriteLines

      @Test void testTransformAndOverwriteLines() throws CoincidentPointsException, CoincidentPlanesException, com.irurueta.algebra.AlgebraException
      Throws:
      CoincidentPointsException
      CoincidentPlanesException
      com.irurueta.algebra.AlgebraException
    • testTransformPolygon

      @Test void testTransformPolygon() throws NotEnoughVerticesException
      Throws:
      NotEnoughVerticesException
    • testTransformTriangle

      @Test void testTransformTriangle()
    • testTransformCamera

      @Test void testTransformCamera() throws com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.algebra.AlgebraException
    • testTransformCameraAndPoints

      @Test void testTransformCameraAndPoints() throws com.irurueta.algebra.AlgebraException, GeometryException
      Throws:
      com.irurueta.algebra.AlgebraException
      GeometryException
    • testInverse

      @Test void testInverse() throws com.irurueta.algebra.WrongSizeException
      Throws:
      com.irurueta.algebra.WrongSizeException
    • testToMetric

      @Test void testToMetric()
    • testToAffine

      @Test void testToAffine()
    • testCombine

      @Test void testCombine() throws com.irurueta.algebra.WrongSizeException, RotationException
      Throws:
      com.irurueta.algebra.WrongSizeException
      RotationException
    • testSetTransformationFromPoints

      @Test void testSetTransformationFromPoints() throws CoincidentPointsException
      Throws:
      CoincidentPointsException
    • testSerializeDeserialize

      @Test void testSerializeDeserialize() throws IOException, ClassNotFoundException
      Throws:
      IOException
      ClassNotFoundException
    • transformPoint

      private static void transformPoint(Point3D inputPoint, Point3D outputPoint, Rotation3D rotation, double[] translation, double scale)
    • transformPlane

      private static void transformPlane(Plane inputPlane, Plane outputPlane, MetricTransformation3D transformation) throws com.irurueta.algebra.WrongSizeException, com.irurueta.algebra.RankDeficientMatrixException, com.irurueta.algebra.DecomposerException
      Throws:
      com.irurueta.algebra.WrongSizeException
      com.irurueta.algebra.RankDeficientMatrixException
      com.irurueta.algebra.DecomposerException
    • transformQuadric

      private static void transformQuadric(Quadric inputQuadric, Quadric outputQuadric, MetricTransformation3D transformation) throws com.irurueta.algebra.AlgebraException, NonSymmetricMatrixException
      Throws:
      com.irurueta.algebra.AlgebraException
      NonSymmetricMatrixException
    • transformDualQuadric

      private static void transformDualQuadric(DualQuadric inputDualQuadric, DualQuadric outputDualQuadric, MetricTransformation3D transformation) throws com.irurueta.algebra.WrongSizeException, NonSymmetricMatrixException
      Throws:
      com.irurueta.algebra.WrongSizeException
      NonSymmetricMatrixException
    • transformLine

      private static void transformLine(Line3D inputLine, Line3D outputLine, MetricTransformation3D transformation) throws com.irurueta.algebra.WrongSizeException, com.irurueta.algebra.RankDeficientMatrixException, com.irurueta.algebra.DecomposerException, CoincidentPlanesException
      Throws:
      com.irurueta.algebra.WrongSizeException
      com.irurueta.algebra.RankDeficientMatrixException
      com.irurueta.algebra.DecomposerException
      CoincidentPlanesException