X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FNMTTools%2FNMTTools_PaveFiller.cdl;h=f4d8ecf41f955b873b06a1c2117da144adbc7c64;hb=8b92788b345dd3bf985e3ba1c18625a307b6778c;hp=2ced14146e20bf2a3a8cfc1708c2689715b22f46;hpb=9499b99fe2dcb53e1ea364f97986f8f432b04600;p=modules%2Fgeom.git diff --git a/src/NMTTools/NMTTools_PaveFiller.cdl b/src/NMTTools/NMTTools_PaveFiller.cdl index 2ced14146..f4d8ecf41 100644 --- a/src/NMTTools/NMTTools_PaveFiller.cdl +++ b/src/NMTTools/NMTTools_PaveFiller.cdl @@ -1,47 +1,52 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -// --- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -// +-- Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE +-- +-- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, +-- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS +-- +-- This library is free software; you can redistribute it and/or +-- modify it under the terms of the GNU Lesser General Public +-- License as published by the Free Software Foundation; either +-- version 2.1 of the License. +-- +-- This library is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +-- Lesser General Public License for more details. +-- +-- You should have received a copy of the GNU Lesser General Public +-- License along with this library; if not, write to the Free Software +-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +-- +-- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +-- -- File: NMTTools_PaveFiller.cdl --- Created: Fri Dec 5 14:35:00 2003 +-- Created: -- Author: Peter KURNEV -- ----Copyright: Matra Datavision 2003 - - +-- class PaveFiller from NMTTools ---Purpose: -uses - ListOfInteger from TColStd, +uses + DataMapOfIntegerInteger from TColStd, + ListOfInteger from TColStd, + MapOfInteger from TColStd, + Pnt from gp, ShapeEnum from TopAbs, Vertex from TopoDS, - Face from TopoDS, - + Face from TopoDS, + Shape from TopoDS, + Edge from TopoDS, + ListOfShape from TopTools, + DataMapOfShapeShape from TopTools, + Context from IntTools, ShrunkRange from IntTools, - - IndexedDataMapOfShapeInteger from BooleanOperations, - InterferencePool from BOPTools, - PInterferencePool from BOPTools, + IndexedDataMapOfShapeInteger from BooleanOperations, + PavePool from BOPTools, PaveBlock from BOPTools, ListOfPaveBlock from BOPTools, @@ -50,43 +55,54 @@ uses PaveSet from BOPTools, Curve from BOPTools, SSInterference from BOPTools, - IDMapOfPaveBlockIMapOfPaveBlock from BOPTools, IDMapOfPaveBlockIMapOfInteger from BOPTools, - SSIntersectionAttribute from BOPTools, + SSIntersectionAttribute from BOPTools, + + ShapesDataStructure from NMTDS, + PShapesDataStructure from NMTDS, + Iterator from NMTDS, + PIterator from NMTDS, + PInterfPool from NMTDS, CommonBlockPool from NMTTools, CommonBlock from NMTTools, - ListOfCommonBlock from NMTTools, - IteratorOfCoupleOfShape from NMTTools, - - ShapesDataStructure from NMTDS, - PShapesDataStructure from NMTDS - + ListOfCommonBlock from NMTTools, + DataMapOfIntegerFaceInfo from NMTTools, + IndexedDataMapOfIndexedMapOfInteger from NMTTools + --raises is Create - returns PaveFiller from NMTTools; + returns PaveFiller from NMTTools; + ---C++: alias "Standard_EXPORT virtual ~NMTTools_PaveFiller();" - Create(aIP:InterferencePool from BOPTools) - returns PaveFiller from NMTTools; + - Destroy (me: in out) - is virtual; - ---C++: alias "Standard_EXPORT virtual ~NMTTools_PaveFiller(){Destroy();}" - -- - -- Selectors/Modifiers - SetInterferencePool(me:out; - aIP:InterferencePool from BOPTools); - - InterfPool(me:out) - returns PInterferencePool from BOPTools; + SetCompositeShape (me:out; + aS: Shape from TopoDS); + + CompositeShape(me) + returns Shape from TopoDS; + ---C++: return const& + + + DS(me:out) + returns PShapesDataStructure from NMTDS; + + DSIt(me:out) + returns PIterator from NMTDS; + + IP(me:out) + returns PInterfPool from NMTDS; -- - -- Perform the algo Init (me:out) - is protected; + is virtual protected; + Clear (me:out) + is virtual protected; + Perform (me:out) is virtual; @@ -125,29 +141,16 @@ is PreparePaveBlocks (me:out; anE:Integer from Standard) is virtual protected; - - PerformNewVertices (me:out) - is virtual protected; + PrepareEdges (me:out) is virtual protected; - SortTypes (me; - anInd1:in out Integer from Standard; - anInd2:in out Integer from Standard) - is protected; - - ExpectedPoolLength(me) - returns Integer from Standard - is protected; -- -- Query section IsDone(me) returns Boolean from Standard; - DS(me:out) - returns PShapesDataStructure from NMTDS; - Context(me) returns Context from IntTools; ---C++:return const & @@ -184,7 +187,7 @@ is nV: Integer from Standard) returns Integer from Standard; - IsSuccesstorsComputed (me; + IsSuccessorsComputed (me; iF1:Integer from Standard; iF2:Integer from Standard) returns Boolean from Standard @@ -249,7 +252,13 @@ is is protected; UpdateCommonBlocks(me:out) + is protected; + + --modified by NIZNHY-PKV Mon Dec 12 09:12:15 2011f + UpdateCommonBlocks(me:out; + aI:Integer from Standard) is protected; + --modified by NIZNHY-PKV Mon Dec 12 09:12:21 2011t UpdatePaveBlocks(me:out) is protected; @@ -344,7 +353,7 @@ is nF :Integer from Standard; aLCB:out ListOfCommonBlock from NMTTools) returns Integer from Standard; - + PrepareFace(me:out; nF : Integer from Standard; aF : out Face from TopoDS); @@ -353,8 +362,15 @@ is RealPaveBlock(me:out; aPB:PaveBlock from BOPTools) returns PaveBlock from BOPTools; + ---C++: return const & + + RealPaveBlock(me:out; + aPB:PaveBlock from BOPTools; + aLB:out ListOfInteger from TColStd; + aIsCommonBlock:out Integer from Standard) + returns PaveBlock from BOPTools; ---C++: return const & - -- + RealSplitsFace (me:out; nF2 :Integer from Standard; aLs :out ListOfPaveBlock from BOPTools); @@ -373,8 +389,12 @@ is RealSplitsInFace(me:out; nE1 :Integer from Standard; nF2 :Integer from Standard; - aLs :out ListOfPaveBlock from BOPTools); - + aLs :out ListOfPaveBlock from BOPTools); + + RealSplitsInFace(me:out; + nF1 :Integer from Standard; + aLPB :out ListOfPaveBlock from BOPTools); + RealSplitsOnEdge(me:out; nE1 :Integer from Standard; nE2 :Integer from Standard; @@ -390,20 +410,19 @@ is nF1 :Integer from Standard; nF2 :Integer from Standard; aLs :out ListOfPaveBlock from BOPTools); - -- + PrepareSetForFace(me:out; nF1 :Integer from Standard; nF2 :Integer from Standard; - --modified by NIZNHY-PKV Fri Apr 1 11:19:15 2005f aLPB: ListOfPaveBlock from BOPTools; - --modified by NIZNHY-PKV Fri Apr 1 10:54:16 2005t aPSF:out PaveSet from BOPTools); - + PutPaveOnCurve(me:out; - aPSF: PaveSet from BOPTools; + aPSF: PaveSet from BOPTools; aTol: Real from Standard; - aBC : out Curve from BOPTools); - + aBC : out Curve from BOPTools); + + PutBoundPaveOnCurve (me:out; aBC :out Curve from BOPTools; aFF :out SSInterference from BOPTools); @@ -427,34 +446,97 @@ is aTol: Real from Standard) returns Integer from Standard; --- IsExistingPaveBlock (me:out; --- aPB : PaveBlock from BOPTools; --- aFF : SSInterference from BOPTools) --- returns Boolean from Standard; - ---modified by NIZNHY-PKV Fri Apr 1 09:35:34 2005f + IsExistingPaveBlock (me:out; aPB : PaveBlock from BOPTools; aLPB: ListOfPaveBlock from BOPTools; aTol: Real from Standard) returns Boolean from Standard; ---modified by NIZNHY-PKV Fri Apr 1 09:35:39 2005t MakePCurves (me:out); + PerformVF1(me:out) + is protected; + + MakeAloneVertices(me:out) + is protected; + + AloneVertices(me) + returns IndexedDataMapOfIndexedMapOfInteger from NMTTools; + ---C++: return const & + + IsExistingPaveBlock (me:out; + aPB : PaveBlock from BOPTools; + aLPB: ListOfShape from TopTools; + aTol: Real from Standard) + returns Boolean from Standard; + + -- + CheckCoincidence (me:out; + aPB : PaveBlock from BOPTools; + aLPB: ListOfPaveBlock from BOPTools) + returns Boolean from Standard; + -- + + CheckIntermediatePoint(me:out; + aPB : PaveBlock from BOPTools; + aE : Edge from TopoDS; + aTol: Real from Standard) + returns Integer from Standard; + + SharedEdges(me:out; + nF1 :Integer from Standard; + nF2 :Integer from Standard; + aLNE :out ListOfInteger from TColStd; + aLSE :out ListOfShape from TopTools); + + FuseVertices(me; + aC:Shape from TopoDS; + aDMVV: out DataMapOfShapeShape from TopTools); + -- + TreatPaveBlocks(me:out; + theLCB:out ListOfCommonBlock from NMTTools); + + ChangePavePoolNew(me:out) + returns PavePool from BOPTools; + ---C++:return & + + CheckCoincidence (me:out; + aPB1 : PaveBlock from BOPTools; + aPB2 : PaveBlock from BOPTools) + returns Boolean from Standard; + + FillFaceInfo (me:out) + is protected; + + CorrectTolR3D(me:out; + aFF : SSInterference from BOPTools; + aMVStick: MapOfInteger from TColStd; + aTolR3D: out Real from Standard) + is protected; + + PutClosingPaveOnCurve (me:out; + aBC :out Curve from BOPTools; + aFF :out SSInterference from BOPTools); + fields - myIntrPool : PInterferencePool from BOPTools is protected; myDS : PShapesDataStructure from NMTDS is protected; myIsDone : Boolean from Standard is protected; myNbSources : Integer from Standard is protected; - myNbEdges : Integer from Standard is protected; - myDSIt : IteratorOfCoupleOfShape from NMTTools is protected; - -- + myNbEdges : Integer from Standard is protected; + myPavePool : PavePool from BOPTools is protected; myPavePoolNew : PavePool from BOPTools is protected; myCommonBlockPool : CommonBlockPool from NMTTools is protected; mySplitShapesPool : SplitShapesPool from BOPTools is protected; -- myContext : Context from IntTools is protected; - mySectionAttribute : SSIntersectionAttribute from BOPTools is protected; + mySectionAttribute : SSIntersectionAttribute from BOPTools is protected; + myAloneVertices : IndexedDataMapOfIndexedMapOfInteger from NMTTools is protected; + -- + myVSD : DataMapOfIntegerInteger from TColStd is protected; + myDSIt : PIterator from NMTDS is protected; + myCompositeShape : Shape from TopoDS is protected; + myIP : PInterfPool from NMTDS is protected; + myFaceInfo : DataMapOfIntegerFaceInfo from NMTTools is protected; end PaveFiller;