makeSegment

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

Create a 2D segment.

Return

the segment

Parameters

x1

- x coordinate of point 1

y1

- y coordinate of point 1

x2

- x coordinate of point 2

y2

- y coordinate of point 2