Method Detail

getDistances

Returns the parameter distance computed by
getParamForPoint(p).
The output will contain only one distance, unless the curve is not simple. If there is more
than one direct position on the generic
curve at the same minimal distance from the passed "p", the return value may
be an arbitrary choice of one of the possible answers.