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

Method insert_unique

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

Source from the content-addressed store, hash-verified

187{}
188
189void ContourLine::insert_unique(iterator pos, const XY& point)
190{
191 if (empty() || pos == end() || point != *pos)
192 std::vector<XY>::insert(pos, point);
193}
194
195void ContourLine::push_back(const XY& point)
196{

Callers

nothing calls this directly

Calls 2

emptyFunction · 0.50
insertFunction · 0.50

Tested by

no test coverage detected