newton.geometry.remesh_mesh#
- newton.geometry.remesh_mesh(mesh, method='quadratic', recompute_inertia=False, inplace=False, **remeshing_kwargs)[source]#
Remesh a mesh using the specified method. :param mesh: The mesh to remesh. :param method: The remeshing method to use. One of “ftetwild”, “quadratic”, “convex_hull”, or “alphashape”. :param recompute_inertia: Whether to recompute the inertia of the mesh. :param inplace: Whether to modify the mesh in place or return a new mesh. :param **remeshing_kwargs: Additional keyword arguments passed to the remeshing function.
- Returns:
The remeshed mesh.
- Return type: