13 #ifndef __UT_FitCubic_H__
14 #define __UT_FitCubic_H__
58 bool preserveExtrema);
67 {
return myContainsCurve; }
70 { myCurveType =
type; }
83 void destroySolution();
86 Span *appendCurve(
CubicCurve fcurve,
int islinear);
90 Span **
head, Span **tail,
95 Span **
head, Span **tail,
114 bool preserveExtrema);
119 T *chordLengthParameterize(
Vector2 *d,
int f,
int l);
132 int isSeamCorner(
Vector2 *d,
int last);
140 return (tmp * tmp * tmp);
146 return (3.0F * u * (tmp * tmp));
152 return (3.0F * u * u * tmp);
UT_StringArray JOINTS head
void setCurveType(utCurveType type)
UT_FitCubicT< float > UT_FitCubic
UT_FitCubicT< fpreal32 > UT_FitCubicF
const Span * getFirstSpan() const
static Vector2 calcCubic(Vector2 *V, fpreal t)
UT_FitCubicT< fpreal > UT_FitCubicR
int fitCurve(Vector2 *d, int nPts, int closed, fpreal error2, bool preserveExtrema)
UT_FitCubicT< fpreal64 > UT_FitCubicD
void setType(utFitType type)