Class Polygon
java.lang.Object
io.r2dbc.postgresql.codec.Polygon
Value object that maps to the
polygon datatype in Postgres.
Uses double to represent the coordinates.
- Since:
- 0.8.5
-
Method Summary
-
Method Details
-
of
Create a newPolygongivenlist of points.- Parameters:
points- the points- Returns:
- the new
Polygonobject - Throws:
IllegalArgumentException- ifpointsisnull
-
of
Create a newPolygongivenpoints.- Parameters:
points- the points- Returns:
- the new
Polygonobject - Throws:
IllegalArgumentException- ifpointsisnull
-
getPoints
-
equals
-
hashCode
-
toString
-