Salome HOME
projects
/
modules
/
geom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[bos #40619][CEA] Add Fuzzy parameter to partition and boolean operators
[modules/geom.git]
/
src
/
GEOMImpl
/
GEOMImpl_IBoolean.hxx
diff --git
a/src/GEOMImpl/GEOMImpl_IBoolean.hxx
b/src/GEOMImpl/GEOMImpl_IBoolean.hxx
index 96de20f30925ef2017e4205a6a7b955f99363009..c33c42a4ad081ace476ad9727c5542750536f4ce 100644
(file)
--- a/
src/GEOMImpl/GEOMImpl_IBoolean.hxx
+++ b/
src/GEOMImpl/GEOMImpl_IBoolean.hxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-202
3
CEA, EDF, OPEN CASCADE
+// Copyright (C) 2007-202
4
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
//
// 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_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
{
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); }
{ _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); }
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); }
{ 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:
private: