LineStringQuickDistanceTo Method | |
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Calculates the distance (in degrees) from the given point to this LineString.
Namespace:
Telogis.GeoBase.Geometry
Assembly:
geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax public double QuickDistanceTo(
LatLon point,
out int segment
)
Public Function QuickDistanceTo (
point As LatLon,
<OutAttribute> ByRef segment As Integer
) As Double
Parameters
- point
- Type: Telogis.GeoBaseLatLon
The given point, as a LatLon - segment
- Type: SystemInt32
The zero-based index representing the segment of the LineString that
is nearest to point
Return Value
Type:
DoubleDistance in degrees
Remarks
This distance is calculated using the (longer) straight-line distance. To find the true
shortest distance use the
DistanceTo(LatLon) method.
See Also