NAME
DtGroupGetVertex - Get a vertex for the given group and
vertex number.
SYNOPSIS
#include <Dt.h>
int DtGroupGetVertex( int shapeID, int groupID, int index, DtVec3f *vertex )
DESCRIPTION
DtGroupGetVertex() returns a vertex for the group indicated
by the given shapeID, groupID and index. The vertex is
returned via the pointer to the vertex parameter. C
programmers can access the components of the vertex vector
as though it were a simple structure as follows:
typedef struct DtVec3f { float vec[3];};
DtVec3f vert;
x = vert.vec[0];
y = vert.vec[1];
z = vert.vec[2];
DIAGNOSTICS
DtGroupGetVertex() returns one on success and zero on
failure.
FILES
Link with -lDtOMio