equals

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

Checks if other is a Line2D and if it coincidesWith this one.