Delphi property PreserveCollinear: boolean; override;

C++ void PreserveCollinear(bool value);

C#  public bool PreserveCollinear { get {} set {} };

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