MCPcopy Create free account
hub / github.com/davideberly/GeometricTools / BasisFunction

Method BasisFunction

GTE/Mathematics/BasisFunction.h:128–139  ·  view source on GitHub ↗

Construction and destruction. The determination that the curve is open or floating is based on the multiplicities. The 'uniform' input is used to avoid misclassifications due to floating-point rounding errors. Specifically, the breakpoints might be equally spaced (uniform) as real numbers, but the floating-point representations can have rounding errors that cause the knot differences not to be

Source from the content-addressed store, hash-verified

126 // can have uniform or nonuniform knots. This object makes copies of
127 // the input arrays.
128 BasisFunction()
129 :
130 mNumControls(0),
131 mDegree(0),
132 mTMin((Real)0),
133 mTMax((Real)0),
134 mTLength((Real)0),
135 mOpen(false),
136 mUniform(false),
137 mPeriodic(false)
138 {
139 }
140
141 BasisFunction(BasisFunctionInput<Real> const& input)
142 :

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected