Ejemplo n.º 1
0
        public ICoordinate DeNormalize(ICoordinate c)
        {
            switch (dim)
            {
            case 2:
                return(new Coordinate(c.GetDimension(0) * denom[0] + botranges[0], c.GetDimension(1) * denom[1] + botranges[1]));

            case 3:
                return(new Coordinate3D(c.GetDimension(0) * denom[0] + botranges[0], c.GetDimension(1) * denom[1] + botranges[1], c.GetDimension(2) * denom[2] + botranges[2]));
            }
            return(null);
        }