Rev 468 | Rev 512 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
/*
* Written by Christian Thode Larsen 2009-2010
* Contact: thode2d@gmail.com
* Based on original work by J. Andreas Baerentzen
* Inspired by OpenMesh (www.openmesh.org)
*/
#ifndef __HMESH_REFINE_EDGES_H__
#define __HMESH_REFINE_EDGES_H__
namespace HMesh
{
class Manifold;
/// Return the average edge length
float average_edge_length(Manifold& m);
/** Split all edges in mesh passed as first argument which are longer
than the threshold (second arg) length. A split edge
results in a new vertex of valence two. We triangulate the faces on either
side to ensure that there are no valence two vertices.*/
int refine_edges(Manifold& m, float t);
}
#endif __HMESH_REFINE_EDGES_H__