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

3.1.10 Other settings

Method on mglGraph (C++, Python): void SetMeshNum (int val)
C function: void mgl_set_meshnum (HMGL gr, int num)

Sets approximate number of lines in Mesh(), Fall(), Grid() and also the number of hachures in Vect(), VectC(), Dew() and the number of cells in Cloud*(). By default (=0) it draws all lines/hachures/cells.

Method on mglGraph (C++, Python): void SetAxialDir (char val)
C function: mgl_set_axial_dir (HMGL gr, char dir)

Sets direction around which curve rotated in Axial() and Torus(). Default value is ’z’.

Method on mglGraph (C++, Python): void SetDrawFace (bool val)
C function: void mgl_set_draw_face (HMGL gr, int val)

Enable/disable faces drawing. It is useful for speeding up drawing (for example, during rotation and so on).

General option (C++) of mglGraph: const char * PlotId

Id of plot for saving filename (in GLUT window for example).

Obsolete option of mglGraph: int MeshNum

Sets approximate number of lines/hachures/cells. See SetMeshNum().

Obsolete option of mglGraph: char AxialDir

Set rotation direction. See SetAxialDir().

Obsolete option of mglGraph: bool DrawFace

Flag for preventing faces drawing. See SetDrawFace().

General option (C++) of mglGraph: int CirclePnts

Number of points used for a circle approximation (for example, in Primitives drawing, Tube, Pipe and so on). Default value is 40.

General option (C++) of mglGraph: int GridPnts

Number of points used for grid lines drawing (it is important for curved coordinates). Default value is 50.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]
© manpagez.com 2000-2024
Individual documents may contain additional copyright information.