Class Point
java.lang.Object
io.r2dbc.postgresql.codec.Point
Value object that maps to the
point datatype in Postgres.
Uses double to represent the coordinates.
- Since:
- 0.8.4
-
Method Summary
Modifier and TypeMethodDescriptionbooleandoublegetX()doublegetY()inthashCode()static Pointof(double x, double y) toString()translate(double x, double y) Translate the point by the supplied amount by addingxandyoffsets.translate(int x, int y) Translate the point by the supplied amount by addingxandyoffsets.
-
Method Details
-
of
-
getX
public double getX() -
getY
public double getY() -
translate
-
translate
-
equals
-
hashCode
-
toString
-