sumTriangleAreasXY MethodStatic

Sum areas of triangles from points[0] to each far edge.

  • Consider triangles from points[0] to each edge.
  • Sum the signed areas of all these triangles. (An area can be negative at a concave corner.)

sumTriangleAreasXY(points: Point3d[]): number

Parameter Type Description
points Point3d[]  

Returns - number

sum of signed triangle areas.

Defined in

Last Updated: 20 June, 2023