MCPcopy Create free account
hub / github.com/BIMCoderLiang/LNLib / IsValidBezier

Method IsValidBezier

src/LNLib/Algorithm/ValidationUtils.cpp:18–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16
17
18bool LNLib::ValidationUtils::IsValidBezier(int degree, int controlPointsCount)
19{
20 return controlPointsCount == degree + 1;
21}
22
23bool LNLib::ValidationUtils::IsValidKnotVector(const std::vector<double>& knotVector)
24{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected