x
and
y
.
triangulate(x, y, plot.it=T, shrink=0.1)
"x"
and
"y"
, a 2-column matrix,
or a vector containing
the horizontal coordinates of the vertices that form the polygon of interest.
x
is a vector of X-coordinates then
y
must contain the corresponding
vertical or Y-coordinates.
TRUE
.
x
and
y
and extract corresponding triangle vertices.
This provides an ordering of the triangles as well.
plot.it = TRUE
a colorful representation of the triangulation is
produced.
A Delaunay triangulation of a point set is a triangulation whose vertices are the point set, with the property that no point in the point set falls in the interior of the circumcircle (circle that passes through all three vertices) of any triangle in the triangulation.
triangulate(scallops[,c("lat","long")])