isParallelTo

open fun isParallelTo(other: Segment2D<P>): Boolean

Checks if two segments are parallel. Throws an UnsupportedOperationException if any of the two segment isDegenerate.