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: false, result?: CurveLocationDetail): CurveLocationDetail

Parameter Type Description
startFraction number  
signedDistance number  
allowExtension false  
result CurveLocationDetail  

Defined in

Last Updated: 08 January, 2020