Example #1
0
FitVector computeRightTangent(QPolygonF &points,int end)
{
    FitVector tHat1(points[end-1],points[end]);
    tHat1.normalize();

    return tHat1;
}
Example #2
0
FitVector ComputeLeftTangent(const QList<QPointF> &points,int end){
	FitVector tHat1( points.at(end+1), points.at(end) );

	tHat1.normalize();

	return tHat1;
}
Example #3
0
FitVector computeLeftTangent(QPolygonF &points, int end)
{
    FitVector tHat1((points[end+1]), (points[end]));
    tHat1.normalize();

    return tHat1;
}