.edge files
- First line: <# of edges> <# of boundary markers (0 or 1)>
- Following lines: <edge #> <endpoint> <endpoint>
[boundary marker]
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:
- <edge #> <endpoint> -1 <direction x> <direction y>
The `direction' is a floating-point vector that indicates the direction
of the infinite ray.
Return to Triangle home page.
jrs@cs.berkeley.edu