12 const double OffObservation::TOL = 1e-5;
15 OffObservation::OffObservation()
23 OffObservation::OffObservation(
const kernel::r3& k) : k_(k)
26 void OffObservation::setLoc(Vector3 loc)
32 Vector3 OffObservation::getLoc()
const {
return k_.loc_; }
34 void OffObservation::setWeight(
weight_t weight)
40 weight_t OffObservation::getWeight()
const {
return k_.getWeight(); }
42 const Color& OffObservation::getColor()
const
45 return dynamic_cast<const ColorDescriptor&
>(k_.getDescriptor()).getColor();
48 void OffObservation::setColor(
const Color& color)
51 dynamic_cast<ColorDescriptor&
>(k_.getDescriptor()).setColor(color);