42 #include <visp/vpMomentGravityCenter.h>
43 #include <visp/vpMomentObject.h>
71 os << (__FILE__) << std::endl;
72 os <<
"(Xg,Yg) = (" << m.
values[0] <<
", " << m.
values[1] <<
")" << std::endl;
81 os << (__FILE__) << std::endl;
const std::vector< double > & get() const
This class defines shared methods/attributes for 2D moments.
Class describing 2D gravity center moment.
friend VISP_EXPORT std::ostream & operator<<(std::ostream &os, const vpMoment &m)
void printDependencies(std::ostream &os) const
const std::vector< double > & get() const
const vpMomentObject & getObject() const
std::vector< double > values