Subversion Repositories gelsvn

Rev

Rev 182 | Rev 448 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

#ifndef __HMESHUTIL_TRIANGULATE__H
#define __HMESHUTIL_TRIANGULATE__H

#include "HMesh/Manifold.h"

namespace HMesh
{
        
  /// Naive division of polygons into triangles.
  void triangulate(HMesh::Manifold&);
        
  /// Try to respect curvature to create a better triangulation.
  void curvature_triangulate(HMesh::Manifold& m);

  /// Naive triangulation by connecting to center point.
  void safe_triangulate(HMesh::Manifold& m);

        /// Triangulate by connecting the points forming the shortest edge.
        void shortest_edge_triangulate(Manifold& m);

          
}

#endif