CFx SDK Documentation 2024 SP0
|
#include <BrLoopEdgeTraverser.h>
Public Member Functions | |
OdBrLoopEdgeTraverser () | |
OdGeCurve3d * | getOrientedCurve () const |
bool | getOrientedCurveAsNurb (OdGeNurbCurve3d &nurb) const |
OdGeCurve2d * | getParamCurve () const |
OdBrErrorStatus | getParamCurveAsNurb (OdGeNurbCurve2d &nurb) const |
bool | getEdgeOrientToLoop () const |
OdBrEdge | getEdge () const |
OdBrLoop | getLoop () const |
OdBrErrorStatus | setEdge (const OdBrEdge &edge) |
OdBrErrorStatus | setLoop (const OdBrLoop &loop) |
OdBrErrorStatus | setLoop (const OdBrFaceLoopTraverser &faceLoop) |
OdBrErrorStatus | setLoopAndEdge (const OdBrEdgeLoopTraverser &edgeLoop) |
Public Member Functions inherited from OdBrTraverser | |
bool | done () const |
OdBrErrorStatus | next () |
OdBrErrorStatus | restart () |
virtual | ~OdBrTraverser () |
bool | isEqualTo (const OdBrTraverser *pOtherTraverser) const |
bool | isNull () const |
OdBrErrorStatus | setValidationLevel (const BrValidationLevel &level) |
OdBrErrorStatus | getValidationLevel (BrValidationLevel &level) const |
Additional Inherited Members | |
Protected Member Functions inherited from OdBrTraverser | |
OdBrTraverser () | |
Protected Attributes inherited from OdBrTraverser | |
OdRxObjectPtr | m_pImp |
OdSharedPtr< OdDbStubPtrArray > | m_pFSubentPath |
bool | m_bIsValidate |
This class is the interface class for loop edge traversers.
<group OdBr_Classes>
Definition at line 51 of file BrLoopEdgeTraverser.h.
OdBrLoopEdgeTraverser::OdBrLoopEdgeTraverser | ( | ) |
OdBrEdge OdBrLoopEdgeTraverser::getEdge | ( | ) | const |
Returns the edge object at the current Traverser position.
bool OdBrLoopEdgeTraverser::getEdgeOrientToLoop | ( | ) | 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 loop parameterization.
OdBrLoop OdBrLoopEdgeTraverser::getLoop | ( | ) | const |
Returns the loop of the edge list associated with this Traverser object.
OdGeCurve3d * OdBrLoopEdgeTraverser::getOrientedCurve | ( | ) | const |
Returns the underlying curve of the edge at the current Traverser position as an oriented OdGeCurve3d object.
bool OdBrLoopEdgeTraverser::getOrientedCurveAsNurb | ( | OdGeNurbCurve3d & | nurb | ) | const |
Returns the underlying curve of the edge at the current Traverser position as an OdGeNurbCurve3d object.
nurb | [out] Receives the NURBS curve. |
OdGeCurve2d * OdBrLoopEdgeTraverser::getParamCurve | ( | ) | const |
Returns the underlying curve of the edge at the current Traverser position as a parametric OdGeCurve2d object.
OdBrErrorStatus OdBrLoopEdgeTraverser::getParamCurveAsNurb | ( | OdGeNurbCurve2d & | nurb | ) | const |
Returns the underlying curve of the edge at the current Traverser position as a parametric OdGeNurbCurve2d object.
nurb | [out] Receives the NURBS curve. |
OdBrErrorStatus OdBrLoopEdgeTraverser::setEdge | ( | const OdBrEdge & | edge | ) |
Sets the starting position of this Traverser object.
edge | [in] Defines the starting position. |
OdBrErrorStatus OdBrLoopEdgeTraverser::setLoop | ( | const OdBrFaceLoopTraverser & | faceLoop | ) |
Sets this Traverser object to a specific loop edge list.
faceLoop | [in] Face-loop traverser. |
Returns odbrOK if successful, or an appropriate error code if not.
OdBrErrorStatus OdBrLoopEdgeTraverser::setLoop | ( | const OdBrLoop & | loop | ) |
Sets this Traverser object to a specific loop edge list.
loop | [in] Owner of the edge list. |
Returns odbrOK if successful, or an appropriate error code if not.
OdBrErrorStatus OdBrLoopEdgeTraverser::setLoopAndEdge | ( | const OdBrEdgeLoopTraverser & | edgeLoop | ) |
Sets this Traverser object to a specific edge loop list and starting position.
edgeLoop | [in] Defines the edge list and starting position. |