Class Envelope1D

java.lang.Object
com.esri.core.geometry.Envelope1D
All Implemented Interfaces:
Serializable

public final class Envelope1D extends Object implements Serializable
A 1-dimensional interval.
See Also:
  • 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

      public Envelope1D(Envelope1D other)
  • Method Details

    • setCoords

      public void setCoords(double _vmin, double _vmax)
    • setCoords

      public void setCoords(Envelope1D other)
    • normalize

      public void normalize()
    • setEmpty

      public void setEmpty()
    • isEmpty

      public boolean isEmpty()
    • setInfinite

      public void setInfinite()
    • merge

      public void merge(double v)
    • merge

      public void merge(Envelope1D other)
    • mergeNE

      public void mergeNE(double v)
    • contains

      public boolean contains(double v)
    • contains

      public boolean contains(Envelope1D other)
      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

      public void intersect(Envelope1D other)
    • 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

      public boolean equals(Object _other)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object