Tessellation and Edges
A couple of approaches are available for finding tessellations for edges.
to get the curve.
to determine the range of the curve used by the edge.
to tessellate the curve along the range.
The first approach gives you better control over the edge. The second
approach gives you a tight boundary if you are rendering edges and faces
at the same time.