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

8.16.5 Crust (Pure C)

C function: void mgl_crust (HMGL gr, const HMDT x, const HMDT y, const HMDT z, const char *sch, float er)

The function reconstruct and draws the surface for arbitrary placed points {x[i], y[i], z[i]}. Parameter er set relative radius for (increase it for removing holes). String sch sets the color scheme (see section Color scheme). Previous color scheme is used by default. If string contain ‘#’ then wire plot is produced. Arrays x, y, z must have equal sizes. See also Dots(), TriPlot(). See section Crust sample, for sample code and picture.

C function: void mgl_crust_tr (HMGL gr, const HMDT tr, const char *sch, float er)

The same as previous with x=tr(0,:), y=tr(1,:), z=tr(2,:).


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