Class ProjectiveTransformation2DTest

java.lang.Object
com.irurueta.geometry.ProjectiveTransformation2DTest

class ProjectiveTransformation2DTest extends Object
  • Field Details

  • Constructor Details

    • ProjectiveTransformation2DTest

      ProjectiveTransformation2DTest()
  • Method Details

    • testConstants

      @Test void testConstants()
    • testConstructor

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

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

      @Test void testSetTranslationCoordinates()
    • testGetSetTranslationPoint

      @Test void testGetSetTranslationPoint()
    • testAddTranslationX

      @Test void testAddTranslationX()
    • testAddTranslationY

      @Test void testAddTranslationY()
    • 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
    • testTransformConic

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

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

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

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

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

      @Test void testTransformLineAndPoints() throws com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.algebra.AlgebraException
    • testTransformLines

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

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

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

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

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

      private static void transformPoint(Point2D inputPoint, Point2D outputPoint, ProjectiveTransformation2D transformation) throws com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.algebra.AlgebraException
    • transformLine

      private static void transformLine(Line2D inputLine, Line2D outputLine, ProjectiveTransformation2D 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
    • transformConic

      private static void transformConic(Conic inputConic, Conic outputConic, ProjectiveTransformation2D transformation) throws com.irurueta.algebra.AlgebraException, NonSymmetricMatrixException
      Throws:
      com.irurueta.algebra.AlgebraException
      NonSymmetricMatrixException
    • transformDualConic

      private static void transformDualConic(DualConic inputDualConic, DualConic outputDualConic, ProjectiveTransformation2D transformation) throws com.irurueta.algebra.WrongSizeException, NonSymmetricMatrixException
      Throws:
      com.irurueta.algebra.WrongSizeException
      NonSymmetricMatrixException