Click or drag to resize

MathUtilDistToUnits Method

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Convert from radians to a given Unit.

Namespace:  Telogis.GeoBase
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public static double DistToUnits(
	double radians_distance,
	DistanceUnit units
)

Parameters

radians_distance
Type: SystemDouble
The distance in radians.
units
Type: Telogis.GeoBaseDistanceUnit
The unit type to convert distance to.

Return Value

Type: Double
Distance in the given unit.
Examples
To convert 1.337 radians to kilometers:
C#
double kmDist = DistToUnits(1.337, KILOMETERS);
See Also