updateIfCloserCurveFractionPointDistance Method

Update or create if closer than current contents.

updateIfCloserCurveFractionPointDistance(curve: CurvePrimitive, fraction: number, point: Readonly<WritableXYAndZ>, a: number): boolean

@returns true if the given distance is smaller (and hence this detail was updated)

Parameter Type Description
curve CurvePrimitive candidate curve
fraction number candidate fraction
point Readonly<WritableXYAndZ> candidate point
a number candidate distance

Returns - boolean

true if the given distance is smaller (and hence this detail was updated)

Defined in

Last Updated: 08 October, 2025