Profile Topics Started Replies Created Engagements Favorites Search replies: Forum Replies Created Viewing 2 posts - 1 through 2 (of 2 total) Author Posts 2020年3月15日 at 下午11:57 in reply to: 结果有好多绿线,麻烦大佬指点 #4261 Score: 0 midfParticipant 对xmin,ymin,xmax,ymax这四个值的取整方式不对吧,试下吧后面的+1和-1去掉。然后for循环区间为调整为[min,max] 2020年3月15日 at 下午11:33 in reply to: 结果有好多绿线,麻烦大佬指点 #4251 Score: 0 midfParticipant 我一开始的结果也是这样,然后发现是在遍历三角形bounding box忽略了边界值。把[min,max)改成[min,max]就好了。 Author Posts Viewing 2 posts - 1 through 2 (of 2 total)