示例#1
0
        public void VectorAngleTest2()
        {
            // Angle > 90
            Vector3d v1 = new Vector3d(1, 0, 0);
            Vector3d v2 = new Vector3d(-1, 1, 0);

            Assert.IsTrue(Abs(v1.AngleToDeg(v2) - 135) < GeometRi3D.Tolerance);
        }