MathUtilClosestPoint Method | |
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Calculates the closest point on the line AB to the point given.
Namespace:
Telogis.GeoBase
Assembly:
geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax public static LatLon ClosestPoint(
LatLon query,
LatLon A,
LatLon B
)
Public Shared Function ClosestPoint (
query As LatLon,
A As LatLon,
B As LatLon
) As LatLon
Parameters
- query
- Type: Telogis.GeoBaseLatLon
The point to find the closest point to. - A
- Type: Telogis.GeoBaseLatLon
The point at the beginning of the line. - B
- Type: Telogis.GeoBaseLatLon
The point at the end of the line.
Return Value
Type:
LatLonThe point between A and B that is closest to
query.
Remarks See Also