VECGetVertices()

  VECGetVertices

Description

VECGetVertices() is used to retrieve a list of vertices from a shape in a vector layer.

Call Signature

Vertex ptr VECGetVertices ( int/string filespec, int segment_num, int shape )

Return Value

Vertex ptr

The vertices are returned as a pointer to a list of Vertex structures.

Arguments

int/string filespec:

This can either be the handle returned by DBOpen(), or the name of an open file.

int segment_num:

The vector layer (segment) number being accessed.

int shape:

The shapeid for which the vertices are to be fetched.

Remarks

Note that the Vertex list returned must be freed with EFree() when the application is done with it. The number of points in the returned Vertex list can be determined using the F$LEN() intrinsic function. The Vertex structure contains three fields named X, Y and Z.

See also

GDB file functions

GDB vector file functions

VECSetVertices()

Vertex

© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.