updateIfCloserCurveFractionPointDistance Method

update or create if closer than current contents.

updateIfCloserCurveFractionPointDistance(curve: CurvePrimitive, fraction: number, point: Point3d, a: number): boolean

Parameter Type Description
curve CurvePrimitive candidate curve
fraction number candidate fraction
point Point3d candidate point
a number candidate distance

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

Defined in

Last Updated: 08 January, 2020