/usr/share/qt5/doc/qtpositioning/qgeoshape.html is in qtlocation5-doc-html 5.2.1-1ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 | <?xml version="1.0" encoding="UTF-8"?>
<!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" xml:lang="en_US" lang="en_US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qgeoshape.cpp -->
<title>QGeoShape Class | QtPositioning 5.2</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="header" id="qtdocheader">
<div class="main">
<div class="main-rounded">
<div class="navigationbar">
<ul>
<li>Qt 5.2</li>
<li><a href="qtpositioning-index.html">Qt Positioning</a></li>
<li><a href="qtpositioning-module.html">C++ Classes</a></li>
<li>QGeoShape</li>
<li id="buildversion">
Qt 5.2.1 Reference Documentation</li>
</ul>
</div>
</div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#public-types">Public Types</a></li>
<li class="level1"><a href="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<h1 class="title">QGeoShape Class</h1>
<!-- $$$QGeoShape-brief -->
<p>The QGeoShape class defines a geographic area. <a href="#details">More...</a></p>
<!-- @@@QGeoShape -->
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> </b><tt><span class="preprocessor">#include <QGeoShape></span>
</tt></td></tr><tr><td class="memItemLeft rightAlign topAlign"> qmake:</td><td class="memItemRight bottomAlign"> <tt>QT += positioning</tt></td></tr><tr><td class="memItemLeft rightAlign topAlign"> Since:</td><td class="memItemRight bottomAlign"> Qt 5.2</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherited By:</td><td class="memItemRight bottomAlign"> <p><a href="qgeocircle.html">QGeoCircle</a> and <a href="qgeorectangle.html">QGeoRectangle</a>.</p>
</td></tr></table><ul>
<li><a href="qgeoshape-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-types"></a>
<h2>Public Types</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qgeoshape.html#ShapeType-enum">ShapeType</a></b> { UnknownType, RectangleType, CircleType }</td></tr>
</table>
<a name="public-functions"></a>
<h2>Public Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qgeoshape.html#QGeoShape">QGeoShape</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qgeoshape.html#QGeoShape-2">QGeoShape</a></b>(const QGeoShape &<i> other</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qgeoshape.html#dtor.QGeoShape">~QGeoShape</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qgeoshape.html#contains">contains</a></b>(const QGeoCoordinate &<i> coordinate</i>) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qgeoshape.html#isEmpty">isEmpty</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qgeoshape.html#isValid">isValid</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> ShapeType </td><td class="memItemRight bottomAlign"><b><a href="qgeoshape.html#type">type</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qgeoshape.html#operator-not-eq">operator!=</a></b>(const QGeoShape &<i> other</i>) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QGeoShape & </td><td class="memItemRight bottomAlign"><b><a href="qgeoshape.html#operator-eq">operator=</a></b>(const QGeoShape &<i> other</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qgeoshape.html#operator-eq-eq">operator==</a></b>(const QGeoShape &<i> other</i>) const</td></tr>
</table>
<a name="details"></a>
<!-- $$$QGeoShape-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>The QGeoShape class defines a geographic area.</p>
<p>This class is the base class for classes which specify a geographic area.</p>
<p>For the sake of consistency, subclasses should describe the specific details of the associated areas in terms of <a href="qgeocoordinate.html">QGeoCoordinate</a> instances and distances in meters.</p>
</div>
<!-- @@@QGeoShape -->
<div class="types">
<h2>Member Type Documentation</h2>
<!-- $$$ShapeType$$$UnknownType$$$RectangleType$$$CircleType -->
<h3 class="fn"><a name="ShapeType-enum"></a>enum QGeoShape::<span class="name">ShapeType</span></h3>
<p>Describes the type of the shape.</p>
<table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><tt>QGeoShape::UnknownType</tt></td><td class="topAlign"><tt>0</tt></td><td class="topAlign">A shape of unknown type.</td></tr>
<tr><td class="topAlign"><tt>QGeoShape::RectangleType</tt></td><td class="topAlign"><tt>1</tt></td><td class="topAlign">A rectangular shape.</td></tr>
<tr><td class="topAlign"><tt>QGeoShape::CircleType</tt></td><td class="topAlign"><tt>2</tt></td><td class="topAlign">A circular shape.</td></tr>
</table>
<!-- @@@ShapeType -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QGeoShape[overload1]$$$QGeoShape -->
<h3 class="fn"><a name="QGeoShape"></a>QGeoShape::<span class="name">QGeoShape</span>()</h3>
<p>Constructs a new invalid geo shape of <a href="qgeoshape.html#ShapeType-enum">UnknownType</a>.</p>
<!-- @@@QGeoShape -->
<!-- $$$QGeoShape$$$QGeoShapeconstQGeoShape& -->
<h3 class="fn"><a name="QGeoShape-2"></a>QGeoShape::<span class="name">QGeoShape</span>(const <span class="type">QGeoShape</span> &<i> other</i>)</h3>
<p>Constructs a new geo shape which is a copy of <i>other</i>.</p>
<!-- @@@QGeoShape -->
<!-- $$$~QGeoShape[overload1]$$$~QGeoShape -->
<h3 class="fn"><a name="dtor.QGeoShape"></a>QGeoShape::<span class="name">~QGeoShape</span>()</h3>
<p>Destroys this geo shape.</p>
<!-- @@@~QGeoShape -->
<!-- $$$contains[overload1]$$$containsconstQGeoCoordinate& -->
<h3 class="fn"><a name="contains"></a><span class="type">bool</span> QGeoShape::<span class="name">contains</span>(const <span class="type"><a href="qgeocoordinate.html">QGeoCoordinate</a></span> &<i> coordinate</i>) const</h3>
<p>Returns whether the coordinate <i>coordinate</i> is contained within this geo shape.</p>
<!-- @@@contains -->
<!-- $$$isEmpty[overload1]$$$isEmpty -->
<h3 class="fn"><a name="isEmpty"></a><span class="type">bool</span> QGeoShape::<span class="name">isEmpty</span>() const</h3>
<p>Returns whether this geo shape is empty.</p>
<p>An empty geo shape is a region which has a geometrical area of 0.</p>
<!-- @@@isEmpty -->
<!-- $$$isValid[overload1]$$$isValid -->
<h3 class="fn"><a name="isValid"></a><span class="type">bool</span> QGeoShape::<span class="name">isValid</span>() const</h3>
<p>Returns whether this geo shape is valid.</p>
<p>An geo shape is considered to be invalid if some of the data that is required to unambiguously describe the geo shape has not been set or has been set to an unsuitable value.</p>
<!-- @@@isValid -->
<!-- $$$type[overload1]$$$type -->
<h3 class="fn"><a name="type"></a><span class="type"><a href="qgeoshape.html#ShapeType-enum">ShapeType</a></span> QGeoShape::<span class="name">type</span>() const</h3>
<p>Returns the type of this geo shape.</p>
<!-- @@@type -->
<!-- $$$operator!=[overload1]$$$operator!=constQGeoShape& -->
<h3 class="fn"><a name="operator-not-eq"></a><span class="type">bool</span> QGeoShape::<span class="name">operator!=</span>(const <span class="type">QGeoShape</span> &<i> other</i>) const</h3>
<p>Returns true if the <i>other</i> geo shape is not equivalent to this geo shape, otherwise returns false.</p>
<!-- @@@operator!= -->
<!-- $$$operator=[overload1]$$$operator=constQGeoShape& -->
<h3 class="fn"><a name="operator-eq"></a><span class="type">QGeoShape</span> & QGeoShape::<span class="name">operator=</span>(const <span class="type">QGeoShape</span> &<i> other</i>)</h3>
<p>Assigns <i>other</i> to this geo shape and returns a reference to this geo shape.</p>
<!-- @@@operator= -->
<!-- $$$operator==[overload1]$$$operator==constQGeoShape& -->
<h3 class="fn"><a name="operator-eq-eq"></a><span class="type">bool</span> QGeoShape::<span class="name">operator==</span>(const <span class="type">QGeoShape</span> &<i> other</i>) const</h3>
<p>Returns true if the <i>other</i> geo shape is equivalent to this geo shape, otherwise returns false.</p>
<!-- @@@operator== -->
</div>
</div>
</div>
</div>
</div>
</div>
<div class="footer">
<p>
<acronym title="Copyright">©</acronym> 2013 Digia Plc and/or its
subsidiaries. Documentation contributions included herein are the copyrights of
their respective owners.<br> The documentation provided herein is licensed under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation License version 1.3</a> as published by the Free Software Foundation.<br> Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide. All other trademarks are property
of their respective owners. </p>
</div>
</body>
</html>
|