app / sg.edu.ntu.scse.cz2006.gymbuddies.datastruct / GymList / GymGeometry

GymGeometry

data class GymGeometry

Inner class containing the latitude and longitude of the gym location

Author
Kenneth Soh

Since
2019-09-17

Constructors

<init>

Part of GymShell obeject. See that for more information

GymGeometry(coordinates: ArrayList<Double> = ArrayList())

Properties

coordinates

ArrayList Coordinates of the gym. Index 0 provides latitude, 1 provides longitude

val coordinates: ArrayList<Double>

Functions

getLat

Gets the latitude of the gym

fun getLat(): Double

getLng

Gets the longitude of the gym

fun getLng(): Double