Package com.irurueta.geometry
Class QuaternionTest
java.lang.Object
com.irurueta.geometry.QuaternionTest
-
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 doubleprivate 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) void(package private) void(package private) void
-
Field Details
-
ROTATION_COLS
private static final int ROTATION_COLS- See Also:
-
INHOM_COORDS
private static final int INHOM_COORDS- 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_ANGLE_DEGREES
private static final double MIN_ANGLE_DEGREES- See Also:
-
MAX_ANGLE_DEGREES
private static final double MAX_ANGLE_DEGREES- See Also:
-
ABSOLUTE_ERROR
private static final double ABSOLUTE_ERROR- See Also:
-
JACOBIAN_ERROR
private static final double JACOBIAN_ERROR- See Also:
-
-
Constructor Details
-
QuaternionTest
QuaternionTest()
-
-
Method Details
-
testConstants
@Test void testConstants() -
testConstructors
- Throws:
com.irurueta.algebra.AlgebraExceptionRotationException
-
testGetSetA
@Test void testGetSetA() -
testGetSetB
@Test void testGetSetB() -
testGetSetC
@Test void testGetSetC() -
testGetSetD
@Test void testGetSetD() -
testGetSetValues
@Test void testGetSetValues() -
testFromQuaternion
@Test void testFromQuaternion() -
testClone
- Throws:
CloneNotSupportedException
-
testCopyTo
@Test void testCopyTo() -
testGetSetFromAxisAndRotation
@Test void testGetSetFromAxisAndRotation() throws com.irurueta.algebra.AlgebraException, RotationException- Throws:
com.irurueta.algebra.AlgebraExceptionRotationException
-
testMultiplyAndProduct
@Test void testMultiplyAndProduct() throws com.irurueta.algebra.AlgebraException- Throws:
com.irurueta.algebra.AlgebraException
-
testSetFromEulerAngles
@Test void testSetFromEulerAngles() throws com.irurueta.algebra.AlgebraException- Throws:
com.irurueta.algebra.AlgebraException
-
testEulerToMatrixRotation
@Test void testEulerToMatrixRotation() throws com.irurueta.algebra.AlgebraException- Throws:
com.irurueta.algebra.AlgebraException
-
testToAxisAndRotationAngle
@Test void testToAxisAndRotationAngle() throws com.irurueta.algebra.AlgebraException, RotationException- Throws:
com.irurueta.algebra.AlgebraExceptionRotationException
-
testToRotationVector
@Test void testToRotationVector() throws com.irurueta.algebra.AlgebraException- Throws:
com.irurueta.algebra.AlgebraException
-
testToEulerAngles
@Test void testToEulerAngles() throws com.irurueta.algebra.AlgebraException- Throws:
com.irurueta.algebra.AlgebraException
-
testQuaternionMatrix
@Test void testQuaternionMatrix() throws com.irurueta.algebra.AlgebraException- Throws:
com.irurueta.algebra.AlgebraException
-
testConjugate
@Test void testConjugate() throws com.irurueta.algebra.AlgebraException- Throws:
com.irurueta.algebra.AlgebraException
-
testQuaternionMatrixN
@Test void testQuaternionMatrixN() throws com.irurueta.algebra.AlgebraException- Throws:
com.irurueta.algebra.AlgebraException
-
testToMatrixRotation
@Test void testToMatrixRotation() throws com.irurueta.algebra.AlgebraException- Throws:
com.irurueta.algebra.AlgebraException
-
testRotate
- Throws:
ColinearPointsExceptioncom.irurueta.algebra.AlgebraException
-
testMatrixRotationToQuaternionAndSetFromMatrixRotation
@Test void testMatrixRotationToQuaternionAndSetFromMatrixRotation() throws com.irurueta.algebra.WrongSizeException- Throws:
com.irurueta.algebra.WrongSizeException
-
testRotationVectorToRotationAxisAndAngle
@Test void testRotationVectorToRotationAxisAndAngle() throws com.irurueta.algebra.AlgebraException- Throws:
com.irurueta.algebra.AlgebraException
-
testRotationVectorToQuaternion
@Test void testRotationVectorToQuaternion() throws com.irurueta.algebra.AlgebraException- Throws:
com.irurueta.algebra.AlgebraException
-
testSetFromRotationVector
@Test void testSetFromRotationVector() throws com.irurueta.algebra.AlgebraException- Throws:
com.irurueta.algebra.AlgebraException
-
testRotationVectorToMatrixRotation
@Test void testRotationVectorToMatrixRotation() throws com.irurueta.algebra.AlgebraException, RotationException- Throws:
com.irurueta.algebra.AlgebraExceptionRotationException
-
testGetType
@Test void testGetType() -
testSetAxisAndRotationRotationAxisAndGetRotationAngle
@Test void testSetAxisAndRotationRotationAxisAndGetRotationAngle() throws com.irurueta.algebra.AlgebraException- Throws:
com.irurueta.algebra.AlgebraException
-
testAsInhomogeneousMatrix
@Test void testAsInhomogeneousMatrix() throws com.irurueta.algebra.AlgebraException- Throws:
com.irurueta.algebra.AlgebraException
-
testAsHomogeneousMatrix
@Test void testAsHomogeneousMatrix() throws com.irurueta.algebra.AlgebraException- Throws:
com.irurueta.algebra.AlgebraException
-
testFromInhomogeneousMatrix
@Test void testFromInhomogeneousMatrix() throws com.irurueta.algebra.AlgebraException, InvalidRotationMatrixException- Throws:
com.irurueta.algebra.AlgebraExceptionInvalidRotationMatrixException
-
testFromHomogeneousMatrix
@Test void testFromHomogeneousMatrix() throws com.irurueta.algebra.AlgebraException, InvalidRotationMatrixException- Throws:
com.irurueta.algebra.AlgebraExceptionInvalidRotationMatrixException
-
testInverse
@Test void testInverse() throws com.irurueta.algebra.AlgebraException- Throws:
com.irurueta.algebra.AlgebraException
-
testInverseRotation
@Test void testInverseRotation() throws com.irurueta.algebra.AlgebraException- Throws:
com.irurueta.algebra.AlgebraException
-
testCombine
@Test void testCombine() throws com.irurueta.algebra.AlgebraException- Throws:
com.irurueta.algebra.AlgebraException
-
testFromRotation
- Throws:
com.irurueta.algebra.AlgebraExceptionRotationException
-
testToQuaternion
@Test void testToQuaternion() throws com.irurueta.algebra.AlgebraException- Throws:
com.irurueta.algebra.AlgebraException
-
testNormalize
- Throws:
com.irurueta.algebra.AlgebraExceptionRotationException
-
testSlerp
- Throws:
RotationException
-
testSerializeDeserialize
- Throws:
IOExceptionClassNotFoundException
-