Finds the next polygon that contains the input point.
Syntax
05 GDL-POINT-IN-POLYGON-NEXT.
10 GDL-PIPN-HANDLE PIC S9(09) BINARY.
10 GDL-PIPN-POLYGON PIC S9(09) BINARY.
*
CALL "GDLPIPN"
USING GDL-POINT-IN-POLYGON-NEXT, GDL-RETURN-CODE.
Arguments
GDL-PIPN-HANDLE
The gdlFileHandle returned by GDLOSF (GDL-OSF- SPATIAL-HANDLE). Input.
GDL-PIPN-POLYGON
A pointer to the next polygon. Output.
Return Values
GDL-OK | Success |
GDL-ERROR | An internal error occurred |
GDL-NOT-FOUND | No more enclosing objects were found |
Prerequisites
GDLPIP
Alternates
None.
Notes
Call GDLSF on output polygon.