Searched refs:ScalarBezCurve (Results 1 – 1 of 1) sorted by relevance
53 class ScalarBezCurve { class58 ScalarBezCurve() : fDegree(kDegreeInvalid) {} in ScalarBezCurve() function in __anondd06c43e0111::ScalarBezCurve61 explicit ScalarBezCurve(int degree) : fDegree(degree) { in ScalarBezCurve() function in __anondd06c43e0111::ScalarBezCurve67 ScalarBezCurve(int degree, const std::vector<float>& weights) : ScalarBezCurve(degree) { in ScalarBezCurve() function in __anondd06c43e0111::ScalarBezCurve90 static float Eval(const ScalarBezCurve& curve, float t) { in Eval()92 ScalarBezCurve result = curve; in Eval()105 void split(float t, ScalarBezCurve* left, ScalarBezCurve* right) const { in split()110 void split(float tmin, float tmax, ScalarBezCurve* result) const { in split()113 ScalarBezCurve ll, rl, rr; in split()119 static void Split(const ScalarBezCurve& curve, in Split()[all …]