Exemple #1
0
double
MaxY::operator()(Blob &blob) const
{ 
  const Rectangle& rect = blob.bounding_rect();
  return static_cast<double>(rect.origin().y() + rect.height());
}
Exemple #2
0
double
MinY::operator()(Blob &blob) const
{ 
  return static_cast<double>(blob.bounding_rect().origin().y());
}