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 534
Last Updated: 21 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.