Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:05:25

0001 // Created on: 1993-06-17
0002 // Created by: Jean Yves LEBEY
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 _TopOpeBRepDS_HeaderFile
0018 #define _TopOpeBRepDS_HeaderFile
0019 
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 #include <Standard_Handle.hxx>
0023 
0024 #include <TopAbs_State.hxx>
0025 #include <TopOpeBRepDS_Kind.hxx>
0026 #include <TCollection_AsciiString.hxx>
0027 #include <TopAbs_ShapeEnum.hxx>
0028 #include <TopAbs_Orientation.hxx>
0029 #include <TopOpeBRepDS_Config.hxx>
0030 class TCollection_AsciiString;
0031 
0032 
0033 //! This package provides services used by the TopOpeBRepBuild
0034 //! package performing topological operations on the BRep
0035 //! data structure.
0036 class TopOpeBRepDS 
0037 {
0038 public:
0039 
0040   DEFINE_STANDARD_ALLOC
0041 
0042   
0043   //! IN OU ON UN
0044   Standard_EXPORT static TCollection_AsciiString SPrint (const TopAbs_State S);
0045   
0046   Standard_EXPORT static Standard_OStream& Print (const TopAbs_State S, Standard_OStream& OS);
0047   
0048   //! <K>
0049   Standard_EXPORT static TCollection_AsciiString SPrint (const TopOpeBRepDS_Kind K);
0050   
0051   //! S1(<K>,<I>)S2
0052   Standard_EXPORT static TCollection_AsciiString SPrint (const TopOpeBRepDS_Kind K, const Standard_Integer I, const TCollection_AsciiString& B = "", const TCollection_AsciiString& A = "");
0053   
0054   Standard_EXPORT static Standard_OStream& Print (const TopOpeBRepDS_Kind K, Standard_OStream& S);
0055   
0056   Standard_EXPORT static Standard_OStream& Print (const TopOpeBRepDS_Kind K, const Standard_Integer I, Standard_OStream& S, const TCollection_AsciiString& B = "", const TCollection_AsciiString& A = "");
0057   
0058   Standard_EXPORT static TCollection_AsciiString SPrint (const TopAbs_ShapeEnum T);
0059   
0060   //! (<T>,<I>)
0061   Standard_EXPORT static TCollection_AsciiString SPrint (const TopAbs_ShapeEnum T, const Standard_Integer I);
0062   
0063   Standard_EXPORT static Standard_OStream& Print (const TopAbs_ShapeEnum T, const Standard_Integer I, Standard_OStream& S);
0064   
0065   Standard_EXPORT static TCollection_AsciiString SPrint (const TopAbs_Orientation O);
0066   
0067   Standard_EXPORT static TCollection_AsciiString SPrint (const TopOpeBRepDS_Config C);
0068   
0069   Standard_EXPORT static Standard_OStream& Print (const TopOpeBRepDS_Config C, Standard_OStream& S);
0070   
0071   Standard_EXPORT static Standard_Boolean IsGeometry (const TopOpeBRepDS_Kind K);
0072   
0073   Standard_EXPORT static Standard_Boolean IsTopology (const TopOpeBRepDS_Kind K);
0074   
0075   Standard_EXPORT static TopAbs_ShapeEnum KindToShape (const TopOpeBRepDS_Kind K);
0076   
0077   Standard_EXPORT static TopOpeBRepDS_Kind ShapeToKind (const TopAbs_ShapeEnum S);
0078 
0079 };
0080 
0081 #endif // _TopOpeBRepDS_HeaderFile