Class Envelope1D
java.lang.Object
com.esri.core.geometry.Envelope1D
- All Implemented Interfaces:
Serializable
A 1-dimensional interval.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final longdoubledouble -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) doublebooleancontains(double v) booleancontains(Envelope1D other) Returns True if the envelope contains the other envelope (boundary inclusive).booleandoubledoublegetWidth()inthashCode()voidinflate(double delta) voidintersect(Envelope1D other) booleanisEmpty()voidmerge(double v) voidmerge(Envelope1D other) voidmergeNE(double v) void(package private) voidvoidsetCoords(double _vmin, double _vmax) voidsetCoords(Envelope1D other) (package private) voidsetCoordsNoNaN_(double vmin_, double vmax_) voidsetEmpty()voiddoublesnapClip(double v)
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
vmin
public double vmin -
vmax
public double vmax
-
-
Constructor Details
-
Envelope1D
public Envelope1D() -
Envelope1D
public Envelope1D(double _vmin, double _vmax) -
Envelope1D
-
-
Method Details
-
setCoords
public void setCoords(double _vmin, double _vmax) -
setCoords
-
normalize
public void normalize() -
setEmpty
public void setEmpty() -
isEmpty
public boolean isEmpty() -
setInfinite
public void setInfinite() -
merge
public void merge(double v) -
merge
-
mergeNE
public void mergeNE(double v) -
contains
public boolean contains(double v) -
contains
Returns True if the envelope contains the other envelope (boundary inclusive). Note: Will return false if either envelope is empty.- Parameters:
other- The other envelope.- Returns:
- Return true if this contains the other.
-
intersect
-
inflate
public void inflate(double delta) -
_calculateToleranceFromEnvelope
double _calculateToleranceFromEnvelope() -
normalizeNoNaN_
void normalizeNoNaN_() -
setCoordsNoNaN_
void setCoordsNoNaN_(double vmin_, double vmax_) -
snapClip
public double snapClip(double v) -
getWidth
public double getWidth() -
getCenter
public double getCenter() -
equals
-
hashCode
-