closestTangent Method

Return the point P on the curve such that the line containing spacePoint and P is tangent to the curve in the view defined by options.vectorToEye, and P is closest to options.hintPoint in this view.

closestTangent(spacePoint: Point3d, options?: TangentOptions): undefined | CurveLocationDetail

@returns the detail of the closest tangent point or undefined if no tangent was found.

Parameter Type Description
spacePoint Point3d point in space.
options TangentOptions (optional) options for computing tangents. See TangentOptions for defaults.

Returns - undefined | CurveLocationDetail

the detail of the closest tangent point or undefined if no tangent was found.

Defined in

Last Updated: 26 April, 2025