Package io.scanbot.sdk.geometry
Class PointF
java.lang.Object
io.scanbot.sdk.geometry.PointF
Represents a point with float coordinates in 2D space.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PointF
public PointF(float x, float y) Constructs a point with given coordinates.- Parameters:
x- x-coordinatey- y-coordinate
-
-
Method Details
-
getY
public float getY()Returns the y-coordinate of the point.- Returns:
- y-coordinate
-
setY
public void setY(float y) Sets the y-coordinate of the point.- Parameters:
y- y-coordinate
-
getX
public float getX()Returns the x-coordinate of the point.- Returns:
- x-coordinate
-
setX
public void setX(float x) Sets the x-coordinate of the point.- Parameters:
x- x-coordinate
-