Ejemplo n.º 1
0
        public static GridPoint2D Create(GridAxes2D axes, int a, int b)
        {
            GridPoint2D coord = new GridPoint2D(a, b);
            int         x     = coord.Get(axes.A);
            int         y     = coord.Get(axes.B);

            return(new GridPoint2D(x, y));
        }
Ejemplo n.º 2
0
        public static GridCoord2D Create(GridSize2D size, GridAxes2D axes, int a, int b)
        {
            GridPoint2D point = GridPoint2D.Create(axes, a, b);

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