|  | ||
| 
 | 
 BOOLEAN prim_triangle_get(SS_TRIANGLE_HANDLE th, USINT index, SS_TRIANGLE_INFO *ti); 
 SS_TRIANGLE_HANDLE th; // A triangulation handle returned by prim_triangles_collect USINT index; // An unsigned integer value SS_TRIANGLE_INFO *ti; // A pointer to an SS_TRIANGLE_INFO structure 
 | 
 | 
| Synopsis | #include "silver.h" 
 The prim_triangle_get function retrieves the information associated with a triangulation by an index number. It is used in conjunction with prim_triangles_collect. 
 | 
 | 
| Parameters | th is a triangulation handle that must have been returned by a call to prim_triangles_collect 
 index is a positive integer representing a triangulation index that should be between 1 and the value retrieved by prim_triangles_count. 
 ti is a pointer to an SS_TRIANGLE_INFO structure that will receive information about the triangle corresponding to index. 
 | 
 | 
| Return Value | prim_triangle_get returns TRUE if the handle and index are valid, and FALSE otherwise 
 | 
 | 
| See Also | prim_triangles_collect, prim_triangles_count 
 | 
 | 
| Example | See prim_triangles_collect for an example | 
 |