Class Envelope3D
java.lang.Object
com.esri.core.geometry.Envelope3D
- All Implemented Interfaces:
Serializable
A class that represents axis parallel 3D rectangle.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionEnvelope3D(double _xmin, double _ymin, double _zmin, double _xmax, double _ymax, double _zmax) Envelope3D(Envelope3D other) -
Method Summary
Modifier and TypeMethodDescriptionstatic Envelope3Dconstruct(double _xmin, double _ymin, double _zmin, double _xmax, double _ymax, double _zmax) voidconstruct(Envelope1D xinterval, Envelope1D yinterval, Envelope1D zinterval) booleancontains(Envelope3D other) Returns True if the envelope contains the other envelope (boundary inclusive).voidcopyTo(Envelope2D env) booleandoublegetDepth()doubledoublegetWidth()booleaninthashCode()voidinflate(double dx, double dy, double dz) booleanintersect(Envelope3D other) Intersects this envelope with the other and stores result in this envelope.booleanisEmpty()booleanisEmptyZ()booleanisIntersecting(Envelope3D other) Checks if this envelope intersects the other.voidmerge(double x, double y, double z) voidmerge(double x1, double y1, double z1, double x2, double y2, double z2) voidmerge(Envelope3D other) voidvoidmergeNE(double x, double y, double z) voidvoidvoidqueryCorners(Point3D[] corners) voidsetCoords(double _x, double _y, double _z) voidsetCoords(double _xmin, double _ymin, double _zmin, double _xmax, double _ymax, double _zmax) voidsetCoords(Envelope3D envSrc) voidvoidsetEmpty()voidvoidsetFromPoints(Point3D[] points) void
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
xmin
public double xmin -
ymin
public double ymin -
zmin
public double zmin -
xmax
public double xmax -
ymax
public double ymax -
zmax
public double zmax
-
-
Constructor Details
-
Envelope3D
public Envelope3D(double _xmin, double _ymin, double _zmin, double _xmax, double _ymax, double _zmax) -
Envelope3D
public Envelope3D() -
Envelope3D
-
-
Method Details
-
construct
public static Envelope3D construct(double _xmin, double _ymin, double _zmin, double _xmax, double _ymax, double _zmax) -
setInfinite
public void setInfinite() -
setEmpty
public void setEmpty() -
isEmpty
public boolean isEmpty() -
setEmptyZ
public void setEmptyZ() -
isEmptyZ
public boolean isEmptyZ() -
hasEmptyDimension
public boolean hasEmptyDimension() -
setCoords
public void setCoords(double _xmin, double _ymin, double _zmin, double _xmax, double _ymax, double _zmax) -
setCoords
public void setCoords(double _x, double _y, double _z) -
setCoords
-
setCoords
-
getWidth
public double getWidth() -
getHeight
public double getHeight() -
getDepth
public double getDepth() -
move
-
normalize
public void normalize() -
copyTo
-
mergeNE
public void mergeNE(double x, double y, double z) -
merge
public void merge(double x, double y, double z) -
merge
-
merge
-
merge
public void merge(double x1, double y1, double z1, double x2, double y2, double z2) -
inflate
public void inflate(double dx, double dy, double dz) -
isIntersecting
Checks if this envelope intersects the other.- Returns:
- True if this envelope intersects the other.
-
intersect
Intersects this envelope with the other and stores result in this envelope.- Returns:
- True if this envelope intersects the other, otherwise sets this envelope to empty state and returns False.
-
contains
Returns True if the envelope contains the other envelope (boundary inclusive). -
equals
-
hashCode
-
construct
-
queryCorners
-
setFromPoints
-