public final class Envelope3D extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
double |
xmax |
double |
xmin |
double |
ymax |
double |
ymin |
double |
zmax |
double |
zmin |
Constructor and Description |
---|
Envelope3D() |
Envelope3D(double _xmin,
double _ymin,
double _zmin,
double _xmax,
double _ymax,
double _zmax) |
Envelope3D(Envelope3D other) |
Modifier and Type | Method and Description |
---|---|
static Envelope3D |
construct(double _xmin,
double _ymin,
double _zmin,
double _xmax,
double _ymax,
double _zmax) |
void |
construct(Envelope1D xinterval,
Envelope1D yinterval,
Envelope1D zinterval) |
boolean |
contains(Envelope3D other)
Returns True if the envelope contains the other envelope (boundary
inclusive).
|
void |
copyTo(Envelope2D env) |
boolean |
equals(Object _other) |
double |
getDepth() |
double |
getHeight() |
double |
getWidth() |
boolean |
hasEmptyDimension() |
void |
inflate(double dx,
double dy,
double dz) |
boolean |
intersect(Envelope3D other)
Intersects this envelope with the other and stores result in this
envelope.
|
boolean |
isEmpty() |
boolean |
isEmptyZ() |
boolean |
isIntersecting(Envelope3D other)
Checks if this envelope intersects the other.
|
void |
merge(double x,
double y,
double z) |
void |
merge(double x1,
double y1,
double z1,
double x2,
double y2,
double z2) |
void |
merge(Envelope3D other) |
void |
merge(Point3D pt) |
void |
mergeNE(double x,
double y,
double z) |
void |
move(Point3D vector) |
void |
normalize() |
void |
queryCorners(Point3D[] corners) |
void |
setCoords(double _x,
double _y,
double _z) |
void |
setCoords(double _xmin,
double _ymin,
double _zmin,
double _xmax,
double _ymax,
double _zmax) |
void |
setCoords(Envelope3D envSrc) |
void |
setCoords(Point3D center,
double width,
double height,
double depth) |
void |
setEmpty() |
void |
setEmptyZ() |
void |
setFromPoints(Point3D[] points) |
void |
setInfinite() |
public double xmin
public double ymin
public double zmin
public double xmax
public double ymax
public double zmax
public Envelope3D(double _xmin, double _ymin, double _zmin, double _xmax, double _ymax, double _zmax)
public Envelope3D()
public Envelope3D(Envelope3D other)
public static Envelope3D construct(double _xmin, double _ymin, double _zmin, double _xmax, double _ymax, double _zmax)
public void setInfinite()
public void setEmpty()
public boolean isEmpty()
public void setEmptyZ()
public boolean isEmptyZ()
public boolean hasEmptyDimension()
public void setCoords(double _xmin, double _ymin, double _zmin, double _xmax, double _ymax, double _zmax)
public void setCoords(double _x, double _y, double _z)
public void setCoords(Point3D center, double width, double height, double depth)
public void setCoords(Envelope3D envSrc)
public double getWidth()
public double getHeight()
public double getDepth()
public void move(Point3D vector)
public void normalize()
public void copyTo(Envelope2D env)
public void mergeNE(double x, double y, double z)
public void merge(double x, double y, double z)
public void merge(Point3D pt)
public void merge(Envelope3D other)
public void merge(double x1, double y1, double z1, double x2, double y2, double z2)
public void inflate(double dx, double dy, double dz)
public boolean isIntersecting(Envelope3D other)
public boolean intersect(Envelope3D other)
public boolean contains(Envelope3D other)
public void construct(Envelope1D xinterval, Envelope1D yinterval, Envelope1D zinterval)
public void queryCorners(Point3D[] corners)
public void setFromPoints(Point3D[] points)
Copyright © 2018. All rights reserved.