Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit dc1e9c1

Browse filesBrowse files
authored
Merge pull request #22342 from anntzer/_qhull
Docstrings for _qhull.
2 parents 67e69e9 + 27d6745 commit dc1e9c1
Copy full SHA for dc1e9c1

File tree

Expand file treeCollapse file tree

1 file changed

+19
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+19
-2
lines changed

‎src/qhull_wrap.cpp

Copy file name to clipboardExpand all lines: src/qhull_wrap.cpp
+19-2Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,8 +301,25 @@ version(PyObject *self, PyObject *arg)
301301
}
302302

303303
static PyMethodDef qhull_methods[] = {
304-
{"delaunay", delaunay, METH_VARARGS, ""},
305-
{"version", version, METH_NOARGS, ""},
304+
{"delaunay", delaunay, METH_VARARGS,
305+
"delaunay(x, y, /)\n"
306+
"--\n\n"
307+
"Compute a Delaunay triangulation.\n"
308+
"\n"
309+
"Parameters\n"
310+
"----------\n"
311+
"x, y : 1d arrays\n"
312+
" The coordinates of the point set, which must consist of at least \n"
313+
" three unique points.\n"
314+
"\n"
315+
"Returns\n"
316+
"-------\n"
317+
"triangles, neighbors : int arrays, shape (ntri, 3)\n"
318+
" Indices of triangle vertices and indices of triangle neighbors.\n"
319+
},
320+
{"version", version, METH_NOARGS,
321+
"version()\n--\n\n"
322+
"Return the qhull version string."},
306323
{NULL, NULL, 0, NULL}
307324
};
308325

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.