area_triangle#

regridding.geometry.area_triangle(vertex_1, vertex_2)[source]#

Compute the signed area of the triangle formed by two vertices and the origin.

If the vertices are oriented counterclockwise, the volume is positive, otherwise it is negative.

Parameters:
Return type:

float