沒想出特別的算法來確定飛彈是不是打到王國內

因此就只能重新做新凸包

然後確定該點是不是新凸包的Boundary

 

凸包面積則是用Cross公式運算

http://nopaste.csie.org/5ee55

文章標籤
全站熱搜
創作者介紹
創作者 robertanders 的頭像
robertanders

Robert Anderson's Blog

robertanders 發表在 痞客邦 留言(0) 人氣(0)