isParallelTo

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

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