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

Method IsValidBspline

src/LNLib/Algorithm/ValidationUtils.cpp:28–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28bool LNLib::ValidationUtils::IsValidBspline(int degree, int knotVectorCount, int controlPointsCount)
29{
30 return (knotVectorCount - 1) == (controlPointsCount - 1) + degree + 1;
31}
32
33bool LNLib::ValidationUtils::IsValidNurbs(int degree, int knotVectorCount, int weightedControlPointsCount)
34{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected