Segment

constructor(start: RoutePoint, end: RoutePoint)

Parameters

start

The starting RoutePoint of the line segment.

end

The end RoutePoint of the line segment.