CFx SDK Documentation  2020SP3
Public Member Functions | List of all members
OdBrEdge Class Reference

#include <BrEdge.h>

Inheritance diagram for OdBrEdge:
OdBrEntity

Public Member Functions

bool getVertex2 (OdBrVertex &vertex2) const
 
bool getVertex1 (OdBrVertex &vertex1) const
 
OdGe::EntityId getCurveType () const
 
OdGeCurve3dgetCurve () const
 
OdBrErrorStatus getCurve (OdGeCurve3d *&pCurve) const
 
bool getCurveAsNurb (OdGeNurbCurve3d &nurb) const
 
bool getOrientToCurve () const
 
bool getColor (OdCmEntityColor &color) const
 
 OdBrEdge ()
 
 ~OdBrEdge ()
 
- 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 BREP edges.

See also
TD_Br
Remarks
Edges are primary BREP elements with associated geometries: curves. <group OdBr_Classes>

Definition at line 50 of file BrEdge.h.

Constructor & Destructor Documentation

◆ OdBrEdge()

OdBrEdge::OdBrEdge ( )

◆ ~OdBrEdge()

OdBrEdge::~OdBrEdge ( )

Member Function Documentation

◆ getColor()

bool OdBrEdge::getColor ( OdCmEntityColor color) const

Returns the color of this Edge entity.

Returns
Returns true if and only if this Edge entity has a color associated with it.
Parameters
color[out] Receives the color.

◆ getCurve() [1/2]

OdGeCurve3d* OdBrEdge::getCurve ( ) const

Returns the underlying curve of this Edge entity as an OdGeCurve3d object.

◆ getCurve() [2/2]

OdBrErrorStatus OdBrEdge::getCurve ( OdGeCurve3d *&  pCurve) const

Returns the underlying curve of this Edge entity as an OdGeCurve3d object.

◆ getCurveAsNurb()

bool OdBrEdge::getCurveAsNurb ( OdGeNurbCurve3d nurb) const

Returns the underlying curve of this Edge entity as an OdGeNurbCurve3d object.

Parameters
nurb[out] Receives the NURBS curve.
Returns
Returns odbrOK if successful, or an appropriate error code if not.

◆ getCurveType()

OdGe::EntityId OdBrEdge::getCurveType ( ) const

Returns the best match of the underlying curve of this Edge entity to curves supported by OdGe.

◆ getOrientToCurve()

bool OdBrEdge::getOrientToCurve ( ) const

Returns true if and only if the orientation of the edge from vertex 1 to vertex 2 is the same as the orientation of the curve parameterization.

Remarks
The orientation of the underlying curve may be modified with OdGeCurve3d::reverseParam().

◆ getVertex1()

bool OdBrEdge::getVertex1 ( OdBrVertex vertex1) const

Returns the start vertex of this Edge entity.

Parameters
vertex1[out] Receives the start vertex.

◆ getVertex2()

bool OdBrEdge::getVertex2 ( OdBrVertex vertex2) const

Returns the end vertex of this Edge entity.

Parameters
vertex2[out] Receives the end vertex.

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