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

Sample terrain of even height. More...

#include <height_map_examples.h>

Inheritance diagram for towr::FlatGround:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 FlatGround (double height=0.0)
double GetHeight (double x, double y) const override

Private Attributes

double height_

Detailed Description

Sample terrain of even height.

Definition at line 45 of file height_map_examples.h.


Constructor & Destructor Documentation

towr::FlatGround::FlatGround ( double  height = 0.0)

Definition at line 35 of file height_map_examples.cc.


Member Function Documentation

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

Implements towr::HeightMap.

Definition at line 48 of file height_map_examples.h.


Member Data Documentation

double towr::FlatGround::height_ [private]

Definition at line 48 of file height_map_examples.h.


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


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