1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-05-31 11:15:31 +03:00
occt/src/BOPTools/BOPTools_Set.cdl
pkv 9873027959 0024733: Subshape IDs change between two executions of a same script
Changes:
1. class BOPTools_Set
   - method:
void BOPTools_Set::AddEdges(const TopoDS_Shape& aS)
has been removed as redundant

2. class BOPTools_Set
   - method:
Standard_Boolean BOPTools_Set::IsEqual  (const BOPTools_Set& theOther)const
has been modified to take into account Locations of the shapes

3. class BOPAlgo_Builder
   - method:
void BOPAlgo_Builder::FillSameDomainFaces()
has been modified in accordance with the modifications done in II.1.
2014-03-20 14:04:52 +04:00

72 lines
2.0 KiB
Plaintext

-- Created by: Peter KURNEV
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
--
-- This file is part of Open CASCADE Technology software library.
--
-- This library is free software; you can redistribute it and/or modify it under
-- the terms of the GNU Lesser General Public License version 2.1 as published
-- by the Free Software Foundation, with special exception defined in the file
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-- distribution for complete text of the license and disclaimer of any warranty.
--
-- Alternatively, this file may be used under the terms of Open CASCADE
-- commercial license or contractual agreement.
class Set from BOPTools
---Purpose:
uses
ShapeEnum from TopAbs,
Shape from TopoDS,
ListOfShape from BOPCol,
BaseAllocator from BOPCol
--raises
is
Create
returns Set from BOPTools;
---C++: alias "Standard_EXPORT virtual ~BOPTools_Set();"
Create (theAllocator: BaseAllocator from BOPCol)
returns Set from BOPTools;
Assign(me:out;
Other : Set from BOPTools)
returns Set from BOPTools;
---C++: alias operator =
---C++: return &
Clear(me:out)
is protected;
Shape(me)
returns Shape from TopoDS;
---C++: return const &
Add(me:out;
theS:Shape from TopoDS;
theType: ShapeEnum from TopAbs);
NbShapes(me)
returns Integer from Standard;
IsEqual(me;
aOther:Set from BOPTools)
returns Boolean from Standard;
HashCode(me;
Upper : Integer from Standard)
returns Integer from Standard;
fields
myAllocator : BaseAllocator from BOPCol is protected;
myShapes : ListOfShape from BOPCol is protected;
myShape : Shape from TopoDS is protected;
myNbShapes : Integer from Standard is protected;
mySum : Integer from Standard is protected;
myUpper : Integer from Standard is protected;
end Set;