286 lines
14 KiB
HTML
286 lines
14 KiB
HTML
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
"DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
<head>
|
|
<title>mapnik.Envelope</title>
|
|
<link rel="stylesheet" href="epydoc.css" type="text/css"></link>
|
|
</head>
|
|
<body bgcolor="white" text="black" link="blue" vlink="#204080"
|
|
alink="#204080">
|
|
|
|
<!-- =========== START OF NAVBAR =========== -->
|
|
<table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0">
|
|
<tr valign="center">
|
|
<th class="navbar"> <a class="navbar" href="mapnik-module.html">Home</a> </th>
|
|
<th class="navbar"> <a class="navbar" href="trees.html">Trees</a> </th>
|
|
<th class="navbar"> <a class="navbar" href="indices.html">Index</a> </th>
|
|
<th class="navbar"> <a class="navbar" href="help.html">Help</a> </th>
|
|
<th class="navbar" width="100%"></th>
|
|
</tr>
|
|
</table>
|
|
<table width="100%" cellpadding="0" cellspacing="0">
|
|
<tr valign="top">
|
|
<td width="100%">
|
|
<font size="-1"><b class="breadcrumbs">
|
|
<a href="mapnik-module.html">Package mapnik</a> ::
|
|
Class Envelope
|
|
</b></font></br>
|
|
</td>
|
|
<td><table cellpadding="0" cellspacing="0">
|
|
<tr><td align="right"><font size="-2">[<a href="../private/mapnik.Envelope-class.html">show private</a> | hide private]</font></td></tr>
|
|
<tr><td align="right"><font size="-2">[<a href="frames.html"target="_top">frames</a> | <a href="mapnik.Envelope-class.html" target="_top">no frames</a>]</font></td></tr>
|
|
</table></td>
|
|
</tr></table>
|
|
|
|
<!-- =========== START OF CLASS DESCRIPTION =========== -->
|
|
<h2 class="class">Type Envelope</h2>
|
|
|
|
<pre class="base-tree">
|
|
<a href="__builtin__.object-class.html"><code>object</code></a> --+
|
|
|
|
|
<a href="None.instance-class.html"><code>instance</code></a> --+
|
|
|
|
|
<b>Envelope</b>
|
|
</pre><br />
|
|
|
|
<hr/>
|
|
|
|
A spacial envelope (i.e. bounding box) which also defines some basic
|
|
operators.
|
|
<hr/>
|
|
|
|
|
|
<!-- =========== START OF METHOD SUMMARY =========== -->
|
|
<table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
|
|
<tr bgcolor="#70b0f0" class="summary">
|
|
<th colspan="2">Method Summary</th></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><a name="__init__"></a><span class="summary-sig"><span class="summary-sig-name">__init__</span>(<span class="summary-sig-vararg">...</span>)</span></code>
|
|
</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><a name="__eq__"></a><span class="summary-sig"><span class="summary-sig-name">__eq__</span>(<span class="summary-sig-vararg">...</span>)</span></code>
|
|
</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><a name="__getinitargs__"></a><span class="summary-sig"><span class="summary-sig-name">__getinitargs__</span>(<span class="summary-sig-vararg">...</span>)</span></code>
|
|
</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><a name="unknown--1211344180"></a><span class="summary-sig"><span class="summary-sig-name">__reduce__</span>(<span class="summary-sig-vararg">...</span>)</span></code>
|
|
</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><a name="__repr__"></a><span class="summary-sig"><span class="summary-sig-name">__repr__</span>(<span class=summary-sig-arg>self</span>)</span></code>
|
|
</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><a name="center"></a><span class="summary-sig"><span class="summary-sig-name">center</span>(<span class="summary-sig-vararg">...</span>)</span></code>
|
|
</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><a name="contains"></a><span class="summary-sig"><span class="summary-sig-name">contains</span>(<span class="summary-sig-vararg">...</span>)</span></code>
|
|
</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><a name="expand_to_include"></a><span class="summary-sig"><span class="summary-sig-name">expand_to_include</span>(<span class="summary-sig-vararg">...</span>)</span></code>
|
|
</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><a name="height"></a><span class="summary-sig"><span class="summary-sig-name">height</span>(<span class="summary-sig-vararg">...</span>)</span></code>
|
|
</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><a name="intersects"></a><span class="summary-sig"><span class="summary-sig-name">intersects</span>(<span class="summary-sig-vararg">...</span>)</span></code>
|
|
</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><a name="width"></a><span class="summary-sig"><span class="summary-sig-name">width</span>(<span class="summary-sig-vararg">...</span>)</span></code>
|
|
</td></tr>
|
|
<tr bgcolor="#e8f0f8" class="group">
|
|
<th colspan="2"> Inherited from instance</th></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="None.instance-class.html#__new__" class="summary-sig-name"><code>__new__</code></a>(<span class=summary-sig-arg>T</span>,
|
|
<span class=summary-sig-arg>S</span>,
|
|
<span class="summary-sig-vararg">...</span>)</span></code>
|
|
<br />
|
|
T.__new__(S, ...) -> a new object with type S, a subtype of T</td></tr>
|
|
<tr bgcolor="#e8f0f8" class="group">
|
|
<th colspan="2"> Inherited from object</th></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.object-class.html#__delattr__" class="summary-sig-name"><code>__delattr__</code></a>(<span class="summary-sig-vararg">...</span>)</span></code>
|
|
<br />
|
|
x.__delattr__('name') <==> del x.name</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.object-class.html#__getattribute__" class="summary-sig-name"><code>__getattribute__</code></a>(<span class="summary-sig-vararg">...</span>)</span></code>
|
|
<br />
|
|
x.__getattribute__('name') <==> x.name</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.object-class.html#__hash__" class="summary-sig-name"><code>__hash__</code></a>(<span class=summary-sig-arg>x</span>)</span></code>
|
|
<br />
|
|
x.__hash__() <==> hash(x)</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.object-class.html#__reduce_ex__" class="summary-sig-name"><code>__reduce_ex__</code></a>(<span class="summary-sig-vararg">...</span>)</span></code>
|
|
<br />
|
|
helper for pickle</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.object-class.html#__setattr__" class="summary-sig-name"><code>__setattr__</code></a>(<span class="summary-sig-vararg">...</span>)</span></code>
|
|
<br />
|
|
x.__setattr__('name', value) <==> x.name = value</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.object-class.html#__str__" class="summary-sig-name"><code>__str__</code></a>(<span class=summary-sig-arg>x</span>)</span></code>
|
|
<br />
|
|
x.__str__() <==> str(x)</td></tr>
|
|
</table><br />
|
|
|
|
|
|
<!-- =========== START OF PROPERTY SUMMARY =========== -->
|
|
<table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
|
|
<tr bgcolor="#70b0f0" class="summary">
|
|
<th colspan="2">Property Summary</th></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><b><a href="mapnik.Envelope-class.html#maxx"><code>maxx</code></a></b>: X coordinate for the upper right corner</td></tr><tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><b><a href="mapnik.Envelope-class.html#maxy"><code>maxy</code></a></b>: Y coordinate for the upper right corner</td></tr><tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><b><a href="mapnik.Envelope-class.html#minx"><code>minx</code></a></b>: X coordinate for the lower left corner</td></tr><tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><b><a href="mapnik.Envelope-class.html#miny"><code>miny</code></a></b>: Y coordinate for the lower left corner</td></tr></table><br />
|
|
|
|
|
|
<!-- =========== START OF CLASS VARIABLE SUMMARY =========== -->
|
|
<table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
|
|
<tr bgcolor="#70b0f0" class="summary">
|
|
<th colspan="2">Class Variable Summary</th></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>int</code></font></td>
|
|
<td><b><a href="mapnik.Envelope-class.html#__instance_size__"><code>__instance_size__</code></a></b> = <span title="40">40 </span></td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>bool</code></font></td>
|
|
<td><b><a href="mapnik.Envelope-class.html#__safe_for_unpickling__"><code>__safe_for_unpickling__</code></a></b> = <span title="True"><code>True </code>
|
|
</span></td></tr>
|
|
</table><br />
|
|
|
|
|
|
<!-- =========== START OF PROPERTY DETAILS =========== -->
|
|
<table class="details" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
|
|
<tr bgcolor="#70b0f0" class="details">
|
|
<th colspan="2">Property Details</th></tr>
|
|
</table>
|
|
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
|
|
|
|
<a name="maxx"></a>
|
|
<h3>maxx</h3>
|
|
X coordinate for the upper right corner
|
|
<dl>
|
|
<dt></dt>
|
|
<dd>
|
|
<dl>
|
|
<dt><b>Get Method:</b></dt>
|
|
<dd><code><Boost.Python.function object at 0x9a8e5<span class="variable-ellipsis">...</span></code>
|
|
|
|
</dd>
|
|
</dl>
|
|
</dd>
|
|
</dl></td></tr></table><table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
|
|
|
|
<a name="maxy"></a>
|
|
<h3>maxy</h3>
|
|
Y coordinate for the upper right corner
|
|
<dl>
|
|
<dt></dt>
|
|
<dd>
|
|
<dl>
|
|
<dt><b>Get Method:</b></dt>
|
|
<dd><code><Boost.Python.function object at 0x9a8e5<span class="variable-ellipsis">...</span></code>
|
|
|
|
</dd>
|
|
</dl>
|
|
</dd>
|
|
</dl></td></tr></table><table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
|
|
|
|
<a name="minx"></a>
|
|
<h3>minx</h3>
|
|
X coordinate for the lower left corner
|
|
<dl>
|
|
<dt></dt>
|
|
<dd>
|
|
<dl>
|
|
<dt><b>Get Method:</b></dt>
|
|
<dd><code><Boost.Python.function object at 0x9a8e5<span class="variable-ellipsis">...</span></code>
|
|
|
|
</dd>
|
|
</dl>
|
|
</dd>
|
|
</dl></td></tr></table><table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
|
|
|
|
<a name="miny"></a>
|
|
<h3>miny</h3>
|
|
Y coordinate for the lower left corner
|
|
<dl>
|
|
<dt></dt>
|
|
<dd>
|
|
<dl>
|
|
<dt><b>Get Method:</b></dt>
|
|
<dd><code><Boost.Python.function object at 0x9a8e5<span class="variable-ellipsis">...</span></code>
|
|
|
|
</dd>
|
|
</dl>
|
|
</dd>
|
|
</dl></td></tr></table><br />
|
|
|
|
|
|
<!-- =========== START OF CLASS VARIABLE DETAILS =========== -->
|
|
<table class="details" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
|
|
<tr bgcolor="#70b0f0" class="details">
|
|
<th colspan="2">Class Variable Details</th></tr>
|
|
</table>
|
|
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
|
|
<a name="__instance_size__"></a>
|
|
<h3>__instance_size__</h3>
|
|
<dl>
|
|
<dt></dt>
|
|
<dd>
|
|
<dl>
|
|
<dt><b>Type:</b></dt>
|
|
<dd>
|
|
<code>int</code>
|
|
|
|
</dd>
|
|
<span title="40"> <dt><b>Value:</b></dt>
|
|
<dd><table><tr><td>
|
|
<pre class="variable">
|
|
40 </pre>
|
|
</td></tr></table></dd>
|
|
</span> </dl>
|
|
</dd>
|
|
</dl></td></tr></table>
|
|
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
|
|
<a name="__safe_for_unpickling__"></a>
|
|
<h3>__safe_for_unpickling__</h3>
|
|
<dl>
|
|
<dt></dt>
|
|
<dd>
|
|
<dl>
|
|
<dt><b>Type:</b></dt>
|
|
<dd>
|
|
<code>bool</code>
|
|
|
|
</dd>
|
|
<span title="True"> <dt><b>Value:</b></dt>
|
|
<dd><table><tr><td>
|
|
<pre class="variable">
|
|
True </pre>
|
|
</td></tr></table></dd>
|
|
</span> </dl>
|
|
</dd>
|
|
</dl></td></tr></table>
|
|
<br />
|
|
|
|
|
|
<!-- =========== START OF NAVBAR =========== -->
|
|
<table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0">
|
|
<tr valign="center">
|
|
<th class="navbar"> <a class="navbar" href="mapnik-module.html">Home</a> </th>
|
|
<th class="navbar"> <a class="navbar" href="trees.html">Trees</a> </th>
|
|
<th class="navbar"> <a class="navbar" href="indices.html">Index</a> </th>
|
|
<th class="navbar"> <a class="navbar" href="help.html">Help</a> </th>
|
|
<th class="navbar" width="100%"></th>
|
|
</tr>
|
|
</table>
|
|
|
|
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
|
<tr>
|
|
<td align="left"><font size="-2">Generated by Epydoc 2.1 on Wed Mar 22 21:13:59 2006</font></td>
|
|
<td align="right"><a href="http://epydoc.sourceforge.net"
|
|
><font size="-2">http://epydoc.sf.net</font></a></td>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
</html>
|