Curve Reversion Operator

Reverts the direction of a curve.

Signatures

  • - curve1

Details

Unary operator that inverts the direction of a curve.

Example

 curve c = <[1.0, 1.0]> -> <[2.0, 1.0]> -> <[1.5, 2.0]>
 echo( -c )
 

Output

 line((1.5,2,0),(2,1,0))->line((2,1,0),(1,1,0))
 

Parameters

curve1

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

Return value

A reversed copy of curve1 .

See also