Click or drag to resize

PolygonRingDistanceTo Method

Verizon Connect Logo
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
)

Parameters

loc
Type: Telogis.GeoBaseLatLon
Location.
units
Type: Telogis.GeoBaseDistanceUnit
Units to return the distance in.

Return Value

Type: Double
Shortest distance from loc to the edge of this Ring measured in units, or zero if loc is inside this Ring.
See Also