public void TestFromMatrix3By3()
{
double angle = Math.PI / 6; // 60 degrees.
// Test "type == 0:"
_TestFromMatrix3By3(angle, new Cartesian(2.0, 3.0, 6.0)); //rotation about 2/7, 3/7, 6/7 vector.
angle = 2 * Math.PI / 3; // 120 degrees.
// Test "type == 1:"
_TestFromMatrix3By3(angle, new Cartesian(6.0, -3.0, -2.0)); // rotation about 6/7, -3/7, -2/7 vector.
// Test "type == 2:"
_TestFromMatrix3By3(angle, new Cartesian(-2.0, -3.0, 6.0)); // rotation about -2/7, -3/7, 6/7 vector.
// Test "type == 3:"
_TestFromMatrix3By3(angle, new Cartesian(-2.0, 6.0, -3.0)); // rotation about -2/7, 6/7, -3/7 vector.
}