G+Smo  24.08.0
Geometry + Simulation Modules
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gsReadOcct.h
Go to the documentation of this file.
1 
14 #pragma once
15 
16 #include <gsCore/gsDebug.h>
17 
18 #include <gsIO/gsXml.h>
19 
20 namespace opencascade { template<class O> class handle; }
21 class TopoDS_Shape;
22 class Geom_Surface;
23 class Geom_BSplineSurface;
24 class Geom2d_Curve;
25 class Geom2d_BSplineCurve;
26 
27 namespace gismo {
28 
29 namespace extensions {
30 
32 bool gsReadBrep(const char * filename, internal::gsXmlTree & data);
33 
35 bool readTopoDS_Shape( const TopoDS_Shape & shape, internal::gsXmlTree & data );
36 
38 bool readGeom_Surface( const opencascade::handle<Geom_Surface> & S, internal::gsXmlTree & data );
39 
41 bool readGeom_BSplineSurface( const opencascade::handle<Geom_BSplineSurface> & S, internal::gsXmlTree & data );
42 
44 bool readGeom2d_Curve( const opencascade::handle<Geom2d_Curve> & C, internal::gsXmlTree & data );
45 
47 bool readGeom2d_BSplineCurve( const opencascade::handle<Geom2d_BSplineCurve> & bsp2d, internal::gsXmlTree & data );
48 
49 }
50 
51 }
This file contains the debugging and messaging system of G+Smo.
Provides declaration of input/output XML utilities struct.