-// Copyright (C) 2014-2022 CEA/DEN, EDF R&D
+// Copyright (C) 2014-2023 CEA, EDF
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
/// \param[in] theTool the tool object.
/// \param[in] theOperationType type of boolean operation.
/// \param[in] theFuzzy additional tolerance value.
- /// If the fuzzy value is below the minimum tolerance value (1.e-7), the
- /// boolean operation will use a default additional tolerance value of 1.e-5.
+ /// If the fuzzy value is non-positive, the boolean operation will use a default
+ // additional tolerance value of 1.e-5.
GEOMALGOAPI_EXPORT GeomAlgoAPI_Boolean(const GeomShapePtr theObject,
const GeomShapePtr theTool,
const GeomAlgoAPI_Tools::BOPType theOperationType,
- const double theFuzzy = 1.e-8);
+ const double theFuzzy = -1);
/// Constructor.
/// \param[in] theObject the main object.
/// \param[in] theTools list of tools.
/// \param[in] theOperationType type of boolean operation.
/// \param[in] theFuzzy additional tolerance value.
- /// If the fuzzy value is below the minimum tolerance value (1.e-7), the
- /// boolean operation will use a default additional tolerance value of 1.e-5.
+ /// If the fuzzy value is non-positive, the boolean operation will use a default
+ // additional tolerance value of 1.e-5.
GEOMALGOAPI_EXPORT GeomAlgoAPI_Boolean(const GeomShapePtr theObject,
const ListOfShape& theTools,
const GeomAlgoAPI_Tools::BOPType theOperationType,
- const double theFuzzy = 1.e-8);
+ const double theFuzzy = -1);
/// Constructor.
/// \param[in] theTools list of tools.
/// \param[in] theOperationType type of boolean operation.
/// \param[in] theFuzzy additional tolerance value.
- /// If the fuzzy value is below the minimum tolerance value (1.e-7), the
- /// boolean operation will use a default additional tolerance value of 1.e-5.
+ /// If the fuzzy value is non-positive, the boolean operation will use a default
+ // additional tolerance value of 1.e-5.
GEOMALGOAPI_EXPORT GeomAlgoAPI_Boolean(const ListOfShape& theObjects,
const ListOfShape& theTools,
const GeomAlgoAPI_Tools::BOPType theOperationType,
- const double theFuzzy = 1.e-8);
+ const double theFuzzy = -1);
/// Redefinition of the generic method for the Fuse problem: OCCT 30481
GEOMALGOAPI_EXPORT virtual void modified(const GeomShapePtr theOldShape,