API Reference > geometry-core > Curve > CurveChainWithDistanceIndex > closestPoint closestPoint Method Search for the curve point that is closest to the spacePoint. The CurveChainWithDistanceIndex invokes the base class CurvePrimitive method, which (via a handler) determines a CurveLocation detail among the children. The returned detail directly identifies fractional position along the CurveChainWithDistanceIndex, and has pointer to an additional detail for the child curve. closestPoint(spacePoint: Point3d, extend: VariantCurveExtendParameter): CurveLocationDetail | undefined Parameter Type Description spacePoint Point3d point in space extend VariantCurveExtendParameter true to extend the curve (NOT USED) Returns - CurveLocationDetail | undefined Returns a CurveLocationDetail structure that holds the details of the close point. Defined in core/geometry/src/curve/CurveChainWithDistanceIndex.ts Line 528 Last Updated: 13 June, 2024