MCPcopy Create free account
hub / github.com/OpenSees/OpenSees / addEdge

Method addEdge

DEVELOPER/core/Vertex.cpp:101–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99}
100
101int
102Vertex::addEdge(int otherTag)
103{
104 // don't allow itself to be added
105 if (otherTag == this->getTag())
106 return 0;
107
108 // check the otherVertex has not already been added
109 return myAdjacency.insert(otherTag);
110}
111
112
113int

Callers

nothing calls this directly

Calls 2

getTagMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected