getCoordinate

abstract fun getCoordinate(dimension: Int): Double

Deprecated

Allows to access the value of a coordinate.

Return

the coordinate value

Parameters

dimension
the dimension. E.g., in a 2-dimensional implementation, 0
could be the X-axis and 1 the Y-axis