示例#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)));
 }