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

Method FindSplineIntersections

Splines.cpp:1854–1863  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1852}
1853
1854int SL::FindSplineIntersections(const Spline2& spline0, const Spline2& spline1, int maxResults, float results[][2], float tolerance)
1855{
1856 if (maxResults <= 0)
1857 return 0;
1858
1859 SubSplineT2 subSpline0 = { spline0, 0.0f, 1.0f };
1860 SubSplineT2 subSpline1 = { spline1, 0.0f, 1.0f };
1861
1862 return FindSubSplineIntersections(subSpline0, subSpline1, 0, maxResults, results, tolerance);
1863}
1864
1865namespace
1866{

Callers

nothing calls this directly

Calls 2

FindSplineIntersectionsFunction · 0.85

Tested by

no test coverage detected