NAME
DtShapeGetVertex - Get a vertex for the given shape and
vertex number.
SYNOPSIS
#include <Dt.h>
int DtShapeGetVertex( int shapeID, int index, DtVec3f *vertex )
DESCRIPTION
DtShapeGetVertex() returns a vertex for the shape indicated
by the given shapeID 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
DtShapeGetVertex() returns one on success and zero on
failure.
FILES
Link with -lDtOMio