CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
OdSiShape Struct Referenceabstract

#include <SiSpatialIndex.h>

Inheritance diagram for OdSiShape:
FacetModeler::FaceData OdSi::BBox OdSi::Extent3d OdSi::Volume OdSiDynamicShape OdSiShapePlane OdSiShapeRay OdSiShapesIntersection

Public Member Functions

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 OdSiShapeclone () const
 
virtual void transform (const OdGeMatrix3d &)
 

Static Public Member Functions

static bool isOverallSpace (const OdSiShape *ptr)
 
static bool isNoSpace (const OdSiShape *ptr)
 

Static Public Attributes

static ODSI_API_STATIC const OdSiShapekOverallSpace
 
static ODSI_API_STATIC const OdSiShapekNoSpace
 

Detailed Description

This class represents Spatial Index Shape objects. Corresponding C++ library: SpatialIndex <group OdSi_Classes>

Definition at line 50 of file SiSpatialIndex.h.

Constructor & Destructor Documentation

◆ ~OdSiShape()

virtual OdSiShape::~OdSiShape ( )
inlinevirtual

Definition at line 67 of file SiSpatialIndex.h.

Member Function Documentation

◆ clone()

virtual OdSiShape * OdSiShape::clone ( ) const
inlinevirtual

◆ contains()

virtual bool OdSiShape::contains ( const OdGeExtents3d extents,
bool  planar,
const OdGeTol tol = OdGeContext::gTol 
) const
pure virtual

Returns true if and only if this Shape object contains the specfied extents.

Parameters
extents[in] Any 3D extents box.
planar[in] If and only if true, a planar computation is made.

Implemented in FacetModeler::FaceData, OdSiShapePlane, OdSiShapeBoundPlane, OdSiHalfSpace, OdSiShapeRay, OdSiShapesIntersection, OdSi::Volume, OdSi::BBox, and OdSi::Extent3d.

◆ intersects()

virtual bool OdSiShape::intersects ( const OdGeExtents3d extents,
bool  planar,
const OdGeTol tol = OdGeContext::gTol 
) const
pure virtual

Returns true if and only if this Shape object intersects the specfied extents.

Parameters
extents[in] Any 3D extents box.
planar[in] If and only if true, a planar computation is made.

Implemented in FacetModeler::FaceData, OdSiShapeBoundPlane, OdSiShapePlane, OdSiHalfSpace, OdSiShapeRay, OdSiShapesIntersection, OdSi::Volume, OdSi::BBox, and OdSi::Extent3d.

◆ isNoSpace()

static bool OdSiShape::isNoSpace ( const OdSiShape ptr)
static

◆ isOverallSpace()

static bool OdSiShape::isOverallSpace ( const OdSiShape ptr)
static

◆ transform()

virtual void OdSiShape::transform ( const OdGeMatrix3d )
inlinevirtual

Member Data Documentation

◆ kNoSpace

ODSI_API_STATIC const OdSiShape& OdSiShape::kNoSpace
static

Definition at line 75 of file SiSpatialIndex.h.

◆ kOverallSpace

ODSI_API_STATIC const OdSiShape& OdSiShape::kOverallSpace
static

Definition at line 74 of file SiSpatialIndex.h.


The documentation for this struct was generated from the following file: