/*
All material copyright Esri, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
*/
class i{constructor(i=1/0,a=-1/0){this.minElevation=i,this.maxElevation=a}get elevationRangeValid(){return!Number.isNaN(this.minElevation)}contains(i){return this.minElevation<=i.minElevation&&this.maxElevation>=i.maxElevation}invalidateElevationRange(){this.minElevation=NaN}expandElevationRange(i){this.minElevation=Math.min(this.minElevation,i.minElevation),this.maxElevation=Math.max(this.maxElevation,i.maxElevation)}expandElevationRangeValues(i,a){this.minElevation=Math.min(this.minElevation,i),this.maxElevation=Math.max(this.maxElevation,a)}setElevationRange(i){this.minElevation=i.minElevation,this.maxElevation=i.maxElevation}setElevationRangeValues(i,a){this.minElevation=i,this.maxElevation=a}}export{i as ElevationRange};
