Class EnvelopeCombiner
Utility to combine just the Envelopes of a list of geometries.
Inherited Members
Namespace: NetTopologySuite.Geometries.Utilities
Assembly: NetTopologySuite.dll
Syntax
public sealed class EnvelopeCombiner
Constructors
| Improve this Doc View SourceEnvelopeCombiner(Geometry[])
Initializes a new instance of the EnvelopeCombiner class.
Declaration
public EnvelopeCombiner(params Geometry[] geoms)
Parameters
Type | Name | Description |
---|---|---|
Geometry[] | geoms | The Geometry instances to combine. |
EnvelopeCombiner(IEnumerable<Geometry>)
Initializes a new instance of the EnvelopeCombiner class.
Declaration
public EnvelopeCombiner(IEnumerable<Geometry> geoms)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<Geometry> | geoms | The Geometry instances to combine. |
Methods
| Improve this Doc View SourceCombine()
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.
Declaration
public Envelope Combine()
Returns
Type | Description |
---|---|
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(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.
Declaration
public static Envelope Combine(params Geometry[] geoms)
Parameters
Type | Name | Description |
---|---|---|
Geometry[] | geoms | The list of input geometries. |
Returns
Type | Description |
---|---|
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.
Declaration
public static Envelope Combine(IEnumerable<Geometry> geoms)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<Geometry> | geoms | The list of input geometries. |
Returns
Type | Description |
---|---|
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()
Declaration
public Geometry CombineAsGeometry()
Returns
Type | Description |
---|---|
Geometry |
CombineAsGeometry(Geometry[])
Gets the Geometry representation of the result of Combine(Geometry[]).
Declaration
public static Geometry CombineAsGeometry(params Geometry[] geoms)
Parameters
Type | Name | Description |
---|---|---|
Geometry[] | geoms | The list of input geometries. |
Returns
Type | Description |
---|---|
Geometry | The Geometry representation of the result of Combine(Geometry[]). |
CombineAsGeometry(IEnumerable<Geometry>)
Gets the Geometry representation of the result of Combine(IEnumerable<Geometry>).
Declaration
public static Geometry CombineAsGeometry(IEnumerable<Geometry> geoms)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<Geometry> | geoms | The list of input geometries. |
Returns
Type | Description |
---|---|
Geometry | The Geometry representation of the result of Combine(IEnumerable<Geometry>). |