![]() |
MKI_SIMPLIFY_DATA (Basic Classes) Changed in Version 2023.2 |
www.CAD6.com |
C++ Syntaxclass MKI_SIMPLIFY_DATA { public:
bool m_fActive; double m_dLineMin, m_dLineMax, m_dLineRel, m_dLineAbs, m_dCircleMin, m_dCircleMax, m_dCircleRel, m_dCircleAbs;
MKI_SIMPLIFY_DATA( void );
void Init( void ); };
This structure contains simplification settings.
Element Descriptionm_fActive [bool] If true, the simplification is active. Methods explicitly called to perform a simplification with this structure as a parameter will ignore Active and always perform it! m_dLineMin [double] Minimum line length in internal millimeters. Lines with a length smaller than this value may be removed. m_dLineMax Changed in Version 2023.2 [double] Maximum line length in internal millimeters. Lines with a length larger than this value must not be changed in any way (a value of zero disables this feature). m_dLineRel [double] Relative tolerance for line combination. Two adjacent lines may be combined if their intermediate point deviates at most by this value (times the line's length) from a straight line. m_dLineAbs [double] Absolute tolerance for line combination in internal millimeters. Two adjacent lines may be combined if their intermediate point deviates at most by this value from a straight line. m_dCircleMin [double] Minimum circle arc length in internal millimeters. Circular arcs with a length smaller than this value may be removed. m_dCircleMax Changed in Version 2023.2 [double] Maximum circle arc length in internal millimeters. Circular arcs with a length larger than this value must not be changed in any way (a value of zero disables this feature). m_dCircleRel [double] Relative tolerance for circular arc combination. Two adjacent circular arcs may be combined if their center-points (and as a result their radii) deviate at most by this value (times their respective radius) from each other. m_dCircleAbs [double] Absolute tolerance for circular arc combination in internal millimeters. Two adjacent circular arcs may be combined if their center-points (and as a result their radii) deviate at most by this value from each other.
|
CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH