Interface Circle2D.DistanceCalculator

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean contains​(double x, double y)
      check if the point is within a distance
      boolean disjoint​(double minX, double maxX, double minY, double maxY)
      check if the bounding box is disjoint with this calculator bounding box
      double getMaxX()
      get max X of this calculator
      double getMaxY()
      get max Y of this calculator
      double getMinX()
      get min X of this calculator
      double getMinY()
      get min Y of this calculator
      double getY()
      get center Y
      double geX()
      get center X
      boolean intersectsLine​(double aX, double aY, double bX, double bY)
      check if the line is within a distance
      PointValues.Relation relate​(double minX, double maxX, double minY, double maxY)
      Relates this calculator to the provided bounding box
      boolean within​(double minX, double maxX, double minY, double maxY)
      check if the bounding box is contains this calculator bounding box
    • Method Detail

      • contains

        boolean contains​(double x,
                         double y)
        check if the point is within a distance
      • intersectsLine

        boolean intersectsLine​(double aX,
                               double aY,
                               double bX,
                               double bY)
        check if the line is within a distance
      • relate

        PointValues.Relation relate​(double minX,
                                    double maxX,
                                    double minY,
                                    double maxY)
        Relates this calculator to the provided bounding box
      • disjoint

        boolean disjoint​(double minX,
                         double maxX,
                         double minY,
                         double maxY)
        check if the bounding box is disjoint with this calculator bounding box
      • within

        boolean within​(double minX,
                       double maxX,
                       double minY,
                       double maxY)
        check if the bounding box is contains this calculator bounding box
      • getMinX

        double getMinX()
        get min X of this calculator
      • getMaxX

        double getMaxX()
        get max X of this calculator
      • getMinY

        double getMinY()
        get min Y of this calculator
      • getMaxY

        double getMaxY()
        get max Y of this calculator
      • geX

        double geX()
        get center X
      • getY

        double getY()
        get center Y