Package com.irurueta.geometry
Class AffineTransformation2DTest
java.lang.Object
com.irurueta.geometry.AffineTransformation2DTest
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final doubleprivate static final intprivate static final doubleprivate static final intprivate static final doubleprivate static final doubleprivate static final doubleprivate static final intprivate static final doubleprivate static final double -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) voidprivate static voidtransformConic(Conic inputConic, Conic outputConic, AffineTransformation2D transformation) private static voidtransformDualConic(DualConic inputDualConic, DualConic outputDualConic, AffineTransformation2D transformation) private static voidtransformLine(Line2D inputLine, Line2D outputLine, AffineTransformation2D transformation) private static voidtransformPoint(Point2D inputPoint, Point2D outputPoint, AffineTransformation2D transformation)
-
Field Details
-
HOM_COORDS
private static final int HOM_COORDS- See Also:
-
MIN_ANGLE_DEGREES
private static final double MIN_ANGLE_DEGREES- See Also:
-
MAX_ANGLE_DEGREES
private static final double MAX_ANGLE_DEGREES- See Also:
-
MIN_RANDOM_VALUE
private static final double MIN_RANDOM_VALUE- See Also:
-
MAX_RANDOM_VALUE
private static final double MAX_RANDOM_VALUE- See Also:
-
MIN_SCALE
private static final double MIN_SCALE- See Also:
-
MAX_SCALE
private static final double MAX_SCALE- See Also:
-
MIN_POINTS
private static final int MIN_POINTS- See Also:
-
MAX_POINTS
private static final int MAX_POINTS- See Also:
-
ABSOLUTE_ERROR
private static final double ABSOLUTE_ERROR- See Also:
-
-
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.AlgebraExceptionNonSymmetricMatrixException
-
testTransformConicAndPoints
@Test void testTransformConicAndPoints() throws com.irurueta.algebra.AlgebraException, GeometryException- Throws:
com.irurueta.algebra.AlgebraExceptionGeometryException
-
tesTransformDualConic
@Test void tesTransformDualConic() throws NonSymmetricMatrixException, com.irurueta.algebra.AlgebraException- Throws:
NonSymmetricMatrixExceptioncom.irurueta.algebra.AlgebraException
-
testTransformDualConicAndLines
@Test void testTransformDualConicAndLines() throws com.irurueta.algebra.AlgebraException, GeometryException- Throws:
com.irurueta.algebra.AlgebraExceptionGeometryException
-
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:
NotEnoughVerticesExceptioncom.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.WrongSizeExceptioncom.irurueta.algebra.DecomposerExceptionCoincidentPointsException
-
testConstructorFromPoints
@Test void testConstructorFromPoints() throws com.irurueta.algebra.WrongSizeException, com.irurueta.algebra.DecomposerException, CoincidentPointsException- Throws:
com.irurueta.algebra.WrongSizeExceptioncom.irurueta.algebra.DecomposerExceptionCoincidentPointsException
-
testSetTransformationFromLines
@Test void testSetTransformationFromLines() throws CoincidentLinesException, com.irurueta.algebra.AlgebraException- Throws:
CoincidentLinesExceptioncom.irurueta.algebra.AlgebraException
-
testConstructorFromLines
@Test void testConstructorFromLines() throws CoincidentLinesException, com.irurueta.algebra.AlgebraException- Throws:
CoincidentLinesExceptioncom.irurueta.algebra.AlgebraException
-
testSerializeDeserialize
@Test void testSerializeDeserialize() throws com.irurueta.algebra.WrongSizeException, IOException, ClassNotFoundException- Throws:
com.irurueta.algebra.WrongSizeExceptionIOExceptionClassNotFoundException
-
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.WrongSizeExceptioncom.irurueta.algebra.RankDeficientMatrixExceptioncom.irurueta.algebra.DecomposerException
-
transformConic
private static void transformConic(Conic inputConic, Conic outputConic, AffineTransformation2D transformation) throws com.irurueta.algebra.AlgebraException, NonSymmetricMatrixException - Throws:
com.irurueta.algebra.AlgebraExceptionNonSymmetricMatrixException
-
transformDualConic
private static void transformDualConic(DualConic inputDualConic, DualConic outputDualConic, AffineTransformation2D transformation) throws com.irurueta.algebra.WrongSizeException, NonSymmetricMatrixException - Throws:
com.irurueta.algebra.WrongSizeExceptionNonSymmetricMatrixException
-