Subversion Repositories gelsvn

Rev

Rev 150 | Rev 448 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 150 Rev 182
1
#ifndef __HMESHUTIL_REFINE_EDGES_H__
1
#ifndef __HMESHUTIL_REFINE_EDGES_H__
2
#define __HMESHUTIL_REFINE_EDGES_H__
2
#define __HMESHUTIL_REFINE_EDGES_H__
3
 
3
 
4
#include "HMesh/Manifold.h"
4
#include "HMesh/Manifold.h"
5
 
5
 
6
namespace HMesh
6
namespace HMesh
7
{
7
{
8
	/// Return the average edge length
8
	/// Return the average edge length
9
	float average_edge_length(HMesh::Manifold& mani);
9
	float average_edge_length(HMesh::Manifold& mani);
10
 
10
 
11
 
11
 
12
	/** Split all edges in mesh passed as first argument which are longer
12
	/** Split all edges in mesh passed as first argument which are longer
13
			than the threshold (second arg) length. A split edge
13
			than the threshold (second arg) length. A split edge
14
			results in a new vertex of valence two. We triangulate the faces on either
14
			results in a new vertex of valence two. We triangulate the faces on either
15
			side to ensure that there are no valence two vertices.*/
15
			side to ensure that there are no valence two vertices.*/
16
	int refine_edges(HMesh::Manifold& mani, float t);
16
	int refine_edges(HMesh::Manifold& mani, float t);
17
}
17
}
18
 
18
 
19
#endif
19
#endif
20
 
20