Subversion Repositories gelsvn

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
39 bj 1
#ifndef __HALFEDGE_H
2
#define __HALFEDGE_H
3
 
4
#include "templates.h"
5
 
6
namespace HMesh
7
{
8
 
88 jab 9
	/// Returns true if the halfedge is a boundary halfedge.
62 jab 10
	bool is_boundary(HalfEdgeIter h);
39 bj 11
 
12
 
13
	/** Set the next and prev pointers of the first and second argument 
14
			respectively. */
15
	void link(HalfEdgeIter, HalfEdgeIter);
16
 
17
	/** Glue halfedges by letting the opp pointers point to each other. */
18
	void glue(HalfEdgeIter, HalfEdgeIter);
19
 
20
	/// Return the geometric length of a halfedge.
21
	float length(HalfEdgeIter);
22
 
23
}
24
#endif