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: Readonly<WritableXYAndZ>, fraction: number, pt2: Readonly<WritableXYAndZ>, tangentScale: number, result?: Ray3d): Ray3d
| Parameter | Type | Description |
|---|---|---|
| pt1 | Readonly<WritableXYAndZ> | start point of the interpolation. |
| fraction | number | fractional position between points. |
| pt2 | Readonly<WritableXYAndZ> | end point of the interpolation. |
| tangentScale | number | scale factor to apply to the startToEnd vector. |
| result | Ray3d | optional receiver. |
Returns - Ray3d
Defined in
- geometry3d/Ray3d.ts Line 517
Last Updated: 24 October, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.