Lines Matching refs:last
402 /* First and last control points of the Bezier curve are positioned exactly at the first and
403 last data points. */
545 unsigned const last = len - 1;
547 assert( bezCurve[3] == d[last] );
549 assert( u[last] == 1.0 );
550 /* Otherwise, consider including 0 and last in the below loop. */
552 for (unsigned i = 1; i < last; i++) {
714 * Estimates the (backward) tangent at d[last - 0.5].
727 unsigned const last = len - 1;
728 unsigned const prev = last - 1;
729 assert( d[last] != d[prev] );
730 return unit_vector( d[prev] - d[last] );
766 * Estimates the (backward) tangent at d[last].
780 unsigned const last = len - 1;
781 for (unsigned i = last - 1;; i--) {
783 Point const t(pi - d[last]);
903 unsigned const last = len - 1;
905 assert( bezCurve[3] == d[last] );
907 assert( u[last] == 1.0 );
908 /* I.e. assert that the error for the first & last points is zero.
910 * The assertion is also necessary to ensure 0 < splitPoint < last.
917 for (unsigned i = 1; i <= last; i++) {
942 || ( ( *splitPoint < last )