Subversion Repositories gelsvn

Rev

Rev 183 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 183 Rev 393
1
#ifndef __HMESHUTIL_TRIANGULATE__H
1
#ifndef __HMESHUTIL_TRIANGULATE__H
2
#define __HMESHUTIL_TRIANGULATE__H
2
#define __HMESHUTIL_TRIANGULATE__H
3
 
3
 
4
#include "HMesh/Manifold.h"
4
#include "HMesh/Manifold.h"
5
 
5
 
6
namespace HMesh
6
namespace HMesh
7
{
7
{
8
	
8
	
9
  /// Naive division of polygons into triangles.
9
  /// Naive division of polygons into triangles.
10
  void triangulate(HMesh::Manifold&);
10
  void triangulate(HMesh::Manifold&);
11
	
11
	
12
  /// Try to respect curvature to create a better triangulation.
12
  /// Try to respect curvature to create a better triangulation.
13
  void curvature_triangulate(HMesh::Manifold& m);
13
  void curvature_triangulate(HMesh::Manifold& m);
14
 
14
 
15
  /// Naive triangulation by connecting to center point.
15
  /// Naive triangulation by connecting to center point.
16
  void safe_triangulate(HMesh::Manifold& m);
16
  void safe_triangulate(HMesh::Manifold& m);
17
 
17
 
18
	/// Triangulate by connecting the points forming the shortest edge.
18
	/// Triangulate by connecting the points forming the shortest edge.
19
	void shortest_edge_triangulate(Manifold& m);
19
	void shortest_edge_triangulate(Manifold& m);
20
 
20
 
21
	  
21
	  
22
}
22
}
23
 
23
 
24
#endif
24
#endif
25
 
25