CFx SDK Documentation  2023 SP0
Public Member Functions | List of all members
OdBrBrep Class Reference

#include <BrBrep.h>

Inheritance diagram for OdBrBrep:
OdBrEntity

Public Member Functions

void set (const void *pFile)
 
bool isValid () const
 
bool getTransformation (OdGeMatrix3d &xfm) const
 
 OdBrBrep ()
 
- Public Member Functions inherited from OdBrEntity
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
 

Additional Inherited Members

- Protected Member Functions inherited from OdBrEntity
 OdBrEntity ()
 
- Protected Attributes inherited from OdBrEntity
voidm_pImp
 
OdSharedPtr< OdDbStubPtrArraym_pFSubentPath
 
bool m_bIsValidate
 

Detailed Description

This class is the interface class for the BREP portions of OdDbDatabase objects.

Remarks
This class provides the top-level interface for traversing the BREP structure of the 3d data contained in an OdDb3dSolid (or other 3d) entity,

Corresponding C++ library: TD_Br <group OdBr_Classes>

Definition at line 44 of file BrBrep.h.

Constructor & Destructor Documentation

◆ OdBrBrep()

OdBrBrep::OdBrBrep ( )

Member Function Documentation

◆ getTransformation()

bool OdBrBrep::getTransformation ( OdGeMatrix3d xfm) const

Returns the transformation matrix for this BREP object.

Parameters
xfm[out] Receives the transformation matrix.

◆ isValid()

bool OdBrBrep::isValid ( ) const

Returns true and only if this BREP object contains valid 3d data..

◆ set()

void OdBrBrep::set ( const void pFile)

Sets the 3d data for this BREP object from the specified 3d file.

Remarks
See the sample file, OdBrEx.cpp in the Examples/OdBrEx folder for sample usage.
Parameters
pFile[in] Pointer to the 3d file object.

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