예제 #1
0
        public static void RotateOverStreight(Polyhedron ph, Point3d a, Point3d b, double phi)
        {
            AffineMatrix m = AffineMatrix.CreateRotationMatrix(a, b, phi);

            Execute(ph, m);
        }
예제 #2
0
        public static void Translate(Polyhedron ph, Point3d a)
        {
            AffineMatrix m = AffineMatrix.CreateTranslationMatrix(a.X, a.Y, a.Z);

            Execute(ph, m);
        }