Interface S2ClosestPointQuery.Target

    • Method Detail

      • center

        S2Point center()
        Returns the approximate center of the target.
      • getDistance

        S1ChordAngle getDistance​(S2Cell cell)
        Returns the distance between this target and the given cell.
      • radius

        double radius()
        Returns the radian radius of an angular cap that encloses this target.
      • getMinDistance

        S1ChordAngle getMinDistance​(S2Point point,
                                    S1ChordAngle distance)
        Returns the smaller of distance and a new distance from target to point.