interpolateCurvatureR0R1 MethodStatic
Given two radii (or zeros for 0 curvature) return the curvature at the given fraction.
interpolateCurvatureR0R1(r0: number, fraction: number, r1: number): number
| Parameter | Type | Description |
|---|---|---|
| r0 | number | start radius, or 0 for line. |
| fraction | number | fractional position between the curvatures defined by r0 and r1. |
| r1 | number | end radius, or 0 for line. |
Returns - number
Defined in
- curve/spiral/TransitionSpiral3d.ts Line 160
Last Updated: 28 October, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.