Navigation
API > API/Runtime > API/Runtime/CADKernel > API/Runtime/CADKernel/FTopologicalEdge
Description
This function is used to :
- sew exactly two edges of the same loop
- prepare to disconnect two edges connected by the same vertex
OldVertex = bStartVertex ? StartVertex : EndVertex OldVertex can be an extremity of other edges OldVertex can be link to other vertices (TopologicalLink can be valid or not)
NewVertex can be an extremity of other edges NewVertex can be linked to other vertices (TopologicalLink can be valid or not) NewVertex can be not linked to OldVertex
After the process: OldVertex is no more connected to this edge but stay connected to its other linked edges If OldVertex is isolated (not connected to any edge), OldVertex is deleted otherwise OldVertex is linked to NewVertex
| Name | ReplaceEdgeVertex |
| Type | function |
| Header File | /Engine/Source/Runtime/Datasmith/CADKernel/Base/Public/Topo/TopologicalEdge.h |
| Include Path | #include "Topo/TopologicalEdge.h" |
| Source | /Engine/Source/Runtime/Datasmith/CADKernel/Base/Private/Topo/TopologicalEdge.cpp |
void ReplaceEdgeVertex
(
bool bIsStartVertex,
TSharedRef < FTopologicalVertex > & NewVertex
)