2005-12-05 21:23:52 +05:00
|
|
|
// 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/
|
|
|
|
//
|
2004-12-17 16:18:33 +05:00
|
|
|
-- File: GEOMAlgo.cdl
|
|
|
|
-- Created: Sat Dec 04 12:36:22 2004
|
|
|
|
-- Author: Peter KURNEV
|
|
|
|
-- <peter@PREFEX>
|
|
|
|
---Copyright: Matra Datavision 2004
|
|
|
|
|
|
|
|
|
|
|
|
package GEOMAlgo
|
|
|
|
|
|
|
|
---Purpose:
|
|
|
|
|
|
|
|
uses
|
|
|
|
TCollection,
|
|
|
|
TColStd,
|
2005-01-20 11:24:17 +05:00
|
|
|
Geom,
|
2004-12-17 16:18:33 +05:00
|
|
|
Bnd,
|
2005-03-23 12:27:20 +05:00
|
|
|
gp,
|
|
|
|
GeomAdaptor,
|
2004-12-17 16:18:33 +05:00
|
|
|
TopAbs,
|
|
|
|
TopoDS,
|
|
|
|
TopTools,
|
2005-01-20 11:24:17 +05:00
|
|
|
IntTools,
|
|
|
|
BOPTools,
|
|
|
|
BOP
|
2004-12-17 16:18:33 +05:00
|
|
|
|
2005-01-20 11:24:17 +05:00
|
|
|
is
|
|
|
|
-- enumerations
|
|
|
|
--
|
|
|
|
enumeration State is
|
|
|
|
ST_UNKNOWN,
|
|
|
|
ST_IN,
|
|
|
|
ST_OUT,
|
|
|
|
ST_ON,
|
|
|
|
ST_ONIN,
|
|
|
|
ST_ONOUT,
|
|
|
|
ST_INOUT
|
|
|
|
end State;
|
|
|
|
--
|
|
|
|
-- classes
|
|
|
|
--
|
2004-12-17 16:18:33 +05:00
|
|
|
deferred class Algo;
|
2005-01-20 11:24:17 +05:00
|
|
|
deferred class ShapeAlgo;
|
|
|
|
--
|
|
|
|
-- gluer
|
2004-12-17 16:18:33 +05:00
|
|
|
class Gluer;
|
2005-01-20 11:24:17 +05:00
|
|
|
class GlueAnalyser;
|
|
|
|
class CoupleOfShapes;
|
2005-03-23 12:27:20 +05:00
|
|
|
class PassKey;
|
2004-12-17 16:18:33 +05:00
|
|
|
class PassKeyMapHasher;
|
2005-03-23 12:27:20 +05:00
|
|
|
class PassKeyShape;
|
2005-02-01 16:12:57 +05:00
|
|
|
class SurfaceTools;
|
2005-03-23 12:27:20 +05:00
|
|
|
class Tools;
|
|
|
|
|
2005-01-20 11:24:17 +05:00
|
|
|
--
|
|
|
|
-- finder on
|
|
|
|
deferred class ShapeSolid;
|
|
|
|
class WireSolid;
|
|
|
|
class ShellSolid;
|
|
|
|
class VertexSolid;
|
2005-02-01 16:12:57 +05:00
|
|
|
class SolidSolid;
|
2005-01-20 11:24:17 +05:00
|
|
|
class FinderShapeOn;
|
2005-03-23 12:27:20 +05:00
|
|
|
--
|
|
|
|
class FinderShapeOn1;
|
|
|
|
class StateCollector;
|
2005-01-20 11:24:17 +05:00
|
|
|
--
|
2005-02-01 16:12:57 +05:00
|
|
|
-- instantiations
|
2005-03-23 12:27:20 +05:00
|
|
|
class IndexedDataMapOfPassKeyShapeListOfShape
|
|
|
|
instantiates IndexedDataMap from TCollection (PassKeyShape from GEOMAlgo,
|
2004-12-17 16:18:33 +05:00
|
|
|
ListOfShape from TopTools,
|
|
|
|
PassKeyMapHasher from GEOMAlgo);
|
|
|
|
|
|
|
|
class IndexedDataMapOfShapeBox
|
|
|
|
instantiates IndexedDataMap from TCollection (Shape from TopoDS,
|
|
|
|
Box from Bnd,
|
|
|
|
ShapeMapHasher from TopTools);
|
|
|
|
class IndexedDataMapOfIntegerShape
|
|
|
|
instantiates IndexedDataMap from TCollection (Integer from Standard,
|
|
|
|
Shape from TopoDS,
|
2005-01-20 11:24:17 +05:00
|
|
|
MapIntegerHasher from TColStd);
|
|
|
|
|
|
|
|
class ListOfCoupleOfShapes
|
|
|
|
instantiates List from TCollection (CoupleOfShapes from GEOMAlgo);
|
|
|
|
|
2004-12-17 16:18:33 +05:00
|
|
|
|
2005-02-01 16:12:57 +05:00
|
|
|
class IndexedDataMapOfShapeState
|
|
|
|
instantiates IndexedDataMap from TCollection (Shape from TopoDS,
|
|
|
|
State from TopAbs,
|
|
|
|
ShapeMapHasher from TopTools);
|
2005-03-23 12:27:20 +05:00
|
|
|
--
|
|
|
|
class ListOfPnt
|
|
|
|
instantiates List from TCollection (Pnt from gp);
|
|
|
|
|
|
|
|
-- class IndexedDataMapOfPassKeyInteger
|
|
|
|
-- instantiates IndexedDataMap from TCollection (PassKeyRoot from GEOMAlgo,
|
|
|
|
-- Integer from Standard,
|
|
|
|
-- PassKeyMapHasher from GEOMAlgo);
|
|
|
|
|
|
|
|
|
|
|
|
class DataMapOfPassKeyInteger
|
|
|
|
instantiates DataMap from TCollection (PassKey from GEOMAlgo,
|
|
|
|
Integer from Standard,
|
|
|
|
PassKeyMapHasher from GEOMAlgo);
|
|
|
|
|
2005-02-01 16:12:57 +05:00
|
|
|
|
2004-12-17 16:18:33 +05:00
|
|
|
end GEOMAlgo;
|