487 lines
28 KiB
HTML
487 lines
28 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::linearref::LengthLocationMap 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_1linearref.html">linearref</a></li><li class="navelem"><a class="el" href="classgeos_1_1linearref_1_1LengthLocationMap.html">LengthLocationMap</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<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-attribs">Private Attributes</a> |
|
|
<a href="classgeos_1_1linearref_1_1LengthLocationMap-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">geos::linearref::LengthLocationMap Class Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p>Computes the <a class="el" href="classgeos_1_1linearref_1_1LinearLocation.html" title="Represents a location along a LineString or MultiLineString. ">LinearLocation</a> for a given length along a linear <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a>.
|
|
<a href="classgeos_1_1linearref_1_1LengthLocationMap.html#details">More...</a></p>
|
|
|
|
<p><code>#include <<a class="el" href="LengthLocationMap_8h_source.html">LengthLocationMap.h</a>></code></p>
|
|
<div class="dynheader">
|
|
Collaboration diagram for geos::linearref::LengthLocationMap:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="classgeos_1_1linearref_1_1LengthLocationMap__coll__graph.svg" width="100%" height="431"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
|
|
</div>
|
|
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<tr class="memitem:aec43907d90023a6dc760b9c8df2ea40a"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1linearref_1_1LengthLocationMap.html#aec43907d90023a6dc760b9c8df2ea40a">LengthLocationMap</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *<a class="el" href="classgeos_1_1linearref_1_1LengthLocationMap.html#a923de63f64d3304a62bcf924f3131cc5">linearGeom</a>)</td></tr>
|
|
<tr class="separator:aec43907d90023a6dc760b9c8df2ea40a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0e8b96fa50366e36e5f6c2f657898396"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgeos_1_1linearref_1_1LinearLocation.html">LinearLocation</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1linearref_1_1LengthLocationMap.html#a0e8b96fa50366e36e5f6c2f657898396">getLocation</a> (double length, bool resolveLower) const </td></tr>
|
|
<tr class="memdesc:a0e8b96fa50366e36e5f6c2f657898396"><td class="mdescLeft"> </td><td class="mdescRight">Compute the <a class="el" href="classgeos_1_1linearref_1_1LinearLocation.html" title="Represents a location along a LineString or MultiLineString. ">LinearLocation</a> corresponding to a length. <a href="#a0e8b96fa50366e36e5f6c2f657898396">More...</a><br /></td></tr>
|
|
<tr class="separator:a0e8b96fa50366e36e5f6c2f657898396"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a81f667d697bb3e44cf7f3cdf3c8d78d6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgeos_1_1linearref_1_1LinearLocation.html">LinearLocation</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1linearref_1_1LengthLocationMap.html#a81f667d697bb3e44cf7f3cdf3c8d78d6">getLocation</a> (double length) const </td></tr>
|
|
<tr class="memdesc:a81f667d697bb3e44cf7f3cdf3c8d78d6"><td class="mdescLeft"> </td><td class="mdescRight">Compute the <a class="el" href="classgeos_1_1linearref_1_1LinearLocation.html" title="Represents a location along a LineString or MultiLineString. ">LinearLocation</a> corresponding to a length. <a href="#a81f667d697bb3e44cf7f3cdf3c8d78d6">More...</a><br /></td></tr>
|
|
<tr class="separator:a81f667d697bb3e44cf7f3cdf3c8d78d6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa6ec4ee9d1d1b665b39c885a68d11efe"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1linearref_1_1LengthLocationMap.html#aa6ec4ee9d1d1b665b39c885a68d11efe">getLength</a> (const <a class="el" href="classgeos_1_1linearref_1_1LinearLocation.html">LinearLocation</a> &loc) const </td></tr>
|
|
<tr class="separator:aa6ec4ee9d1d1b665b39c885a68d11efe"><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:ad1d7efe751b46d58b3882520493a191a"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classgeos_1_1linearref_1_1LinearLocation.html">LinearLocation</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1linearref_1_1LengthLocationMap.html#ad1d7efe751b46d58b3882520493a191a">getLocation</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *<a class="el" href="classgeos_1_1linearref_1_1LengthLocationMap.html#a923de63f64d3304a62bcf924f3131cc5">linearGeom</a>, double length)</td></tr>
|
|
<tr class="memdesc:ad1d7efe751b46d58b3882520493a191a"><td class="mdescLeft"> </td><td class="mdescRight">Computes the <a class="el" href="classgeos_1_1linearref_1_1LinearLocation.html" title="Represents a location along a LineString or MultiLineString. ">LinearLocation</a> for a given length along a linear <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a>. <a href="#ad1d7efe751b46d58b3882520493a191a">More...</a><br /></td></tr>
|
|
<tr class="separator:ad1d7efe751b46d58b3882520493a191a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5cce691512a3f756daa90e423fc5a020"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classgeos_1_1linearref_1_1LinearLocation.html">LinearLocation</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1linearref_1_1LengthLocationMap.html#a5cce691512a3f756daa90e423fc5a020">getLocation</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *<a class="el" href="classgeos_1_1linearref_1_1LengthLocationMap.html#a923de63f64d3304a62bcf924f3131cc5">linearGeom</a>, double length, bool resolveLower)</td></tr>
|
|
<tr class="memdesc:a5cce691512a3f756daa90e423fc5a020"><td class="mdescLeft"> </td><td class="mdescRight">Computes the <a class="el" href="classgeos_1_1linearref_1_1LinearLocation.html" title="Represents a location along a LineString or MultiLineString. ">LinearLocation</a> for a given length along a linear [Geometry]. <a href="#a5cce691512a3f756daa90e423fc5a020">More...</a><br /></td></tr>
|
|
<tr class="separator:a5cce691512a3f756daa90e423fc5a020"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a84c50d3b08e0c48c16feb1af0ba77434"><td class="memItemLeft" align="right" valign="top">static double </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1linearref_1_1LengthLocationMap.html#a84c50d3b08e0c48c16feb1af0ba77434">getLength</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *<a class="el" href="classgeos_1_1linearref_1_1LengthLocationMap.html#a923de63f64d3304a62bcf924f3131cc5">linearGeom</a>, const <a class="el" href="classgeos_1_1linearref_1_1LinearLocation.html">LinearLocation</a> &loc)</td></tr>
|
|
<tr class="separator:a84c50d3b08e0c48c16feb1af0ba77434"><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:ae4b6ca44b1de9df17d620e56e36da9d5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgeos_1_1linearref_1_1LinearLocation.html">LinearLocation</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1linearref_1_1LengthLocationMap.html#ae4b6ca44b1de9df17d620e56e36da9d5">getLocationForward</a> (double length) const </td></tr>
|
|
<tr class="separator:ae4b6ca44b1de9df17d620e56e36da9d5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:add834e1b7eaeb7f0bf3af0dfeb333b99"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgeos_1_1linearref_1_1LinearLocation.html">LinearLocation</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1linearref_1_1LengthLocationMap.html#add834e1b7eaeb7f0bf3af0dfeb333b99">resolveHigher</a> (const <a class="el" href="classgeos_1_1linearref_1_1LinearLocation.html">LinearLocation</a> &loc) const </td></tr>
|
|
<tr class="separator:add834e1b7eaeb7f0bf3af0dfeb333b99"><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:a923de63f64d3304a62bcf924f3131cc5"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1linearref_1_1LengthLocationMap.html#a923de63f64d3304a62bcf924f3131cc5">linearGeom</a></td></tr>
|
|
<tr class="separator:a923de63f64d3304a62bcf924f3131cc5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p>Computes the <a class="el" href="classgeos_1_1linearref_1_1LinearLocation.html" title="Represents a location along a LineString or MultiLineString. ">LinearLocation</a> for a given length along a linear <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a>. </p>
|
|
<p>Negative lengths are measured in reverse from end of the linear geometry. Out-of-range values are clamped. </p>
|
|
|
|
<p>Definition at line <a class="el" href="LengthLocationMap_8h_source.html#l00038">38</a> of file <a class="el" href="LengthLocationMap_8h_source.html">LengthLocationMap.h</a>.</p>
|
|
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
|
<a class="anchor" id="aec43907d90023a6dc760b9c8df2ea40a"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">geos::linearref::LengthLocationMap::LengthLocationMap </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> * </td>
|
|
<td class="paramname"><em>linearGeom</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Referenced by <a class="el" href="LengthLocationMap_8h_source.html#l00082">getLocation()</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_1linearref_1_1LengthLocationMap_aec43907d90023a6dc760b9c8df2ea40a_icgraph.svg" width="496" 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>
|
|
<h2 class="groupheader">Member Function Documentation</h2>
|
|
<a class="anchor" id="a84c50d3b08e0c48c16feb1af0ba77434"></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::linearref::LengthLocationMap::getLength </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> * </td>
|
|
<td class="paramname"><em>linearGeom</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="classgeos_1_1linearref_1_1LinearLocation.html">LinearLocation</a> & </td>
|
|
<td class="paramname"><em>loc</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 length for a given <a class="el" href="classgeos_1_1linearref_1_1LinearLocation.html" title="Represents a location along a LineString or MultiLineString. ">LinearLocation</a> on a linear <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a>.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">linearGeom</td><td>the linear geometry to use </td></tr>
|
|
<tr><td class="paramname">loc</td><td>the <a class="el" href="classgeos_1_1linearref_1_1LinearLocation.html" title="Represents a location along a LineString or MultiLineString. ">LinearLocation</a> index of the location </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>the length for the <a class="el" href="classgeos_1_1linearref_1_1LinearLocation.html" title="Represents a location along a LineString or MultiLineString. ">LinearLocation</a> </dd></dl>
|
|
|
|
<p>Referenced by <a class="el" href="LengthLocationMap_8h_source.html#l00082">getLocation()</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_1linearref_1_1LengthLocationMap_a84c50d3b08e0c48c16feb1af0ba77434_icgraph.svg" width="496" 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="aa6ec4ee9d1d1b665b39c885a68d11efe"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">double geos::linearref::LengthLocationMap::getLength </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="classgeos_1_1linearref_1_1LinearLocation.html">LinearLocation</a> & </td>
|
|
<td class="paramname"><em>loc</em></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ad1d7efe751b46d58b3882520493a191a"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">static <a class="el" href="classgeos_1_1linearref_1_1LinearLocation.html">LinearLocation</a> geos::linearref::LengthLocationMap::getLocation </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> * </td>
|
|
<td class="paramname"><em>linearGeom</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">double </td>
|
|
<td class="paramname"><em>length</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">inline</span><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Computes the <a class="el" href="classgeos_1_1linearref_1_1LinearLocation.html" title="Represents a location along a LineString or MultiLineString. ">LinearLocation</a> for a given length along a linear <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a>. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">linearGeom</td><td>the linear geometry to use </td></tr>
|
|
<tr><td class="paramname">length</td><td>the length index of the location </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>the <a class="el" href="classgeos_1_1linearref_1_1LinearLocation.html" title="Represents a location along a LineString or MultiLineString. ">LinearLocation</a> for the length </dd></dl>
|
|
|
|
<p>Definition at line <a class="el" href="LengthLocationMap_8h_source.html#l00064">64</a> of file <a class="el" href="LengthLocationMap_8h_source.html">LengthLocationMap.h</a>.</p>
|
|
|
|
<p>References <a class="el" href="LengthLocationMap_8h_source.html#l00064">getLocation()</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="LengthLocationMap_8h_source.html#l00064">getLocation()</a>.</p>
|
|
|
|
<p><div class="dynheader">
|
|
Here is the call graph for this function:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><iframe scrolling="no" frameborder="0" src="classgeos_1_1linearref_1_1LengthLocationMap_ad1d7efe751b46d58b3882520493a191a_cgraph.svg" width="230" height="79"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
|
</div>
|
|
</div>
|
|
</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_1linearref_1_1LengthLocationMap_ad1d7efe751b46d58b3882520493a191a_icgraph.svg" width="230" height="79"><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="a5cce691512a3f756daa90e423fc5a020"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">static <a class="el" href="classgeos_1_1linearref_1_1LinearLocation.html">LinearLocation</a> geos::linearref::LengthLocationMap::getLocation </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> * </td>
|
|
<td class="paramname"><em>linearGeom</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">double </td>
|
|
<td class="paramname"><em>length</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>resolveLower</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">inline</span><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Computes the <a class="el" href="classgeos_1_1linearref_1_1LinearLocation.html" title="Represents a location along a LineString or MultiLineString. ">LinearLocation</a> for a given length along a linear [Geometry]. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">linearGeom</td><td>the linear geometry to use </td></tr>
|
|
<tr><td class="paramname">length</td><td>the length index of the location </td></tr>
|
|
<tr><td class="paramname">resolveLower</td><td>if <code>true</code> lengths are resolved to the lowest possible index </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>the <a class="el" href="classgeos_1_1linearref_1_1LinearLocation.html" title="Represents a location along a LineString or MultiLineString. ">LinearLocation</a> for the length </dd></dl>
|
|
|
|
<p>Definition at line <a class="el" href="LengthLocationMap_8h_source.html#l00082">82</a> of file <a class="el" href="LengthLocationMap_8h_source.html">LengthLocationMap.h</a>.</p>
|
|
|
|
<p>References <a class="el" href="classgeos_1_1linearref_1_1LengthLocationMap.html#a84c50d3b08e0c48c16feb1af0ba77434">getLength()</a>, <a class="el" href="LengthLocationMap_8h_source.html#l00064">getLocation()</a>, and <a class="el" href="classgeos_1_1linearref_1_1LengthLocationMap.html#aec43907d90023a6dc760b9c8df2ea40a">LengthLocationMap()</a>.</p>
|
|
|
|
<p><div class="dynheader">
|
|
Here is the call graph for this function:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><iframe scrolling="no" frameborder="0" src="classgeos_1_1linearref_1_1LengthLocationMap_a5cce691512a3f756daa90e423fc5a020_cgraph.svg" width="496" height="215"><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="a0e8b96fa50366e36e5f6c2f657898396"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classgeos_1_1linearref_1_1LinearLocation.html">LinearLocation</a> geos::linearref::LengthLocationMap::getLocation </td>
|
|
<td>(</td>
|
|
<td class="paramtype">double </td>
|
|
<td class="paramname"><em>length</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>resolveLower</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Compute the <a class="el" href="classgeos_1_1linearref_1_1LinearLocation.html" title="Represents a location along a LineString or MultiLineString. ">LinearLocation</a> corresponding to a length. </p>
|
|
<p>Negative lengths are measured in reverse from end of the linear geometry. Out-of-range values are clamped. Ambiguous indexes are resolved to the lowest possible location value, depending on the value of <code>resolveLower</code>.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">length</td><td>the length index </td></tr>
|
|
<tr><td class="paramname">resolveLower</td><td>if <code>true</code> lengths are resolved to the lowest possible index </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>the corresponding <a class="el" href="classgeos_1_1linearref_1_1LinearLocation.html" title="Represents a location along a LineString or MultiLineString. ">LinearLocation</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a81f667d697bb3e44cf7f3cdf3c8d78d6"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classgeos_1_1linearref_1_1LinearLocation.html">LinearLocation</a> geos::linearref::LengthLocationMap::getLocation </td>
|
|
<td>(</td>
|
|
<td class="paramtype">double </td>
|
|
<td class="paramname"><em>length</em></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Compute the <a class="el" href="classgeos_1_1linearref_1_1LinearLocation.html" title="Represents a location along a LineString or MultiLineString. ">LinearLocation</a> corresponding to a length. </p>
|
|
<p>Negative lengths are measured in reverse from end of the linear geometry. Out-of-range values are clamped. Ambiguous indexes are resolved to the lowest possible location value.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">length</td><td>the length index </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>the corresponding <a class="el" href="classgeos_1_1linearref_1_1LinearLocation.html" title="Represents a location along a LineString or MultiLineString. ">LinearLocation</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ae4b6ca44b1de9df17d620e56e36da9d5"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classgeos_1_1linearref_1_1LinearLocation.html">LinearLocation</a> geos::linearref::LengthLocationMap::getLocationForward </td>
|
|
<td>(</td>
|
|
<td class="paramtype">double </td>
|
|
<td class="paramname"><em>length</em></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="add834e1b7eaeb7f0bf3af0dfeb333b99"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classgeos_1_1linearref_1_1LinearLocation.html">LinearLocation</a> geos::linearref::LengthLocationMap::resolveHigher </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="classgeos_1_1linearref_1_1LinearLocation.html">LinearLocation</a> & </td>
|
|
<td class="paramname"><em>loc</em></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Data Documentation</h2>
|
|
<a class="anchor" id="a923de63f64d3304a62bcf924f3131cc5"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a>* geos::linearref::LengthLocationMap::linearGeom</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="LengthLocationMap_8h_source.html#l00042">42</a> of file <a class="el" href="LengthLocationMap_8h_source.html">LengthLocationMap.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following file:<ul>
|
|
<li><a class="el" href="LengthLocationMap_8h_source.html">LengthLocationMap.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>
|