mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0025477: Boolean Operations with additional tolerance - Fuzzy Boolean operations
Implementation of Fuzzy Boolean operations. Such operations allow to perform Boolean operations on the shapes with near-coincidence between the entities of these shapes, i.e. between shapes in which some entities from one shape are intended to be coincide with some entities from the other, but the coincidence is not precise. API for Boolean operations has been improved to have a possibility to add new options. Modified entities: 1. New option of setting additional tolerance have been added to the following classes: class BOPAlgo_ArgumentAnalyzer class BOPAlgo_BOP class BOPAlgo_Builder class BOPAlgo_MakerVolume class BOPAlgo_PaveFiller class BOPDS_DS class BRepAlgoAPI_BooleanOperation class BRepAlgoAPI_Check class BRepAlgoAPI_Common class BRepAlgoAPI_Cut class BRepAlgoAPI_Fuse class BRepAlgoAPI_Section 2. Following draw commands have been modified to support new functionality: BOP commands: bop b1 b2 [tol] bcommon r b1 b2 [tol] bcut r b1 b2 [tol] bfuse r b1 b2 [tol] bsection r s1 s2 [-n2d/-n2d1/-n2d2] [-na] [tol] mkvolume r b1 b2 ... [-c] [-ni] [-s] [tol] bfillds [-s -t] [tol] Check commands: bopcheck Shape [level of check: 0 - 9] [-t -s] [-tol tol] bopargcheck [-F/O/C/T/S/U] [/R|F|T|V|E|I|P|C|S]] [#BF] [-tol tol] 3. Two new classes have been added to API to provide the root interface for algorithms class BRepAlgoAPI_Algo class BRepAlgoAPI_BuilderAlgo Fix to eliminate the warning. Test-cases for issue #25477
This commit is contained in:
@@ -16,11 +16,11 @@
|
||||
|
||||
deferred class MakeShape from BRepBuilderAPI inherits Command from BRepBuilderAPI
|
||||
|
||||
---Purpose: This is the root class for all shape
|
||||
-- constructions. It stores the result.
|
||||
--
|
||||
-- It provides deferred methods to trace the history
|
||||
-- of sub-shapes.
|
||||
---Purpose: This is the root class for all shape
|
||||
-- constructions. It stores the result.
|
||||
--
|
||||
-- It provides deferred methods to trace the history
|
||||
-- of sub-shapes.
|
||||
|
||||
uses
|
||||
Shape from TopoDS,
|
||||
@@ -34,27 +34,28 @@ uses
|
||||
raises
|
||||
NotDone from StdFail
|
||||
|
||||
is
|
||||
is
|
||||
Delete(me:out) is redefined;
|
||||
---C++: alias "Standard_EXPORT virtual ~BRepBuilderAPI_MakeShape(){Delete() ; }"
|
||||
|
||||
Initialize;
|
||||
|
||||
Build(me : in out)
|
||||
---Purpose: This is called by Shape(). It does nothing but
|
||||
-- may be redefined.
|
||||
---Level: Public
|
||||
---Purpose: This is called by Shape(). It does nothing but
|
||||
-- may be redefined.
|
||||
---Level: Public
|
||||
is virtual;
|
||||
|
||||
|
||||
Shape(me) returns Shape from TopoDS
|
||||
---Purpose: Returns a shape built by the shape construction algorithm.
|
||||
-- Raises exception StdFail_NotDone if the shape was not built.
|
||||
---C++: return const &
|
||||
---C++: alias "Standard_EXPORT operator TopoDS_Shape() const;"
|
||||
---Level: Public
|
||||
raises
|
||||
NotDone from StdFail
|
||||
is static;
|
||||
---Purpose: Returns a shape built by the shape construction algorithm.
|
||||
-- Raises exception StdFail_NotDone if the shape was not built.
|
||||
---C++: return const &
|
||||
---C++: alias "Standard_EXPORT operator TopoDS_Shape() const;"
|
||||
---Level: Public
|
||||
raises
|
||||
NotDone from StdFail
|
||||
is virtual;
|
||||
--is static;
|
||||
|
||||
|
||||
------------------------------------------------------------------
|
||||
@@ -64,19 +65,19 @@ is
|
||||
------------------------------------------------------------------
|
||||
|
||||
Generated (me: in out; S : Shape from TopoDS)
|
||||
---Purpose: Returns the list of shapes generated from the
|
||||
-- shape <S>.
|
||||
---C++: return const &
|
||||
---Level: Public
|
||||
---Purpose: Returns the list of shapes generated from the
|
||||
-- shape <S>.
|
||||
---C++: return const &
|
||||
---Level: Public
|
||||
returns ListOfShape from TopTools
|
||||
is virtual;
|
||||
|
||||
|
||||
Modified (me: in out; S : Shape from TopoDS)
|
||||
---Purpose: Returns the list of shapes modified from the shape
|
||||
-- <S>.
|
||||
---C++: return const &
|
||||
---Level: Public
|
||||
---Purpose: Returns the list of shapes modified from the shape
|
||||
-- <S>.
|
||||
---C++: return const &
|
||||
---Level: Public
|
||||
returns ListOfShape from TopTools
|
||||
is virtual;
|
||||
|
||||
@@ -84,7 +85,7 @@ is
|
||||
IsDeleted (me: in out; S : Shape from TopoDS)
|
||||
returns Boolean
|
||||
is virtual;
|
||||
---Purpose: Returns true if the shape S has been deleted.
|
||||
---Purpose: Returns true if the shape S has been deleted.
|
||||
|
||||
|
||||
fields
|
||||
|
Reference in New Issue
Block a user