Mercator
Public Member Functions | Protected Attributes | Private Member Functions
Mercator::LevelTerrainMod Class Reference

Terrain modifier that defines an area of fixed height. More...

#include <TerrainMod.h>

Inheritance diagram for Mercator::LevelTerrainMod:
Mercator::ShapeTerrainMod< Shape >

List of all members.

Public Member Functions

 LevelTerrainMod (float level, const Shape< 2 > &s)
 Constructor.
virtual void apply (float &point, int x, int y) const
virtual TerrainModclone () const
void setShape (float level, const Shape< 2 > &s)

Protected Attributes

float m_level
 The height level of all points affected.

Private Member Functions

 LevelTerrainMod (LevelTerrainMod &)
 Copy constructor.

Detailed Description

Terrain modifier that defines an area of fixed height.

This modifier sets all points inside the shape to the same altitude


Constructor & Destructor Documentation

Mercator::LevelTerrainMod::LevelTerrainMod ( float  level,
const Shape< 2 > &  s 
) [inline]

Constructor.

Parameters:
levelThe height level of all points affected.
sshape of the modifier.

The documentation for this class was generated from the following files: