equals

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

Structural equality: true when other is a Ray with equal origin and direction.