MCPcopy Create free account
hub / github.com/ColdGrub1384/Pyto / add_parent

Method add_parent

site-packages/matplotlib/tri/_tri.cpp:1542–1549  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1540}
1541
1542void
1543TrapezoidMapTriFinder::Node::add_parent(Node* parent)
1544{
1545 assert(parent != 0 && "Null parent");
1546 assert(parent != this && "Cannot be parent of self");
1547 assert(!has_parent(parent) && "Parent already in collection");
1548 _parents.push_back(parent);
1549}
1550
1551void
1552TrapezoidMapTriFinder::Node::assert_valid(bool tree_complete) const

Callers 2

NodeMethod · 0.80
replace_childMethod · 0.80

Calls 2

assertFunction · 0.85
push_backMethod · 0.45

Tested by

no test coverage detected