tri.find.RdThis subroutine locates a point \(P=(x,y)\) relative to a
triangulation created by tri.mesh. If \(P\) is
contained in a triangle, the three vertex indexes are
returned. Otherwise, the indexes of the rightmost and
leftmost visible boundary nodes are returned.
tri.find(tri.obj,x,y)A list with elements i1,i2,i3 containing nodal
indexes, in counterclockwise order, of the vertices of a triangle
containing \(P=(x,y)\). tr contains the triangle index and
bc contains the barycentric coordinates
of \(P\) w.r.t. the found triangle.
If \(P\) is not contained in the
convex hull of the nodes this indices are 0 (bc is meaningless then).