24#ifndef _ODGEEXTENTS3D_INCLUDED_
25#define _ODGEEXTENTS3D_INCLUDED_
35#define INVALIDEXTENTS 1.0e20
91 return iIndex == 0 ? m_min : m_max;
103 return iIndex == 0 ? m_min : m_max;
174 return ( (m_max.x >= m_min.x) && (m_max.y >= m_min.y) && (m_max.z >= m_min.z));
323 return m_min + (m_max - m_min) * 0.5;
334 return m_max - m_min;
343 kConvert2dPlaneXY = 0x04,
345 kConvert2dPlaneXZ = 0x08,
347 kConvert2dPlaneYX = 0x01,
349 kConvert2dPlaneYZ = 0x09,
351 kConvert2dPlaneZX = 0x02,
353 kConvert2dPlaneZY = 0x06
402 return isEqualTo(extents);
415 return !isEqualTo(extents);
525 return ( (point.
x +
tol.equalPoint()) >=
m_min.
x
#define GE_TOOLKIT_EXPORT
bool operator!=(T left, const OdGiVariant::EnumType right)
bool operator==(T left, const OdGiVariant::EnumType right)
static GE_STATIC_EXPORT const OdGeExtents3d kInvalid
bool isDisjoint(const OdGeExtents3d &extents, const OdGeTol &tol=OdGeContext::gTol) const
IntersectionStatus intersectWith(const OdGeExtents3d &extents, OdGeExtents3d *pResult=0) const
OdGeExtents3d & addPoint(const OdGePoint3d &point)
bool isWithinRange(const OdGePoint3d &pt, double radius)
OdGeExtents3d & addPoints(const OdGePoint3dArray &points)
OdGePoint3d center() const
void setFrom2d(const OdGeExtents2d &extents, Convert2dPlane plane=kConvert2dPlaneXY)
bool isEqualTo(const OdGeExtents3d &extents, const OdGeTol &tol=OdGeContext::gTol) const
bool isValidExtents() const
double distanceTo(const OdGePoint3d &iPoint) const
double distanceTo(const OdGeExtents3d &iExtents) const
OdGeExtents3d & addExt(const OdGeExtents3d &extents)
OdGeVector3d diagonal() const
void set(const OdGePoint3d &min, const OdGePoint3d &max)
void convert2d(OdGeExtents2d &extents, Convert2dPlane plane=kConvert2dPlaneXY) const
void expandBy(const OdGeVector3d &vect)
const OdGePoint3d & maxPoint() const
bool isDisjointEuclidean(const OdGeExtents3d &extents, const OdGeTol &tol=OdGeContext::gTol) const
bool contains(const OdGePoint3d &point, const OdGeTol &tol=OdGeContext::gTol) const
void transformBy(const OdGeMatrix3d &xfm)
const OdGePoint3d & minPoint() const
void comparingSet(const OdGePoint3d &pt1, const OdGePoint3d &pt2)
static GE_STATIC_EXPORT OdGeTol gTol