Rasterization
Barycentric on Triangle
Use exact barycentric weights to decide whether a point is inside a triangle.
barycentric-on-triangle
Barycentric weights describe a point as a weighted mix of the triangle vertices. If the weights sum to one and stay nonnegative, the point is inside or on the triangle.