chainDistanceToChainFraction Method
Convert distance along the chain to fraction along the chain.
chainDistanceToChainFraction(distance: number): number
Parameter | Type | Description |
---|---|---|
distance | number | distance along the chain. |
Returns - number
Defined in
- curve/CurveChainWithDistanceIndex.ts Line 516
Last Updated: 28 October, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.