MCPcopy Create free account
hub / github.com/andrewwillmott/splines-lib / SubdivideForT

Method SubdivideForT

Splines.cpp:1434–1442  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1432}
1433
1434void SL::SubdivideForT(vector<Spline2>* splinesIn, float tolerance)
1435{
1436 vector<Spline2> splines;
1437
1438 for (const Spline2& s : *splinesIn)
1439 ::SubdivideForT(s, &splines, tolerance);
1440
1441 splinesIn->swap(splines);
1442}
1443
1444void SL::SubdivideForLengthRatio(vector<Vec2f>& positions, float maxRatio)
1445{

Callers

nothing calls this directly

Calls 1

SubdivideForTFunction · 0.85

Tested by

no test coverage detected