Description Usage Arguments Value
Computing voronoi diagrams for 2D points is simple if libraries are available. If the points are contrained in a curved 3D surface, things are a little more complicated. This function projects the surface on a plane computes the voronoi diagram in this plane and then projects the resulting polygons back to 3D.
1 2 | surfaceVoronoi(m, pts, basefun = getBase,
ptsnames = NULL)
|
m |
Polygonal 3D mesh. |
x |
X Coordinate of the points that will be used to compute the Voronoi diagram |
y |
Y Coordinate of the points that will be used to compute the Voronoi diagram |
z |
Z Coordinate of the points that will be used to compute the Voronoi diagram |
pnames |
Names of each point. |
basefun |
Function used to obtain the projection plane. |
ptsnames |
Names of the points. |
A list containing 3D polygonal meshes of the influence area for each node.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.