def METHOD_NAME(triangle):
    """Compute the area of a triangle defined by three points.
    Parameters
    ----------
    triangle : [point, point, point] | :class:`~compas.geometry.Polygon`
        XYZ coordinates of the corners of the triangle.
    Returns
    -------
    float
        The area of the triangle.
    """
    return 0.5 * length_vector(normal_triangle(triangle, False))