C# Class DataInterop.GeographicPosition

Defines the Geographic Position type a.k.a. Geographic Coordinate Reference System.
Inheritance: Position
Datei anzeigen Open project: DigitalGlobe/DGConnect-ESRI Class Usage Examples

Private Properties

Property Type Description
GeographicPosition System

Public Methods

Method Description
Equals ( object obj ) : bool

Determines whether the specified System.Object, is equal to this instance.

GeographicPosition ( double latitude, double longitude, double altitude = null ) : System

Initializes a new instance of the GeographicPosition class.

GeographicPosition ( string latitude, string longitude, string altitude = null ) : System

Initializes a new instance of the GeographicPosition class.

GetHashCode ( ) : int

Returns a hash code for this instance.

ToString ( ) : string

Returns a System.String that represents this instance.

operator ( ) : bool

Implements the operator !=.

Protected Methods

Method Description
Equals ( GeographicPosition other ) : bool

Determines whether the specified GeographicPosition, is equal to this instance.

Private Methods

Method Description
GeographicPosition ( ) : System

Prevents a default instance of the GeographicPosition class from being created.

Method Details

Equals() protected method

Determines whether the specified GeographicPosition, is equal to this instance.
protected Equals ( GeographicPosition other ) : bool
other GeographicPosition The to compare with this instance.
return bool

Equals() public method

Determines whether the specified System.Object, is equal to this instance.
public Equals ( object obj ) : bool
obj object The to compare with this instance.
return bool

GeographicPosition() public method

Initializes a new instance of the GeographicPosition class.
public GeographicPosition ( double latitude, double longitude, double altitude = null ) : System
latitude double The latitude.
longitude double The longitude.
altitude double The altitude in m(eter).
return System

GeographicPosition() public method

Initializes a new instance of the GeographicPosition class.
public GeographicPosition ( string latitude, string longitude, string altitude = null ) : System
latitude string The latitude, e.g. '38.889722'.
longitude string The longitude, e.g. '-77.008889'.
altitude string The altitude in m(eters).
return System

GetHashCode() public method

Returns a hash code for this instance.
public GetHashCode ( ) : int
return int

ToString() public method

Returns a System.String that represents this instance.
public ToString ( ) : string
return string

operator() public static method

Implements the operator !=.
public static operator ( ) : bool
return bool