tricoefCal: Compute the coefficient matrix required to test of a point is...

tricoefCalR 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


SpatialfdaR documentation built on Oct. 11, 2022, 5:06 p.m.