makeSegment

open fun makeSegment(x1: Number, y1: Number, x2: Number, y2: Number): Segment2D(source)

Create a 2D segment.