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