44 namespace NekMeshUtils
48 "oce", CADVertOCE::create,
"CAD vert oce");
50 void CADVertOCE::Initialise(
int i, TopoDS_Shape in)
59 m_occVert = BRep_Tool::Pnt(TopoDS::Vertex(in));
61 m_node = std::shared_ptr<Node>(
new Node(i - 1, m_occVert.X() / 1000.0,
62 m_occVert.Y() / 1000.0,
63 m_occVert.Z() / 1000.0));
CADVertFactory & GetCADVertFactory()
tKey RegisterCreatorFunction(tKey idKey, CreatorFunction classCreator, std::string pDesc="")
Register a class with the factory.