convertChildDetailToChainDetailSingle MethodStatic
Given a parent chain, convert the corresponding child detail in the specified pair.
- Converted details refer to the chain's global parameterization instead of the child's.
- It is assumed that
pair.detailA.curveis a child of chainA (similarly for chainB).
convertChildDetailToChainDetailSingle(pair: CurveLocationDetailPair, chainA?: CurveChainWithDistanceIndex, chainB?: CurveChainWithDistanceIndex): CurveLocationDetailPair
@returns the converted pair
| Parameter | Type | Description |
|---|---|---|
| pair | CurveLocationDetailPair | detail pair to convert in place |
| chainA | CurveChainWithDistanceIndex | convert pair.detailA to the global parameterization of chainA |
| chainB | CurveChainWithDistanceIndex | convert pair.detailB to the global parameterization of chainB |
Returns - CurveLocationDetailPair
the converted pair
Defined in
- curve/CurveChainWithDistanceIndex.ts Line 890
Last Updated: 29 April, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.