.edge files

Blank lines and comments prefixed by `#' may be placed anywhere. Edges are numbered consecutively, starting from one or zero. Endpoints are indices into the corresponding .node file.

Triangle can produce .edge files (use the -e switch), but cannot read them. The optional column of boundary markers is suppressed by the -B switch.

In Voronoi diagrams, one also finds a special kind of edge that is an infinite ray with only one endpoint. For these edges, a different format is used:

The `direction' is a floating-point vector that indicates the direction of the infinite ray.
Return to Triangle home page.
jrs@cs.berkeley.edu