CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
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)
 
void ClearLinks ()
 
void AddEdge (OdUInt32 iS, OdUInt32 iE)
 
double GetAddNodeTol (const OdGeTol tol=FMGeGbl::gTol) const
 
void RemoveEdge (OdUInt32 idx, OdGePoint2dArray *pArr=NULL)
 
void RestoreEdgeNodesIdxs (OdUInt32 idx1, OdUInt32 idx2)
 
bool DoesEdgeExist (OdUInt32 iS, OdUInt32 iE, OdUInt32 &res) const
 
void ReorderLinks (const OdGePlane &plane)
 

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/4]

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

◆ AddEdge() [2/4]

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/4]

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

◆ AddEdge() [4/4]

void FacetModeler::EdgeGraph::AddEdge ( OdUInt32 iS,
OdUInt32 iE )

◆ AddNode()

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

◆ BuildLinks()

void FacetModeler::EdgeGraph::BuildLinks ( )

◆ Clear()

void FacetModeler::EdgeGraph::Clear ( )

◆ ClearLinks()

void FacetModeler::EdgeGraph::ClearLinks ( )

◆ DoesEdgeExist()

bool FacetModeler::EdgeGraph::DoesEdgeExist ( OdUInt32 iS,
OdUInt32 iE,
OdUInt32 & res ) const

◆ EdgesCount()

OdUInt32 FacetModeler::EdgeGraph::EdgesCount ( ) const

◆ GetAddNodeTol()

double FacetModeler::EdgeGraph::GetAddNodeTol ( const OdGeTol tol = FMGeGbl::gTol) 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 ( )

◆ RemoveEdge()

void FacetModeler::EdgeGraph::RemoveEdge ( OdUInt32 idx,
OdGePoint2dArray * pArr = NULL )

◆ RemoveOppositeEdges()

void FacetModeler::EdgeGraph::RemoveOppositeEdges ( )

◆ ReorderLinks()

void FacetModeler::EdgeGraph::ReorderLinks ( const OdGePlane & plane)

◆ 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 ( )

◆ RestoreEdgeNodesIdxs()

void FacetModeler::EdgeGraph::RestoreEdgeNodesIdxs ( OdUInt32 idx1,
OdUInt32 idx2 )

◆ 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: