tricoefCal {SpatialfdaR}R Documentation

Compute the coefficient matrix required to test of a point is inside a triangle.

Description

Compute the coefficient matrix tricoef required to test if a point is inside a triangle.

Usage

  tricoefCal(pts, tri)

Arguments

pts

A two-column matrix of the locations of the vertices of the mesh.

tri

A three-column matrix of the indices in pts of the triangle vertices.

Value

A matrix tricoef.

See Also

insideIndex


[Package SpatialfdaR version 1.0.0 Index]