|
||||
File indexing completed on 2025-01-18 10:05:28
0001 // Created on: 1993-01-14 0002 // Created by: Remi LEQUETTE 0003 // Copyright (c) 1993-1999 Matra Datavision 0004 // Copyright (c) 1999-2014 OPEN CASCADE SAS 0005 // 0006 // This file is part of Open CASCADE Technology software library. 0007 // 0008 // This library is free software; you can redistribute it and/or modify it under 0009 // the terms of the GNU Lesser General Public License version 2.1 as published 0010 // by the Free Software Foundation, with special exception defined in the file 0011 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT 0012 // distribution for complete text of the license and disclaimer of any warranty. 0013 // 0014 // Alternatively, this file may be used under the terms of Open CASCADE 0015 // commercial license or contractual agreement. 0016 0017 #ifndef _TopTools_HeaderFile 0018 #define _TopTools_HeaderFile 0019 0020 #include <Standard.hxx> 0021 #include <Standard_DefineAlloc.hxx> 0022 #include <Standard_Handle.hxx> 0023 0024 #include <Standard_OStream.hxx> 0025 class TopoDS_Shape; 0026 0027 0028 //! The TopTools package provides utilities for the 0029 //! topological data structure. 0030 //! 0031 //! * ShapeMapHasher. Hash a Shape base on the TShape 0032 //! and the Location. The Orientation is not used. 0033 //! 0034 //! * OrientedShapeMapHasher. Hash a Shape base on the 0035 //! TShape ,the Location and the Orientation. 0036 //! 0037 //! * Instantiations of TCollection for Shapes : 0038 //! MapOfShape 0039 //! IndexedMapOfShape 0040 //! DataMapOfIntegerShape 0041 //! DataMapOfShapeInteger 0042 //! DataMapOfShapeReal 0043 //! Array1OfShape 0044 //! HArray1OfShape 0045 //! SequenceOfShape 0046 //! HSequenceOfShape 0047 //! ListOfShape 0048 //! Array1OfListShape 0049 //! HArray1OfListShape 0050 //! DataMapOfIntegerListOfShape 0051 //! DataMapOfShapeListOfShape 0052 //! DataMapOfShapeListOfInteger 0053 //! IndexedDataMapOfShapeShape 0054 //! IndexedDataMapOfShapeListOfShape 0055 //! DataMapOfShapeShape 0056 //! IndexedMapOfOrientedShape 0057 //! DataMapOfShapeSequenceOfShape 0058 //! IndexedDataMapOfShapeAddress 0059 //! DataMapOfOrientedShapeShape 0060 //! 0061 //! * LocationSet : to write sets of locations. 0062 //! 0063 //! * ShapeSet : to writes sets of TShapes. 0064 //! 0065 //! Package Methods : 0066 //! 0067 //! Dump : To dump the topology of a Shape. 0068 class TopTools 0069 { 0070 public: 0071 0072 DEFINE_STANDARD_ALLOC 0073 0074 0075 //! A set of Shapes. Can be dump, wrote or read. 0076 //! Dumps the topological structure of <Sh> on the 0077 //! stream <S>. 0078 Standard_EXPORT static void Dump (const TopoDS_Shape& Sh, Standard_OStream& S); 0079 0080 //! This is to bypass an extraction bug. It will force 0081 //! the inclusion of Standard_Integer.hxx itself 0082 //! including Standard_OStream.hxx at the correct 0083 //! position. 0084 Standard_EXPORT static void Dummy (const Standard_Integer I); 0085 0086 }; 0087 0088 #endif // _TopTools_HeaderFile
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |