Skip to content

Clipper64 PreserveCollinear

Seth Hillbrand edited this page Oct 29, 2026 · 2 revisions

Home › clipper.engine.h › Clipper64 › Clipper64.PreserveCollinear

Clipper64.PreserveCollinear

void PreserveCollinear(bool value);

Whenever adjacent edges are collinear in closed path solutions, the common vertex can be removed from the path without altering its shape. However, because some users prefer to retain these vertices, this feature is optional. Nevertheless, when adjacent edges in solutions are 180 degree collinear (creating overlapping edge 'spikes'), these vertices will be removed irrespective of the PreserveCollinear setting.

This property is enabled by default.

See Also

TrimCollinear

Clone this wiki locally