SilverScreen Solid Modeler

prim_triangles_count

prim_triangles_count

Previous topic Next topic  

prim_triangles_count

Previous topic Next topic JavaScript is required for the print function  

 

SilverScreenAPI

 

USINT prim_triangles_count(SS_TRIANGLE_HANDLE th);

 

SS_TRIANGLE_HANDLE th; // A triangulation handle returned by prim_triangles_collect

 

 

 




Synopsis

#include "silver.h"

 

The prim_triangles_count function returns the number of triangles in the group associated with the triangulation handle.

 

 

Parameters

th is a triangulation handle returned by prim_triangles_collect

 

 

Return Value

prim_triangles_count returns the 1-based positive integer count if successful, or 0 otherwise.

 

 

See Also

prim_triangles_collect, prim_triangle_get, prim_triangles_release

 

 

Example

See prim_triangles_collect for an example