36 #ifndef NekMeshUtils_CADSYSTEM_OCE_CADSYSTEMOCE
37 #define NekMeshUtils_CADSYSTEM_OCE_CADSYSTEMOCE
44 namespace NekMeshUtils
56 static std::string
key;
70 void AddVert(
int i, TopoDS_Shape in);
72 void AddCurve(
int i, TopoDS_Shape in);
74 void AddSurf(
int i, TopoDS_Shape in);
static boost::shared_ptr< DataType > AllocateSharedPtr()
Allocate a shared pointer from the memory pool.
static CADSystemSharedPtr create(std::string name)
Base class for CAD interface system.
void AddVert(int i, TopoDS_Shape in)
Function to add curve to CADSystem::m_verts.
void AddCurve(int i, TopoDS_Shape in)
Function to add curve to CADSystem::m_curves.
TopoDS_Shape shape
OCC master object.
TopoDS_Shape BuildNACA(std::string naca)
CADSystemOCE(std::string name)
Default constructor.
Array< OneD, NekDouble > GetBoundingBox()
Returns bounding box of the domain.
TopTools_IndexedMapOfShape mapOfFaces
TopTools_IndexedMapOfShape mapOfVerts
bool LoadCAD()
Initialises CAD and makes surface, curve and vertex maps.
TopTools_IndexedMapOfShape mapOfEdges
boost::shared_ptr< CADSystem > CADSystemSharedPtr
void AddSurf(int i, TopoDS_Shape in)
Function to add surface to CADSystem::m_surfs.