MathExtensions Class

Extension functions for math types

Definition

Namespace: MobileTrack.Common.Extensions
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
public static class MathExtensions
Inheritance
Object    MathExtensions

Methods

CalculateErrorInMeters Calculates the error (in meters) of a GPS location based on the signal strength, satellite count and HDOP.
Distance Calculates the distance between two GeoLocation objects using the Haversine formula in meters.
LunhAlgorithm The Lunh algorithm is used a simple check digit formula to validate a variety of identification numbers. We use it for ImeiNumbers and SimCardNumbers.
ToRadians(Double) Converts a value from degrees to radians
ToRadians(Int32) Converts a value from degrees to radians

See Also