MCPcopy Create free account
hub / github.com/dhale/jtk / add

Method add

core/src/main/java/edu/mines/jtk/mesh/TetMesh.java:6257–6275  ·  view source on GitHub ↗

If the set does not contain the mate of the specified edge, adds the edge to the set, remembers the edge added, and returns true. Otherwise, if the set already contains the mate, removes the mate from the set, remembers the mate removed, and returns false.

(Node a, Node b, Node c, Tet nabc)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

getEdgesMethod · 0.95
doubleCapacityMethod · 0.95

Calls 4

indexOfMateMethod · 0.95
setCurrentMethod · 0.95
removeMethod · 0.95
doubleCapacityMethod · 0.95

Tested by

no test coverage detected