interpolatePointAndTangent MethodStatic

Return a ray with ray.origin interpolated between pt1 and pt2 at the given fraction and ray.direction set to the vector from pt1 to pt2 multiplied by the given tangentScale.

interpolatePointAndTangent(pt1: XYAndZ, fraction: number, pt2: XYAndZ, tangentScale: number, result?: Ray3d): Ray3d

Parameter Type Description
pt1 XYAndZ start point of the interpolation.
fraction number fractional position between points.
pt2 XYAndZ end point of the interpolation.
tangentScale number scale factor to apply to the startToEnd vector.
result Ray3d optional receiver.

Returns - Ray3d

Defined in

Last Updated: 28 April, 2026