getHeight method

double getHeight()

Returns the difference between the maximum and minimum y values.

@return max y - min y, or 0 if this is a null Envelope

Implementation

double getHeight() {
  if (isNull()) {
    return 0;
  }
  return _maxy - _miny;
}