两个计算几何库:LEDA和CGAL

Lutz Kettner, S. Näher
{"title":"两个计算几何库:LEDA和CGAL","authors":"Lutz Kettner, S. Näher","doi":"10.1201/9781420035315.ch65","DOIUrl":null,"url":null,"abstract":"Over the past decades, two major software libraries that support a wide range of geometric computing have been developed: Leda, the Library of Efficient Data Types and Algorithms, and Cgal, the Computational Geometry Algorithms Library. We start with an introduction of common aspects of both libraries and major differences. We continue with sections that describe each library in detail. Both libraries are written in C++. Leda is based on the object-oriented paradigm and Cgal is based on the generic programming paradigm. They provide a collection of flexible, efficient, and correct software components for computational geometry. Users should be able to easily include existing functionality into their programs. Additionally, both libraries have been designed to serve as platforms for the implementation of new algorithms. Correctness is of crucial importance for a library, even more so in the case of geometric algorithms where correctness is harder to achieve than in other areas of software construction. Two well-known reasons are the exact arithmetic assumption and the nondegeneracy assumption that are often used in geometric algorithms. However, both assumptions usually do not hold: floating point arithmetic is not exact and inputs are frequently degenerate. See Chapter 45 for details.","PeriodicalId":156768,"journal":{"name":"Handbook of Discrete and Computational Geometry, 2nd Ed.","volume":"160 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2004-04-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"30","resultStr":"{\"title\":\"Two computational geometry libraries: LEDA and CGAL\",\"authors\":\"Lutz Kettner, S. Näher\",\"doi\":\"10.1201/9781420035315.ch65\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Over the past decades, two major software libraries that support a wide range of geometric computing have been developed: Leda, the Library of Efficient Data Types and Algorithms, and Cgal, the Computational Geometry Algorithms Library. We start with an introduction of common aspects of both libraries and major differences. We continue with sections that describe each library in detail. Both libraries are written in C++. Leda is based on the object-oriented paradigm and Cgal is based on the generic programming paradigm. They provide a collection of flexible, efficient, and correct software components for computational geometry. Users should be able to easily include existing functionality into their programs. Additionally, both libraries have been designed to serve as platforms for the implementation of new algorithms. Correctness is of crucial importance for a library, even more so in the case of geometric algorithms where correctness is harder to achieve than in other areas of software construction. Two well-known reasons are the exact arithmetic assumption and the nondegeneracy assumption that are often used in geometric algorithms. However, both assumptions usually do not hold: floating point arithmetic is not exact and inputs are frequently degenerate. See Chapter 45 for details.\",\"PeriodicalId\":156768,\"journal\":{\"name\":\"Handbook of Discrete and Computational Geometry, 2nd Ed.\",\"volume\":\"160 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2004-04-13\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"30\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Handbook of Discrete and Computational Geometry, 2nd Ed.\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1201/9781420035315.ch65\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Handbook of Discrete and Computational Geometry, 2nd Ed.","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1201/9781420035315.ch65","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 30

摘要

在过去的几十年里,已经开发了两个支持广泛几何计算的主要软件库:Leda(高效数据类型和算法库)和Cgal(计算几何算法库)。我们首先介绍两个库的共同方面和主要区别。我们将继续详细描述每个库的部分。两个库都是用c++编写的。Leda基于面向对象范式,而Cgal基于泛型编程范式。它们为计算几何提供了一组灵活、高效和正确的软件组件。用户应该能够轻松地将现有功能包含到他们的程序中。此外,这两个库都被设计为实现新算法的平台。正确性对于库来说是至关重要的,在几何算法的情况下更是如此,因为几何算法的正确性比软件构造的其他领域更难实现。两个众所周知的原因是几何算法中经常使用的精确算术假设和非简并假设。然而,这两个假设通常都不成立:浮点运算不精确,输入经常是退化的。详情见第45章。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Two computational geometry libraries: LEDA and CGAL
Over the past decades, two major software libraries that support a wide range of geometric computing have been developed: Leda, the Library of Efficient Data Types and Algorithms, and Cgal, the Computational Geometry Algorithms Library. We start with an introduction of common aspects of both libraries and major differences. We continue with sections that describe each library in detail. Both libraries are written in C++. Leda is based on the object-oriented paradigm and Cgal is based on the generic programming paradigm. They provide a collection of flexible, efficient, and correct software components for computational geometry. Users should be able to easily include existing functionality into their programs. Additionally, both libraries have been designed to serve as platforms for the implementation of new algorithms. Correctness is of crucial importance for a library, even more so in the case of geometric algorithms where correctness is harder to achieve than in other areas of software construction. Two well-known reasons are the exact arithmetic assumption and the nondegeneracy assumption that are often used in geometric algorithms. However, both assumptions usually do not hold: floating point arithmetic is not exact and inputs are frequently degenerate. See Chapter 45 for details.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信