青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品

Project: Polygon Triangulation

LINK:http://www.mpi-inf.mpg.de/~kettner/courses/lib_design_03/proj/polygon_triang.html

Design the interface between data structures that represent simple polygons and generic algorithms that triangulate simple polygons.

The Standard Template Library (STL) [Austern98, SGI-STL] contains several examples of a similar interface design: Iterators are the interface between sequences of items in container classes and generic algorithms on sequences. However, they (usually) do not modify the container. Among the container classes some modifying functions, e.g., insert or remove, describe a standardized interface for modifying the container classes and can be used for generic algorithms on container classes. This project is expected to design a generic interface in the same spirit for triangulating polygons.

We start with a set of data structures that can represent a simple polygon, and with a set of algorithms that can triangulate it. We suggest to use the Computational Geometry Algorithms Library (CGAL) <www.cgal.org> [Fabri99] as a source of data structures and algorithms in geometry and also as a platform for realizing this project. Possible data structures could be:

  • A std::list of 2D points.
  • The class CGAL::Polygon_2.
  • An individual facet of a 3D polyhedral surface, e.g., the class CGAL::Polyhedron_3.
  • While working with the triangulation data structure underlying the class CGAL::Triangulation_2 one can end up in the situation to triangulate a polygonal hole in the triangulation structure.

All these representations would be for simple polygons without holes. An optional extension would be to extend this project to polygons with holes as they can be represented with:

  • A std::list of std::list's of 2D points, where the first list is the outer boundary of the polygon and all succeeding lists are the inner boundaries of holes in the polygon, one list per hole.
  • The class CGAL::Planar_map_2 can contain faces with holes.
  • The class CGAL::Nef_polyhedron_2 can contain faces with holes.

Examples of algorithms that triangulate polygons are:

  • Ear-cutting algorithm: An ear is a triangle formed by two consecutive edges of the polygon with a convex angle that contains no other point of a polygon. There exist always at least two ears in a polygon. An ear can be cut from the polygon, reducing its size and thus triangulating it.
  • A sweep-line algorithm, see [Chapter 3, deBerg00].
  • The constrained triangulation in CGAL. It creates a triangulation of the convex hull of a set of points respecting a set of constrained edges that have to be present in the triangulation, which would be the polygon boundary edges here. Afterwards the triangles in the polygon interior have to be selected, i.e., distinguished from those outside of the polygon.

Clearly iterators can be used in examining the input polygon. The new part will be the modifying part of the algorithms; where do we create and store the result triangles:

  • For a single polygon we might just write triangles to an output iterator, for example, for storage in a container or for rendering.
  • For polygons embedded in a data structure, such as a triangulation or a polyhedral surface, one wants the result triangles to replace the original polygon and to have the proper neighborhood pointers.

The goal of the project is to design the interface and to realize some of the data structures and algorithms, possibly based on the already existing CGAL implementations. The task includes:

  • Analyse the set of operations of each agorithm and how it could be implemented for each data structure considered.
  • Find a common set (or several sets) of operations that support the different combinations.
  • Implement the interface for the data structures, possibly with adaptors for the existing data structures in CGAL.
  • Implement the algorithm based on this interface, maybe also with adaptors to the already existing algorithms in CGAL.
  • Test your generic algorithms on the different representations.
  • Document the design, for example, in the style of CGAL or using Doxygen.

Prerequisites

This project requires interest in geometry or graphics and some knowledge of geometric algorithms. Since CGAL will be covered later in the course, it might be necessary to learn about CGAL prior to that.

References

[Austern98]
Mathew H. Austern. Generic Programming and the STL: Using and Extending the C++ Standard Template Library. Addison-Wesley, 1998.

 

[SGI-STL]
Silicon Graphics Computer Systems, Inc. Standard Template Library Programmer's Guide. http://www.sgi.com/tech/stl/.

 

[Fabri99]
Andreas Fabri, Geert-Jan Giezeman, Lutz Kettner, Stefan Schirra, and Sven Schönherr. On the Design of CGAL, the Computational Geometry Algorithms Library. Software -- Practice and Experience, submitted 1999, to appear. (also available as technical report)

 

[deBerg00]
Mark de Berg, Marc van Kreveld, Mark Overmars, and Otfried Schwarzkopf. Computational Geometry: Algorithms and Applications. Springer, 2nd edition, 2000.

posted on 2009-07-03 09:53 zmj 閱讀(2166) 評論(0)  編輯 收藏 引用


只有注冊用戶登錄后才能發表評論。
網站導航: 博客園   IT新聞   BlogJava   博問   Chat2DB   管理


青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品
  • <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            亚洲高清不卡一区| 欧美电影免费观看| 欧美激情麻豆| 免费视频一区| 老司机午夜精品视频| 久久米奇亚洲| 噜噜噜91成人网| 欧美高清在线视频观看不卡| 亚洲国产欧美另类丝袜| 亚洲天堂成人在线观看| 欧美日韩亚洲综合一区| 欧美久久久久久久久| 欧美日韩一区二区三区免费看| 欧美国产精品v| 欧美激情第三页| 欧美视频一区| 国产午夜精品视频| 亚洲精品国产精品久久清纯直播 | 久久久久久穴| 久久精品国产免费看久久精品| 久久成人羞羞网站| 免费久久精品视频| 亚洲久久视频| 欧美在线精品一区| 欧美日韩成人综合天天影院| 国产精品亚发布| 黄色小说综合网站| 亚洲精品综合精品自拍| 欧美在线亚洲| 亚洲七七久久综合桃花剧情介绍| 99国内精品| 可以免费看不卡的av网站| 国产精品都在这里| 亚洲裸体在线观看| 久久久精品日韩欧美| 亚洲免费av网站| 美女主播精品视频一二三四| 国产欧美一区二区三区国产幕精品| 亚洲福利在线看| 欧美一二三视频| 亚洲日本一区二区三区| 欧美专区在线观看| 91久久精品美女高潮| 久久国产手机看片| 欧美日本精品| 亚洲精品在线一区二区| 久久激情五月激情| 亚洲一区二区高清| 欧美日韩免费一区二区三区视频| 亚洲动漫精品| 麻豆精品在线观看| 欧美在线视频观看| 国产日韩精品一区二区浪潮av| 一区二区三区视频在线观看| 亚洲国产婷婷香蕉久久久久久99 | 另类综合日韩欧美亚洲| 国产精品久久中文| 亚洲午夜视频在线观看| 亚洲国产精品va在线看黑人| 久久夜色精品国产亚洲aⅴ | 一区二区三区欧美成人| 欧美18av| 久久亚洲综合色| 免播放器亚洲| 久久精品人人做人人爽| 国产欧美一区二区色老头| 亚洲男人天堂2024| 一区二区三区四区精品| 欧美日韩国产成人高清视频| 一本一本久久a久久精品牛牛影视| 亚洲激情一区| 欧美国产日韩一二三区| 亚洲精品欧美一区二区三区| 亚洲成人资源| 欧美日韩在线视频一区| 午夜综合激情| 欧美主播一区二区三区| 在线日韩日本国产亚洲| 亚洲国产精品免费| 国产精品久久久久久久久久免费 | 黄色成人精品网站| 免费成人黄色av| 另类人畜视频在线| 亚洲午夜久久久| 亚洲一区二区三区三| 国产一区二区三区黄视频| 六十路精品视频| 欧美久久99| 亚洲欧美日韩国产| 久久国产福利| 中文一区二区| 午夜精品久久久久久久99水蜜桃| 亚洲国产精品一区二区第一页 | 久久久99久久精品女同性| 最新高清无码专区| 在线亚洲自拍| 一区视频在线看| 亚洲精品在线电影| 黄色一区三区| 一区二区三区国产精华| 一区久久精品| 亚洲性xxxx| 亚洲国产日韩欧美综合久久| 亚洲裸体俱乐部裸体舞表演av| 国产欧美一区二区精品仙草咪| 亚洲国产精品t66y| 国产亚洲欧美日韩美女| 日韩视频一区二区| 亚洲国产欧美一区二区三区久久 | 亚洲欧洲精品一区二区三区 | 国产亚洲欧美一区二区| 最新中文字幕一区二区三区| 狠狠v欧美v日韩v亚洲ⅴ| 亚洲国产精品视频| 国产真实久久| 亚洲欧美国产精品桃花| 久久久精品2019中文字幕神马| 欧美顶级少妇做爰| 久久国产精品亚洲va麻豆| 欧美国产日本| 免费中文日韩| 黄色日韩网站视频| 欧美亚洲三区| 午夜精品久久久久久久99黑人| 欧美精品91| 欧美国产激情二区三区| 国产午夜精品理论片a级大结局 | 美女啪啪无遮挡免费久久网站| 欧美一区日韩一区| 欧美视频在线免费看| 亚洲激情在线播放| 亚洲国产精品高清久久久| 久久久高清一区二区三区| 亚洲影院色无极综合| 欧美性色综合| 亚洲午夜一区二区| 亚洲欧美中文字幕| 国产精品美女在线观看| 中文av一区二区| 亚洲欧美日韩电影| 国产欧美一区视频| 久久国产精品免费一区| 麻豆成人在线观看| 韩国av一区二区三区在线观看| 欧美一级视频精品观看| 久久人人97超碰国产公开结果| 激情综合视频| 你懂的视频一区二区| 欧美国产综合| 一区二区三区高清| 国产精品国产三级国产aⅴ无密码 国产精品国产三级国产aⅴ入口 | 久久国产精品一区二区三区| 欧美www视频| 亚洲日本成人女熟在线观看| 欧美波霸影院| 亚洲精品一区二区三区婷婷月| 99国内精品久久久久久久软件| 欧美欧美全黄| 一区二区福利| 久久久水蜜桃| 99re亚洲国产精品| 国产精品午夜在线| 麻豆亚洲精品| 一本到12不卡视频在线dvd| 午夜在线电影亚洲一区| 国产亚洲精品自拍| 欧美成人国产va精品日本一级| 一本久久综合亚洲鲁鲁五月天| 久久精品国产精品亚洲精品| 亚洲黄色在线看| 欧美午夜宅男影院在线观看| 亚洲欧美日韩精品在线| 欧美成人午夜| 亚洲欧美三级伦理| 亚洲电影一级黄| 国产精品夜色7777狼人| 欧美大片在线观看一区| 欧美主播一区二区三区| 亚洲精品综合在线| 久久久久国产精品麻豆ai换脸| 99成人在线| 好吊色欧美一区二区三区视频| 欧美激情a∨在线视频播放| 亚洲人成在线免费观看| 国产精品日本一区二区| 嫩草国产精品入口| 欧美中在线观看| 一区二区三区视频在线| 欧美激情视频在线播放| 久久精品一区二区国产| 一区二区三区.www| 亚洲国产日韩综合一区| 国产日韩亚洲欧美精品| 欧美日韩在线三区| 欧美成人综合在线| 久久亚洲不卡| 欧美主播一区二区三区美女 久久精品人 | 日韩视频免费观看| 伊人狠狠色丁香综合尤物| 国产精品一区=区|