parameters: (vertices, faces, num_iterations=5)
return_statement: return remover.get_vertices(), remover.get_faces(), info
docstring: Remove degenerated triangles.
  
      Degenerated faces are faces with collinear vertices.  It is impossible to
      compute face normal for them.  This method get rid of all degenerated faces.
      No new vertices will be introduced.  Only connectivity is changed.
  
      Args:
          vertices (``numpy.ndarray``): Vertex array with one vertex per row.
          faces (``numpy.ndarray``): Face array with one triangle per row.
  
      Returns:
          3 values are returned.
  
              * ``output_vertices``: Output vertex array, one vertex per row.
              * ``output_faces``: Output face array, one face per row.
              * ``info``: Additional information dict.
  
          The following fields are defined in the ``info`` dict:
              * ``ori_face_indices``: index array that maps each output face
                to an input face that contains it.
docstring_summary: Remove degenerated triangles.
docstring_tokens: Remove degenerated triangles .
function: def remove_degenerated_triangles_raw(vertices, faces, num_iterations=5):
      """ Remove degenerated triangles.
  
      Degenerated faces are faces with collinear vertices.  It is impossible to
      compute face normal for them.  This method get rid of all degenerated faces.
      No new vertices will be introduced.  Only connectivity is changed.
  
      Args:
          vertices (``numpy.ndarray``): Vertex array with one vertex per row.
          faces (``numpy.ndarray``): Face array with one triangle per row.
  
      Returns:
          3 values are returned.
  
              * ``output_vertices``: Output vertex array, one vertex per row.
              * ``output_faces``: Output face array, one face per row.
              * ``info``: Additional information dict.
  
          The following fields are defined in the ``info`` dict:
              * ``ori_face_indices``: index array that maps each output face
                to an input face that contains it.
      """
      if (faces.shape[1] != 3):
          raise RuntimeError("Faces are not triangles!")
      remover = DegeneratedTriangleRemoval(vertices, faces)
      remover.run(num_iterations)
      info = {
              "ori_face_indices": remover.get_ori_face_indices().squeeze(),
              }
      return remover.get_vertices(), remover.get_faces(), info
function_tokens: def remove_degenerated_triangles_raw ( vertices , faces , num_iterations = 5 ) : if ( faces . shape [ 1 ] != 3 ) : raise RuntimeError ( "Faces are not triangles!" ) remover = DegeneratedTriangleRemoval ( vertices , faces ) remover . run ( num_iterations ) info = { "ori_face_indices" : remover . get_ori_face_indices ( ) . squeeze ( ) , } return remover . get_vertices ( ) , remover . get_faces ( ) , info