Break up chain and wire portions of a mooring into smaller
chunks, so that the deformation by a current can be traced more
accurately by knockdown().
segmentize(m, by = 1, debug = 0)a mooring object, created by mooring().
numeric value giving the rough size of the chunks,
which is 1m by default. This is considered in the context of
the total length of the element, L say. If L/by exceeds
20, then chunks of length by are used. Otherwise,
20 chunks, each of length L/20, are used.
an integer value (or a numeric that can be converted to an integer) that controls debugging. If this is positive, then some debugging information may be printed by the function.
segmentize returns a "mooring" object, based
on m except that wire portions are chopped up into shorter
pieces.