POLY_COUNT Function
Returns the total number of polygons contained in a polygon list.
Usage
result = POLY_COUNT(polygon_list)
Input Parameters
polygon_list — An array containing a list of polygons. For more information, see the PV‑WAVE User’s Guide.
Returned Value
result — The total number of polygons contained in the specified polygon list.
Keywords
None.
Discussion
The value returned by POLY_COUNT is suitable for input as the pg_num parameter used in the POLY_PLOT procedure.
Example
See the "Example" section in the description of the POLY_C_CONV routine.
For another example, see the sphere_demo3 demonstration program in:
(UNIX) <wavedir>/demo/arl
(WIN) <wavedir>\demo\arl
Where <wavedir> is the main PV-WAVE directory.
See Also