Albrecht Gebhardt <albrecht.gebhardt@aau.at>,
Roger Bivand <roger.bivand@nhh.no>
Details
The vertices in the returned matrix (let's denote it with
retval) are ordered counterclockwise. The columns tr\(x\)
and arc\(x\), \(x=1,2,3\) index the triangle and arc, respectively,
which are opposite (not shared by) node node\(x\), with
tri\(x=0\) if arc\(x\) indexes a boundary arc. Vertex indexes
range from 1 to \(n\), the number of nodes, triangle indexes from 0
to \(nt\), and arc indexes from 1 to \(na = nt+n-1\).