CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
24 #ifndef _ODGEEXTENTS3D_INCLUDED_
25 #define _ODGEEXTENTS3D_INCLUDED_
27 #include "Ge/GePoint3d.h"
35 #define INVALIDEXTENTS 1.0e20
44 class GE_TOOLKIT_EXPORT OdGeExtents3d
197 kConvert2dPlaneXY = 0x04,
198 kConvert2dPlaneXZ = 0x0C,
199 kConvert2dPlaneYX = 0x01,
200 kConvert2dPlaneYZ = 0x0D,
201 kConvert2dPlaneZX = 0x03,
202 kConvert2dPlaneZY = 0x07
287 #define ex_minmax(max, min, val) \
288 if (max < val) max = val;\
289 else if (min > val) min = val;
315 #define ex_minmax(max, min, valMax, valMin) \
316 if (max < valMax) max = valMax; \
317 if (min > valMin) min = valMin;
362 return ( (point.
x +
tol.equalPoint()) >=
m_min.
x
407 #undef INVALIDEXTENTS
411 #endif //_ODGEEXTENTS3D_INCLUDED_
void setFrom2d(const OdGeExtents2d &extents, Convert2dPlane plane=kConvert2dPlaneXY)
void set(const OdGePoint2d &min, const OdGePoint2d &max)
void comparingSet(const OdGePoint3d &pt1, const OdGePoint3d &pt2)
bool isEqualTo(const OdGeExtents2d &extents, const OdGeTol &tol=OdGeContext::gTol) const
void addPoint(const OdGePoint2d &point)
#define ODA_ASSERT_ONCE(exp)
static GE_STATIC_EXPORT const OdGeVector3d kXAxis
bool isValidExtents() const
const T & min(const T &x, const T &y)
void transformBy(const OdGeMatrix3d &xfm)
#define ex_minmax(max, min, val)
const OdGePoint3d & minPoint() const
bool isDisjoint(const OdGeExtents3d &extents, const OdGeTol &tol=OdGeContext::gTol) const
void expandBy(const OdGeVector2d &vect)
IntersectionStatus intersectWith(const OdGeExtents3d &extents, OdGeExtents3d *pResult=0) const
static GE_STATIC_EXPORT const OdGeVector3d kZAxis
bool DAI_EXPORT operator!=(const OdDAI::OdSelect &left, const OdDAI::OdSelect &right)
void expandBy(const OdGeVector3d &vect)
OdGePoint3d center() const
void transformBy(const OdGeMatrix2d &xfm)
const OdGePoint2d & minPoint() const
bool isEqualTo(const OdGeExtents3d &extents, const OdGeTol &tol=OdGeContext::gTol) const
const T & max(const T &x, const T &y)
void set(const OdGePoint3d &min, const OdGePoint3d &max)
void convert2d(OdGeExtents2d &extents, Convert2dPlane plane=kConvert2dPlaneXY) const
void addExt(const OdGeExtents3d &extents)
bool contains(const OdGePoint2d &point) const
const OdGePoint3d & maxPoint() const
const OdGePoint2d & maxPoint() const
bool contains(const OdGePoint3d &point, const OdGeTol &tol=OdGeContext::gTol) const
static GE_STATIC_EXPORT OdGeTol gTol
static GE_STATIC_EXPORT const OdGeVector3d kYAxis
void addPoint(const OdGePoint3d &point)
bool DAI_EXPORT operator==(const OdFileDescriptionAuto &left, const OdFileDescriptionAuto &right)
void addExt(const OdGeExtents2d &extents)
bool isEqualTo(const OdGePoint3d &point, const OdGeTol &tol=OdGeContext::gTol) const
static GE_STATIC_EXPORT const OdGeExtents3d kInvalid
bool isDisjoint(const OdGeExtents2d &extents) const
bool OdNonZero(double x, double tol=1.e-10)
void comparingSet(const OdGePoint2d &pt1, const OdGePoint2d &pt2)