|
@@ 97-97 (lines=1) @@
|
| 94 |
|
// adding the point as a part of an edge |
| 95 |
|
if (is_array($bords[$poly[$i]['y']])) //avoid warning |
| 96 |
|
array_push($bords[$poly[$i]['y']], $poly[$i]['x']); |
| 97 |
|
if (DEBUG) echo '('.$poly[$i]['x'].';'.$poly[$i]['y'].') '; |
| 98 |
|
|
| 99 |
|
/* computing the elevation of the edge going */ |
| 100 |
|
// from $poly[$i-1] to $poly[$i] |
|
@@ 113-115 (lines=3) @@
|
| 110 |
|
if (is_array($bords[$poly[$i]['y']])) //avoid warning |
| 111 |
|
array_push($bords[$poly[$i]['y']], $poly[$i]['x']); |
| 112 |
|
|
| 113 |
|
if (DEBUG) |
| 114 |
|
echo '*('.$poly[$i]['x']. |
| 115 |
|
';'.$poly[$i]['y'].') '; |
| 116 |
|
} |
| 117 |
|
|
| 118 |
|
/* detect the direction of the elevation in Y */ |