equals

open operator override fun equals(other: Any?): Boolean

Rounded identity: equal when every component matches at the SCALE quantum.

Identity is exact-class with one carve-out: a RoundDirection and a plain RoundPoint are the same kind of value — the refinement adds no data — and compare by components alone, in both directions. Any other subclass instance and a plain RoundPoint never compare equal.

Return

true iff other shares this object's identity domain and its four components all match after rounding.

Parameters

other

The object to compare against.