///<summary> ///Combines three geometries. /// </summary> /// <param name="g0">A geometry to combine</param> /// <param name="g1">A geometry to combine</param> /// <param name="g2">A geometry to combine</param> /// <returns>The combined geometry</returns> public static IGeometry Combine(IGeometry g0, IGeometry g1, IGeometry g2) { var combiner = new GeometryCombiner(CreateList(g0, g1, g2)); return(combiner.Combine()); }
///<summary>Combines a collection of geometries.</summary> /// <param name="geoms">The geometries to combine</param> /// <returns>The combined geometry</returns> public static IGeometry Combine(ICollection <IGeometry> geoms) { var combiner = new GeometryCombiner(geoms); return(combiner.Combine()); }