- 1
- 0
- 约3.64千字
- 约 11页
- 2017-01-25 发布于四川
- 举报
ppt课件-analysisanddesignofalgorithms
Computational Geometry (35/33) Line Segments and cross-product Segment intersection and Sweep Line Convex Hull and Graham’s Scan, Jarvis’s march Divide-and-Conquer for Closest Pair. Line Segments and cross-product (35.1/33.1) A segment is a convex combination of ends p1 = (x1,y1) and p2 = (x2,y2) x = ? x1+ (1-?) x2, y = ? y1+ (1-?) y2 p = ? p1+ (1-?) p2 Cross product p1 ? p2 = x1 y2 -x2 y1 Vectors are collinear if p1 = c p2, cross-product=0 The segment [p0p1] and [p0p2] turns left or right if (p1-p0) ? (p2-p0) 0 (0) Segment intersection: bounding boxes straddling Segments and Sweep Lin
您可能关注的文档
- ppt课件-all minds don’t think alike(所有头脑不认为一视同仁).ppt
- ppt课件-an efficient approachto column selectionin h p l c method(一个高效的日常机构列selectionin h p l c方法).ppt
- ppt课件-an advanced earth science mission concept studyfor___ for(一个先进的概念studyfor___地球科学任务).ppt
- ppt课件-an exploratory studyof positioning strategies employedby(一个探索性studyof employedby定位策略).ppt
- ppt课件-an infrastructureforthe rapid developmentof x m l-based(x m l-based infrastructureforthe迅速发展).ppt
- ppt课件-an integral systemfor assisted mobility(辅助积分系统机动性).ppt
- ppt课件-an introductionto international law- t e r i university(介绍国际法- t e r我大学).ppt
- ppt课件-american history unit20(美国历史得很早).ppt
- ppt课件-anabolism whatmicro-organismsdowithallthat1. reducing(合成代谢whatmicro-organismsdowithallthat1。减少).ppt
- ppt课件-an overviewof satellite rainfall estimation(浏览信息卫星降雨估计).ppt
原创力文档

文档评论(0)