25 #ifndef _SpBBox_h_Included_
26 #define _SpBBox_h_Included_
114 extents.
get(points[0], side1, side2, side3);
116 points[1] = points[0] + side1;
117 points[2] = points[0] + side1 + side2;
118 points[3] = points[0] + side2;
123 points[4] = points[0] + side3;
124 points[5] = points[1] + side3;
125 points[6] = points[2] + side3;
126 points[7] = points[3] + side3;
172 return new BBox(*
this);
bool OdEqual(double x, double y, double tol=1.e-10)
bool OdZero(double x, double tol=1.e-10)
bool contains(const OdGePoint3d &point, const OdGeTol &tol=OdGeContext::gTol) const
OdGeBoundBlock3d & setToBox(bool toBox)
void get(OdGePoint3d &base, OdGeVector3d &side1, OdGeVector3d &side2, OdGeVector3d &side3) const
void getMinMaxPoints(OdGePoint3d &p1, OdGePoint3d &p2) const
OdGeEntity3d & transformBy(const OdGeMatrix3d &xfm)
bool isDisjoint(const OdGeExtents3d &extents, const OdGeTol &tol=OdGeContext::gTol) const
const OdGePoint3d & maxPoint() const
const OdGePoint3d & minPoint() const
OdGePoint3d & set(double xx, double yy, double zz)
static ExtentsType explodeExtent(OdGePoint3d *points, const OdGeBoundBlock3d &extents)
virtual bool intersects(const OdGeExtents3d &extents, bool planar=false, const OdGeTol &tol=OdGeContext::gTol) const
BBox(const OdGePoint3d &p1, const OdGePoint3d &p2)
virtual bool contains(const OdGeExtents3d &extents, bool planar=false, const OdGeTol &tol=OdGeContext::gTol) const
virtual OdSiShape * clone() const
BBox(const OdGePoint3d &base, const OdGeVector3d &side1, const OdGeVector3d &side2, const OdGeVector3d &side3)
static ExtentsType explodeExtent(OdGePoint3d *points, const OdGeExtents3d &extents)
virtual void transform(const OdGeMatrix3d &mtx)
GLsizei GLsizei GLchar * source
static GE_STATIC_EXPORT OdGeTol gTol