Package mathvoyage.geometry
Interface Point
- All Known Implementing Classes:
CartesianPoint,PolarPoint
public interface Point
The interface Point.
-
Method Summary
-
Method Details
-
getX
double getX()Gets x.- Returns:
- the x
-
getY
double getY()Gets y.- Returns:
- the y
-
getR
double getR()Gets r.- Returns:
- the r
-
getTheta
double getTheta()Gets theta.- Returns:
- the theta
-
toCartesian
Point toCartesian()To cartesian point.- Returns:
- the point
-
toPolar
Point toPolar()To polar point.- Returns:
- the point
-