netgen/libsrc/occ/occ_solid.hpp

24 lines
441 B
C++
Raw Normal View History

2021-11-28 20:14:41 +05:00
#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)
2022-08-19 15:51:39 +05:00
: solid(TopoDS::Solid(dshape))
2021-11-28 20:14:41 +05:00
{ }
TopoDS_Solid& GetShape() { return solid; }
2021-11-28 20:14:41 +05:00
};
}
#endif // FILE_OCC_SOLID_INCLUDED