Base class for CAD interface system.
TopTools_IndexedMapOfShape m_mapOfVerts
TopoDS_Shape BuildNACA(std::string naca)
void AddCurve(int i, TopoDS_Shape in)
Function to add curve to CADSystem::m_curves.
bool LoadCAD() override
Initialises CAD and makes surface, curve and vertex maps.
CADSystemOCE(std::string name)
Default constructor.
TopTools_IndexedMapOfShape m_mapOfEdges
static CADSystemSharedPtr create(std::string name)
void AddVert(int i, TopoDS_Shape in)
Function to add curve to CADSystem::m_verts.
std::array< NekDouble, 6 > GetBoundingBox() override
Returns bounding box of the domain.
TopTools_IndexedMapOfShape m_mapOfFaces
void AddSurf(int i, TopoDS_Shape in)
Function to add surface to CADSystem::m_surfs.
TopoDS_Shape BuildGeo(std::string geo)
Create a OpenCASCADE object from a Gmsh file geo.
std::shared_ptr< CADSystemOCE > CADSystemOCESharedPtr
std::shared_ptr< CADSystem > CADSystemSharedPtr