Converts an envnelope to a geometry.
[Visual Basic]
Public Shared Function ToGeometry( _
ByVal envelope As Envelope, _
ByVal precisionModel As PrecisionModel, _
ByVal SRID As Integer _
) As Geometry
an empty Point (for null Envelopes), a Point (when min x = max x and min y = max y) or a Polygon (in all other cases)
Missing <remarks> documentation for M:Geotools.Geometries.GeometryFactory.ToGeometry(Geotools.Geometries.Envelope,Geotools.Geometries.PrecisionModel,System.Int32)
Exception Type | Condition |
---|---|
TopologyException | if coordinates is not a closed linestring, that is, if the first and last coordinates are not equal. |
GeometryFactory Class | GeometryFactory Members | Geotools.Geometries Namespace