CFx SDK Documentation  2023 SP0
Public Member Functions | Public Attributes | List of all members
OdSiShapePlane Struct Reference

#include <SiShapePlane.h>

Inheritance diagram for OdSiShapePlane:
OdSiShape

Public Member Functions

 OdSiShapePlane (const OdGePoint3d &pointOnPlane, const OdGeVector3d &planeNormal)
 
 OdSiShapePlane (const OdGePlane &plane)
 
double signedDistanceTo (const OdGePoint3d &pt) const
 
bool contains (const OdGeExtents3d &, bool, const OdGeTol &) const
 
bool intersects (const OdGeExtents3d &extents, bool planar, const OdGeTol &tol) const
 
- Public Member Functions inherited from OdSiShape
virtual ~OdSiShape ()
 
virtual OdSiShapeclone () const
 
virtual void transform (const OdGeMatrix3d &)
 

Public Attributes

OdGePoint3d m_pointOnPlane
 
OdGeVector3d m_planeNormal
 

Additional Inherited Members

- Static Public Attributes inherited from OdSiShape
static ODSI_API_STATIC const OdSiShapekOverallSpace
 
static ODSI_API_STATIC const OdSiShapekNoSpace
 

Detailed Description

This class represents plane implementation for OdSiShape interface.

Corresponding C++ library: SpatialIndex <group OdSi_Classes>

Definition at line 39 of file SiShapePlane.h.

Constructor & Destructor Documentation

◆ OdSiShapePlane() [1/2]

OdSiShapePlane::OdSiShapePlane ( const OdGePoint3d pointOnPlane,
const OdGeVector3d planeNormal 
)
inline

Definition at line 43 of file SiShapePlane.h.

◆ OdSiShapePlane() [2/2]

OdSiShapePlane::OdSiShapePlane ( const OdGePlane plane)
inline

Definition at line 47 of file SiShapePlane.h.

Member Function Documentation

◆ contains()

bool OdSiShapePlane::contains ( const OdGeExtents3d extents,
bool  planar,
const OdGeTol tol 
) const
inlinevirtual

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.

Implements OdSiShape.

Definition at line 54 of file SiShapePlane.h.

◆ intersects()

bool OdSiShapePlane::intersects ( const OdGeExtents3d extents,
bool  planar,
const OdGeTol tol 
) const
inlinevirtual

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.

Implements OdSiShape.

Definition at line 57 of file SiShapePlane.h.

◆ signedDistanceTo()

double OdSiShapePlane::signedDistanceTo ( const OdGePoint3d pt) const
inline

Definition at line 51 of file SiShapePlane.h.

Member Data Documentation

◆ m_planeNormal

OdGeVector3d OdSiShapePlane::m_planeNormal

Definition at line 41 of file SiShapePlane.h.

◆ m_pointOnPlane

OdGePoint3d OdSiShapePlane::m_pointOnPlane

Definition at line 40 of file SiShapePlane.h.


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