OCCCurve.parameter_at_distance

OCCCurve.parameter_at_distance(t, distance, precision=0.1)

Compute the parameter of a point on the curve at a given distance along the curve from a point at a given parameter.

Parameters:
tfloat

The parameter of the starting point.

distancefloat

The distance along the curve from the point at the given parameter.

precisionfloat, optional

The required precision of the result.

Returns:
float

The new parameter.