Пример #1
0
        public Vector3 Transform(Transform3 t)
        {
            double tx, ty, tz;

            t.Apply(X, Y, Z, out tx, out ty, out tz, false);
            return(new Vector3(tx, ty, tz));
        }
Пример #2
0
        public Point3 Transform(Transform3 t)
        {
            double tx, ty, tz;

            t.Apply(X, Y, Z, out tx, out ty, out tz, true);
            return(new Point3(tx, ty, tz));
        }
Пример #3
0
 public Ray3 Transform(Transform3 t)
 {
     return(new Ray3(Position.Transform(t), Direction.Transform(t)));
 }