#include <MyPoint.h>
Collaboration diagram for HalfEdge:
Public Member Functions | |
HalfEdge () | |
HalfEdge (MyPolygon *_poly, MyPoint *_pnt, HalfEdge *_next) | |
void | init (MyPolygon *_poly, MyPoint *_pnt, HalfEdge *_next) |
Public Attributes | |
MyPoint * | point |
point of origin of the half edge. | |
HalfEdge * | pair |
matchin half-edge sibling | |
MyPolygon * | poly |
the polygon this half edge is part of | |
HalfEdge * | next |
the next half edge in the polygon circumference. | |
MyPoint * | edgePoint |
the new point generated in this edge in the subdivision process this point is shared between the two edges which make the polygon edge. |
For every subdivision iteration performed, a complete half-edge model is generated for the polygon mesh. a half-edge is a tupple of an edge of a polygon and one of the vertices it touces.
HalfEdge::HalfEdge | ( | ) | [inline] |
point of origin of the half edge.
matchin half-edge sibling
the polygon this half edge is part of
the next half edge in the polygon circumference.
the new point generated in this edge in the subdivision process this point is shared between the two edges which make the polygon edge.