Curve Closure Operator

Adds the first point to the end of a curve, effectively creating a closed loop.

Signatures

  • curve1 -><-

Details

Unary operators that attaches a straight line to the first point at the end of the curve, what results in a closed loop. A closed loop is required for certain functions like extrusion().

Example

 curve triangle = <[1.0, 1.0]> -> <[2.0, 1.0]> -> <[1.5, 2.0]> -><-
 make extrusion( triangle, <[0.0, 0.0, 1.0]> )
 

Parameters

curve1

A curve object, the operator returns a closed copy of.

Return value

A copy of the curve that got closed.

See also