/// <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 Geometry Combine(Geometry g0, Geometry g1, Geometry 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 Geometry Combine(IEnumerable <Geometry> geoms) { var combiner = new GeometryCombiner(geoms); return(combiner.Combine()); }