VECNextShape()

  VECNextShape

Description

VECNextShape() is used to visit all entities in a vector layer in a manner analogous to the DBNextSeg() function.

Call Signature

int VECNextShape ( int/string filespec, int segment_num, int last_shape )

Return Value

int

The shape id of the next shape after the shape passed in or -1 when there are no more entities.

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 last_shape:

The shape preceding the one to be returned. If this is -1, then the first shape will be returned.

See also

GDB file functions

GDB vector file functions

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