1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-04 13:13:25 +03:00

0025743: Add FixMode parameter to DropSmallSolids operator

This commit is contained in:
imn
2015-01-23 13:31:01 +03:00
committed by bugmaster
parent b2af2f567d
commit df515f16ce
3 changed files with 50 additions and 9 deletions

View File

@@ -600,6 +600,9 @@ static Standard_Boolean dropsmallsolids (const Handle(ShapeProcess_Context)& con
FSS.SetMsgRegistrator( msg );
Standard_Real aThreshold;
Standard_Integer aMode;
if (ctx->GetInteger ("FixMode", aMode))
FSS.SetFixMode (aMode);
if (ctx->GetReal ("VolumeThreshold", aThreshold))
FSS.SetVolumeThreshold (aThreshold);
if (ctx->GetReal ("WidthFactorThreshold", aThreshold))