13.07.2015 Views

Algorithms for the visualization and simulation of mobile ad hoc and ...

Algorithms for the visualization and simulation of mobile ad hoc and ...

Algorithms for the visualization and simulation of mobile ad hoc and ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

12hull operation. In Figure 2.7 <strong>the</strong>se polygons are shown as <strong>the</strong> green lines surroundingsets <strong>of</strong> white points. This set <strong>of</strong> polygons is <strong>the</strong>n returned to <strong>the</strong> user.Figure 2.7: Example <strong>of</strong> <strong>the</strong> results produced by a horizontal pr<strong>of</strong>ile <strong>of</strong> a region <strong>of</strong>terrain. The left side is <strong>the</strong> original terrain visualized in 3D. The right side are <strong>the</strong>results <strong>of</strong> applying <strong>the</strong> horizontal pr<strong>of</strong>ile method.H<strong>and</strong>ling WaterMost digital terrain file <strong>for</strong>mats account <strong>for</strong> areas <strong>of</strong> water insome fashion. This terrain library maintains a map <strong>of</strong> where any water resides withinany lo<strong>ad</strong>ed terrain data. The user can <strong>the</strong>n query <strong>the</strong> terrain class using an isWater()function <strong>for</strong> any point within <strong>the</strong> grid <strong>and</strong> get a boolean response.In most digital terrain file <strong>for</strong>mats, <strong>the</strong> elevation values are measured from sealevel. Any zero valued terrain cells are <strong>the</strong>n considered to be water. Identifying<strong>the</strong>se bodies <strong>of</strong> water is a simple search while lo<strong>ad</strong>ing <strong>the</strong> terrain data from <strong>the</strong>files. Some digital terrain file <strong>for</strong>mats, such as DTED, specify a means <strong>of</strong> identifyingbodies <strong>of</strong> water that are not at sea level, such as lakes, reservoirs, or rivers. These

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!