netgen/libsrc/occ/occ_solid.hpp
2024-03-06 16:29:11 +01:00

23 lines
390 B
C++

#ifndef FILE_OCC_SOLID_INCLUDED
#define FILE_OCC_SOLID_INCLUDED
#include <TopoDS.hxx>
#include <TopoDS_Solid.hxx>
#include "meshing.hpp"
namespace netgen
{
class OCCSolid : public GeometrySolid
{
TopoDS_Solid solid;
public:
OCCSolid(TopoDS_Shape dshape)
: solid(TopoDS::Solid(dshape))
{ }
};
}
#endif // FILE_OCC_SOLID_INCLUDED