Class ProjectiveTransformation3DTest

java.lang.Object
com.irurueta.geometry.ProjectiveTransformation3DTest

class ProjectiveTransformation3DTest extends Object
  • Field Details

  • Constructor Details

    • ProjectiveTransformation3DTest

      ProjectiveTransformation3DTest()
  • Method Details

    • testConstants

      @Test void testConstants()
    • testConstructor

      @Test void testConstructor() throws com.irurueta.algebra.AlgebraException, RotationException
      Throws:
      com.irurueta.algebra.AlgebraException
      RotationException
    • testGetSetT

      @Test void testGetSetT() throws com.irurueta.algebra.WrongSizeException
      Throws:
      com.irurueta.algebra.WrongSizeException
    • testIsDegenerate

      @Test void testIsDegenerate() throws com.irurueta.algebra.WrongSizeException, com.irurueta.algebra.LockedException, com.irurueta.algebra.NotReadyException, com.irurueta.algebra.DecomposerException, com.irurueta.algebra.NotAvailableException
      Throws:
      com.irurueta.algebra.WrongSizeException
      com.irurueta.algebra.LockedException
      com.irurueta.algebra.NotReadyException
      com.irurueta.algebra.DecomposerException
      com.irurueta.algebra.NotAvailableException
    • testGetSetA

      @Test void testGetSetA() throws com.irurueta.algebra.WrongSizeException
      Throws:
      com.irurueta.algebra.WrongSizeException
    • testNormalize

      @Test void testNormalize() throws com.irurueta.algebra.WrongSizeException
      Throws:
      com.irurueta.algebra.WrongSizeException
    • testGetSetRotation

      @Test void testGetSetRotation() throws RotationException, com.irurueta.algebra.AlgebraException
      Throws:
      RotationException
      com.irurueta.algebra.AlgebraException
    • testAddRotation

      @Test void testAddRotation() throws RotationException, com.irurueta.algebra.AlgebraException
      Throws:
      RotationException
      com.irurueta.algebra.AlgebraException
    • testGetSetAffineParameters

      @Test void testGetSetAffineParameters() throws com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.algebra.AlgebraException
    • testGetSetProjectiveParameters

      @Test void testGetSetProjectiveParameters()
    • testGetSetTranslation

      @Test void testGetSetTranslation()
    • testAddTranslation

      @Test void testAddTranslation()
    • testAddTranslation2

      @Test void testAddTranslation2()
    • testAddTranslation3

      @Test void testAddTranslation3()
    • 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()
    • testGetSetScale

      @Test void testGetSetScale() throws com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.algebra.AlgebraException
    • testAsMatrix

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

      @Test void testTransformPoint() throws com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.algebra.AlgebraException
    • testTransformPoints

      @Test void testTransformPoints() throws com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.algebra.AlgebraException
    • testTransformAndOverwritePoints

      @Test void testTransformAndOverwritePoints() throws com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.algebra.AlgebraException
    • 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, com.irurueta.algebra.AlgebraException
      Throws:
      NotEnoughVerticesException
      com.irurueta.algebra.AlgebraException
    • testTransformTriangle

      @Test void testTransformTriangle() throws com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.algebra.AlgebraException
    • 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.AlgebraException
      Throws:
      com.irurueta.algebra.AlgebraException
    • testCombine

      @Test void testCombine() throws com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.algebra.AlgebraException
    • testSetTransformationFromPoints

      @Test void testSetTransformationFromPoints() throws com.irurueta.algebra.WrongSizeException, com.irurueta.algebra.DecomposerException, CoincidentPointsException
      Throws:
      com.irurueta.algebra.WrongSizeException
      com.irurueta.algebra.DecomposerException
      CoincidentPointsException
    • testConstructorFromPoints

      @Test void testConstructorFromPoints() throws com.irurueta.algebra.WrongSizeException, com.irurueta.algebra.DecomposerException, CoincidentPointsException
      Throws:
      com.irurueta.algebra.WrongSizeException
      com.irurueta.algebra.DecomposerException
      CoincidentPointsException
    • testSetTransformationFromPlanes

      @Test void testSetTransformationFromPlanes() throws CoincidentPlanesException, com.irurueta.algebra.AlgebraException
      Throws:
      CoincidentPlanesException
      com.irurueta.algebra.AlgebraException
    • testConstructorFromPlanes

      @Test void testConstructorFromPlanes() throws CoincidentPlanesException, com.irurueta.algebra.AlgebraException
      Throws:
      CoincidentPlanesException
      com.irurueta.algebra.AlgebraException
    • testSetTransformationFromLines

      @Test void testSetTransformationFromLines() throws CoincidentLinesException, com.irurueta.algebra.AlgebraException, CoincidentPlanesException
      Throws:
      CoincidentLinesException
      com.irurueta.algebra.AlgebraException
      CoincidentPlanesException
    • testConstructorFromLines

      @Test void testConstructorFromLines() throws CoincidentLinesException, com.irurueta.algebra.AlgebraException, CoincidentPlanesException
      Throws:
      CoincidentLinesException
      com.irurueta.algebra.AlgebraException
      CoincidentPlanesException
    • testSerializeAndDeserialize

      @Test void testSerializeAndDeserialize() throws com.irurueta.algebra.WrongSizeException, IOException, ClassNotFoundException
      Throws:
      com.irurueta.algebra.WrongSizeException
      IOException
      ClassNotFoundException
    • transformPoint

      private static void transformPoint(Point3D inputPoint, Point3D outputPoint, ProjectiveTransformation3D transformation) throws com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.algebra.AlgebraException
    • transformPlane

      private static void transformPlane(Plane inputPlane, Plane outputPlane, ProjectiveTransformation3D 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, ProjectiveTransformation3D transformation) throws com.irurueta.algebra.AlgebraException, NonSymmetricMatrixException
      Throws:
      com.irurueta.algebra.AlgebraException
      NonSymmetricMatrixException
    • transformDualQuadric

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

      private static void transformLine(Line3D inputLine, Line3D outputLine, ProjectiveTransformation3D 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