33 double const depth,
const std::string& name,
35 :
Station(x, y, z, name), _depth(depth), _date(date)
57 const std::string& date)
60 if (date !=
"0000-00-00")
68 const std::string& soil_name)
87 addSoilLayer((*
this)[0], (*
this)[1], (*
this)[2], soil_name);
100 const std::string& soil_name)
109 return bh !=
nullptr;
Definition of the StationBorehole class.
A borehole as a geometric object.
~StationBorehole() override
static StationBorehole * createStation(const std::string &name, double x, double y, double z, double depth, const std::string &date="")
Creates a new borehole object based on the given parameters.
void addSoilLayer(double thickness, const std::string &soil_name)
Add a soil layer to the boreholes stratigraphy.
std::vector< Point * > _profilePntVec
Contains the points for the lower boundaries of all layers.
StationBorehole(double x, double y, double z, double const depth, const std::string &name, int date)
std::vector< std::string > _soilName
Contains the names for all the soil layers.
A Station (observation site) is basically a Point with some additional information.
int xmlDate2int(const std::string &s)
bool isBorehole(GeoLib::Point const *pnt)