parameters: (mesh,
          abs_threshold=0.0, rel_threshold=None, preserve_feature=False)
return_statement: return result, info
docstring: Wrapper function of :func:`collapse_short_edges_raw`.
  
      Args:
          mesh (:class:`Mesh`): Input mesh.
          abs_threshold (``float``): (optional) All edge with length below or
              equal to this threshold will be collapsed.  This value is ignored
              if ``rel_thresold`` is not ``None``.
          rel_threashold (``float``): (optional) Relative edge length threshold
              based on average edge length.  e.g. ``rel_threshold=0.1`` means all
              edges with length less than ``0.1 * ave_edge_length`` will be collapsed.
          preserve_feature (``bool``): True if shape features should be preserved.
              Default is false.
  
      Returns:
          2 values are returned.
  
              * ``output_Mesh`` (:class:`Mesh`): Output mesh.
              * ``information`` (:class:`dict`): A ``dict`` of additional informations.
  
          The following attribute are defined:
  
              * ``face_sources``: The index of input source face of each output face.
  
          The following fields are defined in ``information``:
  
              * ``num_edge_collapsed``: Number of edge collapsed.
docstring_summary: Wrapper function of :func:`collapse_short_edges_raw`.
docstring_tokens: Wrapper function of : func : collapse_short_edges_raw .
function: def collapse_short_edges(mesh,
          abs_threshold=0.0, rel_threshold=None, preserve_feature=False):
      """ Wrapper function of :func:`collapse_short_edges_raw`.
  
      Args:
          mesh (:class:`Mesh`): Input mesh.
          abs_threshold (``float``): (optional) All edge with length below or
              equal to this threshold will be collapsed.  This value is ignored
              if ``rel_thresold`` is not ``None``.
          rel_threashold (``float``): (optional) Relative edge length threshold
              based on average edge length.  e.g. ``rel_threshold=0.1`` means all
              edges with length less than ``0.1 * ave_edge_length`` will be collapsed.
          preserve_feature (``bool``): True if shape features should be preserved.
              Default is false.
  
      Returns:
          2 values are returned.
  
              * ``output_Mesh`` (:class:`Mesh`): Output mesh.
              * ``information`` (:class:`dict`): A ``dict`` of additional informations.
  
          The following attribute are defined:
  
              * ``face_sources``: The index of input source face of each output face.
  
          The following fields are defined in ``information``:
  
              * ``num_edge_collapsed``: Number of edge collapsed.
      """
      vertices, faces, info = collapse_short_edges_raw(mesh.vertices, mesh.faces,
              abs_threshold, rel_threshold, preserve_feature)
      result = form_mesh(vertices, faces)
      result.add_attribute("face_sources")
      result.set_attribute("face_sources", info["source_face_index"])
      del info["source_face_index"]
      return result, info
function_tokens: def collapse_short_edges ( mesh , abs_threshold = 0.0 , rel_threshold = None , preserve_feature = False ) : vertices , faces , info = collapse_short_edges_raw ( mesh . vertices , mesh . faces , abs_threshold , rel_threshold , preserve_feature ) result = form_mesh ( vertices , faces ) result . add_attribute ( "face_sources" ) result . set_attribute ( "face_sources" , info [ "source_face_index" ] ) del info [ "source_face_index" ] return result , info