Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
189
void 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
195
void ContourLine::push_back(const XY& point)
196
{
Callers
nothing calls this directly
Calls
2
empty
Function · 0.50
insert
Function · 0.50
Tested by
no test coverage detected