python: apply const method annotations to impls.
This commit is contained in:
@@ -147,7 +147,7 @@ Py::Object VoronoiVertexPy::getIncidentEdge() const
|
||||
return Py::asObject(new VoronoiEdgePy(new VoronoiEdge(v->dia, v->ptr->incident_edge())));
|
||||
}
|
||||
|
||||
PyObject* VoronoiVertexPy::toPoint(PyObject* args)
|
||||
PyObject* VoronoiVertexPy::toPoint(PyObject* args) const
|
||||
{
|
||||
double z = 0.0;
|
||||
if (!PyArg_ParseTuple(args, "|d", &z)) {
|
||||
|
||||
Reference in New Issue
Block a user