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