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: 30 November, 2023