compas.numerical.face_matrix

compas.numerical.face_matrix(face_vertices, rtype='array', normalize=False)[source]

Creates a face-vertex adjacency matrix.

Parameters
  • face_vertices (list) – List of lists, vertices per face.

  • rtype ({‘array’, ‘csc’, ‘csr’, ‘coo’, ‘list’}) – Format of the result.

Returns

array-like – Constructed face matrix.