Subversion Repositories gelsvn

Rev

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

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