875 lines
46 KiB
HTML
875 lines
46 KiB
HTML
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||
|
<meta name="generator" content="Doxygen 1.8.11"/>
|
||
|
<title>GEOS: geos::operation::intersection::RectangleIntersection Class Reference</title>
|
||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||
|
<script type="text/javascript" src="jquery.js"></script>
|
||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||
|
</head>
|
||
|
<body>
|
||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||
|
<div id="titlearea">
|
||
|
<table cellspacing="0" cellpadding="0">
|
||
|
<tbody>
|
||
|
<tr style="height: 56px;">
|
||
|
<td id="projectalign" style="padding-left: 0.5em;">
|
||
|
<div id="projectname">GEOS
|
||
|
 <span id="projectnumber">3.9.1dev</span>
|
||
|
</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
<!-- end header part -->
|
||
|
<!-- Generated by Doxygen 1.8.11 -->
|
||
|
<div id="navrow1" class="tabs">
|
||
|
<ul class="tablist">
|
||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||
|
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
||
|
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
||
|
<li><a href="files.html"><span>Files</span></a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div id="navrow2" class="tabs2">
|
||
|
<ul class="tablist">
|
||
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
||
|
<li><a href="inherits.html"><span>Class Hierarchy</span></a></li>
|
||
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div id="nav-path" class="navpath">
|
||
|
<ul>
|
||
|
<li class="navelem"><a class="el" href="namespacegeos.html">geos</a></li><li class="navelem"><a class="el" href="namespacegeos_1_1operation.html">operation</a></li><li class="navelem"><a class="el" href="namespacegeos_1_1operation_1_1intersection.html">intersection</a></li><li class="navelem"><a class="el" href="classgeos_1_1operation_1_1intersection_1_1RectangleIntersection.html">RectangleIntersection</a></li> </ul>
|
||
|
</div>
|
||
|
</div><!-- top -->
|
||
|
<div class="header">
|
||
|
<div class="summary">
|
||
|
<a href="#pub-static-methods">Static Public Member Functions</a> |
|
||
|
<a href="#pri-methods">Private Member Functions</a> |
|
||
|
<a href="#pri-attribs">Private Attributes</a> |
|
||
|
<a href="classgeos_1_1operation_1_1intersection_1_1RectangleIntersection-members.html">List of all members</a> </div>
|
||
|
<div class="headertitle">
|
||
|
<div class="title">geos::operation::intersection::RectangleIntersection Class Reference</div> </div>
|
||
|
</div><!--header-->
|
||
|
<div class="contents">
|
||
|
|
||
|
<p>Speed-optimized clipping of a <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> with a rectangle.
|
||
|
<a href="classgeos_1_1operation_1_1intersection_1_1RectangleIntersection.html#details">More...</a></p>
|
||
|
|
||
|
<p><code>#include <<a class="el" href="RectangleIntersection_8h_source.html">RectangleIntersection.h</a>></code></p>
|
||
|
<div class="dynheader">
|
||
|
Collaboration diagram for geos::operation::intersection::RectangleIntersection:</div>
|
||
|
<div class="dyncontent">
|
||
|
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="classgeos_1_1operation_1_1intersection_1_1RectangleIntersection__coll__graph.svg" width="100%" height="456"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
|
||
|
</div>
|
||
|
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
|
||
|
<table class="memberdecls">
|
||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
|
||
|
Static Public Member Functions</h2></td></tr>
|
||
|
<tr class="memitem:af5be45dae2b9535e7c774f57fc3dd26f"><td class="memItemLeft" align="right" valign="top">static std::unique_ptr< <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1intersection_1_1RectangleIntersection.html#af5be45dae2b9535e7c774f57fc3dd26f">clip</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> &geom, const <a class="el" href="classgeos_1_1operation_1_1intersection_1_1Rectangle.html">Rectangle</a> &rect)</td></tr>
|
||
|
<tr class="memdesc:af5be45dae2b9535e7c774f57fc3dd26f"><td class="mdescLeft"> </td><td class="mdescRight">Clip geometry with a rectangle. <a href="#af5be45dae2b9535e7c774f57fc3dd26f">More...</a><br /></td></tr>
|
||
|
<tr class="separator:af5be45dae2b9535e7c774f57fc3dd26f"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a6488ca62d0c511c0ad86d38b9567d3ba"><td class="memItemLeft" align="right" valign="top">static std::unique_ptr< <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1intersection_1_1RectangleIntersection.html#a6488ca62d0c511c0ad86d38b9567d3ba">clipBoundary</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> &geom, const <a class="el" href="classgeos_1_1operation_1_1intersection_1_1Rectangle.html">Rectangle</a> &rect)</td></tr>
|
||
|
<tr class="memdesc:a6488ca62d0c511c0ad86d38b9567d3ba"><td class="mdescLeft"> </td><td class="mdescRight">Clip boundary of a geometry with a rectangle. <a href="#a6488ca62d0c511c0ad86d38b9567d3ba">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a6488ca62d0c511c0ad86d38b9567d3ba"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table><table class="memberdecls">
|
||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
|
||
|
Private Member Functions</h2></td></tr>
|
||
|
<tr class="memitem:a8e9e00fa73eab185d913483d6496bb7c"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1intersection_1_1RectangleIntersection.html#a8e9e00fa73eab185d913483d6496bb7c">RectangleIntersection</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> &geom, const <a class="el" href="classgeos_1_1operation_1_1intersection_1_1Rectangle.html">Rectangle</a> &rect)</td></tr>
|
||
|
<tr class="separator:a8e9e00fa73eab185d913483d6496bb7c"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a42d11f3ff2fd9d1fc161590657fe47cf"><td class="memItemLeft" align="right" valign="top">std::unique_ptr< <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1intersection_1_1RectangleIntersection.html#a42d11f3ff2fd9d1fc161590657fe47cf">clipBoundary</a> ()</td></tr>
|
||
|
<tr class="separator:a42d11f3ff2fd9d1fc161590657fe47cf"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a01e6ed78713d9abafeddf0c6f4dde9cf"><td class="memItemLeft" align="right" valign="top">std::unique_ptr< <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1intersection_1_1RectangleIntersection.html#a01e6ed78713d9abafeddf0c6f4dde9cf">clip</a> ()</td></tr>
|
||
|
<tr class="separator:a01e6ed78713d9abafeddf0c6f4dde9cf"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a96cd1bcacd76e15468226e59674f9c32"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1intersection_1_1RectangleIntersection.html#a96cd1bcacd76e15468226e59674f9c32">clip_geom</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *g, <a class="el" href="classgeos_1_1operation_1_1intersection_1_1RectangleIntersectionBuilder.html">RectangleIntersectionBuilder</a> &parts, const <a class="el" href="classgeos_1_1operation_1_1intersection_1_1Rectangle.html">Rectangle</a> &rect, bool keep_polygons)</td></tr>
|
||
|
<tr class="separator:a96cd1bcacd76e15468226e59674f9c32"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ada9e81bb55603680444c7a1dfbbf28b1"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1intersection_1_1RectangleIntersection.html#ada9e81bb55603680444c7a1dfbbf28b1">clip_point</a> (const <a class="el" href="classgeos_1_1geom_1_1Point.html">geom::Point</a> *g, <a class="el" href="classgeos_1_1operation_1_1intersection_1_1RectangleIntersectionBuilder.html">RectangleIntersectionBuilder</a> &parts, const <a class="el" href="classgeos_1_1operation_1_1intersection_1_1Rectangle.html">Rectangle</a> &rect)</td></tr>
|
||
|
<tr class="separator:ada9e81bb55603680444c7a1dfbbf28b1"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a6fc68f975c143dc054e55ad0474edeee"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1intersection_1_1RectangleIntersection.html#a6fc68f975c143dc054e55ad0474edeee">clip_multipoint</a> (const <a class="el" href="classgeos_1_1geom_1_1MultiPoint.html">geom::MultiPoint</a> *g, <a class="el" href="classgeos_1_1operation_1_1intersection_1_1RectangleIntersectionBuilder.html">RectangleIntersectionBuilder</a> &parts, const <a class="el" href="classgeos_1_1operation_1_1intersection_1_1Rectangle.html">Rectangle</a> &rect)</td></tr>
|
||
|
<tr class="separator:a6fc68f975c143dc054e55ad0474edeee"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:abb13316b6900c598f27ec473897418ae"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1intersection_1_1RectangleIntersection.html#abb13316b6900c598f27ec473897418ae">clip_linestring</a> (const <a class="el" href="classgeos_1_1geom_1_1LineString.html">geom::LineString</a> *g, <a class="el" href="classgeos_1_1operation_1_1intersection_1_1RectangleIntersectionBuilder.html">RectangleIntersectionBuilder</a> &parts, const <a class="el" href="classgeos_1_1operation_1_1intersection_1_1Rectangle.html">Rectangle</a> &rect)</td></tr>
|
||
|
<tr class="separator:abb13316b6900c598f27ec473897418ae"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a266aad73f544fc3a0eb2931cd383abe0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1intersection_1_1RectangleIntersection.html#a266aad73f544fc3a0eb2931cd383abe0">clip_multilinestring</a> (const <a class="el" href="classgeos_1_1geom_1_1MultiLineString.html">geom::MultiLineString</a> *g, <a class="el" href="classgeos_1_1operation_1_1intersection_1_1RectangleIntersectionBuilder.html">RectangleIntersectionBuilder</a> &parts, const <a class="el" href="classgeos_1_1operation_1_1intersection_1_1Rectangle.html">Rectangle</a> &rect)</td></tr>
|
||
|
<tr class="separator:a266aad73f544fc3a0eb2931cd383abe0"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a3f3c2746a1aa6abc6d8e8f5cd4090010"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1intersection_1_1RectangleIntersection.html#a3f3c2746a1aa6abc6d8e8f5cd4090010">clip_polygon</a> (const <a class="el" href="classgeos_1_1geom_1_1Polygon.html">geom::Polygon</a> *g, <a class="el" href="classgeos_1_1operation_1_1intersection_1_1RectangleIntersectionBuilder.html">RectangleIntersectionBuilder</a> &parts, const <a class="el" href="classgeos_1_1operation_1_1intersection_1_1Rectangle.html">Rectangle</a> &rect, bool keep_polygons)</td></tr>
|
||
|
<tr class="separator:a3f3c2746a1aa6abc6d8e8f5cd4090010"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a1930380d3712f903c20503a6c6185e3f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1intersection_1_1RectangleIntersection.html#a1930380d3712f903c20503a6c6185e3f">clip_multipolygon</a> (const <a class="el" href="classgeos_1_1geom_1_1MultiPolygon.html">geom::MultiPolygon</a> *g, <a class="el" href="classgeos_1_1operation_1_1intersection_1_1RectangleIntersectionBuilder.html">RectangleIntersectionBuilder</a> &parts, const <a class="el" href="classgeos_1_1operation_1_1intersection_1_1Rectangle.html">Rectangle</a> &rect, bool keep_polygons)</td></tr>
|
||
|
<tr class="separator:a1930380d3712f903c20503a6c6185e3f"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:aecab6bfd4eead31a1060d98d3a045a52"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1intersection_1_1RectangleIntersection.html#aecab6bfd4eead31a1060d98d3a045a52">clip_geometrycollection</a> (const <a class="el" href="classgeos_1_1geom_1_1GeometryCollection.html">geom::GeometryCollection</a> *g, <a class="el" href="classgeos_1_1operation_1_1intersection_1_1RectangleIntersectionBuilder.html">RectangleIntersectionBuilder</a> &parts, const <a class="el" href="classgeos_1_1operation_1_1intersection_1_1Rectangle.html">Rectangle</a> &rect, bool keep_polygons)</td></tr>
|
||
|
<tr class="separator:aecab6bfd4eead31a1060d98d3a045a52"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a41bd7e0b5038a4842a1525ca2cc25ee1"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1intersection_1_1RectangleIntersection.html#a41bd7e0b5038a4842a1525ca2cc25ee1">clip_polygon_to_linestrings</a> (const <a class="el" href="classgeos_1_1geom_1_1Polygon.html">geom::Polygon</a> *g, <a class="el" href="classgeos_1_1operation_1_1intersection_1_1RectangleIntersectionBuilder.html">RectangleIntersectionBuilder</a> &parts, const <a class="el" href="classgeos_1_1operation_1_1intersection_1_1Rectangle.html">Rectangle</a> &rect)</td></tr>
|
||
|
<tr class="separator:a41bd7e0b5038a4842a1525ca2cc25ee1"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a49465da4fb4871b5593d4017177b2233"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1intersection_1_1RectangleIntersection.html#a49465da4fb4871b5593d4017177b2233">clip_polygon_to_polygons</a> (const <a class="el" href="classgeos_1_1geom_1_1Polygon.html">geom::Polygon</a> *g, <a class="el" href="classgeos_1_1operation_1_1intersection_1_1RectangleIntersectionBuilder.html">RectangleIntersectionBuilder</a> &parts, const <a class="el" href="classgeos_1_1operation_1_1intersection_1_1Rectangle.html">Rectangle</a> &rect)</td></tr>
|
||
|
<tr class="separator:a49465da4fb4871b5593d4017177b2233"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a36e9c02b5c0f33a293d492c6974232f8"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1intersection_1_1RectangleIntersection.html#a36e9c02b5c0f33a293d492c6974232f8">clip_linestring_parts</a> (const <a class="el" href="classgeos_1_1geom_1_1LineString.html">geom::LineString</a> *gi, <a class="el" href="classgeos_1_1operation_1_1intersection_1_1RectangleIntersectionBuilder.html">RectangleIntersectionBuilder</a> &parts, const <a class="el" href="classgeos_1_1operation_1_1intersection_1_1Rectangle.html">Rectangle</a> &rect)</td></tr>
|
||
|
<tr class="memdesc:a36e9c02b5c0f33a293d492c6974232f8"><td class="mdescLeft"> </td><td class="mdescRight">Clip geometry. <a href="#a36e9c02b5c0f33a293d492c6974232f8">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a36e9c02b5c0f33a293d492c6974232f8"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table><table class="memberdecls">
|
||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
|
||
|
Private Attributes</h2></td></tr>
|
||
|
<tr class="memitem:a399c882ccf3a0759e5b4951acb6871f1"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1intersection_1_1RectangleIntersection.html#a399c882ccf3a0759e5b4951acb6871f1">_geom</a></td></tr>
|
||
|
<tr class="separator:a399c882ccf3a0759e5b4951acb6871f1"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a1522073ccd6603772258fae9e2f62c63"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classgeos_1_1operation_1_1intersection_1_1Rectangle.html">Rectangle</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1intersection_1_1RectangleIntersection.html#a1522073ccd6603772258fae9e2f62c63">_rect</a></td></tr>
|
||
|
<tr class="separator:a1522073ccd6603772258fae9e2f62c63"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a3baa932dd8abcbf50c86e463e02f97ce"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html">geom::GeometryFactory</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1intersection_1_1RectangleIntersection.html#a3baa932dd8abcbf50c86e463e02f97ce">_gf</a></td></tr>
|
||
|
<tr class="separator:a3baa932dd8abcbf50c86e463e02f97ce"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:abc1854d0ef57e9472000defd74c9e7ac"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classgeos_1_1geom_1_1CoordinateSequenceFactory.html">geom::CoordinateSequenceFactory</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1intersection_1_1RectangleIntersection.html#abc1854d0ef57e9472000defd74c9e7ac">_csf</a></td></tr>
|
||
|
<tr class="separator:abc1854d0ef57e9472000defd74c9e7ac"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table>
|
||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||
|
<div class="textblock"><p>Speed-optimized clipping of a <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> with a rectangle. </p>
|
||
|
<p>Two different methods are provided. The first performs normal clipping, the second clips the boundaries of polygons, not the polygons themselves. In the first case a polygon will remain a polygon or is completely cut out. In the latter case polygons will be converted to polylines if any vertex is outside the clipping rectangle, or will be cut out completely.</p>
|
||
|
<p>The algorithm works best when the number of intersections is very low. For example, if the geometry is completely to the left of the clipping rectangle, only the x-coordinate of the geometry is ever tested and is only compared with the x-coordinate of the left edge of the rectangle. Hence clipping may be faster than calculating the envelope of the geometry for trivial overlap tests.</p>
|
||
|
<p>The input geometry must be valid. In particular all <a class="el" href="classgeos_1_1geom_1_1LinearRing.html">LinearRings</a> must be properly closed, or the algorithm may not terminate. </p>
|
||
|
|
||
|
<p>Definition at line <a class="el" href="RectangleIntersection_8h_source.html#l00075">75</a> of file <a class="el" href="RectangleIntersection_8h_source.html">RectangleIntersection.h</a>.</p>
|
||
|
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
||
|
<a class="anchor" id="a8e9e00fa73eab185d913483d6496bb7c"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">geos::operation::intersection::RectangleIntersection::RectangleIntersection </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> & </td>
|
||
|
<td class="paramname"><em>geom</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1operation_1_1intersection_1_1Rectangle.html">Rectangle</a> & </td>
|
||
|
<td class="paramname"><em>rect</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<h2 class="groupheader">Member Function Documentation</h2>
|
||
|
<a class="anchor" id="af5be45dae2b9535e7c774f57fc3dd26f"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">static std::unique_ptr<<a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a>> geos::operation::intersection::RectangleIntersection::clip </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> & </td>
|
||
|
<td class="paramname"><em>geom</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1operation_1_1intersection_1_1Rectangle.html">Rectangle</a> & </td>
|
||
|
<td class="paramname"><em>rect</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Clip geometry with a rectangle. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">geom</td><td>a <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> </td></tr>
|
||
|
<tr><td class="paramname">rect</td><td>a <a class="el" href="classgeos_1_1operation_1_1intersection_1_1Rectangle.html" title="Clipping rectangle. ">Rectangle</a> </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl class="section return"><dt>Returns</dt><dd>the clipped geometry </dd>
|
||
|
<dd>
|
||
|
<code>NULL</code> if the geometry is outside the <a class="el" href="classgeos_1_1operation_1_1intersection_1_1Rectangle.html" title="Clipping rectangle. ">Rectangle</a> </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a01e6ed78713d9abafeddf0c6f4dde9cf"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">std::unique_ptr<<a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a>> geos::operation::intersection::RectangleIntersection::clip </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a96cd1bcacd76e15468226e59674f9c32"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::operation::intersection::RectangleIntersection::clip_geom </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> * </td>
|
||
|
<td class="paramname"><em>g</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"><a class="el" href="classgeos_1_1operation_1_1intersection_1_1RectangleIntersectionBuilder.html">RectangleIntersectionBuilder</a> & </td>
|
||
|
<td class="paramname"><em>parts</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1operation_1_1intersection_1_1Rectangle.html">Rectangle</a> & </td>
|
||
|
<td class="paramname"><em>rect</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">bool </td>
|
||
|
<td class="paramname"><em>keep_polygons</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="aecab6bfd4eead31a1060d98d3a045a52"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::operation::intersection::RectangleIntersection::clip_geometrycollection </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1GeometryCollection.html">geom::GeometryCollection</a> * </td>
|
||
|
<td class="paramname"><em>g</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"><a class="el" href="classgeos_1_1operation_1_1intersection_1_1RectangleIntersectionBuilder.html">RectangleIntersectionBuilder</a> & </td>
|
||
|
<td class="paramname"><em>parts</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1operation_1_1intersection_1_1Rectangle.html">Rectangle</a> & </td>
|
||
|
<td class="paramname"><em>rect</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">bool </td>
|
||
|
<td class="paramname"><em>keep_polygons</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="abb13316b6900c598f27ec473897418ae"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::operation::intersection::RectangleIntersection::clip_linestring </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1LineString.html">geom::LineString</a> * </td>
|
||
|
<td class="paramname"><em>g</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"><a class="el" href="classgeos_1_1operation_1_1intersection_1_1RectangleIntersectionBuilder.html">RectangleIntersectionBuilder</a> & </td>
|
||
|
<td class="paramname"><em>parts</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1operation_1_1intersection_1_1Rectangle.html">Rectangle</a> & </td>
|
||
|
<td class="paramname"><em>rect</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a36e9c02b5c0f33a293d492c6974232f8"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">bool geos::operation::intersection::RectangleIntersection::clip_linestring_parts </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1LineString.html">geom::LineString</a> * </td>
|
||
|
<td class="paramname"><em>gi</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"><a class="el" href="classgeos_1_1operation_1_1intersection_1_1RectangleIntersectionBuilder.html">RectangleIntersectionBuilder</a> & </td>
|
||
|
<td class="paramname"><em>parts</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1operation_1_1intersection_1_1Rectangle.html">Rectangle</a> & </td>
|
||
|
<td class="paramname"><em>rect</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Clip geometry. </p>
|
||
|
<p>Returns true if the geometry was fully inside, and does not output anything to <a class="el" href="classgeos_1_1operation_1_1intersection_1_1RectangleIntersectionBuilder.html" title="Rebuild geometries from subpaths left by clipping with a rectangle. ">RectangleIntersectionBuilder</a>. </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a266aad73f544fc3a0eb2931cd383abe0"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::operation::intersection::RectangleIntersection::clip_multilinestring </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1MultiLineString.html">geom::MultiLineString</a> * </td>
|
||
|
<td class="paramname"><em>g</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"><a class="el" href="classgeos_1_1operation_1_1intersection_1_1RectangleIntersectionBuilder.html">RectangleIntersectionBuilder</a> & </td>
|
||
|
<td class="paramname"><em>parts</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1operation_1_1intersection_1_1Rectangle.html">Rectangle</a> & </td>
|
||
|
<td class="paramname"><em>rect</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a6fc68f975c143dc054e55ad0474edeee"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::operation::intersection::RectangleIntersection::clip_multipoint </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1MultiPoint.html">geom::MultiPoint</a> * </td>
|
||
|
<td class="paramname"><em>g</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"><a class="el" href="classgeos_1_1operation_1_1intersection_1_1RectangleIntersectionBuilder.html">RectangleIntersectionBuilder</a> & </td>
|
||
|
<td class="paramname"><em>parts</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1operation_1_1intersection_1_1Rectangle.html">Rectangle</a> & </td>
|
||
|
<td class="paramname"><em>rect</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a1930380d3712f903c20503a6c6185e3f"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::operation::intersection::RectangleIntersection::clip_multipolygon </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1MultiPolygon.html">geom::MultiPolygon</a> * </td>
|
||
|
<td class="paramname"><em>g</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"><a class="el" href="classgeos_1_1operation_1_1intersection_1_1RectangleIntersectionBuilder.html">RectangleIntersectionBuilder</a> & </td>
|
||
|
<td class="paramname"><em>parts</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1operation_1_1intersection_1_1Rectangle.html">Rectangle</a> & </td>
|
||
|
<td class="paramname"><em>rect</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">bool </td>
|
||
|
<td class="paramname"><em>keep_polygons</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ada9e81bb55603680444c7a1dfbbf28b1"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::operation::intersection::RectangleIntersection::clip_point </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Point.html">geom::Point</a> * </td>
|
||
|
<td class="paramname"><em>g</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"><a class="el" href="classgeos_1_1operation_1_1intersection_1_1RectangleIntersectionBuilder.html">RectangleIntersectionBuilder</a> & </td>
|
||
|
<td class="paramname"><em>parts</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1operation_1_1intersection_1_1Rectangle.html">Rectangle</a> & </td>
|
||
|
<td class="paramname"><em>rect</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a3f3c2746a1aa6abc6d8e8f5cd4090010"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::operation::intersection::RectangleIntersection::clip_polygon </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Polygon.html">geom::Polygon</a> * </td>
|
||
|
<td class="paramname"><em>g</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"><a class="el" href="classgeos_1_1operation_1_1intersection_1_1RectangleIntersectionBuilder.html">RectangleIntersectionBuilder</a> & </td>
|
||
|
<td class="paramname"><em>parts</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1operation_1_1intersection_1_1Rectangle.html">Rectangle</a> & </td>
|
||
|
<td class="paramname"><em>rect</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">bool </td>
|
||
|
<td class="paramname"><em>keep_polygons</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a41bd7e0b5038a4842a1525ca2cc25ee1"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::operation::intersection::RectangleIntersection::clip_polygon_to_linestrings </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Polygon.html">geom::Polygon</a> * </td>
|
||
|
<td class="paramname"><em>g</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"><a class="el" href="classgeos_1_1operation_1_1intersection_1_1RectangleIntersectionBuilder.html">RectangleIntersectionBuilder</a> & </td>
|
||
|
<td class="paramname"><em>parts</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1operation_1_1intersection_1_1Rectangle.html">Rectangle</a> & </td>
|
||
|
<td class="paramname"><em>rect</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a49465da4fb4871b5593d4017177b2233"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::operation::intersection::RectangleIntersection::clip_polygon_to_polygons </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Polygon.html">geom::Polygon</a> * </td>
|
||
|
<td class="paramname"><em>g</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"><a class="el" href="classgeos_1_1operation_1_1intersection_1_1RectangleIntersectionBuilder.html">RectangleIntersectionBuilder</a> & </td>
|
||
|
<td class="paramname"><em>parts</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1operation_1_1intersection_1_1Rectangle.html">Rectangle</a> & </td>
|
||
|
<td class="paramname"><em>rect</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a6488ca62d0c511c0ad86d38b9567d3ba"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">static std::unique_ptr<<a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a>> geos::operation::intersection::RectangleIntersection::clipBoundary </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> & </td>
|
||
|
<td class="paramname"><em>geom</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1operation_1_1intersection_1_1Rectangle.html">Rectangle</a> & </td>
|
||
|
<td class="paramname"><em>rect</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Clip boundary of a geometry with a rectangle. </p>
|
||
|
<p>Any polygon which intersects the rectangle will be converted to a polyline or a multipolyline - including the holes.</p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">geom</td><td>a <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> </td></tr>
|
||
|
<tr><td class="paramname">rect</td><td>a <a class="el" href="classgeos_1_1operation_1_1intersection_1_1Rectangle.html" title="Clipping rectangle. ">Rectangle</a> </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl class="section return"><dt>Returns</dt><dd>the clipped geometry </dd>
|
||
|
<dd>
|
||
|
<code>NULL</code> if the geometry is outside the <a class="el" href="classgeos_1_1operation_1_1intersection_1_1Rectangle.html" title="Clipping rectangle. ">Rectangle</a> </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a42d11f3ff2fd9d1fc161590657fe47cf"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">std::unique_ptr<<a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a>> geos::operation::intersection::RectangleIntersection::clipBoundary </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<h2 class="groupheader">Member Data Documentation</h2>
|
||
|
<a class="anchor" id="abc1854d0ef57e9472000defd74c9e7ac"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">const <a class="el" href="classgeos_1_1geom_1_1CoordinateSequenceFactory.html">geom::CoordinateSequenceFactory</a>* geos::operation::intersection::RectangleIntersection::_csf</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="RectangleIntersection_8h_source.html#l00114">114</a> of file <a class="el" href="RectangleIntersection_8h_source.html">RectangleIntersection.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a399c882ccf3a0759e5b4951acb6871f1"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a>& geos::operation::intersection::RectangleIntersection::_geom</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="RectangleIntersection_8h_source.html#l00111">111</a> of file <a class="el" href="RectangleIntersection_8h_source.html">RectangleIntersection.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a3baa932dd8abcbf50c86e463e02f97ce"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">const <a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html">geom::GeometryFactory</a>* geos::operation::intersection::RectangleIntersection::_gf</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="RectangleIntersection_8h_source.html#l00113">113</a> of file <a class="el" href="RectangleIntersection_8h_source.html">RectangleIntersection.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a1522073ccd6603772258fae9e2f62c63"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">const <a class="el" href="classgeos_1_1operation_1_1intersection_1_1Rectangle.html">Rectangle</a>& geos::operation::intersection::RectangleIntersection::_rect</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="RectangleIntersection_8h_source.html#l00112">112</a> of file <a class="el" href="RectangleIntersection_8h_source.html">RectangleIntersection.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<hr/>The documentation for this class was generated from the following file:<ul>
|
||
|
<li><a class="el" href="RectangleIntersection_8h_source.html">RectangleIntersection.h</a></li>
|
||
|
</ul>
|
||
|
</div><!-- contents -->
|
||
|
<!-- start footer part -->
|
||
|
<hr class="footer"/><address class="footer"><small>
|
||
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||
|
</a> 1.8.11
|
||
|
</small></address>
|
||
|
</body>
|
||
|
</html>
|