Coordinate#
Superclasses: InitiallyUnowned
, Object
Implemented Interfaces: Location
A simple object implementing Location
.
Constructors#
- class Coordinate
- classmethod new() Coordinate #
Creates a new instance of
Coordinate
.
- classmethod new_full(latitude: float, longitude: float) Coordinate #
Creates a new instance of
Coordinate
initialized with the given coordinates.- Parameters:
latitude – the latitude coordinate
longitude – the longitude coordinate
Fields#
- class Coordinate
- parent_instance#