/* COPYRIGHT Esri - https://js.arcgis.com/5.1.2/LICENSE.txt */
class i{constructor(i=1/0,t=-1/0){this.minElevation=i,this.maxElevation=t}get elevationRangeValid(){return!Number.isNaN(this.minElevation)}get isEmpty(){return!(this.minElevation<=this.maxElevation)}contains(i){return this.minElevation<=i.minElevation&&this.maxElevation>=i.maxElevation}invalidateElevationRange(){this.minElevation=NaN}initializeEmpty(){this.minElevation=1/0,this.maxElevation=-1/0}expandElevationRange(i){const t=Math.min(this.minElevation,i.minElevation),a=Math.max(this.maxElevation,i.maxElevation),n=t!==this.minElevation||a!==this.maxElevation;return this.minElevation=t,this.maxElevation=a,n}expandElevationRangeValues(i,t){const a=Math.min(this.minElevation,i),n=Math.max(this.maxElevation,t),e=a!==this.minElevation||n!==this.maxElevation;return this.minElevation=a,this.maxElevation=n,e}setElevationRange(i){this.minElevation=i.minElevation,this.maxElevation=i.maxElevation}setElevationRangeValues(i,t){this.minElevation=i,this.maxElevation=t}equals(i){return this.minElevation===i.minElevation&&this.maxElevation===i.maxElevation}}export{i as ElevationRange};
