Determines the minimum distance that exists between an error surface and any other feature: point, line, or polygon.
Syntax
05 GDL-NEAR-DISTANCE.
10 GDL-ND-HANDLE PIC S9(09) BINARY.
10 GDL-ND-SHAPE1 PIC S9(09) BINARY.
10 GDL-ND-SHAPE2 PIC S9(09) BINARY.
10 GDL-ND-DISTANCE PIC S9(09) BINARY.
*
CALL "GDLND"
USING GDL-NEAR-DISTANCE, GDL-RETURN-CODE.
Arguments
GDL-ND-HANDLE
The gdlHandle initialized by GDLINIT (GDL-INIT-HANDLE). Input.
GDL-ND-SHAPE1
The first shape. Input.
GDL-ND-SHAPE2
The second shape. Input.
GDL-ND-DISTANCE
The distance in feet. Output.
Return Values
GDL-OK | Success |
GDL-ERROR | An internal error occurred |
Prerequisites
GDLINIT
Alternates
None.
Notes
The following diagram illustrates the minimum distance that exists between an error surface and a line: