public class GeometryMultiPolygon extends GeometryValue
A sequence of geometry polygons.
DEFAULT_SRID
Constructor and Description |
---|
GeometryMultiPolygon()
Constructor
|
Modifier and Type | Method and Description |
---|---|
static GeometryMultiPolygon |
castOptional(DataValue value)
For internal use only.
|
static GeometryMultiPolygon |
castRequired(DataValue value)
For internal use only.
|
java.lang.String |
formatWKT()
See formatWKT(boolean).
|
java.lang.String |
formatWKT(boolean sridRequired)
Return this value formatted in OData WKT (well-known text) format.
|
MultiPolygonCoordinates |
getCoordinates()
Return the coordinates of this value.
|
DataType |
getDataType()
Return data type of the wrapped value.
|
static GeometryMultiPolygon |
parse(java.lang.String text)
Return a value parsed from text in GeoJSON format.
|
static GeometryMultiPolygon |
parseWKT(java.lang.String text)
|
static GeometryMultiPolygon |
parseWKT(java.lang.String text,
boolean sridRequired)
Return a value parsed from OData WKT (well-known-text) format.
|
void |
setCoordinates(MultiPolygonCoordinates value)
Set the coordinates of this value.
|
getSrsCode, getSrsName, parseAny, parseAnyWKT, parseAnyWKT, setSrsCode, setSrsName, toString, withLatitudeLongitude, withXY, withXYM, withXYZ, withXYZM
cloneMutable, equals, getTypeCode, hashCode
public static GeometryMultiPolygon castOptional(DataValue value)
For internal use only.
value
- (internal use only)public static GeometryMultiPolygon castRequired(DataValue value)
For internal use only.
value
- (internal use only)public java.lang.String formatWKT()
formatWKT
in class GeometryValue
public java.lang.String formatWKT(boolean sridRequired)
Return this value formatted in OData WKT (well-known text) format.
formatWKT
in class GeometryValue
sridRequired
- Is SRID prefix required?public MultiPolygonCoordinates getCoordinates()
Return the coordinates of this value.
public DataType getDataType()
Return data type of the wrapped value.
getDataType
in class DataValue
public static GeometryMultiPolygon parse(java.lang.String text)
Return a value parsed from text in GeoJSON format.
text
- A value in GeoJSON format.public static GeometryMultiPolygon parseWKT(java.lang.String text)
text
- Text parameter.public static GeometryMultiPolygon parseWKT(java.lang.String text, boolean sridRequired)
Return a value parsed from OData WKT (well-known-text) format.
text
- A value in OData WKT format.sridRequired
- Is SRID prefix required?public void setCoordinates(MultiPolygonCoordinates value)
Set the coordinates of this value.
value
- The coordinates of this value.