mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 05:20:34 +05:00
Merge branch 'occ_vec_times_vec' into 'master'
[occ] multiply 2 gp_Vec See merge request jschoeberl/netgen!433
This commit is contained in:
commit
5260e3500c
@ -115,6 +115,7 @@ DLL_HEADER void ExportNgOCCBasic(py::module &m)
|
||||
.def("__add__", [](gp_Vec v1, gp_Vec v2) { return v1+v2; })
|
||||
.def("__sub__", [](gp_Vec v1, gp_Vec v2) { return v1-v2; })
|
||||
.def("__rmul__", [](gp_Vec v, double s) { return s*v; })
|
||||
.def("__mul__", [](gp_Vec v1, gp_Vec v2) { return v1*v2; })
|
||||
.def("__neg__", [](gp_Vec v) { return -v; })
|
||||
.def("__xor__", [](gp_Vec v1, gp_Vec v2) { return v1^v2; })
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user