<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>within (with strategy)</title>
<link rel="stylesheet" href="../../../../../../../../doc/src/boostbook.css" type="text/css">
-<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
+<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="../../../../index.html" title="Chapter 1. Geometry">
<link rel="up" href="../within.html" title="within">
<link rel="prev" href="within_2.html" title="within">
(with strategy)</a>
</h5></div></div></div>
<p>
- <a class="indexterm" name="id916209"></a>
+ <a class="indexterm" name="idp121910864"></a>
Checks if the first geometry is completely inside the second geometry
using the specified strategy.
</p>
<h6>
<a name="geometry.reference.algorithms.within.within_3_with_strategy.h0"></a>
- <span><a name="geometry.reference.algorithms.within.within_3_with_strategy.description"></a></span><a class="link" href="within_3_with_strategy.html#geometry.reference.algorithms.within.within_3_with_strategy.description">Description</a>
+ <span class="phrase"><a name="geometry.reference.algorithms.within.within_3_with_strategy.description"></a></span><a class="link" href="within_3_with_strategy.html#geometry.reference.algorithms.within.within_3_with_strategy.description">Description</a>
</h6>
<p>
The free function within checks if the first geometry is completely inside
</p>
<h6>
<a name="geometry.reference.algorithms.within.within_3_with_strategy.h1"></a>
- <span><a name="geometry.reference.algorithms.within.within_3_with_strategy.synopsis"></a></span><a class="link" href="within_3_with_strategy.html#geometry.reference.algorithms.within.within_3_with_strategy.synopsis">Synopsis</a>
+ <span class="phrase"><a name="geometry.reference.algorithms.within.within_3_with_strategy.synopsis"></a></span><a class="link" href="within_3_with_strategy.html#geometry.reference.algorithms.within.within_3_with_strategy.synopsis">Synopsis</a>
</h6>
<p>
</p>
</p>
<h6>
<a name="geometry.reference.algorithms.within.within_3_with_strategy.h2"></a>
- <span><a name="geometry.reference.algorithms.within.within_3_with_strategy.parameters"></a></span><a class="link" href="within_3_with_strategy.html#geometry.reference.algorithms.within.within_3_with_strategy.parameters">Parameters</a>
+ <span class="phrase"><a name="geometry.reference.algorithms.within.within_3_with_strategy.parameters"></a></span><a class="link" href="within_3_with_strategy.html#geometry.reference.algorithms.within.within_3_with_strategy.parameters">Parameters</a>
</h6>
<div class="informaltable"><table class="table">
<colgroup>
</table></div>
<h6>
<a name="geometry.reference.algorithms.within.within_3_with_strategy.h3"></a>
- <span><a name="geometry.reference.algorithms.within.within_3_with_strategy.returns"></a></span><a class="link" href="within_3_with_strategy.html#geometry.reference.algorithms.within.within_3_with_strategy.returns">Returns</a>
+ <span class="phrase"><a name="geometry.reference.algorithms.within.within_3_with_strategy.returns"></a></span><a class="link" href="within_3_with_strategy.html#geometry.reference.algorithms.within.within_3_with_strategy.returns">Returns</a>
</h6>
<p>
true if geometry1 is completely contained within geometry2, else false
</p>
<h6>
<a name="geometry.reference.algorithms.within.within_3_with_strategy.h4"></a>
- <span><a name="geometry.reference.algorithms.within.within_3_with_strategy.header"></a></span><a class="link" href="within_3_with_strategy.html#geometry.reference.algorithms.within.within_3_with_strategy.header">Header</a>
+ <span class="phrase"><a name="geometry.reference.algorithms.within.within_3_with_strategy.header"></a></span><a class="link" href="within_3_with_strategy.html#geometry.reference.algorithms.within.within_3_with_strategy.header">Header</a>
</h6>
<p>
Either
</p>
<p>
- <code class="computeroutput"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">geometry</span><span class="special">/</span><span class="identifier">geometry</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code>
+ <code class="computeroutput"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">geometry</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code>
</p>
<p>
Or
</p>
<h6>
<a name="geometry.reference.algorithms.within.within_3_with_strategy.h5"></a>
- <span><a name="geometry.reference.algorithms.within.within_3_with_strategy.conformance"></a></span><a class="link" href="within_3_with_strategy.html#geometry.reference.algorithms.within.within_3_with_strategy.conformance">Conformance</a>
+ <span class="phrase"><a name="geometry.reference.algorithms.within.within_3_with_strategy.conformance"></a></span><a class="link" href="within_3_with_strategy.html#geometry.reference.algorithms.within.within_3_with_strategy.conformance">Conformance</a>
</h6>
<p>
The function within implements function Within from the <a href="http://www.opengeospatial.org/standards/sfa" target="_top">OGC
</table></div>
<h6>
<a name="geometry.reference.algorithms.within.within_3_with_strategy.h6"></a>
- <span><a name="geometry.reference.algorithms.within.within_3_with_strategy.supported_geometries"></a></span><a class="link" href="within_3_with_strategy.html#geometry.reference.algorithms.within.within_3_with_strategy.supported_geometries">Supported
+ <span class="phrase"><a name="geometry.reference.algorithms.within.within_3_with_strategy.supported_geometries"></a></span><a class="link" href="within_3_with_strategy.html#geometry.reference.algorithms.within.within_3_with_strategy.supported_geometries">Supported
geometries</a>
</h6>
<div class="informaltable"><table class="table">
<col>
<col>
<col>
+<col>
</colgroup>
<thead><tr>
<th>
MultiPolygon
</p>
</th>
+<th>
+ <p>
+ Variant
+ </p>
+ </th>
</tr></thead>
<tbody>
<tr>
</td>
<td>
<p>
+ <span class="inlinemediaobject"><img src="../../../../img/ok.png" alt="ok"></span>
+ </p>
+ </td>
+<td>
+ <p>
<span class="inlinemediaobject"><img src="../../../../img/nyi.png" alt="nyi"></span>
</p>
</td>
</td>
<td>
<p>
+ <span class="inlinemediaobject"><img src="../../../../img/ok.png" alt="ok"></span>
+ </p>
+ </td>
+<td>
+ <p>
<span class="inlinemediaobject"><img src="../../../../img/nyi.png" alt="nyi"></span>
</p>
</td>
<span class="inlinemediaobject"><img src="../../../../img/nyi.png" alt="nyi"></span>
</p>
</td>
+<td>
+ <p>
+ <span class="inlinemediaobject"><img src="../../../../img/nyi.png" alt="nyi"></span>
+ </p>
+ </td>
</tr>
<tr>
<td>
</td>
<td>
<p>
- <span class="inlinemediaobject"><img src="../../../../img/nyi.png" alt="nyi"></span>
+ <span class="inlinemediaobject"><img src="../../../../img/ok.png" alt="ok"></span>
</p>
</td>
<td>
</td>
<td>
<p>
- <span class="inlinemediaobject"><img src="../../../../img/nyi.png" alt="nyi"></span>
+ <span class="inlinemediaobject"><img src="../../../../img/ok.png" alt="ok"></span>
</p>
</td>
<td>
</td>
<td>
<p>
+ <span class="inlinemediaobject"><img src="../../../../img/ok.png" alt="ok"></span>
+ </p>
+ </td>
+<td>
+ <p>
<span class="inlinemediaobject"><img src="../../../../img/nyi.png" alt="nyi"></span>
</p>
</td>
</td>
<td>
<p>
- <span class="inlinemediaobject"><img src="../../../../img/nyi.png" alt="nyi"></span>
+ <span class="inlinemediaobject"><img src="../../../../img/ok.png" alt="ok"></span>
</p>
</td>
<td>
<p>
- <span class="inlinemediaobject"><img src="../../../../img/nyi.png" alt="nyi"></span>
+ <span class="inlinemediaobject"><img src="../../../../img/ok.png" alt="ok"></span>
</p>
</td>
<td>
<p>
- <span class="inlinemediaobject"><img src="../../../../img/nyi.png" alt="nyi"></span>
+ <span class="inlinemediaobject"><img src="../../../../img/ok.png" alt="ok"></span>
</p>
</td>
<td>
</td>
<td>
<p>
- <span class="inlinemediaobject"><img src="../../../../img/nyi.png" alt="nyi"></span>
+ <span class="inlinemediaobject"><img src="../../../../img/ok.png" alt="ok"></span>
</p>
</td>
<td>
<p>
- <span class="inlinemediaobject"><img src="../../../../img/nyi.png" alt="nyi"></span>
+ <span class="inlinemediaobject"><img src="../../../../img/ok.png" alt="ok"></span>
+ </p>
+ </td>
+<td>
+ <p>
+ <span class="inlinemediaobject"><img src="../../../../img/ok.png" alt="ok"></span>
</p>
</td>
</tr>
</td>
<td>
<p>
- <span class="inlinemediaobject"><img src="../../../../img/nyi.png" alt="nyi"></span>
+ <span class="inlinemediaobject"><img src="../../../../img/ok.png" alt="ok"></span>
</p>
</td>
<td>
<p>
- <span class="inlinemediaobject"><img src="../../../../img/nyi.png" alt="nyi"></span>
+ <span class="inlinemediaobject"><img src="../../../../img/ok.png" alt="ok"></span>
</p>
</td>
<td>
<p>
- <span class="inlinemediaobject"><img src="../../../../img/nyi.png" alt="nyi"></span>
+ <span class="inlinemediaobject"><img src="../../../../img/ok.png" alt="ok"></span>
</p>
</td>
<td>
</td>
<td>
<p>
- <span class="inlinemediaobject"><img src="../../../../img/nyi.png" alt="nyi"></span>
+ <span class="inlinemediaobject"><img src="../../../../img/ok.png" alt="ok"></span>
</p>
</td>
<td>
<p>
- <span class="inlinemediaobject"><img src="../../../../img/nyi.png" alt="nyi"></span>
+ <span class="inlinemediaobject"><img src="../../../../img/ok.png" alt="ok"></span>
+ </p>
+ </td>
+<td>
+ <p>
+ <span class="inlinemediaobject"><img src="../../../../img/ok.png" alt="ok"></span>
</p>
</td>
</tr>
</td>
<td>
<p>
+ <span class="inlinemediaobject"><img src="../../../../img/ok.png" alt="ok"></span>
+ </p>
+ </td>
+<td>
+ <p>
<span class="inlinemediaobject"><img src="../../../../img/nyi.png" alt="nyi"></span>
</p>
</td>
</td>
<td>
<p>
+ <span class="inlinemediaobject"><img src="../../../../img/ok.png" alt="ok"></span>
+ </p>
+ </td>
+<td>
+ <p>
<span class="inlinemediaobject"><img src="../../../../img/nyi.png" alt="nyi"></span>
</p>
</td>
</td>
<td>
<p>
+ <span class="inlinemediaobject"><img src="../../../../img/ok.png" alt="ok"></span>
+ </p>
+ </td>
+<td>
+ <p>
<span class="inlinemediaobject"><img src="../../../../img/nyi.png" alt="nyi"></span>
</p>
</td>
</td>
<td>
<p>
+ <span class="inlinemediaobject"><img src="../../../../img/ok.png" alt="ok"></span>
+ </p>
+ </td>
+<td>
+ <p>
<span class="inlinemediaobject"><img src="../../../../img/nyi.png" alt="nyi"></span>
</p>
</td>
<span class="inlinemediaobject"><img src="../../../../img/nyi.png" alt="nyi"></span>
</p>
</td>
+</tr>
+<tr>
+<td>
+ <p>
+ MultiPolygon
+ </p>
+ </td>
+<td>
+ <p>
+ <span class="inlinemediaobject"><img src="../../../../img/ok.png" alt="ok"></span>
+ </p>
+ </td>
<td>
<p>
<span class="inlinemediaobject"><img src="../../../../img/nyi.png" alt="nyi"></span>
<span class="inlinemediaobject"><img src="../../../../img/nyi.png" alt="nyi"></span>
</p>
</td>
+<td>
+ <p>
+ <span class="inlinemediaobject"><img src="../../../../img/ok.png" alt="ok"></span>
+ </p>
+ </td>
+<td>
+ <p>
+ <span class="inlinemediaobject"><img src="../../../../img/ok.png" alt="ok"></span>
+ </p>
+ </td>
+<td>
+ <p>
+ <span class="inlinemediaobject"><img src="../../../../img/ok.png" alt="ok"></span>
+ </p>
+ </td>
+<td>
+ <p>
+ <span class="inlinemediaobject"><img src="../../../../img/nyi.png" alt="nyi"></span>
+ </p>
+ </td>
+<td>
+ <p>
+ <span class="inlinemediaobject"><img src="../../../../img/ok.png" alt="ok"></span>
+ </p>
+ </td>
+<td>
+ <p>
+ <span class="inlinemediaobject"><img src="../../../../img/ok.png" alt="ok"></span>
+ </p>
+ </td>
+<td>
+ <p>
+ <span class="inlinemediaobject"><img src="../../../../img/ok.png" alt="ok"></span>
+ </p>
+ </td>
</tr>
<tr>
<td>
<p>
- MultiPolygon
+ Variant
</p>
</td>
<td>
<span class="inlinemediaobject"><img src="../../../../img/nyi.png" alt="nyi"></span>
</p>
</td>
+<td>
+ <p>
+ <span class="inlinemediaobject"><img src="../../../../img/nyi.png" alt="nyi"></span>
+ </p>
+ </td>
</tr>
</tbody>
</table></div>
</table></div>
<h6>
<a name="geometry.reference.algorithms.within.within_3_with_strategy.h7"></a>
- <span><a name="geometry.reference.algorithms.within.within_3_with_strategy.notes"></a></span><a class="link" href="within_3_with_strategy.html#geometry.reference.algorithms.within.within_3_with_strategy.notes">Notes</a>
+ <span class="phrase"><a name="geometry.reference.algorithms.within.within_3_with_strategy.notes"></a></span><a class="link" href="within_3_with_strategy.html#geometry.reference.algorithms.within.within_3_with_strategy.notes">Notes</a>
</h6>
<p>
If a point is located exactly on the border of a geometry, the result
</p>
<h6>
<a name="geometry.reference.algorithms.within.within_3_with_strategy.h8"></a>
- <span><a name="geometry.reference.algorithms.within.within_3_with_strategy.complexity"></a></span><a class="link" href="within_3_with_strategy.html#geometry.reference.algorithms.within.within_3_with_strategy.complexity">Complexity</a>
+ <span class="phrase"><a name="geometry.reference.algorithms.within.within_3_with_strategy.complexity"></a></span><a class="link" href="within_3_with_strategy.html#geometry.reference.algorithms.within.within_3_with_strategy.complexity">Complexity</a>
</h6>
<p>
Linear
</p>
<h6>
<a name="geometry.reference.algorithms.within.within_3_with_strategy.h9"></a>
- <span><a name="geometry.reference.algorithms.within.within_3_with_strategy.see_also"></a></span><a class="link" href="within_3_with_strategy.html#geometry.reference.algorithms.within.within_3_with_strategy.see_also">See
+ <span class="phrase"><a name="geometry.reference.algorithms.within.within_3_with_strategy.see_also"></a></span><a class="link" href="within_3_with_strategy.html#geometry.reference.algorithms.within.within_3_with_strategy.see_also">See
also</a>
</h6>
-<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem">
+<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
<a class="link" href="../covered_by.html" title="covered_by">covered_by</a>
</li></ul></div>
<h6>
<a name="geometry.reference.algorithms.within.within_3_with_strategy.h10"></a>
- <span><a name="geometry.reference.algorithms.within.within_3_with_strategy.available_strategies"></a></span><a class="link" href="within_3_with_strategy.html#geometry.reference.algorithms.within.within_3_with_strategy.available_strategies">Available
+ <span class="phrase"><a name="geometry.reference.algorithms.within.within_3_with_strategy.available_strategies"></a></span><a class="link" href="within_3_with_strategy.html#geometry.reference.algorithms.within.within_3_with_strategy.available_strategies">Available
Strategies</a>
</h6>
-<div class="itemizedlist"><ul class="itemizedlist" type="disc">
+<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem">
<a class="link" href="../../strategies/strategy_within_winding.html" title="strategy::within::winding">Winding
(coordinate system agnostic)</a>
</ul></div>
<h6>
<a name="geometry.reference.algorithms.within.within_3_with_strategy.h11"></a>
- <span><a name="geometry.reference.algorithms.within.within_3_with_strategy.example"></a></span><a class="link" href="within_3_with_strategy.html#geometry.reference.algorithms.within.within_3_with_strategy.example">Example</a>
+ <span class="phrase"><a name="geometry.reference.algorithms.within.within_3_with_strategy.example"></a></span><a class="link" href="within_3_with_strategy.html#geometry.reference.algorithms.within.within_3_with_strategy.example">Example</a>
</h6>
<p>
[within_strategy] [within_strategy_output]
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
-<td align="right"><div class="copyright-footer">Copyright © 2009-2012 Barend
- Gehrels, Bruno Lalande, Mateusz Loskot<p>
+<td align="right"><div class="copyright-footer">Copyright © 2009-2014 Barend Gehrels, Bruno Lalande, Mateusz Loskot, Adam
+ Wulkiewicz, Oracle and/or its affiliates<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>