GetGeometry from mesh

This commit is contained in:
Christopher Lackner 2017-12-06 14:16:52 +01:00
parent 17c35f0640
commit bcf5ea67aa

View File

@ -694,11 +694,11 @@ DLL_HEADER void ExportNetgenMeshing(py::module &m)
Refinement().MakeSecondOrder(self); Refinement().MakeSecondOrder(self);
})) }))
.def ("SetGeometry", FunctionPointer .def ("GetGeometry", [] (Mesh& self) { return self.GetGeometry(); })
([](Mesh & self, shared_ptr<NetgenGeometry> geo) .def ("SetGeometry", [](Mesh & self, shared_ptr<NetgenGeometry> geo)
{ {
self.SetGeometry(geo); self.SetGeometry(geo);
})) })
/* /*
.def ("SetGeometry", FunctionPointer .def ("SetGeometry", FunctionPointer