doesContain method
Implementation
bool doesContain(Rect rect,double angle){
Offset topLeft = _getPoint(rect.topLeft,rect.center, angle);
Offset topRight = _getPoint(rect.topRight,rect.center, angle);
Offset bottomLeft = _getPoint(rect.bottomLeft,rect.center, angle);
Offset bottomRight = _getPoint(rect.bottomRight,rect.center, angle);
return _isBelow(topLeft,topRight,bottomLeft)||_isBelow(bottomLeft, bottomRight,topRight);
}