Rev 150 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
#ifndef __HMESHUTIL_REFINE_EDGES_H__
#define __HMESHUTIL_REFINE_EDGES_H__
#include "HMesh/Manifold.h"
namespace HMesh
{
/// Return the average edge length
float average_edge_length(HMesh::Manifold& mani);
/** 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(HMesh::Manifold& mani, float t);
}
#endif