CFx SDK Documentation
2023 SP0
|
#include <SiExtents.h>
Public Types | |
enum | IntersectResult { left = 0 , upon = 1 , right = 2 } |
Public Types inherited from OdGeExtents3d | |
enum | IntersectionStatus { kIntersectUnknown , kIntersectNot , kIntersectOpIn , kIntersectOpOut , kIntersectOk } |
enum | Convert2dPlane { kConvert2dPlaneXY = 0x04 , kConvert2dPlaneXZ = 0x0C , kConvert2dPlaneYX = 0x01 , kConvert2dPlaneYZ = 0x0D , kConvert2dPlaneZX = 0x03 , kConvert2dPlaneZY = 0x07 } |
Additional Inherited Members | |
Static Public Attributes inherited from OdGeExtents3d | |
static GE_STATIC_EXPORT const OdGeExtents3d | kInvalid |
Static Public Attributes inherited from OdSiShape | |
static ODSI_API_STATIC const OdSiShape & | kOverallSpace |
static ODSI_API_STATIC const OdSiShape & | kNoSpace |
Protected Attributes inherited from OdGeExtents3d | |
OdGePoint3d | m_min |
OdGePoint3d | m_max |
This class implements 3D Spatial Index Extents objects.
Corresponding C++ library: SpatialIndex
Definition at line 46 of file SiExtents.h.
Enumerator | |
---|---|
left | |
upon | |
right |
Definition at line 87 of file SiExtents.h.
|
inline |
Definition at line 159 of file SiExtents.h.
|
inline |
min | [in] Minimum point. |
max | [in] Maximum point. |
Definition at line 163 of file SiExtents.h.
|
inline |
Definition at line 165 of file SiExtents.h.
|
inline |
Definition at line 166 of file SiExtents.h.
|
inlinevirtual |
Returns true if and only if this Shape object contains the specfied extents.
extents | [in] Any 3D extents box. |
planar | [in] If and only if true, a planar computation is made. |
Implements OdSiShape.
Definition at line 49 of file SiExtents.h.
|
inlinevirtual |
Returns true if and only if this Shape object intersects the specfied extents.
extents | [in] Any 3D extents box. |
planar | [in] If and only if true, a planar computation is made. |
tol | [in] Tolerance. \remarksintersects() returns one of the following. |
Value Description true .. The specified extents intersect this Extents object. false .. The specified extents do not intersect this Extents object.
Implements OdSiShape.
Definition at line 74 of file SiExtents.h.
|
inline |
Returns the intersection with this Extents object.
\param coordinate [in] Coordinate to test.
dimension | [in] X, Y, or Z. |
tol | [in] Tolerance. |
Value Description left 0 coordinate is to the left of this Extents object. upon 1 coordinate is upon this Extents object. right 2 coordinate is to the right of this Extents object.
Definition at line 113 of file SiExtents.h.
|
inline |
Expands this Extents object to a square or cube of its largest dimension.
planar | [in] True for 2D extents, false for 3D. |
Definition at line 149 of file SiExtents.h.
|
inline |
Doubles the specified dimension of this Extents object.
dimension | [in] X, Y, or Z. |
moveRight | [in] True to move the right -hand edge, false for the left -hand. |
Definition at line 138 of file SiExtents.h.
|
inline |
Halves the specified dimension of this Extents object.
dimension | [in] X, Y, or Z. |
moveRight | [in] True to move the right -hand edge, false for the left -hand. |
Definition at line 125 of file SiExtents.h.