1 / 47
文档名称:

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

格式:ppt   页数:47页
下载后只包含 1 个 PPT 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

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

上传人:薄荷牛奶 2016/1/24 文件大小:0 KB

下载得到文件列表

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

文档介绍

文档介绍: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?