|
| LevelTerrainMod (float level, const Shape< 2 > &s) |
| Constructor. More...
|
|
virtual void | apply (float &point, int x, int y) const |
| Apply this modifier on a terrain segment. More...
|
|
void | setShape (float level, const Shape< 2 > &s) |
|
| ShapeTerrainMod (const Shape< 2 > &s) |
| Constructor. More...
|
|
virtual bool | checkIntersects (const Segment &s) const |
|
void | setShape (const Shape< 2 > &s) |
|
int | addToSegment (Segment &) const |
|
void | updateToSegment (Segment &) const |
|
void | removeFromSegment (Segment &) const |
|
void | setFunction (effector_func f) |
| Change the function used to apply this mod to existing points.
|
|
Context * | context () const |
|
void | setContext (Context *) |
|
const WFMath::AxisBox< 2 > & | bbox () const |
| Accessor for the bounding box of the geometric shape.
|
|
template<template< int > class Shape>
class Mercator::LevelTerrainMod< Shape >
Terrain modifier that defines an area of fixed height.
This modifier sets all points inside the shape to the same altitude