NAME
DtPointGetNormalIndex - Gets the list of point normal
indices for all the points in the given shape and group IDs.
SYNOPSIS
#include <Dt.h>
int DtPointGetNormalIndex( int shapeID, int groupID, int *count, long **indices);
DESCRIPTION
DtPointGetNormalIndex() returns a list of point normal
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 normal index array will
be:
1 2 3 4 -1
were indices 1, 2, 3 and 4 are the point normal indices and
-1 is the list terminator. The parameter count will be set
to 5.
If no points or normals 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
DtPointGetNormalIndex() returns one on success and zero on
failure.
FILES
Link with -lDtOMio