Class PointImpl

  • All Implemented Interfaces:
    Point

    public final class PointImpl
    extends java.lang.Object
    implements Point
    • Constructor Summary

      Constructors 
      Constructor Description
      PointImpl​(double X, double Y, double score, boolean isAccurate)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double getScore()
      Gets the confidence score.
      double getX()
      Gets the value of the x-coordinate.
      double getY()
      Gets the value of the y-coordinate.
      boolean isAccurate()
      Evaluate if the estimation of the Point is accurate.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PointImpl

        public PointImpl​(double X,
                         double Y,
                         double score,
                         boolean isAccurate)
    • Method Detail

      • getX

        public double getX()
        Description copied from interface: Point
        Gets the value of the x-coordinate.
        Specified by:
        getX in interface Point
        Returns:
        the x-coordinate.
      • getY

        public double getY()
        Description copied from interface: Point
        Gets the value of the y-coordinate.
        Specified by:
        getY in interface Point
        Returns:
        the y-coordinate.
      • getScore

        public double getScore()
        Description copied from interface: Point
        Gets the confidence score.
        Specified by:
        getScore in interface Point
        Returns:
        the score.
      • isAccurate

        public boolean isAccurate()
        Description copied from interface: Point
        Evaluate if the estimation of the Point is accurate.
        Specified by:
        isAccurate in interface Point
        Returns:
        true if the estimation of the point is accurate.