22 #include <gtest/gtest_prod.h>
All base classes related to 3D manipulation.
Class to define a segment.
OPoint3D _ptA
Point A of the segment.
OPoint3D _ptB
Point B of the segment.
This class TYTrajet (journey) links a couple Source-Receptor and a collection of paths,...
double getDistance()
Get/Set the distance between source and receptor.
void setPtSetPtRfromOSeg3D(const OSegment3D &seg)
Get/Set points for source and receptor with an OSegment3D.
OPoint3D _ptS
Source point definition in the site frame.
void getPtSetPtRfromOSeg3D(OSegment3D &seg) const
OPoint3D _ptR
Receptor point definition in the site frame.
std::vector< acoustic_path * > _tabRays
Vector of rays equivalent to chemin.
TYTrajet & operator=(const TYTrajet &other)
Operator =.
tympan::AcousticSource & asrc
Business source.
void setDistance(const double &distance)
void setPtSetPtR(const OPoint3D &pt1, const OPoint3D &pt2)
Get/Set points for source and receptor.
bool operator!=(const TYTrajet &other) const
Operator !=.
tympan::source_idx asrc_idx
virtual void reset()=0
Reset method.
virtual ~TYTrajet()
Destructor.
tympan::receptor_idx arcpt_idx
void getPtSetPtR(OPoint3D &pt1, OPoint3D &pt2)
std::vector< acoustic_path * > & get_tab_rays()
double _distance
Distance between source and receptor.
bool operator==(const TYTrajet &other) const
Operator ==.
tympan::AcousticReceptor & arcpt
Business receptor.
TYTrajet(tympan::AcousticSource &asrc_, tympan::AcousticReceptor &arcpt_)
Constructor.
const double getDistance() const
Describes an acoustic receptor.
Describes an acoustic source.
This file provides the declaration of the entities of the model, which inherit from BaseEntity.