55 std::string obstruction_{};
57 const TimePoint& getStartTime()
const {
return interval_.start(); }
58 const TimePoint& getStopTime()
const {
return interval_.stop(); }
59 double getDuration()
const {
return interval_.duration(); }
60 const std::string& getObstruction()
const {
return obstruction_; }
77 Point* getPoint()
const {
return point_.get(); }
78 void setPoint(
Point* p) { point_ = p; }
79 void setLightSource(CelestialBody* b) { lightSource_ = b; }
80 CelestialBody* getLightSource()
const {
return lightSource_.get(); }
81 void setOccultingBodies(
const std::vector<HCelestialBody>& bodies) { occultingBodies_ = bodies; }
82 void setStepSize(
double s) { stepSize_ =
s; }
83 void setLightingType(ELightingType t) { lightingType_ = t; }
84 ELightingType getLightingType()
const {
return lightingType_; }
88 WeakPtr<Point> point_{
nullptr};
89 WeakPtr<CelestialBody> lightSource_{
nullptr};
90 std::vector<HCelestialBody> occultingBodies_{};
91 double stepSize_{60.0};