minus

abstract operator fun minus(other: DoubleArray): P

Considers both positions as vectors, and returns the difference between this position and the passed one.

Return

a new {@link Position} that is this position minus the one passed.

Parameters

other

the other position