C o m p u t i n g C O N V E X H U L L S.ppt


文档分类:高等教育 | 页数:约47页 举报非法文档有奖
1/47
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/47
文档列表 文档介绍
c o m p u t i n gc o m p u t i n gC O N V E X H U L L SC O N V E X H U L L SbybyKok Lim LowKok Lim Low10 Nov P 290-P 290-072PresentationPresentationPresentation OutlinePresentation Outline?2D Convex Hulls–Definitions and Properties–Approaches:?Brute Force?Gift Wrapping?QuickHull?Graham Scan?Incremental?Divide and Conquer?By Delaunay Triangulation & Voronoi DiagramPresentation OutlinePresentation Outline?3D Convex Hulls–Approaches:?Gift Wrapping?QuickHull?Divide and Conquer?Incremental?Higher Dimensions?Some ApplicationsSome Applications?Collision Avoidance–robot motion planning?Finding Smallest Box–collision detection?Shape Analysis2D CONVEX HULLS2D CONVEX HULLSDefinitions and PropertiesDefinitions and Properties–Intersection of all convex sets containing P–Smallest convex set containing P–Intersection of all half-planes containing P–Union of all triangles formed by points of Prubber bandDefinitions and PropertiesDefinitions and Properties–Smallest convex polygon containing P–All vertices of hull are some points of P–NOTE: convex hull is the closed solid region, not just the boundaryextreme pointnot extreme pointalways uniqueBrute-Force ApproachBrute-Force Approach?Determine extreme edgesfor each pair of points p,q?P doif all other points lie on one side of line passing thru p and q then keep edge (p, q)pqBrute-Force ApproachBrute-Force Approach?Next, sort edges in counterclockwise order–we want output in counterclockwise?Running time: O(n3)–bad but not the worst yetGift WrappingGift Wrappingp? the lowest point p0repeatfor each q?P and q?p pute counterclockwise angle ? from previous hull edgelet r be the point with smallest ?output (p, r) as a hull edgep?runtil p = p0p?

C o m p u t i n g C O N V E X H U L L S 来自淘豆网m.daumloan.com转载请标明出处.

非法内容举报中心
文档信息
  • 页数47
  • 收藏数0 收藏
  • 顶次数0
  • 上传人薄荷牛奶
  • 文件大小0 KB
  • 时间2016-01-24