|
||||
File indexing completed on 2025-01-18 10:04:04
0001 // Created on: 1994-03-22 0002 // Created by: Frederic UNTEREINER 0003 // Copyright (c) 1994-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 _IGESToBRep_HeaderFile 0018 #define _IGESToBRep_HeaderFile 0019 0020 #include <Standard.hxx> 0021 #include <Standard_DefineAlloc.hxx> 0022 #include <Standard_Handle.hxx> 0023 0024 #include <Standard_Boolean.hxx> 0025 #include <Standard_Integer.hxx> 0026 #include <TColStd_HSequenceOfTransient.hxx> 0027 class IGESToBRep_AlgoContainer; 0028 class IGESData_IGESEntity; 0029 class TopoDS_Edge; 0030 class TopoDS_Face; 0031 0032 0033 //! Provides tools in order to transfer IGES entities 0034 //! to CAS.CADE. 0035 class IGESToBRep 0036 { 0037 public: 0038 0039 DEFINE_STANDARD_ALLOC 0040 0041 0042 //! Creates and initializes default AlgoContainer. 0043 Standard_EXPORT static void Init(); 0044 0045 //! Sets default AlgoContainer 0046 Standard_EXPORT static void SetAlgoContainer (const Handle(IGESToBRep_AlgoContainer)& aContainer); 0047 0048 //! Returns default AlgoContainer 0049 Standard_EXPORT static Handle(IGESToBRep_AlgoContainer) AlgoContainer(); 0050 0051 //! Return True if the IGESEntity can be transferred by 0052 //! TransferCurveAndSurface. 0053 //! ex: All IGESEntity from IGESGeom 0054 Standard_EXPORT static Standard_Boolean IsCurveAndSurface (const Handle(IGESData_IGESEntity)& start); 0055 0056 //! Return True if the IGESEntity can be transferred by 0057 //! TransferBasicCurve. 0058 //! ex: CircularArc, ConicArc, Line, CopiousData, 0059 //! BSplineCurve, SplineCurve... from IGESGeom : 0060 //! 104,110,112,126 0061 Standard_EXPORT static Standard_Boolean IsBasicCurve (const Handle(IGESData_IGESEntity)& start); 0062 0063 //! Return True if the IGESEntity can be transferred by 0064 //! TransferBasicSurface. 0065 //! ex: BSplineSurface, SplineSurface... from IGESGeom : 0066 //! 114,128 0067 Standard_EXPORT static Standard_Boolean IsBasicSurface (const Handle(IGESData_IGESEntity)& start); 0068 0069 //! Return True if the IGESEntity can be transferred by 0070 //! TransferTopoCurve. 0071 //! ex: all Curves from IGESGeom : 0072 //! all basic curves,102,130,142,144 0073 Standard_EXPORT static Standard_Boolean IsTopoCurve (const Handle(IGESData_IGESEntity)& start); 0074 0075 //! Return True if the IGESEntity can be transferred by 0076 //! TransferTopoSurface. 0077 //! ex: All Surfaces from IGESGeom : 0078 //! all basic surfaces,108,118,120,122,141,143 0079 Standard_EXPORT static Standard_Boolean IsTopoSurface (const Handle(IGESData_IGESEntity)& start); 0080 0081 //! Return True if the IGESEntity can be transferred by 0082 //! TransferBRepEntity. 0083 //! ex: VertexList, EdgeList, Loop, Face, Shell, 0084 //! Manifold Solid BRep Object from IGESSolid : 0085 //! 502, 504, 508, 510, 514, 186. 0086 Standard_EXPORT static Standard_Boolean IsBRepEntity (const Handle(IGESData_IGESEntity)& start); 0087 0088 Standard_EXPORT static Standard_Integer IGESCurveToSequenceOfIGESCurve (const Handle(IGESData_IGESEntity)& curve, Handle(TColStd_HSequenceOfTransient)& sequence); 0089 0090 Standard_EXPORT static Standard_Boolean TransferPCurve (const TopoDS_Edge& fromedge, const TopoDS_Edge& toedge, const TopoDS_Face& face); 0091 0092 }; 0093 0094 #endif // _IGESToBRep_HeaderFile
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |