Options.polylineType

Indicates whether polylines should be "paths" (which don't allow duplicate vertices, except possibly the first and last vertex) or "walks" (which allow duplicate vertices and edges).

If your input consists of polylines, and you want to split them into separate pieces whenever they self-intersect or cross each other, then use PolylineType::PATH (and probably use split_crossing_edges()). If you don't mind if your polylines backtrack or contain loops, then use PolylineType::WALK.

DEFAULT: PolylineType::PATH

struct Options
const
polylineType
()

Meta