HalfEdge

Use HalfEdge data structure to complete triangle grid subdivision and simplification.