Example #1
0
        public static Point_1D ValueCtor(int _x)
        {
            Point_1D ret = new Point_1D()
            {
                x = _x
            };

            return(ret);
        }
Example #2
0
        public static Point_3D PointOnXCtor(Point_1D p)
        {
            Point_3D ret = new Point_3D()
            {
                x = p.x,
                y = 0,
                z = 0
            };

            return(ret);
        }
Example #3
0
        public static Point_3D Point_1DCtor(Point_1D px, Point_1D py, Point_1D pz)
        {
            Point_3D ret = new Point_3D()
            {
                x = px.x,
                y = py.x,
                z = pz.x
            };

            return(ret);
        }
Example #4
0
 public static Point_3D PointOnXCtor(Point_1D p)
 {
     Point_3D ret = new Point_3D()
     {
         x = p.x,
         y = 0,
         z = 0
     };
     return ret;
 }
Example #5
0
 public static Point_3D Point_1DCtor(Point_1D px, Point_1D py, Point_1D pz)
 {
     Point_3D ret = new Point_3D()
     {
         x = px.x,
         y = py.x,
         z = pz.x
     };
     return ret;
 }
Example #6
0
 public static Point_1D ValueCtor(int _x)
 {
     Point_1D ret = new Point_1D()
     {
         x = _x
     };
     return ret;
 }