Exemple #1
0
        ///<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());
        }
Exemple #2
0
        ///<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());
        }
 ///<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();
 }
Exemple #5
0
        /// <summary>
        ///Combines two geometries.
        /// </summary>
        /// <param name="g0">A geometry to combine</param>
        /// <param name="g1">A geometry to combine</param>
        /// <returns>The combined geometry</returns>
        public static Geometry Combine(Geometry g0, Geometry g1)
        {
            var combiner = new GeometryCombiner(CreateList(g0, g1));

            return(combiner.Combine());
        }
Exemple #6
0
        /// <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());
        }