Function LinearRing2View.segmentCount

Number of segments in the cyclic traversal.

size_t segmentCount() const pure nothrow @nogc @property @safe;

An empty ring contains no segments. Every non-empty ring contains one segment per stored vertex, including the implicit closing segment.