minExtent method

double minExtent()

Gets the minimum extent of this envelope across both dimensions.

@return the minimum extent of this envelope

Implementation

double minExtent() {
  if (isNull()) return 0.0;
  double w = getWidth();
  double h = getHeight();
  if (w < h) return w;
  return h;
}