Interface GeoDistanceShape

    • Method Detail

      • getDistanceBounds

        void getDistanceBounds​(Bounds bounds,
                               DistanceStyle distanceStyle,
                               double distanceValue)
        Compute a bound based on a provided distance measure. This method takes an input distance and distance metric and provides bounds on the shape if reduced to match that distance. The method is allowed to return bounds that are larger than the distance would indicate, but never smaller.
        Parameters:
        bounds - is the bounds object to update.
        distanceStyle - describes the type of distance metric provided.
        distanceValue - is the distance metric to use. It is presumed that the distance metric was produced with the same distance style as is provided to this method.