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

Function OrderEdge

Common/DataModel/vtkGenericEdgeTable.cxx:170–176  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

168
169//------------------------------------------------------------------------------
170static inline void OrderEdge(vtkIdType& e1, vtkIdType& e2)
171{
172 vtkIdType temp1 = e1;
173 vtkIdType temp2 = e2;
174 e1 = temp1 < temp2 ? temp1 : temp2;
175 e2 = temp1 > temp2 ? temp1 : temp2;
176}
177
178//------------------------------------------------------------------------------
179// Instantiate object based on maximum point id.

Callers 5

InsertEdgeMethod · 0.85
RemoveEdgeMethod · 0.85
CheckEdgeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected