Exemple #1
0
        public static ICoordinate TransformPoint(this CoordinateTransformation coordinateTransformation, ICoordinate coord)
        {
            ICoordinate destCoord = null;

            if (coordinateTransformation != null && coord != null)
            {
                var array = coord.ToDoubleArray(coord.Dimension);
                coordinateTransformation.TransformPoint(array);
                destCoord = array.ToCoordinate();
            }
            return(destCoord);
        }