PartDesign: decouple refine and other geometric computation (#17008)

This commit is contained in:
Florian Foinant-Willig
2024-12-02 17:57:30 +01:00
committed by GitHub
parent 32e339447a
commit 115667f73a
14 changed files with 141 additions and 5 deletions

View File

@@ -150,7 +150,7 @@ short Feature::mustExecute() const
return Part::Feature::mustExecute();
}
TopoShape Feature::getSolid(const TopoShape& shape)
TopoShape Feature::getSolid(const TopoShape& shape) const
{
if (shape.isNull()) {
throw Part::NullShapeException("Null shape");
@@ -226,7 +226,7 @@ bool Feature::isSingleSolidRuleSatisfied(const TopoDS_Shape& shape, TopAbs_Shape
}
Feature::SingleSolidRuleMode Feature::singleSolidRuleMode()
Feature::SingleSolidRuleMode Feature::singleSolidRuleMode() const
{
auto body = getFeatureBody();