Interface Point

All Known Implementing Classes:
CartesianPoint, PolarPoint

public interface Point
The interface Point.
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    Gets r.
    double
    Gets theta.
    double
    Gets x.
    double
    Gets y.
    To cartesian point.
    To polar point.
  • 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