Sinusoidal
A Sinusoidal curve replaces an original straight polygon segment by a sinusoidal
deflection. It is an alternative to Spline and Arc;
exactly one of the three definitions is selected for each CurvedSegment. Its
endpoints remain the original polygon vertices.
For a selected segment from
to
with length
, unit tangent
, and right-hand unit normal
, the curve is

where
is Amplitude and
is
HalfPeriods. Since
is a positive integer, the deflection is zero at
both endpoints, so the curve meets the neighbouring polygon segments exactly.
The normal follows the orientation of the selected segment. For the counter-clockwise boundaries of a polygon, a positive amplitude points outwards. A sinusoidal curve can only replace an original straight segment.