Jpp
 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 42 of file JGeometry.hh.

Constructor & Destructor Documentation

JACOUSTICS::JGeometry::JFloor::JFloor ( )
inline

Default constructor.

Definition at line 46 of file JGeometry.hh.

46  :
47  height(0.0)
48  {}
JACOUSTICS::JGeometry::JFloor::JFloor ( const double  height)
inline

Constructor.


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

Parameters
heightheight

Definition at line 58 of file JGeometry.hh.

58  :
59  height(height)
60  {}

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 70 of file JGeometry.hh.

71  {
72  return height;
73  }

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 83 of file JGeometry.hh.

84  {
85  return out << FIXED(7,2) << floor.getHeight();
86  }
Auxiliary data structure for floating point format specification.
Definition: JPrint.hh:481

Member Data Documentation

double JACOUSTICS::JGeometry::JFloor::height
protected

Definition at line 90 of file JGeometry.hh.


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