signedArea

Computes the signed area of the triangle defined by the nodes referenced in this triangle. The signed area is positive if the nodes are ordered counterclockwise, and negative if they are ordered clockwise.

Return

the signed area of the triangle defined by the referenced nodes.

Parameters

nodes

a list of Node objects where this triangle's node indices correspond to the nodes in the list. Each Node must have a valid position.