|
|
|
The monograph [1] gives an interesting compact notation for the area A of a polygon where the Pi ; i = 1(1)n are given by their Cartesian coordinates (xi, yi) (Fig. 1, see also [2, 3]).

| Fig. 1: | Polygon (a) convex, (b) concave (not convex) |
In usual notation we have
|
| (1) |
. | (2) |
The determinant representation Equ. (2) is now compressed into
, | (3) |
the actual computation of the area A is done by repeated application of the Sarrus rule for the second order determinant as shown in Equ. (3) (Sarrus generalization). Thus Equ. (1) can be immediately obtained from Equ. (3).
Obviously, for n=3 and n=4 Equ. (3) can formally be seen as determinant representations, which are reduced to the coordinate parts:
![]() | (4) |
![]() | (5) |
In Module 2 and Module 5 we have already applied and discussed
the cylinder notation of Equ. (3) for n=4 and n=3 resp. We shall now
generalize and explore this approach further.
Evidently, the final column (identical to the first column of the rectangular
scheme)
![]() | (6) |
is added in order to generate the last two summands in
Equ. (1).
Thus, this column can be dropped when
| (a) | ![]() | |||
| The read headīs direction of move, the data cylinder is fixed | ||||
| (b) |
| |||
| Fig. 2: | (a) The cylinder representation of Equ. (6), | |||
| (b) corresponding read head |
From now on we write for the formal cylinder notation of Equ. (6) the following:
. | (7) |
It is based on the idea shown in Fig. 2.
Thus we obtain for
Equ. (3)
. | (8) |
The polygon in Fig. 3 has only vertices with integer coordinates (lattice points of the square lattice)
|
| (9) |
In this case the computation of the area A simplifies significantly compared with Equ. (1)
|
| (10) |
where
B is the number of lattice points on the boundary of
the polygon,
I is the number of lattice points found inside the
polygon.
| Fig. 3: | A polygon in an integer coordinate system (square lattice), Pickīs theorem |
| B=8, I=21, A=24 |
Using the cylinder notation Equ. (8) formulate a criterion which allows for all Pk to compute from the coordinates (x1, y1), (x2, y2), (x3, y3), ..., (xn, yn):
|
The noncrossed polygon P1P2P3..Pn
has at Pk a
|
convex | corner. |
| concave |

Using the cylinder notation construct a simple filter algorithm which extracts all four-point constellations (see Fig. 5) of a crossed polygon given by their coordinates (ref. Module 2, ex. 2.5).

If the filter algorithm does not extract such a four-point constellation, then the given polygon is noncrossed. Otherwise it is crossed.
Example:
The following hexagon Fig. 4 has two four-point constellations: Fig. 6.
