Skip to contents

Returns the index of the triangle which contains the given point

Usage

trilocR(i, x, y, v, e)

Arguments

i

index of the point to be located

x

X coordinates of points

y

Y coordinates of points

v

vertices of triangles, columns are triangle number and rows are vertices 1, 2, and 3

e

adjacency of triangles, columns are triangle number and rows are ids of adjacent triangles