access 'curved' of 3D elements

This commit is contained in:
Joachim Schöberl 2018-11-20 09:36:27 +01:00
parent e67c48c094
commit 361f822316

View File

@ -272,6 +272,7 @@ DLL_HEADER void ExportNetgenMeshing(py::module &m)
)
.def("__repr__", &ToString<Element>)
.def_property("index", &Element::GetIndex, &Element::SetIndex)
.def_property("curved", &Element::IsCurved, &Element::SetCurved)
.def_property_readonly("vertices",
FunctionPointer ([](const Element & self) -> py::list
{