Skip to content

Commit

Permalink
Make clearer that the dual of the cells are used when extracting isol…
Browse files Browse the repository at this point in the history
…ines

fixes #18
  • Loading branch information
hugoledoux committed Dec 16, 2020
1 parent 7278da2 commit fd94bcb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions conversion/conversion.tex
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,9 @@ \subsection{Conversion of raster to isolines}%
\label{sec:r-iso}

% In the case of contouring a raster the dotted lines in Figure~\ref{fig:rastercontscheme}.

Observe that, for a raster, the dual of the raster must be constructed (see Section~\ref{sec:duality}), that is we consider the centre each pixel as a sample point, and we join with an edge the centres of two adjacent pixels (in Figure~\ref{fig:rasterconfs}, the four values are centres of 4 adjacent raster cells).

Intersections are computed by linearly interpolating the elevations of the vertex pairs along the edges of this grid.
Figure~\ref{fig:rasterconfs} illustrates the different possible configurations.
The top-left case indicates the case for which there are no intersections: all vertices are either higher or lower than $z_0$.
Expand Down

0 comments on commit fd94bcb

Please sign in to comment.