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 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 fixed reference point of the parent string.

Parameters
heightheight

Definition at line 74 of file JGeometry.hh.

74  :
75  height(height)
76  {}

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

87  {
88  return height;
89  }

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

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

Member Data Documentation

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

Definition at line 106 of file JGeometry.hh.


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