PolygonRingQuickDistanceTo 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 using
a Pythagorean approximation. 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 QuickDistanceTo(
LatLon loc,
DistanceUnit units
)
Public Function QuickDistanceTo (
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