[][src]Function flo_curves::bezier::move_point

pub fn move_point<P: Coordinate, CurveIn: BezierCurve<Point = P>, CurveOut: BezierCurveFactory<Point = P>>(
    curve: &CurveIn,
    t: f64,
    offset: &P
) -> CurveOut

Moves the point at 't' on the curve by the offset vector

This recomputes the control points such that the point at t on the original curve is moved by the vector specified by offset.