Sketcher: GeoId, GeoElementId and GeoUndef refactor
=================================================== This commit is an independent refactor of the identifications used at Sketcher level. It introduces a new type "GeoElementId" as a combination of GeoId and PointPos. It moves the Undefined GeoId, previous Constraint::GeoUndef to GeoEnum, together with all other fixed values of GeoIds.
This commit is contained in:
@@ -407,7 +407,7 @@ int SketchAnalysis::detectMissingVerticalHorizontalConstraints(double anglepreci
|
||||
id.v = dir;
|
||||
id.First = (int)i;
|
||||
id.FirstPos = Sketcher::none;
|
||||
id.Second = Constraint::GeoUndef;
|
||||
id.Second = GeoEnum::GeoUndef;
|
||||
id.SecondPos = Sketcher::none;
|
||||
|
||||
if( checkVertical(dir, angleprecision) ) {
|
||||
|
||||
Reference in New Issue
Block a user