Sample terrain with a tilted vertical wall to cross a gap. More...
#include <height_map_examples.h>
Public Member Functions | |
double | GetHeight (double x, double y) const override |
double | GetHeightDerivWrtY (double x, double y) const override |
Private Attributes | |
const double | length_ = 1.5 |
const double | slope_ = 3.0 |
const double | x_end_ = x_start_+length_ |
const double | x_start_ = 1.0 |
const double | y_start_ = 0.5 |
Sample terrain with a tilted vertical wall to cross a gap.
Definition at line 136 of file height_map_examples.h.
double towr::Chimney::GetHeight | ( | double | x, |
double | y | ||
) | const [override, virtual] |
x | The x position. |
y | The y position. |
Implements towr::HeightMap.
Definition at line 162 of file height_map_examples.cc.
double towr::Chimney::GetHeightDerivWrtY | ( | double | x, |
double | y | ||
) | const [override, virtual] |
Reimplemented from towr::HeightMap.
Definition at line 173 of file height_map_examples.cc.
const double towr::Chimney::length_ = 1.5 [private] |
Definition at line 143 of file height_map_examples.h.
const double towr::Chimney::slope_ = 3.0 [private] |
Definition at line 145 of file height_map_examples.h.
const double towr::Chimney::x_end_ = x_start_+length_ [private] |
Definition at line 147 of file height_map_examples.h.
const double towr::Chimney::x_start_ = 1.0 [private] |
Definition at line 142 of file height_map_examples.h.
const double towr::Chimney::y_start_ = 0.5 [private] |
Definition at line 144 of file height_map_examples.h.