minus

operator fun FlatPoint.minus(other: FlatPoint): Direction

FlatPoint - FlatPoint => Direction
Returns the free vector from other to this point: the displacement that carries other onto this point.

Component-wise difference of the two positions, raw at full Double precision, as a Direction — the weight takes no part, so the result lies at infinity by construction. Equal points give the zero direction, which is legal. A point at infinity — zero weight — carries a free vector rather than a position, and the difference is no displacement; gate with FlatPoint.isAtInfinity.

Receiver

The point displaced to.

Return

The raw Direction from other to this point.

Parameters

other

The point displaced from.


operator fun RoundPoint.minus(other: RoundPoint): Direction

RoundPoint - RoundPoint => Direction
Returns the free vector from other's position to this point's position: the displacement that carries other onto this point.

Component-wise difference of the two positions, raw at full Double precision, as a flat Direction — a displacement has no round content, so the conformal component RoundPoint.aw takes no part and a sized or imaginary round point measures from its position all the same. Two RoundDirection operands difference the same way, to a flat direction. Equal positions give the zero direction, which is legal. A point at infinity — zero weight — carries a direction rather than a position, and the difference is no displacement; gate with RoundPoint.isAtInfinity.

Receiver

The point displaced to.

Return

The raw Direction from other's position to this point's position.

Parameters

other

The point displaced from.


operator fun Direction.minus(other: Direction): Direction

Direction - Direction => Direction
Returns the vector difference of the two free vectors: this displacement with other undone.

Component-wise subtraction, raw at full Double precision. Both operands carry the exact zero weight, so the difference is at infinity by construction — no finite position can leak in. Equal operands cancel to the zero direction, which is legal.

Receiver

The left direction.

Return

The component-wise difference, as a Direction.

Parameters

other

The direction subtracted from this one.