powered by
Returns a matrix of (x; y) coordinates when passed with a list obtained with opoly or npoly.
opoly_i(pol, nb.pts = 120, reregister = TRUE)npoly_i(pol, nb.pts = 120, reregister = TRUE)
npoly_i(pol, nb.pts = 120, reregister = TRUE)
a pol list such as created by npoly or opoly
the number of points to predict. By default (and cannot be higher) the number of points in the original shape.
logical whether to reregister the shape with the original baseline.
a matrix of (x; y) coordinates.
Other polynomials: npoly, opoly
npoly
opoly
# NOT RUN { data(olea) o <- olea[5] coo_plot(o) for (i in 2:7){ x <- opoly_i(opoly(o, i)) coo_draw(x, border=col_summer(7)[i], points=FALSE) } # }
Run the code above in your browser using DataLab