mirror of
https://github.com/boostorg/geometry.git
synced 2026-02-13 12:32:09 +00:00
85 lines
3.7 KiB
HTML
85 lines
3.7 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
|
<title>Boost.Geometry (aka GGL, Generic Geometry Library)</title>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
|
<link href="tabs.css" rel="stylesheet" type="text/css">
|
|
</head>
|
|
|
|
<table cellpadding="2" width="100%">
|
|
<tbody>
|
|
<tr>
|
|
<td valign="top">
|
|
<img alt="Boost.Geometry" src="images/ggl-logo-big.png" height="80" width="200">
|
|
|
|
</td>
|
|
<td valign="top" align="right">
|
|
<a href="http://www.boost.org">
|
|
<img alt="Boost C++ Libraries" src="images/accepted_by_boost.png" height="80" width="230" border="0">
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<!-- Generated by Doxygen 1.5.9 -->
|
|
<div class="navigation" id="top">
|
|
<div class="tabs">
|
|
<ul>
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
|
<li class="current"><a href="pages.html"><span>Related Pages</span></a></li>
|
|
<li><a href="modules.html"><span>Modules</span></a></li>
|
|
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
|
<li><a href="annotated.html"><span>Classes</span></a></li>
|
|
<li><a href="files.html"><span>Files</span></a></li>
|
|
<li><a href="examples.html"><span>Examples</span></a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="contents">
|
|
<h1><a class="anchor" name="compat">Relation to Boost and std libraries </a></h1><h2><a class="anchor" name="boost_compat">
|
|
Boost</a></h2>
|
|
The GGL makes use of the following Boost Libraries:<ul>
|
|
<li>Boost Range</li><li>Boost Type Traits (e.g. remove_const)</li><li>Boost Concept Check Library</li><li>Boost Numeric Conversion (cast, bounds)</li><li>Boost MPL</li><li>Boost Static Assert</li><li>Boost Iterator</li><li>Boost Smart Pointer (shared_ptr, in the extensions spatial index and projections)</li><li>Boost uBLAS</li><li>Adapted geometries:<ul>
|
|
<li>Boost Array</li><li>Boost Tuple</li></ul>
|
|
</li><li>IO and parsing<ul>
|
|
<li>Boost Tokenizer</li><li>Boost Conversion (lexical cast)</li><li>Boost String Algo</li></ul>
|
|
</li><li>Testing<ul>
|
|
<li>Boost Test</li><li>Boost Timer</li></ul>
|
|
</li><li>Examples<ul>
|
|
<li>Boost Graph Library</li></ul>
|
|
</li></ul>
|
|
<p>
|
|
Many of these are used a lot inside the library.<p>
|
|
The <b>Boost.Range</b> library is used everywhere to declare iterators and to walk through standard containers or custom ranges.<p>
|
|
The <b>Boost</b> <b>Concept</b> <b>Check</b> <b>Library</b> is used to check concepts, for geometries as well as for strategies.<p>
|
|
Tranformations are implemented using <b>Boost</b> uBLAS<p>
|
|
<b>MPL</b> is used for a.o. reverse dispatching<p>
|
|
Finally, the library can perfectly be used together with the <b>Boost</b> <b>Graph</b> <b>Library</b>, as shown in example 7.<h2><a class="anchor" name="std_compat">
|
|
std:: library</a></h2>
|
|
The GGL makes substantial use of the std library, and is designed to be compatible with it.<ul>
|
|
<li>provided geometries (linestring, ring, polygon, multi-s) make default use of std::vector (but that is configurable)</li><li>std sorting, unique copies, maps can make use of provided functors in <a class="el" href="group__compare.html">compare</a>.</li><li>internally, there are vector's, deque's, there is sorting, many things are implemented using the std library </li></ul>
|
|
</div>
|
|
<hr size="1">
|
|
<table width="100%">
|
|
<tbody>
|
|
<tr>
|
|
<td align="left"><small>
|
|
<p>December 1, 2009</p>
|
|
</small></td>
|
|
<td align="right">
|
|
<small>Copyright © 1995-2009 Barend Gehrels, Geodan, Amsterdam<br>
|
|
Copyright © 2008-2009 Bruno Lalande, Paris<br>
|
|
Copyright © 2009 Mateusz Loskot, Cadcorp, London<br>
|
|
</small>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<address style="text-align: right;"><small>
|
|
Documentation is generated by <a href="http://www.doxygen.org/index.html">Doxygen</a>
|
|
</small></address>
|
|
</body>
|
|
</html>
|