class_docstr: Class for storing and operating on 3D mesh data.
  
  Parameters
  ----------
  vertices : ndarray, shape (Nv, 3)
      Vertex coordinates. If faces is not specified, then this will
      instead be interpreted as (Nf, 3, 3) array of coordinates.
  faces : ndarray, shape (Nf, 3)
      Indices into the vertex array.
  edges : None
      [not available yet]
  vertex_colors : ndarray, shape (Nv, 4)
      Vertex colors. If faces is not specified, this will be
      interpreted as (Nf, 3, 4) array of colors.
  face_colors : ndarray, shape (Nf, 4)
      Face colors.
  vertex_values : ndarray, shape (Nv,)
      Vertex values.
  
  Notes
  -----
  All arguments are optional.
  
  The object may contain:
  
  - list of vertex locations
  - list of edges
  - list of triangles
  - colors per vertex, edge, or tri
  - normals per vertex or tri
  
  This class handles conversion between the standard
  [list of vertices, list of faces] format (suitable for use with
  glDrawElements) and 'indexed' [list of vertices] format (suitable
  for use with glDrawArrays). It will automatically compute face normal
  vectors as well as averaged vertex normal vectors.
  
  The class attempts to be as efficient as possible in caching conversion
  results and avoiding unnecessary conversions.
docstr: Get the vertices
  
  Parameters
  ----------
  indexed : str | None
      If Note, return an array (N,3) of the positions of vertices in
      the mesh. By default, each unique vertex appears only once.
      If indexed is 'faces', then the array will instead contain three
      vertices per face in the mesh (and a single vertex may appear more
      than once in the array).
  
  Returns
  -------
  vertices : ndarray
      The vertices.
docstr_tok: ["Get","the","vertices","Parameters","--","--","--","--","--","indexed",":","str","|","None","If","Note",",","return","an","array","(","N,3",")","of","the","positions","of","vertices","in","the","mesh",".","By","default",",","each","unique","vertex","appears","only","once",".","If","indexed","is","'faces","'",",","then","the","array","will","instead","contain","three","vertices","per","face","in","the","mesh","(","and","a","single","vertex","may","appear","more","than","once","in","the","array",")",".","Returns","--","--","--","-","vertices",":","ndarray","The","vertices","."]
code: def get_vertices(self, indexed=None):
      """Get the vertices
  
      Parameters
      ----------
      indexed : str | None
          If Note, return an array (N,3) of the positions of vertices in
          the mesh. By default, each unique vertex appears only once.
          If indexed is 'faces', then the array will instead contain three
          vertices per face in the mesh (and a single vertex may appear more
          than once in the array).
  
      Returns
      -------
      vertices : ndarray
          The vertices.
      """
      if indexed is None:
          if (
              self._vertices is None
              and self._vertices_indexed_by_faces is not None
          ):
              self._compute_unindexed_vertices()
          return self._vertices
      elif indexed == "faces":
          if (
              self._vertices_indexed_by_faces is None
              and self._vertices is not None
          ):
              self._vertices_indexed_by_faces = self._vertices[
                  self.get_faces()
              ]
          return self._vertices_indexed_by_faces
      else:
          raise ValueError(
              "Invalid indexing mode. Accepts: None, 'faces'"
          )
  
imports: import numpy
label_desc: Use image node_id 5 for calling the MeshData obj's underlying member method code with example usage: obj.get_vertices(indexed) and returns: self, self