plus

operator fun plus(other: P): P

Same as plus, with the internal representation of other.


operator override fun plus(other: DoubleArray): P

Considers both positions as vectors, and sums them.

Return

a new {@link Position} that is the sum of the two.

Parameters

other

the other position