sphgnp(3L)
sphgnp - return the number of polygons for the current set of sphere attributes.
As shipped in IRIX 6.5.5. Unchanged since IRIX 6.5.
NAME sphgnp - return the number of polygons for the current set of sphere attributes. FORTRAN 77 SPECIFICATION #include <gl/fsphere.h> integer*4 function sphgnp() PARAMETERS none FUNCTION RETURN VALUE The return value is the number of polygons in current sphere. DESCRIPTION sphgnp returns the number of polygons: triangles, quads, meshed-tris, or stripped-quads, in the current sphere for the set of sphere attributes currently selected by calls to sphmod. If the current primitive is not SPHPOL or SPHMSH, then the number returned is that which corresponds to the primitve SPHPOL. SEE ALSO libsphere, sphdra, sphfre, sphmod, sphobj, sphrma