updateClosestPointByTruePerpendicular Method

Find the closest point within the bezier span, using true perpendicular test (but no endpoint test)

  • If closer than previously recorded, update the CurveLocationDetail
  • This assumes this bezier is saturated.

updateClosestPointByTruePerpendicular(spacePoint: Point3d, detail: CurveLocationDetail): boolean

Parameter Type Description
spacePoint Point3d point being projected
detail CurveLocationDetail pre-allocated detail to record (evolving) closest point.

Returns - boolean

true if an updated occurred, false if either (a) no perpendicular projections or (b) perpendiculars were not closer.

Defined in

Last Updated: 12 June, 2024