Mesh Library - HalfEdge


Sturcture :HalfEdge
source file:halfedge.c

Definition:
struct halfedge{


	Edge     *hedge;
	Loop     *hloop;
	Vertex   *hvert;

	HalfEdge *next;
	HalfEdge *prev;

	int     aliveh;

};


Data Members:
Methods:
You can redefine HalfEdgeCost function by yourself. One way is to collapse a halfedge, and do some measurement, get the cost, then recover the mesh. You evaluate all the halfedges, then select the minimum one to collapse.