Go to the documentation of this file.
93 void Update(
const double aXmin,
const double aYmin,
const double aZmin,
const double aXmax,
const double aYmax,
const double aZmax);
95 void Update(
const double X,
const double Y,
const double Z);
111 void Get(
double& aXmin,
double& aYmin,
double& aZmin,
double& aXmax,
double& aYmax,
double& aZmax)
const;
183 void GetSize(
double& length,
double& width,
double& height)
const;
unsigned int IsOpenZmin() const
Returns true if this bounding box is open in the Zmin direction.
const double GetXsize() const
unsigned int IsOut(const Geom::Pln &P) const
Returns False if the plane intersects the box.
void GetSize(double &length, double &width, double &height) const
unsigned int IsOpenZmax() const
Returns true if this bounding box is open in the Zmax direction.
unsigned int IsOpenXmax() const
Returns true if this bounding box is open in the Xmax direction.
const double GetYmin() const
const double GetYsize() const
const double GetYmax() const
Defines a non-persistent vector in 3D space.
Definition: Vec.h:41
void Enlarge(const double Tol)
X
Definition: Globals.h:29
unsigned int IsOpenYmax() const
Returns true if this bounding box is open in the Ymax direction.
Geom::Bnd_Box Transformed(const Geom::Trsf &T) const
true if xmax-xmin < tol.
std::vector< Geom::Pnt > GetCornerPoints() const
void Set(const Geom::Pnt &P)
void Update(const double aXmin, const double aYmin, const double aZmin, const double aXmax, const double aYmax, const double aZmax)
unsigned int IsOut(const Geom::Pnt &P1, const Geom::Pnt &P2, const Geom::Dir &D) const
unsigned int IsOpenYmin() const
Returns true if this bounding box is open in the Ymix direction.
const double GetXmin() const
Bnd_Box(const Geom::Pnt &min, const Geom::Pnt &max)
Defines a non-persistent 3D Cartesian point.
Definition: Pnt.h:44
const Geom::Pnt GetCenter() const
unsigned int IsOut(const Geom::Bnd_Box &Other, const Geom::Trsf &T) const
unsigned int IsOut(const Geom::Pnt &P) const
Returns True if the Pnt is out the box.
Z
Definition: Globals.h:31
unsigned int IsOut(const Geom::Lin &L) const
Returns False if the line intersects the box.
void Get(double &aXmin, double &aYmin, double &aZmin, double &aXmax, double &aYmax, double &aZmax) const
void Add(const Bnd_Box &Other)
Adds the box <Other> to <me>.
void Add(const Geom::Pnt &P)
Adds a Pnt to the box.
unsigned int IsOut(const Geom::Bnd_Box &Other) const
Returns False if the <Box> intersects or is inside <me>.
const double GetZmax() const
Y
Definition: Globals.h:30
const double GetZsize() const
unsigned int IsWhole() const
Returns true if this bounding box is infinite in all 6 directions (WholeSpace flag).
unsigned int IsVoid() const
Returns true if this bounding box is empty (Void flag).
void Set(const Geom::Pnt &P, const Geom::Dir &D)
void Update(const double X, const double Y, const double Z)
Adds a point of coordinates (X,Y,Z) to this bounding box.
const double GetXmax() const
void SetGap(const double Tol)
Returns the gap of this bounding box.
void Add(const Geom::Dir &D)
unsigned int IsOut(const Geom::Trsf &T1, const Geom::Bnd_Box &Other, const Geom::Trsf &T2) const
Geom::Vec GetMinDifference(const Geom::Bnd_Box &Other) const
Computes the minimum distance between two boxes.
void Add(const Geom::Pnt &P, const Geom::Dir &D)
Extends <me> from the Pnt.
unsigned int IsOpenXmin() const
Returns true if this bounding box is open in the Xmin direction.
void SetVoid()
Sets this bounding box so that it is empty. All points are outside a void box.
const Geom::Pnt GetMin() const
const double GetZmin() const
const Geom::Pnt GetMax() const
Definition: PropertyContainer.h:33