links_delaunay {Momocs} | R Documentation |
Creates links (Delaunay triangulation) between landmarks
links_delaunay(coo)
coo |
a matrix (or a list) of (x; y) coordinates |
uses delaunayn in the geometry
package.
a matrix that can be passed to ldk_links, etc. The columns are the row ids of the original shape.
Other ldk helpers:
def_links()
,
ldk_check()
,
links_all()
w <- wings[1]
coo_plot(w, poly=FALSE)
links <- links_delaunay(w)
ldk_links(w, links)