maximumDistance method

double maximumDistance()

Computes the maximum distance between any two items in the pair of nodes.

@return the maximum distance between items in the pair

Implementation

double maximumDistance() {
  return EnvelopeDistance.maximumDistance(
      boundable1.getBounds() as Envelope, boundable2.getBounds() as Envelope);
}