**Name**

**fkcrop** Crop Fcurves with a rectangular box

**Command Synopsis**

**fkcrop** [-b *box*] *x1* *y1* *x2* *y2* *in* *out*

-bbox: store the rectangular box as a Fcurve

x1: first corner (x coordinate)

y1: first corner (y coordinate)

x2: opposite corner (x coordinate)

y2: opposite corner (y coordinate)

in: input (Fcurves)

out: output (Fcurves)

**Function Summary**

Fcurves fkcrop (X1 , Y1 , X2 , Y2 , cs , box )

float X1 , Y1 , X2 , Y2 ;

Fcurves cs ;

Fcurve box ;

**Description**

This modules crops a set of Fcurves with a rectangular box. All connected
components of the intersection of the box with the input curves are
stored in a Fcurves structure (which may be NULL).
The intersection points at the border
of the box are not computed: only the points of the
input curves lying inside the box are kept.
The `-b`

option produces an additional Fcurve that represents
the croping box given as an input to the module.

**Version 1.1**

Last Modification date : Thu Nov 29 20:23:56 2001

**Author**

Lionel Moisan