Jpp  15.0.2
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Attributes | Friends | List of all members
JACOUSTICS::JGEOMETRY::JFloor Struct Reference

Floor geometry. More...

#include <JGeometry.hh>

Public Member Functions

 JFloor ()
 Default constructor. More...
 
 JFloor (const double height)
 Constructor. More...
 
double getHeight () const
 Get height of this floor. More...
 

Protected Attributes

double height
 

Friends

std::ostream & operator<< (std::ostream &out, const JFloor &floor)
 Write floor parameters to output stream. More...
 

Detailed Description

Floor geometry.

Definition at line 58 of file JGeometry.hh.

Constructor & Destructor Documentation

JACOUSTICS::JGEOMETRY::JFloor::JFloor ( )
inline

Default constructor.

Definition at line 62 of file JGeometry.hh.

62  :
63  height(0.0)
64  {}
JACOUSTICS::JGEOMETRY::JFloor::JFloor ( const double  height)
inline

Constructor.


The height refers to the maximal distance from the top of the so-called T-bar of the parent string to the actual sensor.

Parameters
heightheight

Definition at line 73 of file JGeometry.hh.

73  :
74  height(height)
75  {}

Member Function Documentation

double JACOUSTICS::JGEOMETRY::JFloor::getHeight ( ) const
inline

Get height of this floor.


The height refers to the maximal distance from the fixed reference point of the parent string.

Returns
height

Definition at line 85 of file JGeometry.hh.

86  {
87  return height;
88  }

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const JFloor floor 
)
friend

Write floor parameters to output stream.

Parameters
outoutput stream
floorfloor
Returns
output stream

Definition at line 98 of file JGeometry.hh.

99  {
100  return out << FIXED(7,2) << floor.getHeight();
101  }
Auxiliary data structure for floating point format specification.
Definition: JManip.hh:446

Member Data Documentation

double JACOUSTICS::JGEOMETRY::JFloor::height
protected

Definition at line 105 of file JGeometry.hh.


The documentation for this struct was generated from the following file: