Class

ShumateCoordinate

Description [src]

class Shumate.Coordinate : GObject.InitiallyUnowned
  implements Shumate.Location {
  /* No available fields */
}

A simple object implementing ShumateLocation.

Hierarchy

hierarchy this ShumateCoordinate implements_0 ShumateLocation this--implements_0 ancestor_0 GInitiallyUnowned ancestor_0--this ancestor_1 GObject ancestor_1--ancestor_0

Implements

Constructors

shumate_coordinate_new

Creates a new instance of ShumateCoordinate.

shumate_coordinate_new_full

Creates a new instance of ShumateCoordinate initialized with the given coordinates.

Instance methods

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Methods inherited from ShumateLocation (4)
shumate_location_distance

Calculates the distance in meters between two locations.

since: 1.2

shumate_location_get_latitude

Gets the latitude coordinate in degrees.

shumate_location_get_longitude

Gets the longitude coordinate in degrees.

shumate_location_set_location

Sets the coordinates of the location.

Properties

Properties inherited from ShumateLocation (2)
ShumateLocation:latitude

The latitude coordonate in degrees.

ShumateLocation:longitude

The longitude coordonate in degrees.

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct ShumateCoordinateClass {
  GInitiallyUnownedClass parent_class;
  
}

No description available.

Class members
parent_class: GInitiallyUnownedClass

No description available.