11 const double RIFObservation::TOL = 1e-5;
14 RIFObservation::RIFObservation()
22 RIFObservation::RIFObservation(
const kernel::r3& k) : k_(k)
25 void RIFObservation::setLoc(Vector3 loc)
31 Vector3 RIFObservation::getLoc()
const {
return k_.loc_; }
33 void RIFObservation::setWeight(
weight_t weight)
39 weight_t RIFObservation::getWeight()
const {
return k_.getWeight(); }
41 const Color& RIFObservation::getColor()
const
44 return dynamic_cast<const ColorDescriptor&
>(k_.getDescriptor()).getColor();
47 void RIFObservation::setColor(
const Color& color)
50 dynamic_cast<ColorDescriptor&
>(k_.getDescriptor()).setColor(color);