NAME
DtPointGetTextureIndex - Gets the list of point texture
indices for all the points in the given shape and group IDs.
SYNOPSIS
#include <Dt.h>
int DtPointGetTextureIndex( int shapeID, int groupID, int *count, long **indices);
DESCRIPTION
DtPointGetTextureIndex() returns a list of point texture
vertex indices via the pointer to the variable indices given
the shape number, shapeID, and group number, groupID. The
total number of indices (the length of the indices array) is
returned via the pointer to the count parameter. Each point
list is terminated by DtEND_OF_FACE (-1). For example, if
the first group (groupID = 0) of the first shape (shapeID =
0) has 10 points, the format of the texture index array will
be:
1 2 3 4 -1
were indices 1, 2, 3 and 4 are the point texture indices and
-1 is the list terminator. The parameter count will be set
to 5.
If no points or texture vertices exist the indices array
will be set to NULL. The indices array is an internal
buffer. Do not free or modify the index array.
IMPLEMENTATION
The AliasAPI implementation of Dt does not support points.
No point geometry will be returned by this function.
DIAGNOSTICS
DtPointGetTextureIndex() returns one on success and zero on
failure.
FILES
Link with -lDtOMio