PolygonRingDistanceTo Method | |
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Gets the shortest distance from the given location to the edge of this Ring. If
the given location is inside this Ring, the distance returned will be zero.
Namespace:
Telogis.GeoBase.Geometry
Assembly:
geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax public double DistanceTo(
LatLon loc,
DistanceUnit units
)
Public Function DistanceTo (
loc As LatLon,
units As DistanceUnit
) As Double
Parameters
- loc
- Type: Telogis.GeoBaseLatLon
Location. - units
- Type: Telogis.GeoBaseDistanceUnit
Units to return the distance in.
Return Value
Type:
DoubleShortest distance from
loc to the edge of this Ring measured
in
units, or zero if
loc is inside this Ring.
See Also