2036 lines
121 KiB
HTML
2036 lines
121 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::geom::Envelope 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_1geom.html">geom</a></li><li class="navelem"><a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a></li> </ul>
|
||
|
</div>
|
||
|
</div><!-- top -->
|
||
|
<div class="header">
|
||
|
<div class="summary">
|
||
|
<a href="#pub-types">Public Types</a> |
|
||
|
<a href="#pub-methods">Public Member Functions</a> |
|
||
|
<a href="#pub-static-methods">Static Public Member Functions</a> |
|
||
|
<a href="#pri-methods">Private Member Functions</a> |
|
||
|
<a href="#pri-static-methods">Static Private Member Functions</a> |
|
||
|
<a href="#pri-attribs">Private Attributes</a> |
|
||
|
<a href="#friends">Friends</a> |
|
||
|
<a href="classgeos_1_1geom_1_1Envelope-members.html">List of all members</a> </div>
|
||
|
<div class="headertitle">
|
||
|
<div class="title">geos::geom::Envelope Class Reference</div> </div>
|
||
|
</div><!--header-->
|
||
|
<div class="contents">
|
||
|
|
||
|
<p>An <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> defines a rectangulare region of the 2D coordinate plane.
|
||
|
<a href="classgeos_1_1geom_1_1Envelope.html#details">More...</a></p>
|
||
|
|
||
|
<p><code>#include <<a class="el" href="Envelope_8h_source.html">geos.h</a>></code></p>
|
||
|
<table class="memberdecls">
|
||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
|
||
|
Public Types</h2></td></tr>
|
||
|
<tr class="memitem:ab206f2390f2fc2efd3df9e6eab71c672"><td class="memItemLeft" align="right" valign="top">typedef std::unique_ptr< <a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#ab206f2390f2fc2efd3df9e6eab71c672">Ptr</a></td></tr>
|
||
|
<tr class="separator:ab206f2390f2fc2efd3df9e6eab71c672"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table><table class="memberdecls">
|
||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
||
|
Public Member Functions</h2></td></tr>
|
||
|
<tr class="memitem:a69a5965be0cad45e8b1f82c45f3a8f31"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#a69a5965be0cad45e8b1f82c45f3a8f31">Envelope</a> ()</td></tr>
|
||
|
<tr class="memdesc:a69a5965be0cad45e8b1f82c45f3a8f31"><td class="mdescLeft"> </td><td class="mdescRight">Creates a null <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a>. <a href="#a69a5965be0cad45e8b1f82c45f3a8f31">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a69a5965be0cad45e8b1f82c45f3a8f31"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:af56f81318990da1f6bf8e35df5ef1485"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#af56f81318990da1f6bf8e35df5ef1485">Envelope</a> (double x1, double x2, double y1, double y2)</td></tr>
|
||
|
<tr class="memdesc:af56f81318990da1f6bf8e35df5ef1485"><td class="mdescLeft"> </td><td class="mdescRight">Creates an <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> for a region defined by maximum and minimum values. <a href="#af56f81318990da1f6bf8e35df5ef1485">More...</a><br /></td></tr>
|
||
|
<tr class="separator:af56f81318990da1f6bf8e35df5ef1485"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a8a787551e5b2015efa4456408d24d7eb"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#a8a787551e5b2015efa4456408d24d7eb">Envelope</a> (const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> &p1, const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> &p2)</td></tr>
|
||
|
<tr class="memdesc:a8a787551e5b2015efa4456408d24d7eb"><td class="mdescLeft"> </td><td class="mdescRight">Creates an <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> for a region defined by two Coordinates. <a href="#a8a787551e5b2015efa4456408d24d7eb">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a8a787551e5b2015efa4456408d24d7eb"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a1427d0ea38c37efa64cf1dc09e05148e"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#a1427d0ea38c37efa64cf1dc09e05148e">Envelope</a> (const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> &p)</td></tr>
|
||
|
<tr class="memdesc:a1427d0ea38c37efa64cf1dc09e05148e"><td class="mdescLeft"> </td><td class="mdescRight">Creates an <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> for a region defined by a single <a class="el" href="classgeos_1_1geom_1_1Coordinate.html" title="Coordinate is the lightweight class used to store coordinates. ">Coordinate</a>. <a href="#a1427d0ea38c37efa64cf1dc09e05148e">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a1427d0ea38c37efa64cf1dc09e05148e"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a247a24e31422839b60b5cef084c52d8d"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#a247a24e31422839b60b5cef084c52d8d">Envelope</a> (const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a> &env)</td></tr>
|
||
|
<tr class="memdesc:a247a24e31422839b60b5cef084c52d8d"><td class="mdescLeft"> </td><td class="mdescRight">Copy constructor. <a href="#a247a24e31422839b60b5cef084c52d8d">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a247a24e31422839b60b5cef084c52d8d"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ac4f6c83da1d272263122b7e22adce7d4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#ac4f6c83da1d272263122b7e22adce7d4">operator=</a> (const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a> &e)</td></tr>
|
||
|
<tr class="memdesc:ac4f6c83da1d272263122b7e22adce7d4"><td class="mdescLeft"> </td><td class="mdescRight">Assignment operator. <a href="#ac4f6c83da1d272263122b7e22adce7d4">More...</a><br /></td></tr>
|
||
|
<tr class="separator:ac4f6c83da1d272263122b7e22adce7d4"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a740469b5f10ddf61e54a5628b733ac90"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#a740469b5f10ddf61e54a5628b733ac90">Envelope</a> (const std::string &str)</td></tr>
|
||
|
<tr class="memdesc:a740469b5f10ddf61e54a5628b733ac90"><td class="mdescLeft"> </td><td class="mdescRight">Create an <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> from an <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> string representation produced by <a class="el" href="classgeos_1_1geom_1_1Envelope.html#acd3e5c1bb64ba673d9711c2e6d508e1b" title="Returns a string of the form Env[minx:maxx,miny:maxy]. ">Envelope::toString()</a> <a href="#a740469b5f10ddf61e54a5628b733ac90">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a740469b5f10ddf61e54a5628b733ac90"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:aec4ede46324b22ba33cc937eabdf6321"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#aec4ede46324b22ba33cc937eabdf6321">intersects</a> (const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> &a, const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> &b) const </td></tr>
|
||
|
<tr class="memdesc:aec4ede46324b22ba33cc937eabdf6321"><td class="mdescLeft"> </td><td class="mdescRight">Check if the extent defined by two extremal points intersects the extent of this <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a>. <a href="#aec4ede46324b22ba33cc937eabdf6321">More...</a><br /></td></tr>
|
||
|
<tr class="separator:aec4ede46324b22ba33cc937eabdf6321"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a297cd746dc6e6a7aee74deefbd36071d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#a297cd746dc6e6a7aee74deefbd36071d">init</a> (void)</td></tr>
|
||
|
<tr class="memdesc:a297cd746dc6e6a7aee74deefbd36071d"><td class="mdescLeft"> </td><td class="mdescRight">Initialize to a null <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a>. <a href="#a297cd746dc6e6a7aee74deefbd36071d">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a297cd746dc6e6a7aee74deefbd36071d"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a5f65f9c33e966a3d28bd495ce9c6815c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#a5f65f9c33e966a3d28bd495ce9c6815c">init</a> (double x1, double x2, double y1, double y2)</td></tr>
|
||
|
<tr class="memdesc:a5f65f9c33e966a3d28bd495ce9c6815c"><td class="mdescLeft"> </td><td class="mdescRight">Initialize an <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> for a region defined by maximum and minimum values. <a href="#a5f65f9c33e966a3d28bd495ce9c6815c">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a5f65f9c33e966a3d28bd495ce9c6815c"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a407cb13d0d860938e18ee546a5353171"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#a407cb13d0d860938e18ee546a5353171">init</a> (const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> &p1, const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> &p2)</td></tr>
|
||
|
<tr class="memdesc:a407cb13d0d860938e18ee546a5353171"><td class="mdescLeft"> </td><td class="mdescRight">Initialize an <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> to a region defined by two Coordinates. <a href="#a407cb13d0d860938e18ee546a5353171">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a407cb13d0d860938e18ee546a5353171"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a777543b16acc0002b8901007b8c4b139"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#a777543b16acc0002b8901007b8c4b139">init</a> (const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> &p)</td></tr>
|
||
|
<tr class="memdesc:a777543b16acc0002b8901007b8c4b139"><td class="mdescLeft"> </td><td class="mdescRight">Initialize an <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> to a region defined by a single <a class="el" href="classgeos_1_1geom_1_1Coordinate.html" title="Coordinate is the lightweight class used to store coordinates. ">Coordinate</a>. <a href="#a777543b16acc0002b8901007b8c4b139">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a777543b16acc0002b8901007b8c4b139"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a225d5c7dc9e65af942ac19e2c5e92383"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#a225d5c7dc9e65af942ac19e2c5e92383">setToNull</a> (void)</td></tr>
|
||
|
<tr class="memdesc:a225d5c7dc9e65af942ac19e2c5e92383"><td class="mdescLeft"> </td><td class="mdescRight">Makes this <code><a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a></code> a "null" envelope, that is, the envelope of the empty geometry. <a href="#a225d5c7dc9e65af942ac19e2c5e92383">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a225d5c7dc9e65af942ac19e2c5e92383"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a4cb6ee694a4e1d212b479fcd5b15166b"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#a4cb6ee694a4e1d212b479fcd5b15166b">isNull</a> (void) const </td></tr>
|
||
|
<tr class="memdesc:a4cb6ee694a4e1d212b479fcd5b15166b"><td class="mdescLeft"> </td><td class="mdescRight">Returns <code>true</code> if this <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> is a "null" envelope. <a href="#a4cb6ee694a4e1d212b479fcd5b15166b">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a4cb6ee694a4e1d212b479fcd5b15166b"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a9d61a221a0666b0814328af5f5f63e9d"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#a9d61a221a0666b0814328af5f5f63e9d">getWidth</a> (void) const </td></tr>
|
||
|
<tr class="memdesc:a9d61a221a0666b0814328af5f5f63e9d"><td class="mdescLeft"> </td><td class="mdescRight">Returns the difference between the maximum and minimum x values. <a href="#a9d61a221a0666b0814328af5f5f63e9d">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a9d61a221a0666b0814328af5f5f63e9d"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a446d8ebccb10dd340cb481ef14a279b5"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#a446d8ebccb10dd340cb481ef14a279b5">getHeight</a> (void) const </td></tr>
|
||
|
<tr class="memdesc:a446d8ebccb10dd340cb481ef14a279b5"><td class="mdescLeft"> </td><td class="mdescRight">Returns the difference between the maximum and minimum y values. <a href="#a446d8ebccb10dd340cb481ef14a279b5">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a446d8ebccb10dd340cb481ef14a279b5"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:aa5c4848efadb6212bd589714b359aeaa"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#aa5c4848efadb6212bd589714b359aeaa">getArea</a> () const </td></tr>
|
||
|
<tr class="memdesc:aa5c4848efadb6212bd589714b359aeaa"><td class="mdescLeft"> </td><td class="mdescRight">Gets the area of this envelope. <a href="#aa5c4848efadb6212bd589714b359aeaa">More...</a><br /></td></tr>
|
||
|
<tr class="separator:aa5c4848efadb6212bd589714b359aeaa"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:afe346be1da764bd27d2769a64ed99fa6"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#afe346be1da764bd27d2769a64ed99fa6">getMaxY</a> () const </td></tr>
|
||
|
<tr class="memdesc:afe346be1da764bd27d2769a64ed99fa6"><td class="mdescLeft"> </td><td class="mdescRight">Returns the <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> maximum y-value. <code>min y > max y</code> indicates that this is a null <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a>. <a href="#afe346be1da764bd27d2769a64ed99fa6">More...</a><br /></td></tr>
|
||
|
<tr class="separator:afe346be1da764bd27d2769a64ed99fa6"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ac736024440af1b467ba2ba4308280b1b"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#ac736024440af1b467ba2ba4308280b1b">getMaxX</a> () const </td></tr>
|
||
|
<tr class="memdesc:ac736024440af1b467ba2ba4308280b1b"><td class="mdescLeft"> </td><td class="mdescRight">Returns the <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> maximum x-value. <code>min x > max x</code> indicates that this is a null <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a>. <a href="#ac736024440af1b467ba2ba4308280b1b">More...</a><br /></td></tr>
|
||
|
<tr class="separator:ac736024440af1b467ba2ba4308280b1b"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ae8f01c5ddb0eb2aaeff5510eaebee3ab"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#ae8f01c5ddb0eb2aaeff5510eaebee3ab">getMinY</a> () const </td></tr>
|
||
|
<tr class="memdesc:ae8f01c5ddb0eb2aaeff5510eaebee3ab"><td class="mdescLeft"> </td><td class="mdescRight">Returns the <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> minimum y-value. <code>min y > max y</code> indicates that this is a null <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a>. <a href="#ae8f01c5ddb0eb2aaeff5510eaebee3ab">More...</a><br /></td></tr>
|
||
|
<tr class="separator:ae8f01c5ddb0eb2aaeff5510eaebee3ab"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ad66764b72fd8a239a6081f7831e7def3"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#ad66764b72fd8a239a6081f7831e7def3">getMinX</a> () const </td></tr>
|
||
|
<tr class="memdesc:ad66764b72fd8a239a6081f7831e7def3"><td class="mdescLeft"> </td><td class="mdescRight">Returns the <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> minimum x-value. <code>min x > max x</code> indicates that this is a null <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a>. <a href="#ad66764b72fd8a239a6081f7831e7def3">More...</a><br /></td></tr>
|
||
|
<tr class="separator:ad66764b72fd8a239a6081f7831e7def3"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a11eb76d8c3f0bcf5d8bf77394a85a779"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#a11eb76d8c3f0bcf5d8bf77394a85a779">centre</a> (<a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> &centre) const </td></tr>
|
||
|
<tr class="memdesc:a11eb76d8c3f0bcf5d8bf77394a85a779"><td class="mdescLeft"> </td><td class="mdescRight">Computes the coordinate of the centre of this envelope (as long as it is non-null). <a href="#a11eb76d8c3f0bcf5d8bf77394a85a779">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a11eb76d8c3f0bcf5d8bf77394a85a779"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a3d90e2f4c0c80590e8cbce6d64316784"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#a3d90e2f4c0c80590e8cbce6d64316784">intersection</a> (const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a> &env, <a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a> &result) const </td></tr>
|
||
|
<tr class="memdesc:a3d90e2f4c0c80590e8cbce6d64316784"><td class="mdescLeft"> </td><td class="mdescRight">Computes the intersection of two <a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelopes</a>. <a href="#a3d90e2f4c0c80590e8cbce6d64316784">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a3d90e2f4c0c80590e8cbce6d64316784"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:addf3571a43639e20496e193a23190974"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#addf3571a43639e20496e193a23190974">translate</a> (double transX, double transY)</td></tr>
|
||
|
<tr class="memdesc:addf3571a43639e20496e193a23190974"><td class="mdescLeft"> </td><td class="mdescRight">Translates this envelope by given amounts in the X and Y direction. <a href="#addf3571a43639e20496e193a23190974">More...</a><br /></td></tr>
|
||
|
<tr class="separator:addf3571a43639e20496e193a23190974"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a5c6fae409a8aa13bc8e7a30883e45914"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#a5c6fae409a8aa13bc8e7a30883e45914">expandBy</a> (double deltaX, double deltaY)</td></tr>
|
||
|
<tr class="memdesc:a5c6fae409a8aa13bc8e7a30883e45914"><td class="mdescLeft"> </td><td class="mdescRight">Expands this envelope by a given distance in all directions. Both positive and negative distances are supported. <a href="#a5c6fae409a8aa13bc8e7a30883e45914">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a5c6fae409a8aa13bc8e7a30883e45914"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a94b1680f3989be08caaae19a1d0844d1"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#a94b1680f3989be08caaae19a1d0844d1">expandBy</a> (double p_distance)</td></tr>
|
||
|
<tr class="memdesc:a94b1680f3989be08caaae19a1d0844d1"><td class="mdescLeft"> </td><td class="mdescRight">Expands this envelope by a given distance in all directions. <a href="#a94b1680f3989be08caaae19a1d0844d1">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a94b1680f3989be08caaae19a1d0844d1"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a5adcdd87795a0902140aeae6f23f8f9b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#a5adcdd87795a0902140aeae6f23f8f9b">expandToInclude</a> (const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> &p)</td></tr>
|
||
|
<tr class="memdesc:a5adcdd87795a0902140aeae6f23f8f9b"><td class="mdescLeft"> </td><td class="mdescRight">Enlarges the boundary of the <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> so that it contains p. Does nothing if p is already on or within the boundaries. <a href="#a5adcdd87795a0902140aeae6f23f8f9b">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a5adcdd87795a0902140aeae6f23f8f9b"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a15bcec66b872936e4ee9a58ab57a688a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#a15bcec66b872936e4ee9a58ab57a688a">expandToInclude</a> (double x, double y)</td></tr>
|
||
|
<tr class="memdesc:a15bcec66b872936e4ee9a58ab57a688a"><td class="mdescLeft"> </td><td class="mdescRight">Enlarges the boundary of the <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> so that it contains (x,y). <a href="#a15bcec66b872936e4ee9a58ab57a688a">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a15bcec66b872936e4ee9a58ab57a688a"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a9e7d03adbf2d86afc53beb650900666a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#a9e7d03adbf2d86afc53beb650900666a">expandToInclude</a> (const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a> *other)</td></tr>
|
||
|
<tr class="memdesc:a9e7d03adbf2d86afc53beb650900666a"><td class="mdescLeft"> </td><td class="mdescRight">Enlarges the boundary of the <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> so that it contains <code>other</code>. <a href="#a9e7d03adbf2d86afc53beb650900666a">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a9e7d03adbf2d86afc53beb650900666a"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a6e38a3cbc449540caa63b22212337dd2"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#a6e38a3cbc449540caa63b22212337dd2">expandToInclude</a> (const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a> &other)</td></tr>
|
||
|
<tr class="separator:a6e38a3cbc449540caa63b22212337dd2"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ab3762ad4d5a26a3242801f81beaec50b"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#ab3762ad4d5a26a3242801f81beaec50b">contains</a> (const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a> &other) const </td></tr>
|
||
|
<tr class="memdesc:ab3762ad4d5a26a3242801f81beaec50b"><td class="mdescLeft"> </td><td class="mdescRight">Tests if the <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> <code>other</code> lies wholly inside this <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> (inclusive of the boundary). <a href="#ab3762ad4d5a26a3242801f81beaec50b">More...</a><br /></td></tr>
|
||
|
<tr class="separator:ab3762ad4d5a26a3242801f81beaec50b"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a7c2ed05b826b896e513d8d90b8434875"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#a7c2ed05b826b896e513d8d90b8434875">contains</a> (const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a> *other) const </td></tr>
|
||
|
<tr class="separator:a7c2ed05b826b896e513d8d90b8434875"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a8e499f3a0fc1b71f1b3e2bb166b7a968"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#a8e499f3a0fc1b71f1b3e2bb166b7a968">contains</a> (const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> &p) const </td></tr>
|
||
|
<tr class="memdesc:a8e499f3a0fc1b71f1b3e2bb166b7a968"><td class="mdescLeft"> </td><td class="mdescRight">Returns <code>true</code> if the given point lies in or on the envelope. <a href="#a8e499f3a0fc1b71f1b3e2bb166b7a968">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a8e499f3a0fc1b71f1b3e2bb166b7a968"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:af2a9719d7721b36e084b907f809f5de4"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#af2a9719d7721b36e084b907f809f5de4">contains</a> (double x, double y) const </td></tr>
|
||
|
<tr class="memdesc:af2a9719d7721b36e084b907f809f5de4"><td class="mdescLeft"> </td><td class="mdescRight">Returns <code>true</code> if the given point lies in or on the envelope. <a href="#af2a9719d7721b36e084b907f809f5de4">More...</a><br /></td></tr>
|
||
|
<tr class="separator:af2a9719d7721b36e084b907f809f5de4"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:aa8b470479902068fff1414995726196d"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#aa8b470479902068fff1414995726196d">intersects</a> (const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> &p) const </td></tr>
|
||
|
<tr class="memdesc:aa8b470479902068fff1414995726196d"><td class="mdescLeft"> </td><td class="mdescRight">Check if the point p intersects (lies inside) the region of this <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a>. <a href="#aa8b470479902068fff1414995726196d">More...</a><br /></td></tr>
|
||
|
<tr class="separator:aa8b470479902068fff1414995726196d"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a3484681fd445f2fa79e2637e3cb0dbf1"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#a3484681fd445f2fa79e2637e3cb0dbf1">intersects</a> (double x, double y) const </td></tr>
|
||
|
<tr class="memdesc:a3484681fd445f2fa79e2637e3cb0dbf1"><td class="mdescLeft"> </td><td class="mdescRight">Check if the point (x, y) intersects (lies inside) the region of this <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a>. <a href="#a3484681fd445f2fa79e2637e3cb0dbf1">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a3484681fd445f2fa79e2637e3cb0dbf1"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ae99dfca9ed862ed3d314bc32e6991800"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#ae99dfca9ed862ed3d314bc32e6991800">intersects</a> (const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a> *other) const </td></tr>
|
||
|
<tr class="memdesc:ae99dfca9ed862ed3d314bc32e6991800"><td class="mdescLeft"> </td><td class="mdescRight">Check if the region defined by other <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> intersects the region of this <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a>. <a href="#ae99dfca9ed862ed3d314bc32e6991800">More...</a><br /></td></tr>
|
||
|
<tr class="separator:ae99dfca9ed862ed3d314bc32e6991800"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a665baa0d06b70ca630e819218dae1e46"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#a665baa0d06b70ca630e819218dae1e46">intersects</a> (const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a> &other) const </td></tr>
|
||
|
<tr class="separator:a665baa0d06b70ca630e819218dae1e46"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:addf1810a16aaa8c88e10369fa0fb8a0d"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#addf1810a16aaa8c88e10369fa0fb8a0d">disjoint</a> (const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a> *other) const </td></tr>
|
||
|
<tr class="separator:addf1810a16aaa8c88e10369fa0fb8a0d"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:acfee24fdaf339e29ba988bb59c848e02"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#acfee24fdaf339e29ba988bb59c848e02">disjoint</a> (const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a> &other) const </td></tr>
|
||
|
<tr class="separator:acfee24fdaf339e29ba988bb59c848e02"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ae772c80e20d09c23d16dc30bcf2208bb"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#ae772c80e20d09c23d16dc30bcf2208bb">covers</a> (double x, double y) const </td></tr>
|
||
|
<tr class="memdesc:ae772c80e20d09c23d16dc30bcf2208bb"><td class="mdescLeft"> </td><td class="mdescRight">Tests if the given point lies in or on the envelope. <a href="#ae772c80e20d09c23d16dc30bcf2208bb">More...</a><br /></td></tr>
|
||
|
<tr class="separator:ae772c80e20d09c23d16dc30bcf2208bb"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a6138cf93724675502e587ffb4d5ff19b"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#a6138cf93724675502e587ffb4d5ff19b">covers</a> (const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> *p) const </td></tr>
|
||
|
<tr class="memdesc:a6138cf93724675502e587ffb4d5ff19b"><td class="mdescLeft"> </td><td class="mdescRight">Tests if the given point lies in or on the envelope. <a href="#a6138cf93724675502e587ffb4d5ff19b">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a6138cf93724675502e587ffb4d5ff19b"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a9509a62c05bc296182c59816bb834507"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#a9509a62c05bc296182c59816bb834507">covers</a> (const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a> &other) const </td></tr>
|
||
|
<tr class="memdesc:a9509a62c05bc296182c59816bb834507"><td class="mdescLeft"> </td><td class="mdescRight">Tests if the <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> <code>other</code> lies wholly inside this <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> (inclusive of the boundary). <a href="#a9509a62c05bc296182c59816bb834507">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a9509a62c05bc296182c59816bb834507"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a334bc8ad9dab404405c25c1f4de3fee2"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#a334bc8ad9dab404405c25c1f4de3fee2">covers</a> (const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a> *other) const </td></tr>
|
||
|
<tr class="separator:a334bc8ad9dab404405c25c1f4de3fee2"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a936e3538dcc3bd3823a20bba57c28bf9"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#a936e3538dcc3bd3823a20bba57c28bf9">equals</a> (const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a> *other) const </td></tr>
|
||
|
<tr class="memdesc:a936e3538dcc3bd3823a20bba57c28bf9"><td class="mdescLeft"> </td><td class="mdescRight">Returns <code>true</code> if the <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> <code>other</code> spatially equals this <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a>. <a href="#a936e3538dcc3bd3823a20bba57c28bf9">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a936e3538dcc3bd3823a20bba57c28bf9"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:acd3e5c1bb64ba673d9711c2e6d508e1b"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#acd3e5c1bb64ba673d9711c2e6d508e1b">toString</a> (void) const </td></tr>
|
||
|
<tr class="memdesc:acd3e5c1bb64ba673d9711c2e6d508e1b"><td class="mdescLeft"> </td><td class="mdescRight">Returns a <code>string</code> of the form <code>Env[minx:maxx,miny:maxy]</code>. <a href="#acd3e5c1bb64ba673d9711c2e6d508e1b">More...</a><br /></td></tr>
|
||
|
<tr class="separator:acd3e5c1bb64ba673d9711c2e6d508e1b"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ab2f1a1ca2f9715bc6aa8769359aacb4a"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#ab2f1a1ca2f9715bc6aa8769359aacb4a">distance</a> (const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a> &env) const </td></tr>
|
||
|
<tr class="memdesc:ab2f1a1ca2f9715bc6aa8769359aacb4a"><td class="mdescLeft"> </td><td class="mdescRight">Computes the distance between this and another <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a>. <a href="#ab2f1a1ca2f9715bc6aa8769359aacb4a">More...</a><br /></td></tr>
|
||
|
<tr class="separator:ab2f1a1ca2f9715bc6aa8769359aacb4a"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:aa3836e27e4f3797082e6cc9ecc0e03d3"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#aa3836e27e4f3797082e6cc9ecc0e03d3">distanceSquared</a> (const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a> &env) const </td></tr>
|
||
|
<tr class="memdesc:aa3836e27e4f3797082e6cc9ecc0e03d3"><td class="mdescLeft"> </td><td class="mdescRight">Computes the square of the distance between this and another <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a>. <a href="#aa3836e27e4f3797082e6cc9ecc0e03d3">More...</a><br /></td></tr>
|
||
|
<tr class="separator:aa3836e27e4f3797082e6cc9ecc0e03d3"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a37d976b5a7e44caa22ef23ec7fa20175"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#a37d976b5a7e44caa22ef23ec7fa20175">hashCode</a> () const </td></tr>
|
||
|
<tr class="separator:a37d976b5a7e44caa22ef23ec7fa20175"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table><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:a8971b31a5c56429f2d66d72e4d98032d"><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#a8971b31a5c56429f2d66d72e4d98032d">intersects</a> (const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> &p1, const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> &p2, const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> &q)</td></tr>
|
||
|
<tr class="memdesc:a8971b31a5c56429f2d66d72e4d98032d"><td class="mdescLeft"> </td><td class="mdescRight">Test the point <code>q</code> to see whether it intersects the <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> defined by <code>p1-p2</code>. <a href="#a8971b31a5c56429f2d66d72e4d98032d">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a8971b31a5c56429f2d66d72e4d98032d"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ac21d7d1389767e7135ffb623306b7322"><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#ac21d7d1389767e7135ffb623306b7322">intersects</a> (const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> &p1, const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> &p2, const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> &q1, const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> &q2)</td></tr>
|
||
|
<tr class="memdesc:ac21d7d1389767e7135ffb623306b7322"><td class="mdescLeft"> </td><td class="mdescRight">Test the envelope defined by <code>p1-p2</code> for intersection with the envelope defined by <code>q1-q2</code>. <a href="#ac21d7d1389767e7135ffb623306b7322">More...</a><br /></td></tr>
|
||
|
<tr class="separator:ac21d7d1389767e7135ffb623306b7322"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:af78e700afc9eed28cd90aaadf6f6db6f"><td class="memItemLeft" align="right" valign="top">static double </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#af78e700afc9eed28cd90aaadf6f6db6f">distanceToCoordinate</a> (const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> &c, const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> &p1, const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> &p2)</td></tr>
|
||
|
<tr class="memdesc:af78e700afc9eed28cd90aaadf6f6db6f"><td class="mdescLeft"> </td><td class="mdescRight">Computes the distance between one <a class="el" href="classgeos_1_1geom_1_1Coordinate.html" title="Coordinate is the lightweight class used to store coordinates. ">Coordinate</a> and an <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> defined by two other Coordinates. The order of the Coordinates used to define the envelope is not significant. <a href="#af78e700afc9eed28cd90aaadf6f6db6f">More...</a><br /></td></tr>
|
||
|
<tr class="separator:af78e700afc9eed28cd90aaadf6f6db6f"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:aded5e490e5192c59f533e525ee2b8e1d"><td class="memItemLeft" align="right" valign="top">static double </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#aded5e490e5192c59f533e525ee2b8e1d">distanceSquaredToCoordinate</a> (const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> &c, const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> &p1, const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> &p2)</td></tr>
|
||
|
<tr class="memdesc:aded5e490e5192c59f533e525ee2b8e1d"><td class="mdescLeft"> </td><td class="mdescRight">Computes the squared distance between one <a class="el" href="classgeos_1_1geom_1_1Coordinate.html" title="Coordinate is the lightweight class used to store coordinates. ">Coordinate</a> and an <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> defined by two other Coordinates. The order of the Coordinates used to define the envelope is not significant. <a href="#aded5e490e5192c59f533e525ee2b8e1d">More...</a><br /></td></tr>
|
||
|
<tr class="separator:aded5e490e5192c59f533e525ee2b8e1d"><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:a4f9c416d75abdd91c6a9a6f3dcad6183"><td class="memItemLeft" align="right" valign="top">std::vector< std::string > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#a4f9c416d75abdd91c6a9a6f3dcad6183">split</a> (const std::string &str, const std::string &delimiters=" ")</td></tr>
|
||
|
<tr class="memdesc:a4f9c416d75abdd91c6a9a6f3dcad6183"><td class="mdescLeft"> </td><td class="mdescRight">Splits a string into parts based on the supplied delimiters. <a href="#a4f9c416d75abdd91c6a9a6f3dcad6183">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a4f9c416d75abdd91c6a9a6f3dcad6183"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table><table class="memberdecls">
|
||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-static-methods"></a>
|
||
|
Static Private Member Functions</h2></td></tr>
|
||
|
<tr class="memitem:a3b26a82d829503ff21d571ab27a6dff0"><td class="memItemLeft" align="right" valign="top">static double </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#a3b26a82d829503ff21d571ab27a6dff0">distance</a> (double x0, double y0, double x1, double y1)</td></tr>
|
||
|
<tr class="separator:a3b26a82d829503ff21d571ab27a6dff0"><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:ad5209389162efebc359e36c60b4b7516"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#ad5209389162efebc359e36c60b4b7516">minx</a></td></tr>
|
||
|
<tr class="memdesc:ad5209389162efebc359e36c60b4b7516"><td class="mdescLeft"> </td><td class="mdescRight">the minimum x-coordinate <a href="#ad5209389162efebc359e36c60b4b7516">More...</a><br /></td></tr>
|
||
|
<tr class="separator:ad5209389162efebc359e36c60b4b7516"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:af8676db4413f6950ab5b6757bd5aed58"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#af8676db4413f6950ab5b6757bd5aed58">maxx</a></td></tr>
|
||
|
<tr class="memdesc:af8676db4413f6950ab5b6757bd5aed58"><td class="mdescLeft"> </td><td class="mdescRight">the maximum x-coordinate <a href="#af8676db4413f6950ab5b6757bd5aed58">More...</a><br /></td></tr>
|
||
|
<tr class="separator:af8676db4413f6950ab5b6757bd5aed58"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a43e86d16444062bed0033817dee15ccc"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#a43e86d16444062bed0033817dee15ccc">miny</a></td></tr>
|
||
|
<tr class="memdesc:a43e86d16444062bed0033817dee15ccc"><td class="mdescLeft"> </td><td class="mdescRight">the minimum y-coordinate <a href="#a43e86d16444062bed0033817dee15ccc">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a43e86d16444062bed0033817dee15ccc"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a6ea782ac879b11ab463b5535a001d2af"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#a6ea782ac879b11ab463b5535a001d2af">maxy</a></td></tr>
|
||
|
<tr class="memdesc:a6ea782ac879b11ab463b5535a001d2af"><td class="mdescLeft"> </td><td class="mdescRight">the maximum y-coordinate <a href="#a6ea782ac879b11ab463b5535a001d2af">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a6ea782ac879b11ab463b5535a001d2af"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table><table class="memberdecls">
|
||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
|
||
|
Friends</h2></td></tr>
|
||
|
<tr class="memitem:aff839033208c1a0624a0bb4612c8cd42"><td class="memItemLeft" align="right" valign="top">std::ostream & </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Envelope.html#aff839033208c1a0624a0bb4612c8cd42">operator<<</a> (std::ostream &os, const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a> &o)</td></tr>
|
||
|
<tr class="memdesc:aff839033208c1a0624a0bb4612c8cd42"><td class="mdescLeft"> </td><td class="mdescRight">Output operator. <a href="#aff839033208c1a0624a0bb4612c8cd42">More...</a><br /></td></tr>
|
||
|
<tr class="separator:aff839033208c1a0624a0bb4612c8cd42"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table>
|
||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||
|
<div class="textblock"><p>An <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> defines a rectangulare region of the 2D coordinate plane. </p>
|
||
|
<p>It is often used to represent the bounding box of a <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory. ">Geometry</a>, e.g. the minimum and maximum x and y values of the Coordinates.</p>
|
||
|
<p>Note that Envelopes support infinite or half-infinite regions, by using the values of <code>Double_POSITIVE_INFINITY</code> and <code>Double_NEGATIVE_INFINITY</code>.</p>
|
||
|
<p>When <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> objects are created or initialized, the supplies extent values are automatically sorted into the correct order. </p>
|
||
|
|
||
|
<p>Definition at line <a class="el" href="Envelope_8h_source.html#l00058">58</a> of file <a class="el" href="Envelope_8h_source.html">Envelope.h</a>.</p>
|
||
|
</div><h2 class="groupheader">Member Typedef Documentation</h2>
|
||
|
<a class="anchor" id="ab206f2390f2fc2efd3df9e6eab71c672"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">typedef std::unique_ptr<<a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a>> <a class="el" href="classgeos_1_1geom_1_1Envelope.html#ab206f2390f2fc2efd3df9e6eab71c672">geos::geom::Envelope::Ptr</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="Envelope_8h_source.html#l00064">64</a> of file <a class="el" href="Envelope_8h_source.html">Envelope.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
||
|
<a class="anchor" id="a69a5965be0cad45e8b1f82c45f3a8f31"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">geos::geom::Envelope::Envelope </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Creates a null <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a>. </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="af56f81318990da1f6bf8e35df5ef1485"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">geos::geom::Envelope::Envelope </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">double </td>
|
||
|
<td class="paramname"><em>x1</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">double </td>
|
||
|
<td class="paramname"><em>x2</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">double </td>
|
||
|
<td class="paramname"><em>y1</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">double </td>
|
||
|
<td class="paramname"><em>y2</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Creates an <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> for a region defined by maximum and minimum values. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">x1</td><td>the first x-value </td></tr>
|
||
|
<tr><td class="paramname">x2</td><td>the second x-value </td></tr>
|
||
|
<tr><td class="paramname">y1</td><td>the first y-value </td></tr>
|
||
|
<tr><td class="paramname">y2</td><td>the second y-value </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a8a787551e5b2015efa4456408d24d7eb"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">geos::geom::Envelope::Envelope </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> & </td>
|
||
|
<td class="paramname"><em>p1</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> & </td>
|
||
|
<td class="paramname"><em>p2</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Creates an <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> for a region defined by two Coordinates. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">p1</td><td>the first <a class="el" href="classgeos_1_1geom_1_1Coordinate.html" title="Coordinate is the lightweight class used to store coordinates. ">Coordinate</a> </td></tr>
|
||
|
<tr><td class="paramname">p2</td><td>the second <a class="el" href="classgeos_1_1geom_1_1Coordinate.html" title="Coordinate is the lightweight class used to store coordinates. ">Coordinate</a> </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a1427d0ea38c37efa64cf1dc09e05148e"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">geos::geom::Envelope::Envelope </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> & </td>
|
||
|
<td class="paramname"><em>p</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Creates an <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> for a region defined by a single <a class="el" href="classgeos_1_1geom_1_1Coordinate.html" title="Coordinate is the lightweight class used to store coordinates. ">Coordinate</a>. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">p</td><td>the <a class="el" href="classgeos_1_1geom_1_1Coordinate.html" title="Coordinate is the lightweight class used to store coordinates. ">Coordinate</a> </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a247a24e31422839b60b5cef084c52d8d"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">geos::geom::Envelope::Envelope </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a> & </td>
|
||
|
<td class="paramname"><em>env</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Copy constructor. </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a740469b5f10ddf61e54a5628b733ac90"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">geos::geom::Envelope::Envelope </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const std::string & </td>
|
||
|
<td class="paramname"><em>str</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Create an <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> from an <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> string representation produced by <a class="el" href="classgeos_1_1geom_1_1Envelope.html#acd3e5c1bb64ba673d9711c2e6d508e1b" title="Returns a string of the form Env[minx:maxx,miny:maxy]. ">Envelope::toString()</a> </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<h2 class="groupheader">Member Function Documentation</h2>
|
||
|
<a class="anchor" id="a11eb76d8c3f0bcf5d8bf77394a85a779"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">bool geos::geom::Envelope::centre </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype"><a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> & </td>
|
||
|
<td class="paramname"><em>centre</em></td><td>)</td>
|
||
|
<td> const</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Computes the coordinate of the centre of this envelope (as long as it is non-null). </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">centre</td><td>The coordinate to write results into </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl class="section return"><dt>Returns</dt><dd><code>false</code> if the center could not be found (null envelope). </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ab3762ad4d5a26a3242801f81beaec50b"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">bool geos::geom::Envelope::contains </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a> & </td>
|
||
|
<td class="paramname"><em>other</em></td><td>)</td>
|
||
|
<td> const</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Tests if the <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> <code>other</code> lies wholly inside this <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> (inclusive of the boundary). </p>
|
||
|
<p>Note that this is <b>not</b> the same definition as the SFS <code>contains</code>, which would exclude the envelope boundary.</p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">other</td><td>the <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> to check </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if <code>other</code> is contained in this <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a></dd></dl>
|
||
|
<dl class="section see"><dt>See also</dt><dd>covers(Envelope) </dd></dl>
|
||
|
|
||
|
<p>Definition at line <a class="el" href="Envelope_8h_source.html#l00335">335</a> of file <a class="el" href="Envelope_8h_source.html">Envelope.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a7c2ed05b826b896e513d8d90b8434875"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">bool geos::geom::Envelope::contains </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a> * </td>
|
||
|
<td class="paramname"><em>other</em></td><td>)</td>
|
||
|
<td> const</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="Envelope_8h_source.html#l00341">341</a> of file <a class="el" href="Envelope_8h_source.html">Envelope.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a8e499f3a0fc1b71f1b3e2bb166b7a968"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">bool geos::geom::Envelope::contains </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> & </td>
|
||
|
<td class="paramname"><em>p</em></td><td>)</td>
|
||
|
<td> const</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Returns <code>true</code> if the given point lies in or on the envelope. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">p</td><td>the point which this <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> is being checked for containing </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if the point lies in the interior or on the boundary of this <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a>. </dd></dl>
|
||
|
|
||
|
<p>Definition at line <a class="el" href="Envelope_8h_source.html#l00354">354</a> of file <a class="el" href="Envelope_8h_source.html">Envelope.h</a>.</p>
|
||
|
|
||
|
<p>References <a class="el" href="Coordinate_8h_source.html#l00080">geos::geom::Coordinate::x</a>, and <a class="el" href="Coordinate_8h_source.html#l00083">geos::geom::Coordinate::y</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="af2a9719d7721b36e084b907f809f5de4"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">bool geos::geom::Envelope::contains </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">double </td>
|
||
|
<td class="paramname"><em>x</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">double </td>
|
||
|
<td class="paramname"><em>y</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td> const</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Returns <code>true</code> if the given point lies in or on the envelope. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">x</td><td>the x-coordinate of the point which this <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> is being checked for containing </td></tr>
|
||
|
<tr><td class="paramname">y</td><td>the y-coordinate of the point which this <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> is being checked for containing </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if <code>(x, y)</code> lies in the interior or on the boundary of this <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a>. </dd></dl>
|
||
|
|
||
|
<p>Definition at line <a class="el" href="Envelope_8h_source.html#l00370">370</a> of file <a class="el" href="Envelope_8h_source.html">Envelope.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ae772c80e20d09c23d16dc30bcf2208bb"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">bool geos::geom::Envelope::covers </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">double </td>
|
||
|
<td class="paramname"><em>x</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">double </td>
|
||
|
<td class="paramname"><em>y</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td> const</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Tests if the given point lies in or on the envelope. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">x</td><td>the x-coordinate of the point which this <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> is being checked for containing </td></tr>
|
||
|
<tr><td class="paramname">y</td><td>the y-coordinate of the point which this <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> is being checked for containing </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if <code>(x, y)</code> lies in the interior or on the boundary of this <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a>. </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a6138cf93724675502e587ffb4d5ff19b"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">bool geos::geom::Envelope::covers </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> * </td>
|
||
|
<td class="paramname"><em>p</em></td><td>)</td>
|
||
|
<td> const</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Tests if the given point lies in or on the envelope. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">p</td><td>the point which this <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> is being checked for containing </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if the point lies in the interior or on the boundary of this <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a>. </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a9509a62c05bc296182c59816bb834507"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">bool geos::geom::Envelope::covers </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a> & </td>
|
||
|
<td class="paramname"><em>other</em></td><td>)</td>
|
||
|
<td> const</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Tests if the <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> <code>other</code> lies wholly inside this <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> (inclusive of the boundary). </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">other</td><td>the <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> to check </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl class="section return"><dt>Returns</dt><dd>true if this <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> covers the <code>other</code> </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a334bc8ad9dab404405c25c1f4de3fee2"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">bool geos::geom::Envelope::covers </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a> * </td>
|
||
|
<td class="paramname"><em>other</em></td><td>)</td>
|
||
|
<td> const</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="Envelope_8h_source.html#l00439">439</a> of file <a class="el" href="Envelope_8h_source.html">Envelope.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="addf1810a16aaa8c88e10369fa0fb8a0d"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">bool geos::geom::Envelope::disjoint </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a> * </td>
|
||
|
<td class="paramname"><em>other</em></td><td>)</td>
|
||
|
<td> const</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<p>Tests if the region defined by other is disjoint from the region of this <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a></p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">other</td><td>the <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> being checked for disjointness </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl class="section return"><dt>Returns</dt><dd>true if the Envelopes are disjoint </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="acfee24fdaf339e29ba988bb59c848e02"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">bool geos::geom::Envelope::disjoint </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a> & </td>
|
||
|
<td class="paramname"><em>other</em></td><td>)</td>
|
||
|
<td> const</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ab2f1a1ca2f9715bc6aa8769359aacb4a"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">double geos::geom::Envelope::distance </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a> & </td>
|
||
|
<td class="paramname"><em>env</em></td><td>)</td>
|
||
|
<td> const</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Computes the distance between this and another <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a>. </p>
|
||
|
<p>The distance between overlapping Envelopes is 0. Otherwise, the distance is the Euclidean distance between the closest points. </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a3b26a82d829503ff21d571ab27a6dff0"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">static double geos::geom::Envelope::distance </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">double </td>
|
||
|
<td class="paramname"><em>x0</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">double </td>
|
||
|
<td class="paramname"><em>y0</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">double </td>
|
||
|
<td class="paramname"><em>x1</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">double </td>
|
||
|
<td class="paramname"><em>y1</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 class="mlabel">private</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="aa3836e27e4f3797082e6cc9ecc0e03d3"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">double geos::geom::Envelope::distanceSquared </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a> & </td>
|
||
|
<td class="paramname"><em>env</em></td><td>)</td>
|
||
|
<td> const</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Computes the square of the distance between this and another <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a>. </p>
|
||
|
<p>The distance between overlapping Envelopes is 0. Otherwise, the distance is the Euclidean distance between the closest points. </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="aded5e490e5192c59f533e525ee2b8e1d"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">static double geos::geom::Envelope::distanceSquaredToCoordinate </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> & </td>
|
||
|
<td class="paramname"><em>c</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> & </td>
|
||
|
<td class="paramname"><em>p1</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> & </td>
|
||
|
<td class="paramname"><em>p2</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>Computes the squared distance between one <a class="el" href="classgeos_1_1geom_1_1Coordinate.html" title="Coordinate is the lightweight class used to store coordinates. ">Coordinate</a> and an <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> defined by two other Coordinates. The order of the Coordinates used to define the envelope is not significant. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">c</td><td>the coordinate to from which distance should be found </td></tr>
|
||
|
<tr><td class="paramname">p1</td><td>first coordinate defining an envelope </td></tr>
|
||
|
<tr><td class="paramname">p2</td><td>second coordinate defining an envelope. </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="af78e700afc9eed28cd90aaadf6f6db6f"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">static double geos::geom::Envelope::distanceToCoordinate </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> & </td>
|
||
|
<td class="paramname"><em>c</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> & </td>
|
||
|
<td class="paramname"><em>p1</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> & </td>
|
||
|
<td class="paramname"><em>p2</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>Computes the distance between one <a class="el" href="classgeos_1_1geom_1_1Coordinate.html" title="Coordinate is the lightweight class used to store coordinates. ">Coordinate</a> and an <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> defined by two other Coordinates. The order of the Coordinates used to define the envelope is not significant. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">c</td><td>the coordinate to from which distance should be found </td></tr>
|
||
|
<tr><td class="paramname">p1</td><td>first coordinate defining an envelope </td></tr>
|
||
|
<tr><td class="paramname">p2</td><td>second coordinate defining an envelope. </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a936e3538dcc3bd3823a20bba57c28bf9"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">bool geos::geom::Envelope::equals </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a> * </td>
|
||
|
<td class="paramname"><em>other</em></td><td>)</td>
|
||
|
<td> const</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Returns <code>true</code> if the <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> <code>other</code> spatially equals this <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a>. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">other</td><td>the <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> which this <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> is being checked for equality </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if this and <code>other</code> <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> objects are spatially equal </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a5c6fae409a8aa13bc8e7a30883e45914"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::geom::Envelope::expandBy </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">double </td>
|
||
|
<td class="paramname"><em>deltaX</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">double </td>
|
||
|
<td class="paramname"><em>deltaY</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Expands this envelope by a given distance in all directions. Both positive and negative distances are supported. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">deltaX</td><td>the distance to expand the envelope along the X axis </td></tr>
|
||
|
<tr><td class="paramname">deltaY</td><td>the distance to expand the envelope along the Y axis </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a94b1680f3989be08caaae19a1d0844d1"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::geom::Envelope::expandBy </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">double </td>
|
||
|
<td class="paramname"><em>p_distance</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Expands this envelope by a given distance in all directions. </p>
|
||
|
<p>Both positive and negative distances are supported.</p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">p_distance</td><td>the distance to expand the envelope </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
<p>Definition at line <a class="el" href="Envelope_8h_source.html#l00286">286</a> of file <a class="el" href="Envelope_8h_source.html">Envelope.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a5adcdd87795a0902140aeae6f23f8f9b"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::geom::Envelope::expandToInclude </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> & </td>
|
||
|
<td class="paramname"><em>p</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Enlarges the boundary of the <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> so that it contains p. Does nothing if p is already on or within the boundaries. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">p</td><td>the <a class="el" href="classgeos_1_1geom_1_1Coordinate.html" title="Coordinate is the lightweight class used to store coordinates. ">Coordinate</a> to include </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a15bcec66b872936e4ee9a58ab57a688a"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::geom::Envelope::expandToInclude </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">double </td>
|
||
|
<td class="paramname"><em>x</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">double </td>
|
||
|
<td class="paramname"><em>y</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Enlarges the boundary of the <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> so that it contains (x,y). </p>
|
||
|
<p>Does nothing if (x,y) is already on or within the boundaries.</p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">x</td><td>the value to lower the minimum x to or to raise the maximum x to </td></tr>
|
||
|
<tr><td class="paramname">y</td><td>the value to lower the minimum y to or to raise the maximum y to </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a9e7d03adbf2d86afc53beb650900666a"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::geom::Envelope::expandToInclude </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a> * </td>
|
||
|
<td class="paramname"><em>other</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Enlarges the boundary of the <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> so that it contains <code>other</code>. </p>
|
||
|
<p>Does nothing if other is wholly on or within the boundaries.</p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">other</td><td>the <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> to merge with </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a6e38a3cbc449540caa63b22212337dd2"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::geom::Envelope::expandToInclude </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a> & </td>
|
||
|
<td class="paramname"><em>other</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="aa5c4848efadb6212bd589714b359aeaa"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">double geos::geom::Envelope::getArea </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td> const</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Gets the area of this envelope. </p>
|
||
|
<dl class="section return"><dt>Returns</dt><dd>the area of the envelope </dd>
|
||
|
<dd>
|
||
|
0.0 if the envelope is null </dd></dl>
|
||
|
|
||
|
<p>Definition at line <a class="el" href="Envelope_8h_source.html#l00212">212</a> of file <a class="el" href="Envelope_8h_source.html">Envelope.h</a>.</p>
|
||
|
|
||
|
<p>Referenced by <a class="el" href="SimpleSTRnode_8h_source.html#l00125">geos::index::strtree::SimpleSTRnode::area()</a>.</p>
|
||
|
|
||
|
<p><div class="dynheader">
|
||
|
Here is the caller graph for this function:</div>
|
||
|
<div class="dyncontent">
|
||
|
<div class="center"><iframe scrolling="no" frameborder="0" src="classgeos_1_1geom_1_1Envelope_aa5c4848efadb6212bd589714b359aeaa_icgraph.svg" width="398" height="55"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||
|
</div>
|
||
|
</div>
|
||
|
</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a446d8ebccb10dd340cb481ef14a279b5"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">double geos::geom::Envelope::getHeight </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">void </td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td> const</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Returns the difference between the maximum and minimum y values. </p>
|
||
|
<dl class="section return"><dt>Returns</dt><dd><code>max y - min y</code>, or 0 if this is a null <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ac736024440af1b467ba2ba4308280b1b"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">double geos::geom::Envelope::getMaxX </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td> const</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Returns the <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> maximum x-value. <code>min x > max x</code> indicates that this is a null <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a>. </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="afe346be1da764bd27d2769a64ed99fa6"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">double geos::geom::Envelope::getMaxY </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td> const</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Returns the <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> maximum y-value. <code>min y > max y</code> indicates that this is a null <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a>. </p>
|
||
|
|
||
|
<p>Referenced by <a class="el" href="STRtree_8h_source.html#l00137">geos::index::strtree::STRtree::centreY()</a>.</p>
|
||
|
|
||
|
<p><div class="dynheader">
|
||
|
Here is the caller graph for this function:</div>
|
||
|
<div class="dyncontent">
|
||
|
<div class="center"><iframe scrolling="no" frameborder="0" src="classgeos_1_1geom_1_1Envelope_afe346be1da764bd27d2769a64ed99fa6_icgraph.svg" width="368" height="55"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||
|
</div>
|
||
|
</div>
|
||
|
</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ad66764b72fd8a239a6081f7831e7def3"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">double geos::geom::Envelope::getMinX </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td> const</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Returns the <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> minimum x-value. <code>min x > max x</code> indicates that this is a null <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a>. </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ae8f01c5ddb0eb2aaeff5510eaebee3ab"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">double geos::geom::Envelope::getMinY </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td> const</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Returns the <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> minimum y-value. <code>min y > max y</code> indicates that this is a null <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a>. </p>
|
||
|
|
||
|
<p>Referenced by <a class="el" href="STRtree_8h_source.html#l00137">geos::index::strtree::STRtree::centreY()</a>.</p>
|
||
|
|
||
|
<p><div class="dynheader">
|
||
|
Here is the caller graph for this function:</div>
|
||
|
<div class="dyncontent">
|
||
|
<div class="center"><iframe scrolling="no" frameborder="0" src="classgeos_1_1geom_1_1Envelope_ae8f01c5ddb0eb2aaeff5510eaebee3ab_icgraph.svg" width="368" height="55"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||
|
</div>
|
||
|
</div>
|
||
|
</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a9d61a221a0666b0814328af5f5f63e9d"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">double geos::geom::Envelope::getWidth </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">void </td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td> const</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Returns the difference between the maximum and minimum x values. </p>
|
||
|
<dl class="section return"><dt>Returns</dt><dd><code>max x - min x</code>, or 0 if this is a null <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a37d976b5a7e44caa22ef23ec7fa20175"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">size_t geos::geom::Envelope::hashCode </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td> const</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a297cd746dc6e6a7aee74deefbd36071d"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::geom::Envelope::init </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">void </td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Initialize to a null <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a>. </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a5f65f9c33e966a3d28bd495ce9c6815c"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::geom::Envelope::init </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">double </td>
|
||
|
<td class="paramname"><em>x1</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">double </td>
|
||
|
<td class="paramname"><em>x2</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">double </td>
|
||
|
<td class="paramname"><em>y1</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">double </td>
|
||
|
<td class="paramname"><em>y2</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Initialize an <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> for a region defined by maximum and minimum values. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">x1</td><td>the first x-value </td></tr>
|
||
|
<tr><td class="paramname">x2</td><td>the second x-value </td></tr>
|
||
|
<tr><td class="paramname">y1</td><td>the first y-value </td></tr>
|
||
|
<tr><td class="paramname">y2</td><td>the second y-value </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a407cb13d0d860938e18ee546a5353171"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::geom::Envelope::init </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> & </td>
|
||
|
<td class="paramname"><em>p1</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> & </td>
|
||
|
<td class="paramname"><em>p2</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Initialize an <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> to a region defined by two Coordinates. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">p1</td><td>the first <a class="el" href="classgeos_1_1geom_1_1Coordinate.html" title="Coordinate is the lightweight class used to store coordinates. ">Coordinate</a> </td></tr>
|
||
|
<tr><td class="paramname">p2</td><td>the second <a class="el" href="classgeos_1_1geom_1_1Coordinate.html" title="Coordinate is the lightweight class used to store coordinates. ">Coordinate</a> </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a777543b16acc0002b8901007b8c4b139"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::geom::Envelope::init </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> & </td>
|
||
|
<td class="paramname"><em>p</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Initialize an <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> to a region defined by a single <a class="el" href="classgeos_1_1geom_1_1Coordinate.html" title="Coordinate is the lightweight class used to store coordinates. ">Coordinate</a>. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">p</td><td>the <a class="el" href="classgeos_1_1geom_1_1Coordinate.html" title="Coordinate is the lightweight class used to store coordinates. ">Coordinate</a> </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a3d90e2f4c0c80590e8cbce6d64316784"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">bool geos::geom::Envelope::intersection </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a> & </td>
|
||
|
<td class="paramname"><em>env</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"><a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a> & </td>
|
||
|
<td class="paramname"><em>result</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td> const</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Computes the intersection of two <a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelopes</a>. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">env</td><td>the envelope to intersect with </td></tr>
|
||
|
<tr><td class="paramname">result</td><td>the envelope representing the intersection of the envelopes (this will be the null envelope if either argument is null, or they do not intersect) </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl class="section return"><dt>Returns</dt><dd>false if not intersection is found </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a8971b31a5c56429f2d66d72e4d98032d"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">static bool geos::geom::Envelope::intersects </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> & </td>
|
||
|
<td class="paramname"><em>p1</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> & </td>
|
||
|
<td class="paramname"><em>p2</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> & </td>
|
||
|
<td class="paramname"><em>q</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>Test the point <code>q</code> to see whether it intersects the <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> defined by <code>p1-p2</code>. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">p1</td><td>one extremal point of the envelope </td></tr>
|
||
|
<tr><td class="paramname">p2</td><td>another extremal point of the envelope </td></tr>
|
||
|
<tr><td class="paramname">q</td><td>the point to test for intersection </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if q intersects the envelope p1-p2 </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ac21d7d1389767e7135ffb623306b7322"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">static bool geos::geom::Envelope::intersects </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> & </td>
|
||
|
<td class="paramname"><em>p1</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> & </td>
|
||
|
<td class="paramname"><em>p2</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> & </td>
|
||
|
<td class="paramname"><em>q1</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> & </td>
|
||
|
<td class="paramname"><em>q2</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>Test the envelope defined by <code>p1-p2</code> for intersection with the envelope defined by <code>q1-q2</code>. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">p1</td><td>one extremal point of the envelope P </td></tr>
|
||
|
<tr><td class="paramname">p2</td><td>another extremal point of the envelope P </td></tr>
|
||
|
<tr><td class="paramname">q1</td><td>one extremal point of the envelope Q </td></tr>
|
||
|
<tr><td class="paramname">q2</td><td>another extremal point of the envelope Q</td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if Q intersects P </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="aec4ede46324b22ba33cc937eabdf6321"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">bool geos::geom::Envelope::intersects </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> & </td>
|
||
|
<td class="paramname"><em>a</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> & </td>
|
||
|
<td class="paramname"><em>b</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td> const</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Check if the extent defined by two extremal points intersects the extent of this <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a>. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">a</td><td>a point </td></tr>
|
||
|
<tr><td class="paramname">b</td><td>another point </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if the extents intersect </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="aa8b470479902068fff1414995726196d"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">bool geos::geom::Envelope::intersects </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> & </td>
|
||
|
<td class="paramname"><em>p</em></td><td>)</td>
|
||
|
<td> const</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Check if the point p intersects (lies inside) the region of this <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a>. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">p</td><td>the <a class="el" href="classgeos_1_1geom_1_1Coordinate.html" title="Coordinate is the lightweight class used to store coordinates. ">Coordinate</a> to be tested </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl class="section return"><dt>Returns</dt><dd>true if the point intersects this <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a3484681fd445f2fa79e2637e3cb0dbf1"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">bool geos::geom::Envelope::intersects </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">double </td>
|
||
|
<td class="paramname"><em>x</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">double </td>
|
||
|
<td class="paramname"><em>y</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td> const</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Check if the point (x, y) intersects (lies inside) the region of this <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a>. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">x</td><td>the x-ordinate of the point </td></tr>
|
||
|
<tr><td class="paramname">y</td><td>the y-ordinate of the point </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if the point intersects this <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ae99dfca9ed862ed3d314bc32e6991800"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">bool geos::geom::Envelope::intersects </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a> * </td>
|
||
|
<td class="paramname"><em>other</em></td><td>)</td>
|
||
|
<td> const</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Check if the region defined by other <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> intersects the region of this <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a>. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">other</td><td>the <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> which this <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> is being checked for intersection </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl class="section return"><dt>Returns</dt><dd>true if the Envelopes intersects </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a665baa0d06b70ca630e819218dae1e46"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">bool geos::geom::Envelope::intersects </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a> & </td>
|
||
|
<td class="paramname"><em>other</em></td><td>)</td>
|
||
|
<td> const</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a4cb6ee694a4e1d212b479fcd5b15166b"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">bool geos::geom::Envelope::isNull </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">void </td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td> const</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Returns <code>true</code> if this <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> is a "null" envelope. </p>
|
||
|
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if this <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a> is uninitialized or is the envelope of the empty geometry. </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ac4f6c83da1d272263122b7e22adce7d4"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname"><a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a>& geos::geom::Envelope::operator= </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a> & </td>
|
||
|
<td class="paramname"><em>e</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Assignment operator. </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a225d5c7dc9e65af942ac19e2c5e92383"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::geom::Envelope::setToNull </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">void </td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Makes this <code><a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane. ">Envelope</a></code> a "null" envelope, that is, the envelope of the empty geometry. </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a4f9c416d75abdd91c6a9a6f3dcad6183"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">std::vector<std::string> geos::geom::Envelope::split </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const std::string & </td>
|
||
|
<td class="paramname"><em>str</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">const std::string & </td>
|
||
|
<td class="paramname"><em>delimiters</em> = <code>" "</code> </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>Splits a string into parts based on the supplied delimiters. </p>
|
||
|
<p>This is a generic function that really belongs in a utility file somewhere </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="acd3e5c1bb64ba673d9711c2e6d508e1b"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">std::string geos::geom::Envelope::toString </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">void </td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td> const</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Returns a <code>string</code> of the form <code>Env[minx:maxx,miny:maxy]</code>. </p>
|
||
|
<dl class="section return"><dt>Returns</dt><dd>a <code>string</code> of the form <code>Env[minx:maxx,miny:maxy]</code> </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="addf3571a43639e20496e193a23190974"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::geom::Envelope::translate </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">double </td>
|
||
|
<td class="paramname"><em>transX</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">double </td>
|
||
|
<td class="paramname"><em>transY</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Translates this envelope by given amounts in the X and Y direction. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">transX</td><td>the amount to translate along the X axis </td></tr>
|
||
|
<tr><td class="paramname">transY</td><td>the amount to translate along the Y axis </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<h2 class="groupheader">Friends And Related Function Documentation</h2>
|
||
|
<a class="anchor" id="aff839033208c1a0624a0bb4612c8cd42"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">std::ostream& operator<< </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">std::ostream & </td>
|
||
|
<td class="paramname"><em>os</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a> & </td>
|
||
|
<td class="paramname"><em>o</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">friend</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Output operator. </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<h2 class="groupheader">Member Data Documentation</h2>
|
||
|
<a class="anchor" id="af8676db4413f6950ab5b6757bd5aed58"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">double geos::geom::Envelope::maxx</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>the maximum x-coordinate </p>
|
||
|
|
||
|
<p>Definition at line <a class="el" href="Envelope_8h_source.html#l00517">517</a> of file <a class="el" href="Envelope_8h_source.html">Envelope.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a6ea782ac879b11ab463b5535a001d2af"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">double geos::geom::Envelope::maxy</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>the maximum y-coordinate </p>
|
||
|
|
||
|
<p>Definition at line <a class="el" href="Envelope_8h_source.html#l00523">523</a> of file <a class="el" href="Envelope_8h_source.html">Envelope.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ad5209389162efebc359e36c60b4b7516"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">double geos::geom::Envelope::minx</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>the minimum x-coordinate </p>
|
||
|
|
||
|
<p>Definition at line <a class="el" href="Envelope_8h_source.html#l00514">514</a> of file <a class="el" href="Envelope_8h_source.html">Envelope.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a43e86d16444062bed0033817dee15ccc"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">double geos::geom::Envelope::miny</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>the minimum y-coordinate </p>
|
||
|
|
||
|
<p>Definition at line <a class="el" href="Envelope_8h_source.html#l00520">520</a> of file <a class="el" href="Envelope_8h_source.html">Envelope.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<hr/>The documentation for this class was generated from the following file:<ul>
|
||
|
<li><a class="el" href="Envelope_8h_source.html">Envelope.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>
|