class_docstr: Polygon class for data handling
  
  Parameters
  ----------
  vertices : (Nv, 3) array
      Vertex coordinates. If faces is not specified, then this will instead
      be interpreted as (Nf, 3, 3) array of coordinates.
  edges : (Nv, 2) array
      Constraining edges specified by vertex indices.
  faces : (Nf, 3) array
      Indexes into the vertex array.
  
  Notes
  -----
  All arguments are optional.
docstr: If vertices and faces are incompatible, this will generate vertices
  from these faces and set them.
docstr_tok: ["If","vertices","and","faces","are","incompatible",",","this","will","generate","vertices","from","these","faces","and","set","them","."]
code: def faces(self, f):
      """If vertices and faces are incompatible, this will generate vertices
      from these faces and set them.
      """
      self._faces = f
  
file_path: vispy/vispy/geometry/polygon.py
imports: import numpy
  from .triangulation import Triangulation
label_desc: Use image node_id 3 for calling the PolygonData obj's underlying member method code with example usage: obj.faces(f) without return types