File tree Expand file tree Collapse file tree 1 file changed +53
-0
lines changed
Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Original file line number Diff line number Diff line change 1+ #include < common.h>
2+ #include < npe.h>
3+ #include < typedefs.h>
4+
5+
6+ #include < igl/quad_grid.h>
7+
8+ const char *ds_quad_grid = R"igl_Qu8mg5v7(
9+
10+ Generate a quad mesh over a regular grid.
11+
12+ Parameters
13+ ----------
14+ nx number of vertices in the x direction
15+ ny number of vertices in the y direction
16+
17+
18+ Returns
19+ -------
20+
21+ V nx*ny by 2 list of vertex positions
22+ Q (nx-1)*(ny-1) by 4 list of quad indices into V
23+ E (nx-1)*ny+(ny-1)*nx by 2 list of undirected quad edge indices into V
24+
25+ See also
26+ --------
27+ grid, triangulated_grid
28+
29+ Notes
30+ -----
31+ None
32+
33+ Examples
34+ --------
35+
36+ )igl_Qu8mg5v7" ;
37+
38+ npe_function (quad_grid)
39+ npe_doc(ds_quad_grid)
40+
41+ npe_arg(nx, int )
42+ npe_arg(ny, int )
43+
44+
45+ npe_begin_code()
46+
47+ EigenDenseFloat gv;
48+ EigenDenseInt gf;
49+ EigenDenseInt e;
50+ igl::quad_grid (nx, ny, gv, gf);
51+ return std::make_tuple(npe::move(gv), npe::move(gf), npe::move(e));
52+
53+ npe_end_code ()
You can’t perform that action at this time.
0 commit comments