createCzechCubic MethodStatic

Create a czech cubic. This is y= m*x^3 with

  • x any point on the x axis
  • fraction along the spiral goes to x = fraction * L
  • m is gamma / (6RL)
    • 1/(6RL) is the leading term of the sine series.
    • gamma = 2R/sqrt (4RR-LL) pushes y up a little bit to simulate the lost series terms.

createCzechCubic(localToWorld: Transform, nominalLx: number, nominalR1: number, activeInterval?: Segment1d): undefined | DirectSpiral3d

Parameter Type Description
localToWorld Transform  
nominalLx number nominal length along x axis
nominalR1 number  
activeInterval Segment1d  

Returns - undefined | DirectSpiral3d

Defined in

Last Updated: 12 June, 2024