Files
OCCT/src/TopTools/TopTools.cdl
bugmster 973c2be1e1 0024428: Implementation of LGPL license
The copying permission statements at the beginning of source files updated to refer to LGPL.
Copyright dates extended till 2014 in advance.
2013-12-17 12:42:41 +04:00

227 lines
8.1 KiB
Plaintext

-- Created on: 1993-01-14
-- Created by: Remi LEQUETTE
-- Copyright (c) 1993-1999 Matra Datavision
-- 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 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.
package TopTools
---Purpose: The TopTools package provides utilities for the
-- topological data structure.
--
-- * ShapeMapHasher. Hash a Shape base on the TShape
-- and the Location. The Orientation is not used.
--
-- * OrientedShapeMapHasher. Hash a Shape base on the
-- TShape ,the Location and the Orientation.
--
-- * Instantiations of TCollection for Shapes :
-- MapOfShape
-- IndexedMapOfShape
-- DataMapOfIntegerShape
-- DataMapOfShapeInteger
-- DataMapOfShapeReal
-- Array1OfShape
-- HArray1OfShape
-- SequenceOfShape
-- HSequenceOfShape
-- ListOfShape
-- Array1OfListShape
-- HArray1OfListShape
-- DataMapOfIntegerListOfShape
-- DataMapOfShapeListOfShape
-- DataMapOfShapeListOfInteger
-- IndexedDataMapOfShapeShape
-- IndexedDataMapOfShapeListOfShape
-- DataMapOfShapeShape
-- IndexedMapOfOrientedShape
-- DataMapOfShapeSequenceOfShape
-- IndexedDataMapOfShapeAddress
-- DataMapOfOrientedShapeShape
--
-- * LocationSet : to write sets of locations.
--
-- * ShapeSet : to writes sets of TShapes.
--
-- Package Methods :
--
-- Dump : To dump the topology of a Shape.
--
--- Level : Public
-- All methods of all classes will be public.
uses
MMgt,
TCollection,
TColStd,
TopLoc,
TopAbs,
TopoDS,
Message
is
----------------------------------------------------------
-- TCollections for Shapes
----------------------------------------------------------
class ShapeMapHasher;
class OrientedShapeMapHasher;
class MapOfShape instantiates
Map from TCollection(Shape from TopoDS,
ShapeMapHasher from TopTools);
class MapOfOrientedShape instantiates
Map from TCollection(Shape from TopoDS,
OrientedShapeMapHasher from TopTools);
class IndexedMapOfShape instantiates
IndexedMap from TCollection(Shape from TopoDS,
ShapeMapHasher from TopTools);
class DataMapOfIntegerShape instantiates
DataMap from TCollection(Integer,
Shape from TopoDS,
MapIntegerHasher from TColStd);
class DataMapOfOrientedShapeInteger instantiates
DataMap from TCollection(Shape from TopoDS,
Integer from Standard,
OrientedShapeMapHasher from TopTools);
class DataMapOfShapeInteger instantiates
DataMap from TCollection(Shape from TopoDS,
Integer from Standard,
ShapeMapHasher from TopTools);
class DataMapOfShapeReal instantiates
DataMap from TCollection(Shape from TopoDS,
Real from Standard,
ShapeMapHasher from TopTools);
class Array1OfShape instantiates
Array1 from TCollection (Shape from TopoDS);
class HArray1OfShape instantiates
HArray1 from TCollection(Shape from TopoDS,
Array1OfShape from TopTools);
class Array2OfShape instantiates
Array2 from TCollection (Shape from TopoDS);
class HArray2OfShape instantiates
HArray2 from TCollection(Shape from TopoDS,
Array2OfShape from TopTools);
class SequenceOfShape instantiates
Sequence from TCollection (Shape from TopoDS);
class HSequenceOfShape instantiates
HSequence from TCollection(Shape from TopoDS,
SequenceOfShape from TopTools);
class ListOfShape instantiates
List from TCollection (Shape from TopoDS);
class Array1OfListOfShape instantiates
Array1 from TCollection (ListOfShape from TopTools);
class HArray1OfListOfShape instantiates
HArray1 from TCollection(ListOfShape from TopTools,
Array1OfListOfShape from TopTools);
class DataMapOfIntegerListOfShape instantiates
DataMap from TCollection(Integer from Standard,
ListOfShape from TopTools,
MapIntegerHasher from TColStd);
class DataMapOfShapeListOfShape instantiates
DataMap from TCollection(Shape from TopoDS,
ListOfShape from TopTools,
ShapeMapHasher from TopTools);
class DataMapOfShapeListOfInteger instantiates
DataMap from TCollection(Shape from TopoDS,
ListOfInteger from TColStd,
ShapeMapHasher from TopTools);
class IndexedDataMapOfShapeShape instantiates
IndexedDataMap from TCollection(Shape from TopoDS,
Shape from TopoDS,
ShapeMapHasher from TopTools);
class IndexedDataMapOfShapeListOfShape instantiates
IndexedDataMap from TCollection(Shape from TopoDS,
ListOfShape from TopTools,
ShapeMapHasher from TopTools);
class DataMapOfShapeShape instantiates
DataMap from TCollection (Shape from TopoDS,
Shape from TopoDS,
ShapeMapHasher from TopTools);
class IndexedMapOfOrientedShape instantiates
IndexedMap from TCollection(Shape from TopoDS,
OrientedShapeMapHasher from TopTools);
class DataMapOfShapeSequenceOfShape instantiates
DataMap from TCollection (Shape from TopoDS,
SequenceOfShape from TopTools,
ShapeMapHasher from TopTools);
class IndexedDataMapOfShapeAddress instantiates
IndexedDataMap from TCollection(Shape from TopoDS,
Address from Standard,
ShapeMapHasher from TopTools);
class DataMapOfOrientedShapeShape instantiates
DataMap from TCollection (Shape from TopoDS,
Shape from TopoDS,
OrientedShapeMapHasher from TopTools);
----------------------------------------------------------
-- Tools for writing and reading Locations and Shapes
----------------------------------------------------------
class LocationSet;
---Purpose: A set of Locations. Can be dump, wrote or read.
pointer LocationSetPtr to LocationSet from TopTools;
class ShapeSet;
---Purpose: A set of Shapes. Can be dump, wrote or read.
--
-- Package methods
--
imported MutexForShapeProvider;
Dump(Sh : Shape from TopoDS; S : in out OStream);
---Purpose: Dumps the topological structure of <Sh> on the
-- stream <S>.
Dummy(I : Integer);
---Purpose: This is to bypass an extraction bug. It will force
-- the inclusion of Standard_Integer.hxx itself
-- including Standard_OStream.hxx at the correct
-- position.
end TopTools;