API Reference > geometry-core > Curve > CurveLocationDetail > updateIfCloserCurveFractionPointDistance 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 - boolean true if the given distance is smaller (and hence this detail was updated.) Defined in core/geometry/src/curve/CurveLocationDetail.ts Line 349 Last Updated: 13 June, 2024