Class CadOverkillSettings
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
The settings of OVERKILL as AutoCAD 2021's Delete Duplicate Objects dialog and -OVERKILL keep them from one run to the next: how close two objects must lie to be taken for one, the properties left out of the comparison, and what is done with polylines and with objects that overlap. The tolerance is half the distance within which two points are one: of two lines 0.04 apart and the same length, a tolerance of 0.1 deletes one and 0.05 does not.
public sealed class CadOverkillSettings
- Inheritance
-
CadOverkillSettings
- Inherited Members
Properties
- CombineEndToEnd
Gets or sets whether collinear objects that meet end to end are made one; true until set.
- CombinePartialOverlaps
Gets or sets whether collinear objects that overlap in part are made one, and the ones lying wholly within another deleted; true until set.
- DoNotBreakPolylines
Gets or sets whether a polyline is kept whole: a segment that overlaps another object is left in it, not cut out, though duplicate vertices still go.
- Ignore
Gets or sets the properties ignored when objects are compared; none until set.
- IgnorePolylineWidths
Gets or sets whether the widths of polyline segments are left out when they are compared.
- MaintainAssociativity
Gets or sets whether associative objects are kept: kept as a setting, which the presenter does not act on, none of its objects being tied to others by OVERKILL's rules.
- OptimizePolylines
Gets or sets whether the segments within polylines are compared with other objects and with one another, their duplicate vertices and collinear segments removed; true until set.
- Tolerance
Gets or sets the tolerance of the comparison, 0.000001 until set; nought or more.
Methods
- Clone()
Makes a copy.