Public Member Functions | Private Attributes
towr::Stairs Class Reference

Sample terrain with a two-steps in height in x-direction. More...

#include <height_map_examples.h>

Inheritance diagram for towr::Stairs:
Inheritance graph

List of all members.

Public Member Functions

double GetHeight (double x, double y) const override

Private Attributes

double first_step_start_ = 1.0
double first_step_width_ = 0.4
double height_first_step = 0.2
double height_second_step = 0.4
double width_top = 1.0

Detailed Description

Sample terrain with a two-steps in height in x-direction.

Definition at line 74 of file height_map_examples.h.

Member Function Documentation

double towr::Stairs::GetHeight ( double  x,
double  y 
) const [override, virtual]
The height of the terrain [m] at a specific 2D position.
xThe x position.
yThe y position.

Implements towr::HeightMap.

Definition at line 70 of file

Member Data Documentation

double towr::Stairs::first_step_start_ = 1.0 [private]

Definition at line 79 of file height_map_examples.h.

double towr::Stairs::first_step_width_ = 0.4 [private]

Definition at line 80 of file height_map_examples.h.

double towr::Stairs::height_first_step = 0.2 [private]

Definition at line 81 of file height_map_examples.h.

double towr::Stairs::height_second_step = 0.4 [private]

Definition at line 82 of file height_map_examples.h.

double towr::Stairs::width_top = 1.0 [private]

Definition at line 83 of file height_map_examples.h.

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

Author(s): Alexander W. Winkler
autogenerated on Mon Apr 15 2019 02:42:32