bool isOutside(Point<double> point, Size objSize) { return !(point.x >= -objSize.width / 2 && point.x <= objSize.width / 2 && point.y >= -objSize.height / 2 && point.y <= objSize.height / 2); }