ArrayOfIntfcTris

Return an array of triangles in the interface.

Synopsis

#include "FronTier.h" 

void ArrayOfIntfcTris(INTERFACE *intfc,float *coords,int *vertex_indices);

Input Parameters

INTERFACE *intfc- pointer to operating interface

Output Parameters

float *coords- array of vertex coordinates as an array
int *vertex_indices- array of vertex indices of each triangle

Notes

usage (2D and 3D): INTERFACE *intfc; float *coords; int *vertex_indices; ...... /* memory of coords must have be allocated */ ArrayOfIntfcTris(intfc,coords,vertex_indices);

Examples

Example3 output_0 output_plt