closestTangent Method

Return the point P on the contained curves such that the line containing spacePoint and P is tangent to the contained curves 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: 07 June, 2025