Calculate a spline curve fit in 3-D
spline3d(x, y = NULL, z = NULL, lengthFactor = 4, verbose = FALSE, ...)
x | numeric vector or numeric |
---|---|
y, z | optional numeric vectors, used only when x is also a numeric vector. |
lengthFactor | numeric multiplier used to control the number of intermediate points during smoothing between each provided point. |
verbose | logical indicating whether to print verbose output. |
numeric matrix with colnames(x)=c("x","y","z")
.
This function takes 3-dimensional points as input, and fits
a 3-D spline curve to connect the points. It essentially calls
stats::spline()
on one dimension at a time, relative to the
row rank.
Other jam spatial functions:
bgaPlotly3d()
,
compressPolygonM()
,
dfWide2segments()
,
simplifyXY()