CFx SDK Documentation
2020SP3
|
#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 225 of file GeExtents3d.h.
|
inline |
Definition at line 231 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 306 of file GeExtents3d.h.
|
inline |
Updates the extents of this Extents object with the specified point.
point | [in] Any 3D point. |
Definition at line 291 of file GeExtents3d.h.
|
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 253 of file GeExtents3d.h.
|
inline |
Definition at line 370 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 358 of file GeExtents3d.h.
void OdGeExtents3d::convert2d | ( | OdGeExtents2d & | extents, |
Convert2dPlane | plane = kConvert2dPlaneXY |
||
) | const |
|
inline |
Updates the extents of this Extents object by the specified vector.
vect | [in] Any 3D vector. |
Definition at line 334 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 382 of file GeExtents3d.h.
|
inline |
Definition at line 394 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 242 of file GeExtents3d.h.
|
inline |
Returns the minimum point of this Extents object.
Definition at line 237 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 247 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 343 of file GeExtents3d.h.
|
static |
The invalid extents.
Definition at line 60 of file GeExtents3d.h.
|
protected |
Definition at line 220 of file GeExtents3d.h.
|
protected |
Definition at line 219 of file GeExtents3d.h.