Interface Point2Wrapper<P>
-
- Type Parameters:
P
- Target type representing the point which should be wrapped.
- All Known Subinterfaces:
Point3Wrapper<P>
- All Known Implementing Classes:
AbstractPoint2Wrapper
,AbstractPoint3Wrapper
,OpenCVPoint2Wrapper
,OpenCVPoint3Wrapper
public interface Point2Wrapper<P>
Interface which wraps a two dimensional point.
- Since:
- 1.0
- Author:
- Christoph Praschl
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description P
getPoint()
Getter for the wrapped point object.double
getX()
Getter for the x-coordinatedouble
getY()
Getter for the y-coordinatevoid
setPoint(P point)
Setter for the wrapped point objectvoid
setX(double x)
Setter for the x-coordinatevoid
setY(double y)
Setter for the y-coordinate
-
-
-
Method Detail
-
getPoint
P getPoint()
Getter for the wrapped point object.- Returns:
- Returns the wrapped point object.
-
setPoint
void setPoint(P point)
Setter for the wrapped point object- Parameters:
point
- AbstractPoint2Wrapper which should be wrapped.
-
getX
double getX()
Getter for the x-coordinate- Returns:
- Returns the value of the x-coordinate.
-
setX
void setX(double x)
Setter for the x-coordinate- Parameters:
x
- value which should be assigned to the x-coordinate
-
getY
double getY()
Getter for the y-coordinate- Returns:
- Returns the value of the y-coordinate.
-
setY
void setY(double y)
Setter for the y-coordinate- Parameters:
y
- value which should be assigned to the y-coordinate
-
-