Class QuaternionTest

java.lang.Object
com.irurueta.geometry.QuaternionTest

class QuaternionTest extends Object
  • Field Details

  • Constructor Details

    • QuaternionTest

      QuaternionTest()
  • Method Details

    • testConstants

      @Test void testConstants()
    • testConstructors

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

      @Test void testClone() throws CloneNotSupportedException
      Throws:
      CloneNotSupportedException
    • testCopyTo

      @Test void testCopyTo()
    • testGetSetFromAxisAndRotation

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

      @Test void testRotate() throws ColinearPointsException, com.irurueta.algebra.AlgebraException
      Throws:
      ColinearPointsException
      com.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.AlgebraException
      RotationException
    • 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.AlgebraException
      InvalidRotationMatrixException
    • testFromHomogeneousMatrix

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

      @Test void testFromRotation() throws com.irurueta.algebra.AlgebraException, RotationException
      Throws:
      com.irurueta.algebra.AlgebraException
      RotationException
    • testToQuaternion

      @Test void testToQuaternion() throws com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.algebra.AlgebraException
    • testNormalize

      @Test void testNormalize() throws com.irurueta.algebra.AlgebraException, RotationException
      Throws:
      com.irurueta.algebra.AlgebraException
      RotationException
    • testSlerp

      @Test void testSlerp() throws RotationException
      Throws:
      RotationException
    • testSerializeDeserialize

      @Test void testSerializeDeserialize() throws IOException, ClassNotFoundException
      Throws:
      IOException
      ClassNotFoundException