<!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.12"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>Engauge Digitizer: GeometryStrategyRelationSmooth 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="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="search/searchdata.js"></script> <script type="text/javascript" src="search/search.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">Engauge Digitizer  <span id="projectnumber">2</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.12 --> <script type="text/javascript"> var searchBox = new SearchBox("searchBox", "search",false,'Search'); </script> <script type="text/javascript" src="menudata.js"></script> <script type="text/javascript" src="menu.js"></script> <script type="text/javascript"> $(function() { initMenu('',true,false,'search.php','Search'); $(document).ready(function() { init_search(); }); }); </script> <div id="main-nav"></div> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> </div> <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="classGeometryStrategyRelationSmooth-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">GeometryStrategyRelationSmooth Class Reference</div> </div> </div><!--header--> <div class="contents"> <p>Calculate for line through the points that is smoothly connected as a relation. <a href="classGeometryStrategyRelationSmooth.html#details">More...</a></p> <p><code>#include <<a class="el" href="GeometryStrategyRelationSmooth_8h_source.html">GeometryStrategyRelationSmooth.h</a>></code></p> <div class="dynheader"> Inheritance diagram for GeometryStrategyRelationSmooth:</div> <div class="dyncontent"> <div class="center"> <img src="classGeometryStrategyRelationSmooth.png" usemap="#GeometryStrategyRelationSmooth_map" alt=""/> <map id="GeometryStrategyRelationSmooth_map" name="GeometryStrategyRelationSmooth_map"> <area href="classGeometryStrategyAbstractBase.html" title="Base class for all geometry strategies. " alt="GeometryStrategyAbstractBase" shape="rect" coords="0,0,199,24"/> </map> </div></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:a2235fd4378d01e7ac32b76c81ba3237b"><td class="memItemLeft" align="right" valign="top"><a id="a2235fd4378d01e7ac32b76c81ba3237b"></a>  </td><td class="memItemRight" valign="bottom"><a class="el" href="classGeometryStrategyRelationSmooth.html#a2235fd4378d01e7ac32b76c81ba3237b">GeometryStrategyRelationSmooth</a> ()</td></tr> <tr class="memdesc:a2235fd4378d01e7ac32b76c81ba3237b"><td class="mdescLeft"> </td><td class="mdescRight">Single constructor. <br /></td></tr> <tr class="separator:a2235fd4378d01e7ac32b76c81ba3237b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af210c9a7d2579862b9dbb9fff89def0a"><td class="memItemLeft" align="right" valign="top"><a id="af210c9a7d2579862b9dbb9fff89def0a"></a> virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGeometryStrategyRelationSmooth.html#af210c9a7d2579862b9dbb9fff89def0a">calculateGeometry</a> (const Points &points, const <a class="el" href="classDocumentModelCoords.html">DocumentModelCoords</a> &modelCoords, const <a class="el" href="classDocumentModelGeneral.html">DocumentModelGeneral</a> &modelGeneral, const <a class="el" href="classMainWindowModel.html">MainWindowModel</a> &modelMainWindow, const <a class="el" href="classTransformation.html">Transformation</a> &transformation, QString &funcArea, QString &polyArea, QVector< QString > &x, QVector< QString > &y, QVector< QString > &distanceGraphForward, QVector< QString > &distancePercentForward, QVector< QString > &distanceGraphBackward, QVector< QString > &distancePercentBackward) const</td></tr> <tr class="memdesc:af210c9a7d2579862b9dbb9fff89def0a"><td class="mdescLeft"> </td><td class="mdescRight">Calculate geometry parameters. <br /></td></tr> <tr class="separator:af210c9a7d2579862b9dbb9fff89def0a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_classGeometryStrategyAbstractBase"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classGeometryStrategyAbstractBase')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classGeometryStrategyAbstractBase.html">GeometryStrategyAbstractBase</a></td></tr> <tr class="memitem:ac56c910894be58c0824902130024853f inherit pub_methods_classGeometryStrategyAbstractBase"><td class="memItemLeft" align="right" valign="top"><a id="ac56c910894be58c0824902130024853f"></a>  </td><td class="memItemRight" valign="bottom"><a class="el" href="classGeometryStrategyAbstractBase.html#ac56c910894be58c0824902130024853f">GeometryStrategyAbstractBase</a> ()</td></tr> <tr class="memdesc:ac56c910894be58c0824902130024853f inherit pub_methods_classGeometryStrategyAbstractBase"><td class="mdescLeft"> </td><td class="mdescRight">Single constructor. <br /></td></tr> <tr class="separator:ac56c910894be58c0824902130024853f inherit pub_methods_classGeometryStrategyAbstractBase"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a> Additional Inherited Members</h2></td></tr> <tr class="inherit_header pro_methods_classGeometryStrategyAbstractBase"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classGeometryStrategyAbstractBase')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classGeometryStrategyAbstractBase.html">GeometryStrategyAbstractBase</a></td></tr> <tr class="memitem:a9033de2fd2f8088aa7d9688d17e503c8 inherit pro_methods_classGeometryStrategyAbstractBase"><td class="memItemLeft" align="right" valign="top"><a id="a9033de2fd2f8088aa7d9688d17e503c8"></a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGeometryStrategyAbstractBase.html#a9033de2fd2f8088aa7d9688d17e503c8">calculatePositionsGraph</a> (const Points &points, const <a class="el" href="classTransformation.html">Transformation</a> &transformation, QVector< QPointF > &positionsGraph) const</td></tr> <tr class="memdesc:a9033de2fd2f8088aa7d9688d17e503c8 inherit pro_methods_classGeometryStrategyAbstractBase"><td class="mdescLeft"> </td><td class="mdescRight">Convert screen positions to graph positions. <br /></td></tr> <tr class="separator:a9033de2fd2f8088aa7d9688d17e503c8 inherit pro_methods_classGeometryStrategyAbstractBase"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aac895dd50cdf1d8efe7543af53b63344 inherit pro_methods_classGeometryStrategyAbstractBase"><td class="memItemLeft" align="right" valign="top"><a id="aac895dd50cdf1d8efe7543af53b63344"></a> double </td><td class="memItemRight" valign="bottom"><a class="el" href="classGeometryStrategyAbstractBase.html#aac895dd50cdf1d8efe7543af53b63344">functionArea</a> (const QVector< QPointF > &positionsGraph) const</td></tr> <tr class="memdesc:aac895dd50cdf1d8efe7543af53b63344 inherit pro_methods_classGeometryStrategyAbstractBase"><td class="mdescLeft"> </td><td class="mdescRight">Use trapezoidal approximation to compute area under the function. Does not apply to relation. <br /></td></tr> <tr class="separator:aac895dd50cdf1d8efe7543af53b63344 inherit pro_methods_classGeometryStrategyAbstractBase"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8d5881a2e283b66a5815edfabc08b7b7 inherit pro_methods_classGeometryStrategyAbstractBase"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGeometryStrategyAbstractBase.html#a8d5881a2e283b66a5815edfabc08b7b7">insertSubintervalsAndLoadDistances</a> (int subintervalsPerInterval, const QVector< QPointF > &positionsGraph, QVector< QPointF > &positionsGraphWithSubintervals, QVector< QString > &distanceGraphForward, QVector< QString > &distancePercentForward, QVector< QString > &distanceGraphBackward, QVector< QString > &distancePercentBackward) const</td></tr> <tr class="memdesc:a8d5881a2e283b66a5815edfabc08b7b7 inherit pro_methods_classGeometryStrategyAbstractBase"><td class="mdescLeft"> </td><td class="mdescRight">Insert the specified number of subintervals into each interval. <a href="classGeometryStrategyAbstractBase.html#a8d5881a2e283b66a5815edfabc08b7b7">More...</a><br /></td></tr> <tr class="separator:a8d5881a2e283b66a5815edfabc08b7b7 inherit pro_methods_classGeometryStrategyAbstractBase"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8b0284b4f993969a1c947579622d8638 inherit pro_methods_classGeometryStrategyAbstractBase"><td class="memItemLeft" align="right" valign="top"><a id="a8b0284b4f993969a1c947579622d8638"></a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGeometryStrategyAbstractBase.html#a8b0284b4f993969a1c947579622d8638">loadXY</a> (const QVector< QPointF > &positionsGraph, const <a class="el" href="classDocumentModelCoords.html">DocumentModelCoords</a> &modelCoords, const <a class="el" href="classDocumentModelGeneral.html">DocumentModelGeneral</a> &modelGeneral, const <a class="el" href="classMainWindowModel.html">MainWindowModel</a> &modelMainWindow, const <a class="el" href="classTransformation.html">Transformation</a> &transformation, QVector< QString > &x, QVector< QString > &y) const</td></tr> <tr class="memdesc:a8b0284b4f993969a1c947579622d8638 inherit pro_methods_classGeometryStrategyAbstractBase"><td class="mdescLeft"> </td><td class="mdescRight">Load x and y coordinate vectors. <br /></td></tr> <tr class="separator:a8b0284b4f993969a1c947579622d8638 inherit pro_methods_classGeometryStrategyAbstractBase"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5e68adc0efcc5b27550763f00d62f1e1 inherit pro_methods_classGeometryStrategyAbstractBase"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classGeometryStrategyAbstractBase.html#a5e68adc0efcc5b27550763f00d62f1e1">polygonAreaForSimplyConnected</a> (const QVector< QPointF > &points) const</td></tr> <tr class="memdesc:a5e68adc0efcc5b27550763f00d62f1e1 inherit pro_methods_classGeometryStrategyAbstractBase"><td class="mdescLeft"> </td><td class="mdescRight">Area in polygon using Shoelace formula, which only works if polygon is simply connected. <a href="classGeometryStrategyAbstractBase.html#a5e68adc0efcc5b27550763f00d62f1e1">More...</a><br /></td></tr> <tr class="separator:a5e68adc0efcc5b27550763f00d62f1e1 inherit pro_methods_classGeometryStrategyAbstractBase"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>Calculate for line through the points that is smoothly connected as a relation. </p> <p>Definition at line <a class="el" href="GeometryStrategyRelationSmooth_8h_source.html#l00016">16</a> of file <a class="el" href="GeometryStrategyRelationSmooth_8h_source.html">GeometryStrategyRelationSmooth.h</a>.</p> </div><hr/>The documentation for this class was generated from the following files:<ul> <li>Geometry/<a class="el" href="GeometryStrategyRelationSmooth_8h_source.html">GeometryStrategyRelationSmooth.h</a></li> <li>Geometry/<a class="el" href="GeometryStrategyRelationSmooth_8cpp_source.html">GeometryStrategyRelationSmooth.cpp</a></li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Sun Dec 25 2016 20:54:36 for Engauge Digitizer by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.12 </small></address> </body> </html>