getWidth method
Returns the difference between the maximum and minimum x values.
@return max x - min x, or 0 if this is a null Envelope
Implementation
double getWidth() {
if (isNull()) {
return 0;
}
return _maxx - _minx;
}
Returns the difference between the maximum and minimum x values.
@return max x - min x, or 0 if this is a null Envelope
double getWidth() {
if (isNull()) {
return 0;
}
return _maxx - _minx;
}