示例#1
0
        public void VectorConvertToTest2()
        {
            Coord3d coord1 = Coord3d.GlobalCS.Copy();
            Coord3d coord2 = Coord3d.GlobalCS.Copy();

            coord2.RotateDeg(new Vector3d(1, 1, 1), 120);

            Vector3d v1 = new Vector3d(2, 3, 4);
            Vector3d v2 = v1.ConvertTo(coord1);
            Vector3d v3 = v1.ConvertTo(coord2);

            Assert.IsTrue(v2 == v3);
        }