Beispiel #1
0
        public override Value Evaluate(FSharpList <Value> args)
        {
            Point p = (Point)((Value.Container)args[0]).Item;

            double x = p.x();

            return(Value.NewNumber(x));
        }
 public static XYZ PointToXyz(Point pt)
 {
     return new XYZ(pt.x(), pt.y(), pt.z());
 }
Beispiel #3
0
 public static XYZ PointToXyz(Point pt)
 {
     return(new XYZ(pt.x(), pt.y(), pt.z()));
 }