public static Geometry snap(Geometry g, Geometry g2, double distance)
 {
     Geometry[] snapped = GeometrySnapper.Snap(g, g2, distance);
     return(snapped[0]);
 }
        public static IGeometry Snap(IGeometry g, IGeometry g2, double distance)
        {
            var snapped = GeometrySnapper.Snap(g, g2, distance);

            return(snapped[0]);
        }