gdlFindPolygonOverlap - geographicdeterminationlibrary - 2024.00

Geographic Determination Library Reference for Windows and z/OS

Product type
Software
Portfolio
Locate
Product family
GeoStan Geocoding Suite
Product
GeoStan Geocoding Suite > Geographic Determination Library
Version
2024.00
Language
English
Product name
GeoStan Geocoding Suite
Title
Geographic Determination Library Reference for Windows and z/OS
Copyright
2024
First publish date
1994
Last updated
2024-05-09
Published on
2024-05-09T00:55:21.277227

Determines if a binary polygon overlap has occurred and, if so, returns the polygon that is in overlap with the input polygon.

Syntax

intl gdlFindPolygonOverlap( gdlFileHandle hFile, gdlShape polygon, gdlShape* output );

Arguments

hFile

The gdlFileHandle returned by gdlOpenSpatialFile. Input.

polygon

The polygon with which to determine overlap. Input

output

A pointer to the overlapping polygon. Output.

Return values

GDL_WRONG_TYPE

GDL_NOT_FOUND

GDL_ERROR

GDL_OK

Prerequisites

gdlOpenSpatialFile

Alternates

gdlFindPolygonOverlapPercentage

gdlGenerateErrorSurface

Notes

Following instances of this function, you should call gdlShapeFree with the output polygon when you are finished using the output polygon to release system resources.

The following diagram illustrates a polygon that is in overlap with an input polygon: