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

Method IsValidNurbs

src/LNLib/Algorithm/ValidationUtils.cpp:33–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33bool LNLib::ValidationUtils::IsValidNurbs(int degree, int knotVectorCount, int weightedControlPointsCount)
34{
35 return (knotVectorCount - 1) == (weightedControlPointsCount - 1) + degree + 1;
36}
37
38bool LNLib::ValidationUtils::IsValidDegreeReduction(int degree)
39{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected