chainDistanceToFragmentIndex MethodProtected

Resolve a fraction of the CurveChain to a PathFragment index

chainDistanceToFragmentIndex(distance: number, allowExtrapolation: boolean = false): undefined | number

Parameter Type Description
distance number  
allowExtrapolation boolean  

Returns - undefined | number

Defined in

Last Updated: 20 June, 2023