Class EnvelopeCombiner
- Namespace
- NetTopologySuite.Geometries.Utilities
- Assembly
- NetTopologySuite.dll
Utility to combine just the Envelopes of a list of geometries.
public sealed class EnvelopeCombiner
- Inheritance
-
EnvelopeCombiner
- Inherited Members
Constructors
EnvelopeCombiner(params Geometry[])
Initializes a new instance of the EnvelopeCombiner class.
public EnvelopeCombiner(params Geometry[] geoms)
Parameters
EnvelopeCombiner(IEnumerable<Geometry>)
Initializes a new instance of the EnvelopeCombiner class.
public EnvelopeCombiner(IEnumerable<Geometry> geoms)
Parameters
geoms
IEnumerable<Geometry>The Geometry instances to combine.
Methods
Combine()
Gets the smallest Envelope within which all input geometries fit, or a null envelope if no non-empty geometries were found in the input list.
public Envelope Combine()
Returns
- Envelope
The smallest Envelope within which all input geometries fit, or a null envelope if no non-empty geometries were found in the input list.
Combine(params Geometry[])
Gets the smallest Envelope within which all input geometries fit, or a null envelope if no non-empty geometries were found in the input list.
public static Envelope Combine(params Geometry[] geoms)
Parameters
geoms
Geometry[]The list of input geometries.
Returns
- Envelope
The smallest Envelope within which all input geometries fit, or a null envelope if no non-empty geometries were found in the input list.
Combine(IEnumerable<Geometry>)
Gets the smallest Envelope within which all input geometries fit, or a null envelope if no non-empty geometries were found in the input list.
public static Envelope Combine(IEnumerable<Geometry> geoms)
Parameters
geoms
IEnumerable<Geometry>The list of input geometries.
Returns
- Envelope
The smallest Envelope within which all input geometries fit, or a null envelope if no non-empty geometries were found in the input list.
CombineAsGeometry()
public Geometry CombineAsGeometry()
Returns
CombineAsGeometry(params Geometry[])
Gets the Geometry representation of the result of Combine(params Geometry[]).
public static Geometry CombineAsGeometry(params Geometry[] geoms)
Parameters
geoms
Geometry[]The list of input geometries.
Returns
- Geometry
The Geometry representation of the result of Combine(params Geometry[]).
CombineAsGeometry(IEnumerable<Geometry>)
Gets the Geometry representation of the result of Combine(IEnumerable<Geometry>).
public static Geometry CombineAsGeometry(IEnumerable<Geometry> geoms)
Parameters
geoms
IEnumerable<Geometry>The list of input geometries.
Returns
- Geometry
The Geometry representation of the result of Combine(IEnumerable<Geometry>).