예제 #1
0
        public static GridPoint3D Create(GridAxes3D axes, int a, int b, int c)
        {
            GridPoint3D coord = new GridPoint3D(a, b, c);
            int         x     = coord.Get(axes.A);
            int         y     = coord.Get(axes.B);
            int         z     = coord.Get(axes.C);

            return(new GridPoint3D(x, y, z));
        }
예제 #2
0
        public static GridCoord3D Create(GridSize3D size, GridAxes3D axes, int a, int b, int c)
        {
            GridPoint3D point = GridPoint3D.Create(axes, a, b, c);

            return(new GridCoord3D(size, point));
        }