Lines Matching defs:Top
78 double Top() const
153 return (Left() >= other.Left()) && (Right() <= other.Right()) && (Top() >= other.Top()) &&
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());
251 double top = std::max(Top(), other.Top());
260 double top = std::min(Top(), other.Top());
353 if (Top() < magnet.Top()) {
354 offset.SetY(std::max(0.0, std::min(magnet.Top() - Top(), magnet.Bottom() - Bottom())));
356 offset.SetY(std::min(0.0, std::max(magnet.Top() - Top(), magnet.Bottom() - Bottom())));