| 174 | } |
| 175 | |
| 176 | PyObject* DrawViewPartPy::getGeometricCenter(PyObject *args) |
| 177 | { |
| 178 | if (!PyArg_ParseTuple(args, "")) { |
| 179 | return nullptr; |
| 180 | } |
| 181 | |
| 182 | DrawViewPart* dvp = getDrawViewPartPtr(); |
| 183 | Base::Vector3d pointOut = dvp->getCurrentCentroid(); |
| 184 | return new Base::VectorPy(new Base::Vector3d(pointOut)); |
| 185 | } |
| 186 | |
| 187 | |
| 188 | // remove all cosmetics |
nothing calls this directly
no test coverage detected