root
Toggle table of contents
goblin-service
Target filter
goblin-service
Switch theme
Search in API
Skip to content
root
root
/
fi.utu.tech.powergoblin.data
/
Coordinate
Coordinate
goblin-service
data
class
Coordinate
(
val
x
:
Long
,
val
y
:
Long
)
:
Comparable
<
Coordinate
>
Represents a coordinate pair (e.g. for scatter graphs).
Members
Constructors
Coordinate
Link copied to clipboard
goblin-service
constructor
(
x
:
Long
,
y
:
Long
)
Properties
x
Link copied to clipboard
goblin-service
val
x
:
Long
y
Link copied to clipboard
goblin-service
val
y
:
Long
Functions
compare
To
Link copied to clipboard
goblin-service
open
operator override
fun
compareTo
(
other
:
Coordinate
)
:
Int