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

Class Edge

Common/DataModel/vtkPolyhedron.cxx:80–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78// typedef std::pair<vtkIdType, vtkIdType> Edge;
79
80struct Edge : public std::pair<vtkIdType, vtkIdType>
81{
82public:
83 Edge() = default;
84 Edge(vtkIdType a, vtkIdType b)
85 : std::pair<vtkIdType, vtkIdType>(a, b)
86 {
87 }
88 Edge(vtkCell* edge)
89 : std::pair<vtkIdType, vtkIdType>(edge->GetPointId(0), edge->GetPointId(1))
90 {
91 }
92 friend ostream& operator<<(ostream& stream, const Edge& e)
93 {
94 stream << e.first << " - " << e.second;
95 return stream;
96 }
97};
98
99struct hash_fn
100{

Callers 10

XdmfToVTKMethod · 0.85
VTKToXdmfMethod · 0.85
XdmfSubsetToVTKMethod · 0.85
InspectArraysMethod · 0.85
CreateShapeFunction · 0.85
XdmfSetGetTypeFunction · 0.85
XdmfSetSetTypeFunction · 0.85
XdmfAttributeGetCenterFunction · 0.85
XdmfAttributeSetCenterFunction · 0.85
FindNextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected