plotDelaunayOnSphere {sphereTessellation} | R Documentation |
Plot spherical Delaunay triangulation
Description
Plot a spherical Delaunay triangulation.
Usage
plotDelaunayOnSphere(
del,
colors = "random",
distinctArgs = list(seedcolors = c("#ff0000", "#00ff00", "#0000ff")),
randomArgs = list(hue = "random", luminosity = "bright"),
edges = FALSE,
vertices = FALSE,
ecolor = "black",
lwd = 3,
vcolor = "black",
vradius = NA,
...
)
Arguments
del |
an output of |
colors |
controls the filling colors of the triangles, either
|
distinctArgs |
if |
randomArgs |
if |
edges |
Boolean, whether to plot the edges |
vertices |
Boolean, whether to plot the vertices |
ecolor |
a color for the edges |
lwd |
line width for the edges, if they are plotted |
vcolor |
a color for the vertices |
vradius |
a radius for the vertices, which are plotted as spheres (if
they are plotted); |
... |
arguments passed to |
Value
No value is returned.
Examples
library(sphereTessellation)
library(rgl)
vertices <- t(cuboctahedron3d()$vb[-4L, ])
del <- DelaunayOnSphere(vertices, radius = sqrt(2))
open3d(windowRect = 50 + c(0, 0, 512, 512), zoom = 0.8)
plotDelaunayOnSphere(del)
[Package sphereTessellation version 1.2.0 Index]