Determines the distance between the farthest point of the error surface and the nearest point of the feature (point, line, or polygon).
Syntax
05 GDL-FAR-DISTANCE.
10 GDL-FD-HANDLE PIC S9(09) BINARY.
10 GDL-FD-SHAPE1 PIC S9(09) BINARY.
10 GDL-FD-SHAPE2 PIC S9(09) BINARY.
10 GDL-FD-DISTANCE PIC S9(09) BINARY.
*
CALL "GDLFD"
USING GDL-FAR-DISTANCE GDL-RETURN-CODE.
Arguments
GDL-FD-HANDLE
The gdlHandle initialized by GDLINIT (GDL-INIT-HANDLE). Input.
GDL-FD-SHAPE1
The first shape. GDL-GES-SURFACE from GDLGES. Input.
GDL-FD-SHAPE2
The second shape. Input.
GDL-FD-DISTANCE
The distance in feet. Output.
Return Values
GDL-OK | Success |
GDL-ERROR | GDL-FD-SHAPEX is not a valid object |
Prerequisites
GDLINIT
Alternates
GDLND - Use to determine the minimum distance between an error surface and any other feature.
Notes
The following diagram illustrates the distance between the farthest point of the error surface and the nearest point of a line: