FreeCAD: master 18e75153
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
abdullah | abdullah | master | 2021-04-24 12:31:18 | master 4d6b1f3e |
Changeset | Sketcher: Changes to split edge functionality ============================================= This commit is directed to external functionality of the split() function. 1. getAppliedConstraints renamed to getConstraintIndices This is just for clarity being a general function 2. SwapInvolvedGeometry functionality moved to Constraint class Why? i. Because it is a specific operation on a constraint, it must not be a public function, as it does not define interface of the Sketch. ii. It could be a lambda or a private utility function, but them it would not be reusable. iii. It could be part of a helper class, but then, it is would be less reusable. 3. renaming of the flag passed to transferConstraints function |
|||
mod - src/Mod/Sketcher/App/Constraint.cpp | Diff File | |||
mod - src/Mod/Sketcher/App/Constraint.h | Diff File | |||
mod - src/Mod/Sketcher/App/SketchObject.cpp | Diff File | |||
mod - src/Mod/Sketcher/App/SketchObject.h | Diff File | |||
mod - src/Mod/Sketcher/App/SketchObjectPyImp.cpp | Diff File |