Lines Matching refs:Bottom
88 double Bottom() const
154 (Bottom() <= other.Bottom());
165 double bottom = Bottom();
167 double top = std::clamp(y_, other.Top(), other.Bottom());
169 bottom = std::clamp(bottom, other.Top(), other.Bottom()) - top;
238 return !(other.Right() < Left() || other.Left() > Right() || other.Bottom() < Top() || other.Top() > Bottom());
244 other.Right() <= Left() || other.Left() >= Right() || other.Bottom() <= Top() || other.Top() >= Bottom());
252 double bottom = std::min(Bottom(), other.Bottom());
261 double bottom = std::max(Bottom(), other.Bottom());
354 offset.SetY(std::max(0.0, std::min(magnet.Top() - Top(), magnet.Bottom() - Bottom())));
355 } else if (Bottom() > magnet.Bottom()) {
356 offset.SetY(std::min(0.0, std::max(magnet.Top() - Top(), magnet.Bottom() - Bottom())));