C# Class kOS.GeoCoordinates

Inheritance: Structure
Show file Open project: Nivekk/KOS Class Usage Examples

Public Properties

Property Type Description
Body CelestialBody
Lat double
Lng double
Vessel Vessel

Public Methods

Method Description
DistanceFrom ( Vessel Vessel ) : double
GeoCoordinates ( Vessel vessel ) : System
GeoCoordinates ( Vessel vessel, double lat, double lng ) : System
GeoCoordinates ( Vessel vessel, float lat, float lng ) : System
GetBearing ( Vessel vessel ) : float
GetHeadingFromVessel ( Vessel vessel ) : float
GetSuffix ( string suffixName ) : object
ToString ( ) : string

Method Details

DistanceFrom() public method

public DistanceFrom ( Vessel Vessel ) : double
Vessel Vessel
return double

GeoCoordinates() public method

public GeoCoordinates ( Vessel vessel ) : System
vessel Vessel
return System

GeoCoordinates() public method

public GeoCoordinates ( Vessel vessel, double lat, double lng ) : System
vessel Vessel
lat double
lng double
return System

GeoCoordinates() public method

public GeoCoordinates ( Vessel vessel, float lat, float lng ) : System
vessel Vessel
lat float
lng float
return System

GetBearing() public method

public GetBearing ( Vessel vessel ) : float
vessel Vessel
return float

GetHeadingFromVessel() public method

public GetHeadingFromVessel ( Vessel vessel ) : float
vessel Vessel
return float

GetSuffix() public method

public GetSuffix ( string suffixName ) : object
suffixName string
return object

ToString() public method

public ToString ( ) : string
return string

Property Details

Body public property

public CelestialBody Body
return CelestialBody

Lat public property

public double Lat
return double

Lng public property

public double Lng
return double

Vessel public property

public Vessel Vessel
return Vessel