area method

double area()

Computes the 2D area of this triangle. The area value is always non-negative.

@return the area of this triangle

@see #signedArea()

Implementation

double area() {
  return areaStatic(this.p0, this.p1, this.p2);
}