Package com.irurueta.geometry
Class EuclideanTransformation3DTest
java.lang.Object
com.irurueta.geometry.EuclideanTransformation3DTest
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final doubleprivate static final intprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final intprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final intprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final intprivate static final intprivate static final int -
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) void(package private) voidprivate static voidtransformDualQuadric(DualQuadric inputDualQuadric, DualQuadric outputDualQuadric, EuclideanTransformation3D transformation) private static voidtransformLine(Line3D inputLine, Line3D outputLine, EuclideanTransformation3D transformation) private static voidtransformPlane(Plane inputPlane, Plane outputPlane, EuclideanTransformation3D transformation) private static voidtransformPoint(Point3D inputPoint, Point3D outputPoint, Rotation3D rotation, double[] translation) private static voidtransformQuadric(Quadric inputQuadric, Quadric outputQuadric, EuclideanTransformation3D transformation)
-
Field Details
-
PINHOLE_CAMERA_ROWS
private static final int PINHOLE_CAMERA_ROWS- See Also:
-
PINHOLE_CAMERA_COLS
private static final int PINHOLE_CAMERA_COLS- See Also:
-
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_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:
-
MIN_ANGLE_DEGREES2
private static final double MIN_ANGLE_DEGREES2- See Also:
-
MAX_ANGLE_DEGREES2
private static final double MAX_ANGLE_DEGREES2- See Also:
-
MIN_TRANSLATION2
private static final double MIN_TRANSLATION2- See Also:
-
MAX_TRANSLATION2
private static final double MAX_TRANSLATION2- See Also:
-
MIN_RANDOM_POINT_VALUE
private static final double MIN_RANDOM_POINT_VALUE- See Also:
-
MAX_RANDOM_POINT_VALUE
private static final double MAX_RANDOM_POINT_VALUE- See Also:
-
MIN_FOCAL_LENGTH
private static final double MIN_FOCAL_LENGTH- See Also:
-
MAX_FOCAL_LENGTH
private static final double MAX_FOCAL_LENGTH- See Also:
-
MIN_SKEWNESS
private static final double MIN_SKEWNESS- See Also:
-
MAX_SKEWNESS
private static final double MAX_SKEWNESS- See Also:
-
MIN_PRINCIPAL_POINT
private static final double MIN_PRINCIPAL_POINT- See Also:
-
MAX_PRINCIPAL_POINT
private static final double MAX_PRINCIPAL_POINT- See Also:
-
MIN_ANGLE_DEGREES3
private static final double MIN_ANGLE_DEGREES3- See Also:
-
MAX_ANGLE_DEGREES3
private static final double MAX_ANGLE_DEGREES3- See Also:
-
TIMES
private static final int TIMES- See Also:
-
-
Constructor Details
-
EuclideanTransformation3DTest
EuclideanTransformation3DTest()
-
-
Method Details
-
testConstructor
-
testGetSetRotation
- Throws:
RotationException
-
testAddRotation
- 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() -
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:
NonSymmetricMatrixExceptioncom.irurueta.algebra.AlgebraException
-
testTransformQuadricAndPoints
@Test void testTransformQuadricAndPoints() throws com.irurueta.algebra.AlgebraException, GeometryException- Throws:
com.irurueta.algebra.AlgebraExceptionGeometryException
-
testTransformDualQuadric
@Test void testTransformDualQuadric() throws NonSymmetricMatrixException, com.irurueta.algebra.AlgebraException- Throws:
NonSymmetricMatrixExceptioncom.irurueta.algebra.AlgebraException
-
testTransformDualQuadricAndPlanes
@Test void testTransformDualQuadricAndPlanes() throws com.irurueta.algebra.AlgebraException, GeometryException- Throws:
com.irurueta.algebra.AlgebraExceptionGeometryException
-
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.AlgebraExceptionGeometryException
-
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:
CoincidentPointsExceptionCoincidentPlanesExceptioncom.irurueta.algebra.AlgebraException
-
testTransformLines
@Test void testTransformLines() throws CoincidentPlanesException, CoincidentPointsException, com.irurueta.algebra.AlgebraException- Throws:
CoincidentPlanesExceptionCoincidentPointsExceptioncom.irurueta.algebra.AlgebraException
-
testTransformAndOverwriteLines
@Test void testTransformAndOverwriteLines() throws CoincidentPointsException, CoincidentPlanesException, com.irurueta.algebra.AlgebraException- Throws:
CoincidentPointsExceptionCoincidentPlanesExceptioncom.irurueta.algebra.AlgebraException
-
testTransformPolygon
- 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.AlgebraExceptionGeometryException
-
testToMetric
@Test void testToMetric() -
testInverse
@Test void testInverse() throws com.irurueta.algebra.WrongSizeException- Throws:
com.irurueta.algebra.WrongSizeException
-
testCombine
- Throws:
com.irurueta.algebra.WrongSizeExceptionRotationException
-
testSetTransformationFromPoints
- Throws:
CoincidentPointsException
-
testSerializeDeserialize
- Throws:
IOExceptionClassNotFoundException
-
transformPoint
private static void transformPoint(Point3D inputPoint, Point3D outputPoint, Rotation3D rotation, double[] translation) -
transformPlane
private static void transformPlane(Plane inputPlane, Plane outputPlane, EuclideanTransformation3D 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
-
transformQuadric
private static void transformQuadric(Quadric inputQuadric, Quadric outputQuadric, EuclideanTransformation3D transformation) throws com.irurueta.algebra.AlgebraException, NonSymmetricMatrixException - Throws:
com.irurueta.algebra.AlgebraExceptionNonSymmetricMatrixException
-
transformDualQuadric
private static void transformDualQuadric(DualQuadric inputDualQuadric, DualQuadric outputDualQuadric, EuclideanTransformation3D transformation) throws com.irurueta.algebra.WrongSizeException, NonSymmetricMatrixException - Throws:
com.irurueta.algebra.WrongSizeExceptionNonSymmetricMatrixException
-
transformLine
private static void transformLine(Line3D inputLine, Line3D outputLine, EuclideanTransformation3D transformation) throws com.irurueta.algebra.WrongSizeException, com.irurueta.algebra.RankDeficientMatrixException, com.irurueta.algebra.DecomposerException, CoincidentPlanesException - Throws:
com.irurueta.algebra.WrongSizeExceptioncom.irurueta.algebra.RankDeficientMatrixExceptioncom.irurueta.algebra.DecomposerExceptionCoincidentPlanesException
-