com.esri.core.geometry
Class Envelope1D

java.lang.Object
  extended by com.esri.core.geometry.Envelope1D

public final class Envelope1D
extends Object

A 1-dimensional interval.


Field Summary
 double vmax
           
 double vmin
           
 
Constructor Summary
Envelope1D()
           
Envelope1D(double _vmin, double _vmax)
           
 
Method Summary
 boolean contains(double v)
           
 boolean contains(Envelope1D other)
          Returns True if the envelope contains the other envelope (boundary inclusive).
 double getCenter()
           
 double getWidth()
           
 void inflate(double delta)
           
 void intersect(Envelope1D other)
           
 boolean isEmpty()
           
 void merge(double v)
           
 void merge(Envelope1D other)
           
 void mergeNE(double v)
           
 void setCoords(double _vmin, double _vmax)
           
 void setEmpty()
           
 void setInfinite()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

vmin

public double vmin

vmax

public double vmax
Constructor Detail

Envelope1D

public Envelope1D()

Envelope1D

public Envelope1D(double _vmin,
                  double _vmax)
Method Detail

setCoords

public void setCoords(double _vmin,
                      double _vmax)

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.


intersect

public void intersect(Envelope1D other)

inflate

public void inflate(double delta)

getWidth

public double getWidth()

getCenter

public double getCenter()


Copyright © 2013. All Rights Reserved.