|
| ShapeTerrainMod (const Shape< 2 > &s) |
| Constructor. More...
|
|
bool | checkIntersects (const Segment &s) const override |
|
void | setShape (const Shape< 2 > &s) |
|
void | setFunction (effector_func f) |
| Change the function used to apply this mod to existing points.
|
|
virtual void | apply (float &point, int x, int z) const =0 |
| Apply this modifier on a terrain segment. More...
|
|
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::ShapeTerrainMod< Shape >
Terrain modifier which is defined by a shape variable.
This template extends TerrainMod by adding the ability to query the bounding box of the shape that defines this modification to the terrain.