mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
[occ] multiply 2 gp_Vec
This commit is contained in:
parent
41d9fbf258
commit
9efb9b1682
@ -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