• Calculates the area of a triangle using its side lengths.

    Parameters

    • pointArray: Point[]

      An array of points representing the vertices of the triangle.

    Returns number

    The area of the triangle.

    Not Exported

    Throws

    Thrown if pointArray is not a valid array of minimum 3 points.