NAME
DtPolygonGetIndices - Get the polygon indices for the given
polygon number.
SYNOPSIS
#include <Dt.h>
int DtPolygonGetIndices( int index, int *vCount, long **vIdx, long **nIdx, long **tIdx)
DESCRIPTION
DtPolygonGetIndices() returns a list of vertex, normal and
texture vertex indices via the read-only pointers to the
variables vIdx, nIdx and tIdx for the polygon indicated by
index. The number of indicies in the polygon is return via
the pointer to the vCount parameter. The index arrays are
internal buffer. Do not free or modify the index arrays.
This routine must be executed after the DtPolygonGetCount
routine. DtPolygonGetCount() sets up the proper pointers for
the index arrays for the desired shape id and group id
polygon list (see DtPolygonGetCount(3W)).
DIAGNOSTICS
DtPolygonGetIndices() returns one on success and zero on
failure.
SEE ALSO
DtPolygonGetCount(3W)
FILES
Link with -lDtOMio