• Parameters

    • graph: FOLD

      a FOLD object, with vertices_coords, faces_vertices

    Returns [number, number][]

    array of points, where each point is an array of numbers

    Description

    For every face, get the average of the face's vertices. This is not not precise, and only relevant for faces which are convex.