manpagez: man pages & more
info mathgl
Home | html | info | man
[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

8.3.6 Cutting (Pure C)

These functions set the condition when the points are excluded (cutted) from the drawing.

C function: void mgl_set_cut (HMGL gr, int val)

Determines how points outside bounding box are drawn. If it is true then points are excluded from plot (it is default) otherwise the points are projected to edges of bounding box.

C function: void mgl_set_cut_box (HMGL gr, float x1, float y1, float z1, float x2, float y2, float z2)

Lower and upper edge of the box in which never points are drawn. If both edges are the same (the variables are equal) then the cutting box is empty. See section CutMinMax sample, for sample code and picture.

C function: void mgl_set_cutoff (HMGL gr, const char *EqC)

Function set the cutting off condition by formula EqC. This condition determine will point be plotted or not. If value of formula is nonzero then point is omitted, otherwise it plotted. Set argument as NULL to disable cutting off condition. See section CutOff sample, for sample code and picture.


© manpagez.com 2000-2026
Individual documents may contain additional copyright information.