mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
query coordinate trafo
This commit is contained in:
parent
c20c2061f4
commit
8c56725dcf
@ -124,6 +124,8 @@ DLL_HEADER void ExportNetgenMeshing(py::module &m)
|
||||
.def("__call__", [] (Transformation<3> trafo, Point<3> p) { return trafo(p); })
|
||||
;
|
||||
|
||||
m.def ("GetTransformation", [] () { return global_trafo; });
|
||||
m.def ("SetTransformation", [] (Transformation<3> trafo) { global_trafo = trafo; });
|
||||
m.def ("SetTransformation",
|
||||
[](int dir, double angle)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user