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
- First line: <# of edges> <# of boundary markers (0 or 1)>
- Following lines: <edge #> <endpoint> <endpoint>
can produce .edge files (use the -e switch), but cannot read them. The
optional column of
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.
- <edge #> <endpoint> -1 <direction x> <direction y>
Return to Triangle home page.