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