Function gaiaDynamicLineSplitBefore

Source
pub unsafe extern "C" fn gaiaDynamicLineSplitBefore(
    org: gaiaDynamicLinePtr,
    point: gaiaPointPtr,
) -> gaiaDynamicLinePtr
Expand description

Cuts a dynamically growing line/ring in two halves, using a given cut point

\param org pointer to the input object [the line to be split]. \param point pointer to given cut point.

\return the pointer to newly created dynamic growing line/ring object: NULL on failure.

\sa gaiaDynamicLineSplitAfter

\note the newly created object will contain a line going from the orginal first point to the cut point [excluded]. \n on completion the orginal line will be reduced, going from the cut point [included] to the original last point.