gdlShapeGetCoords - 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
Topic type
Reference
Copyright
2024
First publish date
1994
ft:lastEdition
2024-05-09
ft:lastPublication
2024-05-09T00:55:21.277227

Returns the coordinates with which a shape of a given type is created.

Syntax

intl gdlShapeGetCoords( gdlHandle hGdl, gdlShape shape, intl* type, double* x, double* y, intl* pointsPerPart, intl partCount, intl maxPoints, intl maxParts );

Arguments

hGdl

The gdlHandle initialized by gdlInitialize. Input.

shape

The shape from which to get coordinates. Input.

type

The type of shape being sought. Output.

GDL Shape Types
GDL_POINT
GDL_LINE
GDL_POLYGON

x

An array of x coordinates in decimal degrees. Output.

y

An array of y coordinates in decimal degrees. Output.

pointsPerPart

An array of long integers indicating the number of points in each part. Output.

partCount

The number of parts. Output.

maxPoints

The maximum number of points that fit into the x and y arrays above. Input.

maxParts

The maximum number of parts that fit into the pointsPerPart array above. Input.

Return values

GDL_NOT_LICENSED

GDL_ERROR

GDL_OK

Prerequisites

None.

Alternates

None.