阅读背景:

找出两个矩形是否相交

来源:互联网 

This is a homework assignment, so I'm mostly asking for a nudge in the right direction. I've figured out the majority of the problem. We have a Rectangle class, whose rectangles are defined by the x and y coordinates in a Point class. The one part I'm stuck on is figuring out if the two rectangles intersect. I've done some research, and came upon this:This is a homework assignment, so I'm mostly as




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: