Floor geometry.
More...
#include <JGeometry.hh>
|
std::ostream & | operator<< (std::ostream &out, const JFloor &floor) |
| Write floor parameters to output stream. More...
|
|
Floor geometry.
Definition at line 61 of file JGeometry.hh.
◆ JFloor() [1/2]
JACOUSTICS::JGEOMETRY::JFloor::JFloor |
( |
| ) |
|
|
inline |
◆ JFloor() [2/2]
JACOUSTICS::JGEOMETRY::JFloor::JFloor |
( |
const double |
height, |
|
|
const JVector2D & |
position = JVector2D() |
|
) |
| |
|
inline |
Constructor.
The height corresponds to the maximal distance from the top of the T-bar of the parent string to the actual sensor.
The optional position corresponds to an anomalous offset of the optical module with respect to its nominal position.
- Parameters
-
height | height |
position | position |
Definition at line 78 of file JGeometry.hh.
double getY() const
Get y position.
double getX() const
Get x position.
◆ getHeight()
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 91 of file JGeometry.hh.
◆ getPosition()
const JVector3D& JACOUSTICS::JGEOMETRY::JFloor::getPosition |
( |
| ) |
const |
|
inline |
Get position of this floor.
The position corresponds to an anomalous offset of the optical module with respect to its nominal position.
- Returns
- position
Definition at line 103 of file JGeometry.hh.
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const JFloor & |
floor |
|
) |
| |
|
friend |
Write floor parameters to output stream.
- Parameters
-
out | output stream |
floor | floor |
- Returns
- output stream
Definition at line 116 of file JGeometry.hh.
118 return out <<
FIXED(7,2) << floor.getHeight();
Auxiliary data structure for floating point format specification.
◆ height
double JACOUSTICS::JGEOMETRY::JFloor::height |
|
protected |
◆ position
JVector3D JACOUSTICS::JGEOMETRY::JFloor::position |
|
protected |
The documentation for this struct was generated from the following file: