X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGEOMImpl%2FGEOMImpl_IBoolean.hxx;h=c33c42a4ad081ace476ad9727c5542750536f4ce;hb=refs%2Fheads%2Fmbs%2F40619_add_fuzzy;hp=af5300e149d7a8dfd49a672bbadb3e38f91b87b0;hpb=25a3dc91508bb59688142bc616b10facc61dfc3d;p=modules%2Fgeom.git diff --git a/src/GEOMImpl/GEOMImpl_IBoolean.hxx b/src/GEOMImpl/GEOMImpl_IBoolean.hxx index af5300e14..c33c42a4a 100644 --- a/src/GEOMImpl/GEOMImpl_IBoolean.hxx +++ b/src/GEOMImpl/GEOMImpl_IBoolean.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2021 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2024 CEA, EDF, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -30,6 +30,7 @@ #define BOOL_ARG_SHAPES 3 #define BOOL_ARG_CHECK_SELF_INTERSECTION 4 #define BOOL_ARG_RM_EXTRA_EDGES 5 +#define BOOL_ARG_FUZZY_PARAMETER 6 class GEOMImpl_IBoolean { @@ -45,6 +46,8 @@ class GEOMImpl_IBoolean { _func->SetInteger(BOOL_ARG_CHECK_SELF_INTERSECTION, theFlag ? 1 : 0); } void SetRmExtraEdges (Standard_Boolean theFlag) { _func->SetInteger(BOOL_ARG_RM_EXTRA_EDGES, theFlag ? 1 : 0); } + void SetFuzzyParameter (Standard_Real theValue) + { _func->SetReal(BOOL_ARG_FUZZY_PARAMETER, theValue); } Handle(GEOM_Function) GetShape1() { return _func->GetReference(BOOL_ARG_SHAPE1); } Handle(GEOM_Function) GetShape2() { return _func->GetReference(BOOL_ARG_SHAPE2); } @@ -54,6 +57,8 @@ class GEOMImpl_IBoolean { return (_func->GetInteger(BOOL_ARG_CHECK_SELF_INTERSECTION) != 0); } Standard_Boolean GetRmExtraEdges() { return (_func->GetInteger(BOOL_ARG_RM_EXTRA_EDGES) != 0); } + Standard_Real GetFuzzyParameter() + { return _func->GetReal(BOOL_ARG_FUZZY_PARAMETER); } private: