Lines Matching defs:Right
83 double Right() const
153 return (Left() >= other.Left()) && (Right() <= other.Right()) && (Top() >= other.Top()) &&
164 double right = Right();
166 double left = std::clamp(x_, other.Left(), other.Right());
168 right = std::clamp(right, other.Left(), other.Right()) - left;
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());
250 double right = std::min(Right(), other.Right());
259 double right = std::max(Right(), other.Right());
348 offset.SetX(std::max(0.0, std::min(magnet.Left() - Left(), magnet.Right() - Right())));
349 } else if (Right() > magnet.Right()) {
350 offset.SetX(std::min(0.0, std::max(magnet.Left() - Left(), magnet.Right() - Right())));