Function LinearRing2View.segment

Returns one segment in stored traversal order.

Segment2!T segment(
  size_t index
) const pure nothrow @nogc @safe;

The final segment closes the ring by connecting the final stored vertex back to the first stored vertex.

Valid indices are:

0 .. segmentCount