closestPointXY Method
Return the closest point on the contained curves as viewed in the xy-plane (ignoring z).
closestPointXY(spacePoint: Point3d, extend: VariantCurveExtendParameter = false, result?: CurveLocationDetail): undefined | CurveLocationDetail
@returns details of the closest point.
| Parameter | Type | Description |
|---|---|---|
| spacePoint | Point3d | point in space. |
| extend | VariantCurveExtendParameter | (optional) extend applicable only to Path and BagOfCurves. Default value false. |
| result | CurveLocationDetail | (optional) pre-allocated detail to populate and return. |
Returns - undefined | CurveLocationDetail
details of the closest point.
Defined in
- curve/CurveCollection.ts Line 122
Last Updated: 06 March, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.