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

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 閱讀(2162) 評論(0)  編輯 收藏 引用

青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品
  • <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>
            亚洲大胆av| 久久综合给合久久狠狠色 | 亚洲永久免费精品| 欧美日韩免费观看中文| 国产精品久久久一区麻豆最新章节| 久久岛国电影| 久久久国产成人精品| 久久蜜臀精品av| 欧美1区免费| 欧美日韩国产欧美日美国产精品| 欧美日韩国产在线观看| 国产精品揄拍500视频| 影音先锋一区| 一本色道久久精品| 久久国产一区二区| 欧美高清你懂得| 宅男噜噜噜66一区二区| 久久国产日本精品| 欧美日韩精品高清| 黄色亚洲精品| 亚洲午夜久久久久久久久电影院 | 久久久久88色偷偷免费| 欧美国产日韩一区二区| 宅男噜噜噜66一区二区| 老司机久久99久久精品播放免费| 欧美日韩国产小视频| 国产亚洲一本大道中文在线| 亚洲欧洲在线看| 欧美一区二区黄| 亚洲国产精品专区久久| 麻豆成人91精品二区三区| 欧美激情在线观看| 亚洲欧美在线一区二区| 欧美激情免费在线| 国内成+人亚洲| 亚洲欧美不卡| 亚洲理伦在线| 欧美不卡高清| 一区二区视频免费完整版观看| 亚洲视频一区在线| 亚洲电影免费在线 | 亚洲国产精品久久久久| 国产日韩精品一区二区三区 | 亚洲激情成人在线| 久久久国产91| 亚洲主播在线播放| 欧美日本一区| 亚洲精品日韩一| 欧美va亚洲va国产综合| 欧美在线二区| 国产亚洲成精品久久| 亚洲永久精品国产| 日韩一级不卡| 欧美日韩一区二区三区| 亚洲精品国产欧美| 欧美激情亚洲自拍| 免费欧美日韩| 亚洲巨乳在线| 亚洲欧洲一区| 欧美日韩国产123区| 亚洲电影免费观看高清完整版在线观看 | 欧美中文在线视频| 国产亚洲毛片| 久久一区亚洲| 欧美诱惑福利视频| 国产视频一区在线观看| 亚洲欧美日韩精品在线| 亚洲人精品午夜| 欧美日韩岛国| 亚洲午夜在线观看| 一区二区久久| 欧美日韩无遮挡| 亚洲综合视频一区| 午夜精品久久久久久久久久久 | 宅男在线国产精品| 国产精品夜夜夜| 欧美日韩久久不卡| 一区二区三区欧美日韩| 一区二区三区国产精品| 欧美三级网址| 久久久精品国产免大香伊 | 一本色道久久综合一区| 国产精品白丝av嫩草影院| 午夜亚洲精品| 久久久999成人| 亚洲理伦电影| 亚洲午夜一二三区视频| 国产一区亚洲一区| 最新日韩在线| 国产日韩在线一区二区三区| 你懂的国产精品永久在线| 欧美精品偷拍| 久久久久久久欧美精品| 欧美精品一区二区蜜臀亚洲| 欧美亚洲色图校园春色| 亚洲一区二区在线视频| 欧美福利视频在线| 欧美视频二区| 欧美波霸影院| 欧美午夜www高清视频| 久久久久9999亚洲精品| 欧美激情精品久久久久| 久久精品99久久香蕉国产色戒| 蜜桃伊人久久| 久久精品国产999大香线蕉| 欧美激情视频免费观看| 久久久噜噜噜久久狠狠50岁| 欧美另类变人与禽xxxxx| 久久久蜜臀国产一区二区| 欧美日韩精品一区视频| 欧美黄色免费网站| 国产一区二区在线观看免费播放 | 亚洲精品在线观看视频| 欧美一区二区三区四区视频| 亚洲校园激情| 免费观看国产成人| 久久免费观看视频| 国产精品一区毛片| aⅴ色国产欧美| av不卡免费看| 欧美二区在线看| 女人天堂亚洲aⅴ在线观看| 国产精品一区二区在线| 在线视频精品| 一区二区三区成人| 欧美激情精品久久久久久变态| 久久久久久一区| 国产欧美日韩综合一区在线观看| 日韩亚洲欧美一区| 亚洲免费av片| 欧美激情性爽国产精品17p| 欧美freesex8一10精品| 尤物精品在线| 久久综合福利| 欧美国产视频一区二区| 亚洲第一页中文字幕| 蜜臀99久久精品久久久久久软件| 牛牛国产精品| 久久久99国产精品免费| 欧美诱惑福利视频| 国产麻豆精品theporn| 亚洲一区二区三区国产| 午夜精品久久久久久久久久久| 欧美一区二区成人6969| 亚洲视频自拍偷拍| 国产精品久久一级| 亚洲欧美综合| 久久亚洲风情| 亚洲黄一区二区三区| 欧美高清视频在线播放| 91久久精品国产91久久| 一区二区三区色| 国产精品日韩| 久久国产视频网| 欧美激情91| 亚洲午夜一区二区三区| 国产片一区二区| 美脚丝袜一区二区三区在线观看| 亚洲第一精品夜夜躁人人躁| 久久精品一区二区国产| 日韩午夜在线观看视频| 一区一区视频| 欧美高清一区二区| 亚洲私人影院在线观看| 久久久美女艺术照精彩视频福利播放 | 欧美视频日韩视频在线观看| 亚洲一区在线观看视频 | 亚洲午夜精品久久久久久app| 国产精品久久久99| 久久超碰97人人做人人爱| 欧美好骚综合网| 欧美一二三视频| 亚洲国产精品va在线观看黑人 | 久久综合九色欧美综合狠狠| 亚洲电影在线| 新狼窝色av性久久久久久| 狠狠色狠狠色综合人人| 欧美激情综合在线| 亚洲综合精品一区二区| 蜜桃av一区| 性高湖久久久久久久久| 亚洲国产精品视频一区| 国产精品免费视频xxxx| 老鸭窝91久久精品色噜噜导演| 夜夜夜精品看看| 你懂的成人av| 久久久久91| 欧美亚洲一区二区三区| 日韩亚洲欧美一区二区三区| 国产专区一区| 国产精品狼人久久影院观看方式| 久久婷婷色综合| 亚洲欧美综合国产精品一区| 亚洲欧洲日产国码二区| 另类春色校园亚洲| 西瓜成人精品人成网站| 一本色道久久88精品综合| 亚洲第一搞黄网站| 国内自拍视频一区二区三区| 国产精品网站在线播放|