moveSignedDistanceFromFraction Method

  • Implementation of CurvePrimitive.moveSignedDistanceFromFraction. (see comments there!)
  • Find the segment that contains the start fraction
  • Move point-by-point from that position to the start or end (respectively for negative or positive signedDistance)
  • Optionally extrapolate

moveSignedDistanceFromFraction(startFraction: number, signedDistance: number, allowExtension: undefined, result?: CurveLocationDetail): CurveLocationDetail

Parameter Type Description
startFraction number  
signedDistance number  
allowExtension undefined  
result CurveLocationDetail  

Returns - CurveLocationDetail

Defined in

Last Updated: 12 June, 2024