CFx SDK Documentation
2023 SP0
|
#include <GeExtents2d.h>
Public Types | |
enum | IntersectionStatus { kIntersectUnknown , kIntersectNot , kIntersectOpIn , kIntersectOpOut , kIntersectOk } |
Static Public Attributes | |
static GE_STATIC_EXPORT const OdGeExtents2d | kInvalid |
Protected Attributes | |
OdGePoint2d | m_min |
OdGePoint2d | m_max |
This class represents 2D bounding boxes as minimum and maximum 2d points.
Corresponding C++ library: TD_Ge
<group OdGe_Classes>
Definition at line 43 of file GeExtents2d.h.
Enumerator | |
---|---|
kIntersectUnknown | |
kIntersectNot | |
kIntersectOpIn | |
kIntersectOpOut | |
kIntersectOk |
Definition at line 221 of file GeExtents2d.h.
|
inline |
min | [in] Minimum point. |
max | [in] Maximum point. |
Definition at line 50 of file GeExtents2d.h.
|
inline |
Definition at line 55 of file GeExtents2d.h.
|
inline |
Updates the extents of this Extents object with the specified Extents object.
extents | [in] Any 2D Extents object. |
Definition at line 129 of file GeExtents2d.h.
|
inline |
Updates the extents of this Extents object with the specified point.
point | [in] Any 2D point. |
Definition at line 108 of file GeExtents2d.h.
OdGeExtents2d& OdGeExtents2d::addPoints | ( | const OdGePoint2dArray & | points | ) |
|
inline |
Definition at line 252 of file GeExtents2d.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 279 of file GeExtents2d.h.
|
inline |
Definition at line 200 of file GeExtents2d.h.
|
inline |
Returns true if and only if this Extents object contains the specified object.
point | [in] Any 2D point. |
extents | [in] Any 2D Extents object. |
Definition at line 193 of file GeExtents2d.h.
|
inline |
Updates the extents of this Extents object by the specified vector.
vect | [in] Any 2D vector. |
Definition at line 155 of file GeExtents2d.h.
IntersectionStatus OdGeExtents2d::intersectWith | ( | const OdGeExtents2d & | extents, |
OdGeExtents2d * | pResult = 0 |
||
) | const |
Determines the intersection of the specified Extents object with this one, and returns the resulting intersection box.
extents | [in] Any 2D Extents object. |
pResult | [out] Receives extents of the intersection. |
@untitled table kIntersectUnknown Either or both Extents objects are invalid kIntersectNot The Extents objects 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 objectes 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 2D Extents object. |
Definition at line 214 of file GeExtents2d.h.
|
inline |
Definition at line 303 of file GeExtents2d.h.
|
inline |
Returns true if and only if this Extents object contains valid extents.
Definition at line 146 of file GeExtents2d.h.
|
inline |
Returns the maximum point of this Extents object.
Definition at line 74 of file GeExtents2d.h.
|
inline |
Returns the minimum point of this Extents object.
Definition at line 68 of file GeExtents2d.h.
|
inline |
Definition at line 263 of file GeExtents2d.h.
|
inline |
Definition at line 259 of file GeExtents2d.h.
|
inline |
Sets the minimum and maximum points for this Extents object.
min | [in] Minimum point. |
max | [in] Maximum point. |
Definition at line 83 of file GeExtents2d.h.
|
inline |
Applies the 2D transformation matrix to the extents.
xfm | [in] 2D transformation matrix. |
Definition at line 173 of file GeExtents2d.h.
|
static |
The invalid extents.
Definition at line 63 of file GeExtents2d.h.
|
protected |
Definition at line 274 of file GeExtents2d.h.
|
protected |
Definition at line 273 of file GeExtents2d.h.