Class AffineTransformation2DTest

java.lang.Object
com.irurueta.geometry.AffineTransformation2DTest

class AffineTransformation2DTest extends Object
  • Field Details

  • Constructor Details

    • AffineTransformation2DTest

      AffineTransformation2DTest()
  • Method Details

    • testConstructor

      @Test void testConstructor() throws com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.algebra.AlgebraException
    • testGetSetA

      @Test void testGetSetA() 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
    • testGetSetParameters

      @Test void testGetSetParameters() throws com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.algebra.AlgebraException
    • testGetSetTranslation

      @Test void testGetSetTranslation()
    • testAddTranslation

      @Test void testAddTranslation()
    • testGetSetTranslationX

      @Test void testGetSetTranslationX()
    • testGetSetTranslationY

      @Test void testGetSetTranslationY()
    • testSetTranslationCoordinates

      @Test void testSetTranslationCoordinates()
    • testGetSetTranslationPoint

      @Test void testGetSetTranslationPoint()
    • testAddTranslationX

      @Test void testAddTranslationX()
    • testAddTranslationY

      @Test void testAddTranslationY()
    • testAddTranslationCoordinates

      @Test void testAddTranslationCoordinates()
    • testAddTranslationPoint

      @Test void testAddTranslationPoint()
    • 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
    • testToProjective

      @Test void testToProjective()
    • 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
    • testSerializeDeserialize

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

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

      private static void transformLine(Line2D inputLine, Line2D outputLine, AffineTransformation2D 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, AffineTransformation2D transformation) throws com.irurueta.algebra.AlgebraException, NonSymmetricMatrixException
      Throws:
      com.irurueta.algebra.AlgebraException
      NonSymmetricMatrixException
    • transformDualConic

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