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