CFx SDK Documentation 2024 SP0
|
#include <SiShapeRay.h>
Public Member Functions | |
OdSiShapeRay (const OdGePoint3d &pointStart, const OdGeVector3d &vecDir) | |
OdSiShapeRay (const OdGeRay3d &ray) | |
bool | contains (const OdGeExtents3d &extents, bool planar, const OdGeTol &tol) const |
bool | intersects (const OdGeExtents3d &extents, bool planar, const OdGeTol &tol) const |
virtual OdSiShape * | clone () const |
virtual void | transform (const OdGeMatrix3d &tf) |
Public Member Functions inherited from OdSiShape | |
virtual bool | contains (const OdGeExtents3d &extents, bool planar, const OdGeTol &tol=OdGeContext::gTol) const =0 |
virtual bool | intersects (const OdGeExtents3d &extents, bool planar, const OdGeTol &tol=OdGeContext::gTol) const =0 |
virtual | ~OdSiShape () |
virtual OdSiShape * | clone () const |
virtual void | transform (const OdGeMatrix3d &) |
Public Attributes | |
OdGePoint3d | m_pointStart |
OdGeVector3d | m_vecDir |
Additional Inherited Members | |
Static Public Member Functions inherited from OdSiShape | |
static bool | isOverallSpace (const OdSiShape *ptr) |
static bool | isNoSpace (const OdSiShape *ptr) |
Static Public Attributes inherited from OdSiShape | |
static ODSI_API_STATIC const OdSiShape & | kOverallSpace |
static ODSI_API_STATIC const OdSiShape & | kNoSpace |
Represents ray implementation for OdSiShape interface.
Corresponding C++ library: SpatialIndex <group OdSi_Classes>
Definition at line 40 of file SiShapeRay.h.
|
inline |
Creates a new instance of a shape ray.
pointStart | [in] A 3D point from which the ray is casted. |
vecDir | [in] The direction of ray. |
Definition at line 54 of file SiShapeRay.h.
|
inline |
Creates a new instance of a shape ray.
ray | [in] Ray. |
Definition at line 65 of file SiShapeRay.h.
|
inlinevirtual |
Clones this shape ray object.
Reimplemented from OdSiShape.
Definition at line 185 of file SiShapeRay.h.
|
inlinevirtual |
Checks if this shape ray object contains the specified extents.
extents | [in] Any 3D extents box. |
planar | [in] Specifies whether a planar computation should be performed. |
tol | [in] Tolerance. |
Implements OdSiShape.
Definition at line 83 of file SiShapeRay.h.
|
inlinevirtual |
Checks if this shape ray object intersects the specified extents.
extents | [in] Any 3D extents box. |
planar | [in] Specifies whether a planar computation should be performed. |
tol | [in] Tolerance. |
Implements OdSiShape.
Definition at line 96 of file SiShapeRay.h.
|
inlinevirtual |
Transforms this shape ray object.
tf | [in] Transformation matrix. |
Reimplemented from OdSiShape.
Definition at line 192 of file SiShapeRay.h.
OdGePoint3d OdSiShapeRay::m_pointStart |
Ray starting point
Definition at line 43 of file SiShapeRay.h.
OdGeVector3d OdSiShapeRay::m_vecDir |
Ray direction
Definition at line 46 of file SiShapeRay.h.