CFx SDK Documentation
2023 SP0
|
#include <GeExtents3d.h>
Public Types | |
enum | IntersectionStatus { kIntersectUnknown , kIntersectNot , kIntersectOpIn , kIntersectOpOut , kIntersectOk } |
enum | Convert2dPlane { kConvert2dPlaneXY = 0x04 , kConvert2dPlaneXZ = 0x0C , kConvert2dPlaneYX = 0x01 , kConvert2dPlaneYZ = 0x0D , kConvert2dPlaneZX = 0x03 , kConvert2dPlaneZY = 0x07 } |
Static Public Attributes | |
static GE_STATIC_EXPORT const OdGeExtents3d | kInvalid |
Protected Attributes | |
OdGePoint3d | m_min |
OdGePoint3d | m_max |
This class represents 3D bounding boxes as minimum and maximum 3d points.
Corresponding C++ library: TD_Ge
<group OdGe_Classes>
Definition at line 44 of file GeExtents3d.h.
Enumerator | |
---|---|
kConvert2dPlaneXY | |
kConvert2dPlaneXZ | |
kConvert2dPlaneYX | |
kConvert2dPlaneYZ | |
kConvert2dPlaneZX | |
kConvert2dPlaneZY |
Definition at line 195 of file GeExtents3d.h.
Enumerator | |
---|---|
kIntersectUnknown | |
kIntersectNot | |
kIntersectOpIn | |
kIntersectOpOut | |
kIntersectOk |
Definition at line 161 of file GeExtents3d.h.
|
inline |
min | [in] Minimum point. |
max | [in] Maximum point. |
Definition at line 242 of file GeExtents3d.h.
|
inline |
Definition at line 248 of file GeExtents3d.h.
|
inline |
Updates the extents of this Extents object with the specified Extents object.
extents | [in] Any 3D Extents object. |
Definition at line 323 of file GeExtents3d.h.
|
inline |
Updates the extents of this Extents object with the specified point.
point | [in] Any 3D point. |
Definition at line 308 of file GeExtents3d.h.
OdGeExtents3d& OdGeExtents3d::addPoints | ( | const OdGePoint3dArray & | points | ) |
|
inline |
Definition at line 190 of file GeExtents3d.h.
|
inline |
Sets the minimum and maximum points for this Extents object to that of the box defined by pt1 and pt2.
pt1 | [in] First point. |
pt2 | [in] Second point. |
Definition at line 270 of file GeExtents3d.h.
|
inline |
Definition at line 387 of file GeExtents3d.h.
|
inline |
Returns true if and only if this Extents object contains the specified object.
point | [in] Any 3D point. |
extents | [in] Any 3D Extents object. |
Definition at line 375 of file GeExtents3d.h.
void OdGeExtents3d::convert2d | ( | OdGeExtents2d & | extents, |
Convert2dPlane | plane = kConvert2dPlaneXY |
||
) | const |
|
inline |
Returns the vector from minimum to maximum point.
Definition at line 222 of file GeExtents3d.h.
double OdGeExtents3d::distanceTo | ( | const OdGePoint3d & | iPoint | ) | const |
|
inline |
Updates the extents of this Extents object by the specified vector.
vect | [in] Any 3D vector. |
Definition at line 351 of file GeExtents3d.h.
IntersectionStatus OdGeExtents3d::intersectWith | ( | const OdGeExtents3d & | extents, |
OdGeExtents3d * | pResult = 0 |
||
) | const |
Determines the intersection of the specified Extents object with this one, and returns the resulting intersection box.
extents | [in] Any 3D Extents object. |
pResult | [out] Receives extents of the intersection. |
@untitled table kIntersectUnknown Either or both extents boxes are invalid kIntersectNot The extents boxes are NOT intersecting kIntersectOpIn The specified Extents object is completely within this one kIntersectOpOut This Extents object is completely within the specified one kIntersectOk The extents boxes are intersecting, and a result is returned
|
inline |
Returns true if and only if specified Extents object does not intersect this one.
extents | [in] Any 3D Extents object. |
Definition at line 399 of file GeExtents3d.h.
bool OdGeExtents3d::isDisjointEuclidean | ( | const OdGeExtents3d & | extents, |
const OdGeTol & | tol = OdGeContext::gTol |
||
) | const |
|
inline |
Definition at line 411 of file GeExtents3d.h.
|
inline |
Returns true if and only if this Extents object contains valid extents.
Definition at line 120 of file GeExtents3d.h.
|
inline |
Returns the maximum point of this Extents object.
Definition at line 259 of file GeExtents3d.h.
|
inline |
Returns the minimum point of this Extents object.
Definition at line 254 of file GeExtents3d.h.
|
inline |
Definition at line 213 of file GeExtents3d.h.
|
inline |
Definition at line 209 of file GeExtents3d.h.
|
inline |
Sets the minimum and maximum points for this Extents object.
min | [in] Minimum point. |
max | [in] Maximum point. |
Definition at line 264 of file GeExtents3d.h.
void OdGeExtents3d::setFrom2d | ( | const OdGeExtents2d & | extents, |
Convert2dPlane | plane = kConvert2dPlaneXY |
||
) |
|
inline |
Applies the 3D transformation matrix to the extents.
xfm | [in] 3D transformation matrix. |
Definition at line 360 of file GeExtents3d.h.
|
static |
The invalid extents.
Definition at line 60 of file GeExtents3d.h.
|
protected |
Definition at line 237 of file GeExtents3d.h.
|
protected |
Definition at line 236 of file GeExtents3d.h.