43 namespace NekMeshUtils
47 "oce", CADVertOCE::create,
"CAD vert oce");
49 void CADVertOCE::Initialise(
int i, TopoDS_Shape in)
52 gp_Pnt ori(0.0, 0.0, 0.0);
53 transform.SetScale(ori, 1.0 / 1000.0);
54 TopLoc_Location mv(transform);
58 m_occVert = BRep_Tool::Pnt(TopoDS::Vertex(in));
60 m_node = boost::shared_ptr<Node>(
61 new Node(i - 1, m_occVert.X(), m_occVert.Y(), m_occVert.Z()));
CADVertFactory & GetCADVertFactory()
tKey RegisterCreatorFunction(tKey idKey, CreatorFunction classCreator, tDescription pDesc="")
Register a class with the factory.