摘要:
First off, we can use our Line-Point Distance code to test for the "BOUNDARY" case. If the distance from any segment to the test point is 0, then return "BOUNDARY". If you didn't have that code pre-wr... 阅读全文
posted @ 2014-05-20 10:27
马语者
阅读(388)
评论(0)
推荐(0)
摘要:
In the previous section we saw how to use vectors to solve geometry problems. Now we are going to learn how to use some basic linear algebra to do line intersection, and then apply line intersection t... 阅读全文
posted @ 2014-05-20 10:26
马语者
阅读(269)
评论(0)
推荐(0)
摘要:
Introduction Many TopCoders seem to be mortally afraid of geometry problems. I think it's safe to say that the majority of them would be in favor of a ban on TopCoder geometry problems. However, geo... 阅读全文
posted @ 2014-05-20 10:25
马语者
阅读(411)
评论(0)
推荐(0)

浙公网安备 33010602011771号