C# Class PocketCampus.Common.GeoPosition

A position on Earth (not including altitude), and an optional heading.
Afficher le fichier Open project: accandme/pocketcampus Class Usage Examples

Méthodes publiques

Méthode Description
DistanceTo ( GeoPosition other ) : double

Computes the distance to another GeoPosition.

GeoPosition ( double latitude, double longitude, double heading = null ) : System

Creates a new GeoPosition.

Method Details

DistanceTo() public méthode

Computes the distance to another GeoPosition.
public DistanceTo ( GeoPosition other ) : double
other GeoPosition
Résultat double

GeoPosition() public méthode

Creates a new GeoPosition.
public GeoPosition ( double latitude, double longitude, double heading = null ) : System
latitude double
longitude double
heading double
Résultat System