Finds the next nearest feature; called after successful gdlFindNearest.
Syntax
intl gdlFindNext( gdlFileHandle hFile, gdlShape* output, intl type );
Arguments
hFile
The gdlFileHandle returned by gdlOpenSpatialFile. Input.
output
A pointer to the next nearest gdlShape object. Output.
type
The type of shape to find. Input.
Type options:
GDL Shape Types |
---|
GDL_POINT |
GDL_LINE |
Return values
GDL_NOT_FOUND
GDL_ERROR
GDL_OK
Prerequisites
gdlFindNearest
Alternates
None.
Notes
Following instances of this function, you should call gdlShapeFree with the output shape when you are finished using the output shape to release system resources.