CFx SDK Documentation  2023 SP0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
FacetModeler::EdgeGraph Class Reference

#include <FMEdgeGraph.h>

Inheritance diagram for FacetModeler::EdgeGraph:
FacetModeler::SlicerBaseImpl FacetModeler::Slicer< TSpatialFaceData >

Public Member Functions

OdUInt32 EdgesCount () const
 
OdUInt32 NodesCount () const
 
OdUInt32 GetEdgeStartNodeIdx (OdUInt32 aEdgeIdx) const
 
OdUInt32 GetEdgeEndNodeIdx (OdUInt32 aEdgeIdx) const
 
bool IsEdgeProcessed (OdUInt32 aEdgeIdx) const
 
void SetEdgeProcessed (OdUInt32 aEdgeIdx)
 
void ResetEdgeProcessed (OdUInt32 aEdgeIdx)
 
const SliceNodeGetEdgeStartNode (OdUInt32 aEdgeIdx) const
 
const SliceNodeGetEdgeEndNode (OdUInt32 aEdgeIdx) const
 
SliceNodeGetEdgeStartNode (OdUInt32 aEdgeIdx)
 
SliceNodeGetEdgeEndNode (OdUInt32 aEdgeIdx)
 
const OdGePoint3dGetEdgeStartPoint (OdUInt32 aEdgeIdx) const
 
const OdGePoint3dGetEdgeEndPoint (OdUInt32 aEdgeIdx) const
 
const SliceNodeGetNode (OdUInt32 aNodeIdx) const
 
SliceNodeGetNode (OdUInt32 aNodeIdx)
 
const SliceEdgeGetEdge (OdUInt32 aEdgeIdx) const
 
SliceEdgeGetEdge (OdUInt32 aEdgeIdx)
 
const OdGePoint3dGetNodePosition (OdUInt32 aNodeIdx) const
 
bool IsEdgesConcatenated (OdUInt32 iPreviousEdge, OdUInt32 iNextEdge) const
 
void AddEdge (const OdGeLineSeg3d &lSeg, const OdGePlane &pSegPlane, const OdGePlane &pCutPlane)
 
void AddEdge (const OdGePoint3d &ptSProjected, const OdGePoint3d &ptEProjected, const OdGePoint3d &ptSOriginal, const OdGePoint3d &ptEOriginal, const OdGePlane &pSegPlane, const OdGePlane &pCutPlane)
 
void AddEdge (const OdGePoint3d &ptS, const OdGePoint3d &ptE, const OdGePlane &pSegPlane, const OdGePlane &pCutPlane, const Edge *tag=0, const OdGeTol tol=FMGeGbl::gTol)
 
OdUInt32 AddNode (const OdGePoint3d &pt, const OdGeTol tol=FMGeGbl::gTol)
 
void BuildLinks ()
 
void RemoveCrossLinks ()
 
void RemoveOppositeEdges ()
 
void MergeDuplicatedEdges (bool bUseReverseEdgeAtMerge)
 
void ResetEdgesProcessedFlag ()
 
void Clear ()
 
void ReserveBuffers (size_t nFaces)
 

Protected Member Functions

void ReserveBuffersIfEmpty ()
 
bool LeaveOrder (const OdGePoint3d &ptS, const OdGePoint3d &ptE, const OdGeVector3d &vFaceNormal, const OdGeVector3d &vCutNormal)
 

Protected Attributes

OdArray< SliceEdge, OdMemoryAllocator< SliceEdge > > aEdges
 
OdArray< SliceNodeaNodes
 

Detailed Description

Definition at line 103 of file FMEdgeGraph.h.

Member Function Documentation

◆ AddEdge() [1/3]

void FacetModeler::EdgeGraph::AddEdge ( const OdGeLineSeg3d lSeg,
const OdGePlane pSegPlane,
const OdGePlane pCutPlane 
)

◆ AddEdge() [2/3]

void FacetModeler::EdgeGraph::AddEdge ( const OdGePoint3d ptS,
const OdGePoint3d ptE,
const OdGePlane pSegPlane,
const OdGePlane pCutPlane,
const Edge tag = 0,
const OdGeTol  tol = FMGeGbl::gTol 
)

◆ AddEdge() [3/3]

void FacetModeler::EdgeGraph::AddEdge ( const OdGePoint3d ptSProjected,
const OdGePoint3d ptEProjected,
const OdGePoint3d ptSOriginal,
const OdGePoint3d ptEOriginal,
const OdGePlane pSegPlane,
const OdGePlane pCutPlane 
)

◆ AddNode()

OdUInt32 FacetModeler::EdgeGraph::AddNode ( const OdGePoint3d pt,
const OdGeTol  tol = FMGeGbl::gTol 
)

◆ BuildLinks()

void FacetModeler::EdgeGraph::BuildLinks ( )

◆ Clear()

void FacetModeler::EdgeGraph::Clear ( )

◆ EdgesCount()

OdUInt32 FacetModeler::EdgeGraph::EdgesCount ( ) const

◆ GetEdge() [1/2]

SliceEdge& FacetModeler::EdgeGraph::GetEdge ( OdUInt32  aEdgeIdx)

◆ GetEdge() [2/2]

const SliceEdge& FacetModeler::EdgeGraph::GetEdge ( OdUInt32  aEdgeIdx) const

◆ GetEdgeEndNode() [1/2]

SliceNode& FacetModeler::EdgeGraph::GetEdgeEndNode ( OdUInt32  aEdgeIdx)

◆ GetEdgeEndNode() [2/2]

const SliceNode& FacetModeler::EdgeGraph::GetEdgeEndNode ( OdUInt32  aEdgeIdx) const

◆ GetEdgeEndNodeIdx()

OdUInt32 FacetModeler::EdgeGraph::GetEdgeEndNodeIdx ( OdUInt32  aEdgeIdx) const

◆ GetEdgeEndPoint()

const OdGePoint3d& FacetModeler::EdgeGraph::GetEdgeEndPoint ( OdUInt32  aEdgeIdx) const

◆ GetEdgeStartNode() [1/2]

SliceNode& FacetModeler::EdgeGraph::GetEdgeStartNode ( OdUInt32  aEdgeIdx)

◆ GetEdgeStartNode() [2/2]

const SliceNode& FacetModeler::EdgeGraph::GetEdgeStartNode ( OdUInt32  aEdgeIdx) const

◆ GetEdgeStartNodeIdx()

OdUInt32 FacetModeler::EdgeGraph::GetEdgeStartNodeIdx ( OdUInt32  aEdgeIdx) const

◆ GetEdgeStartPoint()

const OdGePoint3d& FacetModeler::EdgeGraph::GetEdgeStartPoint ( OdUInt32  aEdgeIdx) const

◆ GetNode() [1/2]

SliceNode& FacetModeler::EdgeGraph::GetNode ( OdUInt32  aNodeIdx)

◆ GetNode() [2/2]

const SliceNode& FacetModeler::EdgeGraph::GetNode ( OdUInt32  aNodeIdx) const

◆ GetNodePosition()

const OdGePoint3d& FacetModeler::EdgeGraph::GetNodePosition ( OdUInt32  aNodeIdx) const

◆ IsEdgeProcessed()

bool FacetModeler::EdgeGraph::IsEdgeProcessed ( OdUInt32  aEdgeIdx) const

◆ IsEdgesConcatenated()

bool FacetModeler::EdgeGraph::IsEdgesConcatenated ( OdUInt32  iPreviousEdge,
OdUInt32  iNextEdge 
) const

◆ LeaveOrder()

bool FacetModeler::EdgeGraph::LeaveOrder ( const OdGePoint3d ptS,
const OdGePoint3d ptE,
const OdGeVector3d vFaceNormal,
const OdGeVector3d vCutNormal 
)
protected

◆ MergeDuplicatedEdges()

void FacetModeler::EdgeGraph::MergeDuplicatedEdges ( bool  bUseReverseEdgeAtMerge)

◆ NodesCount()

OdUInt32 FacetModeler::EdgeGraph::NodesCount ( ) const

◆ RemoveCrossLinks()

void FacetModeler::EdgeGraph::RemoveCrossLinks ( )

◆ RemoveOppositeEdges()

void FacetModeler::EdgeGraph::RemoveOppositeEdges ( )

◆ ReserveBuffers()

void FacetModeler::EdgeGraph::ReserveBuffers ( size_t  nFaces)

◆ ReserveBuffersIfEmpty()

void FacetModeler::EdgeGraph::ReserveBuffersIfEmpty ( )
protected

◆ ResetEdgeProcessed()

void FacetModeler::EdgeGraph::ResetEdgeProcessed ( OdUInt32  aEdgeIdx)

◆ ResetEdgesProcessedFlag()

void FacetModeler::EdgeGraph::ResetEdgesProcessedFlag ( )

◆ SetEdgeProcessed()

void FacetModeler::EdgeGraph::SetEdgeProcessed ( OdUInt32  aEdgeIdx)

Member Data Documentation

◆ aEdges

OdArray< SliceEdge, OdMemoryAllocator<SliceEdge> > FacetModeler::EdgeGraph::aEdges
protected

Definition at line 106 of file FMEdgeGraph.h.

◆ aNodes

OdArray< SliceNode > FacetModeler::EdgeGraph::aNodes
protected

Definition at line 107 of file FMEdgeGraph.h.


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