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

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 閱讀(2182) 評論(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>
            一区二区三区日韩欧美| 日韩特黄影片| 欧美在线国产| 亚洲欧美日韩国产综合| 国产精品人人爽人人做我的可爱| 亚洲小说区图片区| 亚洲图色在线| 国产欧美一区二区三区在线看蜜臀| 午夜精品久久久久影视 | 亚洲国内欧美| 亚洲国产精品电影| 欧美破处大片在线视频| 亚洲自拍偷拍麻豆| 亚洲欧美日韩国产另类专区| 国内成+人亚洲| 亚洲国产日韩一区二区| 欧美午夜欧美| 久久久久久伊人| 欧美国产一区二区在线观看 | 国产亚洲免费的视频看| 欧美成人精品高清在线播放| 欧美激情国产日韩精品一区18| 亚洲一区二区在线免费观看| 午夜精品久久久久| 欧美黄污视频| 美女精品国产| 夜夜爽www精品| 亚洲欧美三级在线| 在线观看亚洲视频| 99精品热6080yy久久| 国产欧美一区二区三区另类精品 | 欧美伊人影院| 嫩草伊人久久精品少妇av杨幂| 亚洲一区二区三区中文字幕 | 99精品欧美一区| 影音先锋亚洲电影| 一区二区三区精密机械公司| 黄色成人片子| 亚洲天堂免费在线观看视频| 亚洲国产三级| 久久精品国产久精国产一老狼| 在线视频欧美精品| 久久亚洲春色中文字幕| 欧美一区二区精美| 欧美日韩国产一区二区三区| 久久综合久久美利坚合众国| 国产精品久久久久久久一区探花| 免费看黄裸体一级大秀欧美| 国产日韩欧美亚洲| 一本一本a久久| 日韩视频精品| 麻豆成人精品| 欧美成人高清| 精品福利免费观看| 亚洲欧美精品中文字幕在线| 一本大道久久精品懂色aⅴ| 久久综合一区| 老色批av在线精品| 国产一区二区黄色| 午夜精品成人在线| 欧美在线播放| 国产日韩精品在线观看| 亚洲午夜精品一区二区| 中文精品一区二区三区 | 亚洲欧美久久| 欧美一区二区三区在线看| 欧美亚洲第一区| 一区二区高清视频在线观看| 亚洲视频一区二区免费在线观看| 欧美日韩免费在线视频| 亚洲剧情一区二区| 亚洲午夜精品久久| 国产精品白丝黑袜喷水久久久| 日韩午夜高潮| 欧美亚洲网站| 国产无一区二区| 久久精品国产99精品国产亚洲性色 | 国产亚洲欧美一区在线观看 | 91久久综合| 日韩视频在线一区| 欧美喷潮久久久xxxxx| 亚洲精品国产精品乱码不99| 日韩亚洲欧美一区二区三区| 欧美日韩伦理在线免费| 中文久久乱码一区二区| 欧美亚洲在线观看| 韩国av一区二区三区在线观看| 久久精品国产成人| 亚洲国产一区二区三区a毛片| aⅴ色国产欧美| 国产精品亚洲视频| 久久综合中文字幕| 亚洲精品久久久久久一区二区| 亚洲一区二区三区中文字幕| 国产一区二区三区免费不卡| 免费av成人在线| 一本色道久久综合亚洲二区三区 | 在线不卡视频| 欧美精品尤物在线| 亚洲欧美国产精品专区久久| 免费久久99精品国产自| 一区二区三区久久久| 国产欧美综合一区二区三区| 久久一日本道色综合久久| 日韩一级大片在线| 久久综合婷婷| 亚洲一区二区av电影| 激情久久久久久久| 欧美日韩一区二区欧美激情| 久久精品在线| 一本久久a久久精品亚洲| 久久久久久久网| 一区二区高清视频| 在线播放中文字幕一区| 国产精品国色综合久久| 毛片基地黄久久久久久天堂| 亚洲一区黄色| 亚洲精品欧美专区| 久久久亚洲国产美女国产盗摄| 99热这里只有成人精品国产| 亚洲大胆人体视频| 国产区亚洲区欧美区| 欧美日产国产成人免费图片| 久久久人成影片一区二区三区观看| 一本色道久久综合亚洲二区三区| 亚洲高清激情| 鲁鲁狠狠狠7777一区二区| 小嫩嫩精品导航| 在线一区观看| 日韩一级片网址| 亚洲人妖在线| 亚洲国产精品成人综合色在线婷婷| 国产欧美日韩不卡免费| 国产精品爱啪在线线免费观看| 欧美高清视频免费观看| 美国十次成人| 免费看精品久久片| 久久深夜福利| 久久久久久**毛片大全| 久久成人精品电影| 欧美亚洲综合久久| 午夜精品久久久久久99热| 亚洲欧美激情视频| 亚洲一区观看| 亚洲欧美久久| 欧美在线三级| 久久精品免费观看| 久久久天天操| 蜜桃伊人久久| 欧美高清自拍一区| 欧美区亚洲区| 欧美日韩在线不卡| 国产精品第三页| 国产伦精品一区二区三区照片91 | 久久一二三区| 牛人盗摄一区二区三区视频| 欧美顶级艳妇交换群宴| 欧美激情一区二区三区在线视频观看 | 老司机成人在线视频| 久久夜色撩人精品| 欧美激情网友自拍| 亚洲国产高清aⅴ视频| 亚洲国产欧美一区| 日韩亚洲欧美成人一区| 亚洲天堂偷拍| 久久精品国产亚洲a| 蜜臀久久久99精品久久久久久 | 久久国产精品久久w女人spa| 久久久久久电影| 欧美韩国日本综合| 欧美性猛交一区二区三区精品| 国产精品日韩在线观看| 韩国av一区二区三区在线观看| 亚洲国产mv| 亚洲午夜久久久久久久久电影院 | 在线看国产一区| 亚洲精品视频二区| 午夜精品久久久久| 欧美电影在线观看完整版| 一本久道久久综合狠狠爱| 午夜精品美女自拍福到在线| 老司机午夜免费精品视频| 欧美视频精品在线| 韩日视频一区| 亚洲四色影视在线观看| 久久午夜影视| 99热在线精品观看| 久久久久久综合| 国产精品福利网| 亚洲国产cao| 欧美在现视频| 日韩视频一区二区在线观看 | 亚洲欧洲日产国产网站| 羞羞色国产精品| 亚洲国产婷婷综合在线精品| 午夜精品免费视频| 欧美日在线观看| 亚洲人成绝费网站色www| 久久精品视频免费播放| 99香蕉国产精品偷在线观看|