Makes triangle matrix for points in matrix
get_tri_matrix(dtri_data_tri)
dtri_data_tri | sp object with triangles (sp::SpatialPolygons) - n triangles |
---|
a matrix (n x 3) with strings of locations of 3 points in triangle
This function is shared with TCpredictionbands on github: TCpredictionbands.