MCPcopy Create free account
hub / github.com/Kitware/VTK / EndVertex

Method EndVertex

Common/DataModel/vtkReebGraph.cxx:2729–2750  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

2727
2728//------------------------------------------------------------------------------
2729void vtkReebGraph::Implementation::EndVertex(const vtkIdType N)
2730{
2731 vtkReebNode* n = this->GetNode(N);
2732
2733 n->IsFinalized = true;
2734
2735 if (!(this->GetNode(N)->ArcUpId == -2))
2736 {
2737 this->SimplifyLabels(N);
2738
2739 if (!(this->GetNode(N)->ArcUpId == -2))
2740 {
2741 // special case for regular point. A node is regular if it has one
2742 // arc down and one arc up. In this case it can disappear
2743
2744 if (vtkReebGraphIsRegular(this, n))
2745 {
2746 this->CollapseVertex(N, n);
2747 }
2748 }
2749 }
2750}
2751
2752//------------------------------------------------------------------------------
2753int vtkReebGraph::Implementation::AddMeshTetrahedron(vtkIdType vertex0Id, double f0,

Callers 3

AddMeshTetrahedronMethod · 0.95
AddMeshTriangleMethod · 0.95
CloseStreamMethod · 0.80

Calls 3

GetNodeMethod · 0.95
SimplifyLabelsMethod · 0.95
CollapseVertexMethod · 0.95

Tested by

no test coverage detected