inverseInterpolate01 MethodStatic
For a line f(x)
where f(0) = f0
and f(1) = f1
, return the x
value at which f(x) = fTarget
Return undefined
if (fTarget - f0) / (f1 - f0)
exceeds largeFractionResult.
inverseInterpolate01(f0: number, f1: number, fTarget: number0): undefined | number
Parameter | Type | Description |
---|---|---|
f0 | number | |
f1 | number | |
fTarget | number |
Returns - undefined | number
Defined in
- Geometry.ts Line 1105
Last Updated: 21 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.