1.判断多边形中是否有相交边(done)
2.判断一个多边形是否是凹多边形(向量法)(done)
3.凹多边形分解(向量法)(beta version done)
4.凹多边形分解(旋转法)(working on it)
用的openglut头文件
理解错了题目意思了……囧。之前的代码都还差很大一块,慢慢再补……09.04.26
SHOW FULL COLUMNS FROM `jrk_downrecords` [ RunTime:0.001051s ]
SELECT `a`.`aid`,`a`.`title`,`a`.`create_time`,`m`.`username` FROM `jrk_downrecords` `a` INNER JOIN `jrk_member` `m` ON `a`.`uid`=`m`.`id` WHERE `a`.`status` = 1 GROUP BY `a`.`aid` ORDER BY `a`.`create_time` DESC LIMIT 10 [ RunTime:0.097587s ]
SHOW FULL COLUMNS FROM `jrk_tagrecords` [ RunTime:0.001521s ]
SELECT * FROM `jrk_tagrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 20 [ RunTime:0.002013s ]
SHOW FULL COLUMNS FROM `jrk_member` [ RunTime:0.001443s ]
SELECT `id`,`username`,`userhead`,`usertime` FROM `jrk_member` WHERE `status` = 1 ORDER BY `usertime` DESC LIMIT 10 [ RunTime:0.005303s ]
SHOW FULL COLUMNS FROM `jrk_searchrecords` [ RunTime:0.001280s ]
SELECT * FROM `jrk_searchrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 5 [ RunTime:0.006704s ]
SELECT aid,title,count(aid) as c FROM `jrk_downrecords` GROUP BY `aid` ORDER BY `c` DESC LIMIT 10 [ RunTime:0.019353s ]
SHOW FULL COLUMNS FROM `jrk_articles` [ RunTime:0.001058s ]
UPDATE `jrk_articles` SET `hits` = 2 WHERE `id` = 253532 [ RunTime:0.013303s ]