CFx SDK Documentation  2020SP3
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
OdBrEntity Class Reference

#include <BrEntity.h>

Inheritance diagram for OdBrEntity:
OdBrBrep OdBrComplex OdBrEdge OdBrFace OdBrLoop OdBrShell OdBrVertex

Public Member Functions

bool isNull () const
 
bool isEqualTo (const OdBrEntity *pOtherEntity) const
 
bool getBrep (OdBrBrep &brep) const
 
bool checkEntity () const
 
OdBrErrorStatus getSubentPath (OdDbBaseFullSubentPath &subPath) const
 
virtual ~OdBrEntity ()
 
OdBrErrorStatus setSubentPath (OdBrBrep &brep, OdDbBaseFullSubentPath &subpath)
 
OdBrErrorStatus getPointContainment (const OdGePoint3d &point, OdGe::PointContainment &containment, OdBrEntity *&brEntContainer) const
 
OdBrErrorStatus getLineContainment (const OdGeLinearEnt3d &line, const OdUInt32 &iNumHitsWanted, OdUInt32 &iNumHitsFound, OdBrHit *&brHit) const
 
OdBrErrorStatus setValidationLevel (const BrValidationLevel &level= *(BrValidationLevel *) NULL)
 
OdBrErrorStatus getValidationLevel (BrValidationLevel &level) const
 
OdUInt32 getFlags () const
 
OdInt32 getGsMarker () const
 
OdBrErrorStatus getMassProps (OdBrMassProps &massProps, const double &dDensity= *(double *) NULL, const double &dTolRequired= *(double *) NULL, double &dTolAchieved= *(double *) NULL) const
 
OdBrErrorStatus getVolume (double &dVolume, const double &dTolRequired= *(double *) NULL, double &dTolAchieved= *(double *) NULL) const
 
OdBrErrorStatus getSurfaceArea (double &dArea, const double &dTolRequired= *(double *) NULL, double &dTolAchieved= *(double *) NULL) const
 
OdBrErrorStatus getPerimeterLength (double &dLength, const double &dTolRequired= *(double *) NULL, double &dTolAchieved= *(double *) NULL) const
 

Protected Member Functions

 OdBrEntity ()
 

Protected Attributes

voidm_pImp
 
OdSharedPtr< OdDbStubPtrArraym_pFSubentPath
 
bool m_bIsValidate
 

Friends

class OdBrEntityInternals
 

Detailed Description

<group OdBr_Classes>

This class is the interface base class for BREP topology objects.

Corresponding C++ library: TD_Br

Definition at line 53 of file BrEntity.h.

Constructor & Destructor Documentation

◆ ~OdBrEntity()

virtual OdBrEntity::~OdBrEntity ( )
virtual

◆ OdBrEntity()

OdBrEntity::OdBrEntity ( )
protected

Member Function Documentation

◆ checkEntity()

bool OdBrEntity::checkEntity ( ) const

Validates the element.

◆ getBrep()

bool OdBrEntity::getBrep ( OdBrBrep brep) const

Returns the owner of this Entity object.

◆ getFlags()

OdUInt32 OdBrEntity::getFlags ( ) const

◆ getGsMarker()

OdInt32 OdBrEntity::getGsMarker ( ) const

◆ getLineContainment()

OdBrErrorStatus OdBrEntity::getLineContainment ( const OdGeLinearEnt3d line,
const OdUInt32 iNumHitsWanted,
OdUInt32 iNumHitsFound,
OdBrHit *&  brHit 
) const

◆ getMassProps()

OdBrErrorStatus OdBrEntity::getMassProps ( OdBrMassProps massProps,
const double &  dDensity = *(double *) NULL,
const double &  dTolRequired = *(double *) NULL,
double &  dTolAchieved = *(double *) NULL 
) const

◆ getPerimeterLength()

OdBrErrorStatus OdBrEntity::getPerimeterLength ( double &  dLength,
const double &  dTolRequired = *(double *) NULL,
double &  dTolAchieved = *(double *) NULL 
) const

◆ getPointContainment()

OdBrErrorStatus OdBrEntity::getPointContainment ( const OdGePoint3d point,
OdGe::PointContainment containment,
OdBrEntity *&  brEntContainer 
) const

◆ getSubentPath()

OdBrErrorStatus OdBrEntity::getSubentPath ( OdDbBaseFullSubentPath subPath) const

Returns the FullSubentPath of this Entity object. see OdDbBody::setSubentPath also.

◆ getSurfaceArea()

OdBrErrorStatus OdBrEntity::getSurfaceArea ( double &  dArea,
const double &  dTolRequired = *(double *) NULL,
double &  dTolAchieved = *(double *) NULL 
) const

◆ getValidationLevel()

OdBrErrorStatus OdBrEntity::getValidationLevel ( BrValidationLevel level) const

◆ getVolume()

OdBrErrorStatus OdBrEntity::getVolume ( double &  dVolume,
const double &  dTolRequired = *(double *) NULL,
double &  dTolAchieved = *(double *) NULL 
) const

◆ isEqualTo()

bool OdBrEntity::isEqualTo ( const OdBrEntity pOtherEntity) const

Returns true if and only if the specified Entity object is equivalent to this Entity object.

Remarks
Two OdBrEntity objects are equivalent if and only if they non-null, and have the same subentity path.
Parameters
pOtherEntity[in] Pointer to any OdBrEntity object.

◆ isNull()

bool OdBrEntity::isNull ( ) const

Returns true if and only if there is no ACIS model associated with this Entity object.

◆ setSubentPath()

OdBrErrorStatus OdBrEntity::setSubentPath ( OdBrBrep brep,
OdDbBaseFullSubentPath subpath 
)

◆ setValidationLevel()

OdBrErrorStatus OdBrEntity::setValidationLevel ( const BrValidationLevel level = *(BrValidationLevel *) NULL)

Friends And Related Function Documentation

◆ OdBrEntityInternals

friend class OdBrEntityInternals
friend

Definition at line 155 of file BrEntity.h.

Member Data Documentation

◆ m_bIsValidate

bool OdBrEntity::m_bIsValidate
protected

Definition at line 151 of file BrEntity.h.

◆ m_pFSubentPath

OdSharedPtr<OdDbStubPtrArray> OdBrEntity::m_pFSubentPath
protected

Definition at line 150 of file BrEntity.h.

◆ m_pImp

void* OdBrEntity::m_pImp
protected

Definition at line 149 of file BrEntity.h.


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