Top  Previous  Next

This will check if a coordinate is valid.


If using degrees / radians / grads there are natural limits for valid values (-180 to 180, -90 to 90 etc).


For all coordinate units the coordinatewindow is used for checking that P is within a certain bounding box of the street network.

By setting CoordinateWindow < 0, this part of check is disabled.


Syntax: CheckCoordinate(P: TFloatPoint)