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

Method IsValidKnotVector

src/LNLib/Algorithm/ValidationUtils.cpp:23–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23bool LNLib::ValidationUtils::IsValidKnotVector(const std::vector<double>& knotVector)
24{
25 return std::is_sorted(knotVector.begin(), knotVector.end());
26}
27
28bool LNLib::ValidationUtils::IsValidBspline(int degree, int knotVectorCount, int controlPointsCount)
29{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected