Archived issue #0027166
Non-destructive principle in algorithms
Description
Some algorithms/commands in OCCT modify input shapes passed through its arguments.
One of the possible way to determine if some algorithm modifies an input shape is to lock this shape via 'setflags sh locked' command (where 'sh' is an input shape to be locked).
---
I've attached a document which contains some classes/draw commands/test cases in OCCT which lead to destructive results of input shape(s).
One of the possible way to determine if some algorithm modifies an input shape is to lock this shape via 'setflags sh locked' command (where 'sh' is an input shape to be locked).
---
I've attached a document which contains some classes/draw commands/test cases in OCCT which lead to destructive results of input shape(s).
Public activity
1 archived note
Participants are labeled by their role within this record.
It is proposed for each concerned algorithm to create a separate bug child of this one.
Related records
- #0027049 · related to · assignedMake non-destructive mode be defined by default in Boolean operations
- #0026426 · parent of · closedDraft angle algorithm modifies input argument + the result of the operation have very large tolerance values
- #0026738 · parent of · closedMake Boolean operations safely treating arguments when running with fuzzy option
- #0027698 · parent of · closedNon-destructive principle in BRepPrimAPI_MakePrism algorithm
- #0028642 · parent of · closedBRepOffsetAPI_ThruSections/BRepFill_Generator are modifying the input shape sections
- #0028456 · related to · closedBRepBuilderAPI_MakeFace modifies the input shape