plus

operator fun plus(other: Coordinate): Coordinate

Returns a new coordinate object containing added xCoord and yCoord.

Return

New coordinate object containing added xCoord and yCoord.

Parameters

other

Coordinate to add.