GeometryFactory.BuildGeometry Method
Build an appropriate Geometry, MultiGeometry, or
GeometryCollection to contain the Geometrys in it.
[Visual Basic]
Public Function BuildGeometry( _
ByVal geomList As ArrayList _
) As Geometry
Parameters
- geomList
- The Geometries to combine.
Return Value
A Geometry of the "smallest", "most type-specific" class that can contain the elements of geomList.
Remarks
- If geomList contains a single Polygon, the Polygon is returned. -
- If geomList contains several Polygons, a MultiPolygon is returned. -
- If geomList contains some Polygons and some LineStrings, a GeometryCollection is returned. -
- If geomList is empty, an empty GeometryCollection is returned. -
See Also
GeometryFactory Class | GeometryFactory Members | Geotools.Geometries Namespace