beartrack-mobile/www/js/gpx-parse/doc/gpxExtent.js.html

85 lines
2.2 KiB
HTML
Raw Permalink Normal View History

2024-06-16 12:12:20 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>JSDoc: Source: gpxExtent.js</title>
<script src="scripts/prettify/prettify.js"> </script>
<script src="scripts/prettify/lang-css.js"> </script>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
</head>
<body>
<div id="main">
<h1 class="page-title">Source: gpxExtent.js</h1>
<section>
<article>
<pre class="prettyprint source"><code>/**
* Contructor for gpx extent
* @classdesc Stores an extent.
* @class
* @param {number} minx The minimum x value
* @param {number} miny The minimum y value
* @param {number} maxx The maximum x value
* @param {number} miny The maximum y value
*/
function GpxExtent(minx, miny, maxx, maxy) {
minx = minx || -1;
miny = miny || -1;
maxx = maxx || -1;
maxy = maxy || -1;
this.__defineGetter__("minx", function() {
return minx;
});
this.__defineGetter__("miny", function() {
return miny;
});
this.__defineGetter__("maxx", function() {
return maxx;
});
this.__defineGetter__("maxy", function() {
return maxy;
});
}
module.exports = GpxExtent;
</code></pre>
</article>
</section>
</div>
<nav>
<h2><a href="index.html">Index</a></h2><h3>Modules</h3><ul><li><a href="module-geomutils.html">geomutils</a></li><li><a href="module-gpx-parse.html">gpx-parse</a></li></ul><h3>Classes</h3><ul><li><a href="GpxExtent.html">GpxExtent</a></li><li><a href="GpxMetaData.html">GpxMetaData</a></li><li><a href="GpxResult.html">GpxResult</a></li><li><a href="GpxRoute.html">GpxRoute</a></li><li><a href="GpxTrack.html">GpxTrack</a></li><li><a href="GpxWaypoint.html">GpxWaypoint</a></li></ul><h3><a href="global.html">Global</a></h3>
</nav>
<br clear="both">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a> on Wed Aug 13 2014 09:19:33 GMT+0100 (BST)
</footer>
<script> prettyPrint(); </script>
<script src="scripts/linenumber.js"> </script>
</body>
</html>