CFx SDK Documentation  2023 SP0
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 OdSiShapePlane

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 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

Reimplemented in OdSi::BBox, and OdSi::Volume.

Definition at line 68 of file SiSpatialIndex.h.

◆ 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 OdSi::Extent3d, OdSi::BBox, OdSi::Volume, OdSiShapePlane, and FacetModeler::FaceData.

◆ 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 OdSi::Extent3d, OdSi::BBox, OdSi::Volume, OdSiShapePlane, and FacetModeler::FaceData.

◆ transform()

virtual void OdSiShape::transform ( const OdGeMatrix3d )
inlinevirtual

Reimplemented in OdSi::BBox, and OdSi::Volume.

Definition at line 69 of file SiSpatialIndex.h.

Member Data Documentation

◆ kNoSpace

ODSI_API_STATIC const OdSiShape& OdSiShape::kNoSpace
static

Definition at line 72 of file SiSpatialIndex.h.

◆ kOverallSpace

ODSI_API_STATIC const OdSiShape& OdSiShape::kOverallSpace
static

Definition at line 71 of file SiSpatialIndex.h.


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