Subversion Repositories gelsvn

Rev

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

Rev 39 Rev 119
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 HMeshUtil
6
namespace HMeshUtil
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
}
18
}
19
 
19
 
20
#endif
20
#endif
21
 
21