geos_390_docs/classgeos_1_1geom_1_1util_1...

324 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::geom::util::SineStarFactory 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
&#160;<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&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;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&#160;List</span></a></li>
<li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#160;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_1geom.html">geom</a></li><li class="navelem"><a class="el" href="namespacegeos_1_1geom_1_1util.html">util</a></li><li class="navelem"><a class="el" href="classgeos_1_1geom_1_1util_1_1SineStarFactory.html">SineStarFactory</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="classgeos_1_1geom_1_1util_1_1SineStarFactory-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">geos::geom::util::SineStarFactory Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include &lt;<a class="el" href="SineStarFactory_8h_source.html">SineStarFactory.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for geos::geom::util::SineStarFactory:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="classgeos_1_1geom_1_1util_1_1SineStarFactory__inherit__graph.svg" width="206" height="147"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for geos::geom::util::SineStarFactory:</div>
<div class="dyncontent">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="classgeos_1_1geom_1_1util_1_1SineStarFactory__coll__graph.svg" width="100%" height="458"><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:a87cc2dc34958a1bef1232eb369b2b5c7"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1util_1_1SineStarFactory.html#a87cc2dc34958a1bef1232eb369b2b5c7">SineStarFactory</a> (const <a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html">geom::GeometryFactory</a> *fact)</td></tr>
<tr class="separator:a87cc2dc34958a1bef1232eb369b2b5c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e78ec543dfb28a47e13a40bee851b22"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1util_1_1SineStarFactory.html#a6e78ec543dfb28a47e13a40bee851b22">setNumArms</a> (int nArms)</td></tr>
<tr class="separator:a6e78ec543dfb28a47e13a40bee851b22"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04b28189bdeccd834e1deec8c3873211"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1util_1_1SineStarFactory.html#a04b28189bdeccd834e1deec8c3873211">setArmLengthRatio</a> (double armLenRatio)</td></tr>
<tr class="separator:a04b28189bdeccd834e1deec8c3873211"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad8fd4a33214bac9185a2917160ff1280"><td class="memItemLeft" align="right" valign="top">std::unique_ptr&lt; <a class="el" href="classgeos_1_1geom_1_1Polygon.html">Polygon</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1util_1_1SineStarFactory.html#ad8fd4a33214bac9185a2917160ff1280">createSineStar</a> () const </td></tr>
<tr class="separator:ad8fd4a33214bac9185a2917160ff1280"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classgeos_1_1util_1_1GeometricShapeFactory"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classgeos_1_1util_1_1GeometricShapeFactory')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classgeos_1_1util_1_1GeometricShapeFactory.html">geos::util::GeometricShapeFactory</a></td></tr>
<tr class="memitem:a9fac9a737c8cd2e09af385bb888ce342 inherit pub_methods_classgeos_1_1util_1_1GeometricShapeFactory"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1util_1_1GeometricShapeFactory.html#a9fac9a737c8cd2e09af385bb888ce342">GeometricShapeFactory</a> (const <a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html">geom::GeometryFactory</a> *factory)</td></tr>
<tr class="memdesc:a9fac9a737c8cd2e09af385bb888ce342 inherit pub_methods_classgeos_1_1util_1_1GeometricShapeFactory"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a shape factory which will create shapes using the given GeometryFactory. <a href="#a9fac9a737c8cd2e09af385bb888ce342">More...</a><br /></td></tr>
<tr class="separator:a9fac9a737c8cd2e09af385bb888ce342 inherit pub_methods_classgeos_1_1util_1_1GeometricShapeFactory"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b868f88a279879b7a25c223c9bc9e6f inherit pub_methods_classgeos_1_1util_1_1GeometricShapeFactory"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1util_1_1GeometricShapeFactory.html#a5b868f88a279879b7a25c223c9bc9e6f">~GeometricShapeFactory</a> ()</td></tr>
<tr class="separator:a5b868f88a279879b7a25c223c9bc9e6f inherit pub_methods_classgeos_1_1util_1_1GeometricShapeFactory"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f8ae61f0a766f50503310cd7ea794ae inherit pub_methods_classgeos_1_1util_1_1GeometricShapeFactory"><td class="memItemLeft" align="right" valign="top">std::unique_ptr&lt; <a class="el" href="classgeos_1_1geom_1_1LineString.html">geom::LineString</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1util_1_1GeometricShapeFactory.html#a4f8ae61f0a766f50503310cd7ea794ae">createArc</a> (double startAng, double angExtent)</td></tr>
<tr class="memdesc:a4f8ae61f0a766f50503310cd7ea794ae inherit pub_methods_classgeos_1_1util_1_1GeometricShapeFactory"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates an elliptical arc, as a LineString. <a href="#a4f8ae61f0a766f50503310cd7ea794ae">More...</a><br /></td></tr>
<tr class="separator:a4f8ae61f0a766f50503310cd7ea794ae inherit pub_methods_classgeos_1_1util_1_1GeometricShapeFactory"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee4c9bf89a0f9ffefeb723db624f585a inherit pub_methods_classgeos_1_1util_1_1GeometricShapeFactory"><td class="memItemLeft" align="right" valign="top">std::unique_ptr&lt; <a class="el" href="classgeos_1_1geom_1_1Polygon.html">geom::Polygon</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1util_1_1GeometricShapeFactory.html#aee4c9bf89a0f9ffefeb723db624f585a">createArcPolygon</a> (double startAng, double angExt)</td></tr>
<tr class="memdesc:aee4c9bf89a0f9ffefeb723db624f585a inherit pub_methods_classgeos_1_1util_1_1GeometricShapeFactory"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates an elliptical arc polygon. <a href="#aee4c9bf89a0f9ffefeb723db624f585a">More...</a><br /></td></tr>
<tr class="separator:aee4c9bf89a0f9ffefeb723db624f585a inherit pub_methods_classgeos_1_1util_1_1GeometricShapeFactory"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a894de31209dc860ed02e33c3ba95d73b inherit pub_methods_classgeos_1_1util_1_1GeometricShapeFactory"><td class="memItemLeft" align="right" valign="top">std::unique_ptr&lt; <a class="el" href="classgeos_1_1geom_1_1Polygon.html">geom::Polygon</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1util_1_1GeometricShapeFactory.html#a894de31209dc860ed02e33c3ba95d73b">createCircle</a> ()</td></tr>
<tr class="memdesc:a894de31209dc860ed02e33c3ba95d73b inherit pub_methods_classgeos_1_1util_1_1GeometricShapeFactory"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a circular Polygon. <a href="#a894de31209dc860ed02e33c3ba95d73b">More...</a><br /></td></tr>
<tr class="separator:a894de31209dc860ed02e33c3ba95d73b inherit pub_methods_classgeos_1_1util_1_1GeometricShapeFactory"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2bb7e3f1bd8566681229f42105d591a0 inherit pub_methods_classgeos_1_1util_1_1GeometricShapeFactory"><td class="memItemLeft" align="right" valign="top">std::unique_ptr&lt; <a class="el" href="classgeos_1_1geom_1_1Polygon.html">geom::Polygon</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1util_1_1GeometricShapeFactory.html#a2bb7e3f1bd8566681229f42105d591a0">createRectangle</a> ()</td></tr>
<tr class="memdesc:a2bb7e3f1bd8566681229f42105d591a0 inherit pub_methods_classgeos_1_1util_1_1GeometricShapeFactory"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a rectangular Polygon. <a href="#a2bb7e3f1bd8566681229f42105d591a0">More...</a><br /></td></tr>
<tr class="separator:a2bb7e3f1bd8566681229f42105d591a0 inherit pub_methods_classgeos_1_1util_1_1GeometricShapeFactory"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad95a032c50aec9b69745fa7c43fa159 inherit pub_methods_classgeos_1_1util_1_1GeometricShapeFactory"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1util_1_1GeometricShapeFactory.html#aad95a032c50aec9b69745fa7c43fa159">setBase</a> (const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &amp;base)</td></tr>
<tr class="memdesc:aad95a032c50aec9b69745fa7c43fa159 inherit pub_methods_classgeos_1_1util_1_1GeometricShapeFactory"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the location of the shape by specifying the base coordinate (which in most cases is the * lower left point of the envelope containing the shape). <a href="#aad95a032c50aec9b69745fa7c43fa159">More...</a><br /></td></tr>
<tr class="separator:aad95a032c50aec9b69745fa7c43fa159 inherit pub_methods_classgeos_1_1util_1_1GeometricShapeFactory"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad929f4e8e67abb2eec93e74b75e28b4f inherit pub_methods_classgeos_1_1util_1_1GeometricShapeFactory"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1util_1_1GeometricShapeFactory.html#ad929f4e8e67abb2eec93e74b75e28b4f">setCentre</a> (const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &amp;centre)</td></tr>
<tr class="memdesc:ad929f4e8e67abb2eec93e74b75e28b4f inherit pub_methods_classgeos_1_1util_1_1GeometricShapeFactory"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the location of the shape by specifying the centre of the shape's bounding box. <a href="#ad929f4e8e67abb2eec93e74b75e28b4f">More...</a><br /></td></tr>
<tr class="separator:ad929f4e8e67abb2eec93e74b75e28b4f inherit pub_methods_classgeos_1_1util_1_1GeometricShapeFactory"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6dc74ac42aa17c255f0bc16ab1c2c2bf inherit pub_methods_classgeos_1_1util_1_1GeometricShapeFactory"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1util_1_1GeometricShapeFactory.html#a6dc74ac42aa17c255f0bc16ab1c2c2bf">setHeight</a> (double height)</td></tr>
<tr class="memdesc:a6dc74ac42aa17c255f0bc16ab1c2c2bf inherit pub_methods_classgeos_1_1util_1_1GeometricShapeFactory"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the height of the shape. <a href="#a6dc74ac42aa17c255f0bc16ab1c2c2bf">More...</a><br /></td></tr>
<tr class="separator:a6dc74ac42aa17c255f0bc16ab1c2c2bf inherit pub_methods_classgeos_1_1util_1_1GeometricShapeFactory"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9862516679db382aafeba7c6a5b3f29b inherit pub_methods_classgeos_1_1util_1_1GeometricShapeFactory"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1util_1_1GeometricShapeFactory.html#a9862516679db382aafeba7c6a5b3f29b">setNumPoints</a> (uint32_t nNPts)</td></tr>
<tr class="memdesc:a9862516679db382aafeba7c6a5b3f29b inherit pub_methods_classgeos_1_1util_1_1GeometricShapeFactory"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the total number of points in the created Geometry. <a href="#a9862516679db382aafeba7c6a5b3f29b">More...</a><br /></td></tr>
<tr class="separator:a9862516679db382aafeba7c6a5b3f29b inherit pub_methods_classgeos_1_1util_1_1GeometricShapeFactory"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe0bace531c1bc91cc0a1258a3792065 inherit pub_methods_classgeos_1_1util_1_1GeometricShapeFactory"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1util_1_1GeometricShapeFactory.html#afe0bace531c1bc91cc0a1258a3792065">setSize</a> (double size)</td></tr>
<tr class="memdesc:afe0bace531c1bc91cc0a1258a3792065 inherit pub_methods_classgeos_1_1util_1_1GeometricShapeFactory"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the size of the extent of the shape in both x and y directions. <a href="#afe0bace531c1bc91cc0a1258a3792065">More...</a><br /></td></tr>
<tr class="separator:afe0bace531c1bc91cc0a1258a3792065 inherit pub_methods_classgeos_1_1util_1_1GeometricShapeFactory"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac4db7b39da6729f69694d449eb076aac inherit pub_methods_classgeos_1_1util_1_1GeometricShapeFactory"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1util_1_1GeometricShapeFactory.html#ac4db7b39da6729f69694d449eb076aac">setWidth</a> (double width)</td></tr>
<tr class="memdesc:ac4db7b39da6729f69694d449eb076aac inherit pub_methods_classgeos_1_1util_1_1GeometricShapeFactory"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the width of the shape. <a href="#ac4db7b39da6729f69694d449eb076aac">More...</a><br /></td></tr>
<tr class="separator:ac4db7b39da6729f69694d449eb076aac inherit pub_methods_classgeos_1_1util_1_1GeometricShapeFactory"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a6e0432c005ac9f4dbaa2b6992fb4b2bf"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1util_1_1SineStarFactory.html#a6e0432c005ac9f4dbaa2b6992fb4b2bf">numArms</a></td></tr>
<tr class="separator:a6e0432c005ac9f4dbaa2b6992fb4b2bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7836452760fe45c098bd9d3efbc61002"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1util_1_1SineStarFactory.html#a7836452760fe45c098bd9d3efbc61002">armLengthRatio</a></td></tr>
<tr class="separator:a7836452760fe45c098bd9d3efbc61002"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_classgeos_1_1util_1_1GeometricShapeFactory"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classgeos_1_1util_1_1GeometricShapeFactory')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classgeos_1_1util_1_1GeometricShapeFactory.html">geos::util::GeometricShapeFactory</a></td></tr>
<tr class="memitem:a1529aff383507036beee05a77f865571 inherit pro_attribs_classgeos_1_1util_1_1GeometricShapeFactory"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html">geom::GeometryFactory</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1util_1_1GeometricShapeFactory.html#a1529aff383507036beee05a77f865571">geomFact</a></td></tr>
<tr class="separator:a1529aff383507036beee05a77f865571 inherit pro_attribs_classgeos_1_1util_1_1GeometricShapeFactory"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a139cd7f3f5bb64026f5ecc82da8eef22 inherit pro_attribs_classgeos_1_1util_1_1GeometricShapeFactory"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classgeos_1_1geom_1_1PrecisionModel.html">geom::PrecisionModel</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1util_1_1GeometricShapeFactory.html#a139cd7f3f5bb64026f5ecc82da8eef22">precModel</a></td></tr>
<tr class="separator:a139cd7f3f5bb64026f5ecc82da8eef22 inherit pro_attribs_classgeos_1_1util_1_1GeometricShapeFactory"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a96c913c99343c6a9c3ae33ecc8471d1c inherit pro_attribs_classgeos_1_1util_1_1GeometricShapeFactory"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgeos_1_1util_1_1GeometricShapeFactory_1_1Dimensions.html">Dimensions</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1util_1_1GeometricShapeFactory.html#a96c913c99343c6a9c3ae33ecc8471d1c">dim</a></td></tr>
<tr class="separator:a96c913c99343c6a9c3ae33ecc8471d1c inherit pro_attribs_classgeos_1_1util_1_1GeometricShapeFactory"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2edc51830aeefb4c639057ba85c31f3b inherit pro_attribs_classgeos_1_1util_1_1GeometricShapeFactory"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1util_1_1GeometricShapeFactory.html#a2edc51830aeefb4c639057ba85c31f3b">nPts</a></td></tr>
<tr class="separator:a2edc51830aeefb4c639057ba85c31f3b inherit pro_attribs_classgeos_1_1util_1_1GeometricShapeFactory"><td class="memSeparator" colspan="2">&#160;</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_classgeos_1_1util_1_1GeometricShapeFactory"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classgeos_1_1util_1_1GeometricShapeFactory')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classgeos_1_1util_1_1GeometricShapeFactory.html">geos::util::GeometricShapeFactory</a></td></tr>
<tr class="memitem:ac3c44f75328ca459d8827169f06042f8 inherit pro_methods_classgeos_1_1util_1_1GeometricShapeFactory"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1util_1_1GeometricShapeFactory.html#ac3c44f75328ca459d8827169f06042f8">coord</a> (double x, double y) const </td></tr>
<tr class="separator:ac3c44f75328ca459d8827169f06042f8 inherit pro_methods_classgeos_1_1util_1_1GeometricShapeFactory"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Creates geometries which are shaped like multi-armed stars with each arm shaped like a sine wave. These kinds of geometries are useful as a more complex geometry for testing algorithms.</p>
<dl class="section author"><dt>Author</dt><dd>Martin Davis </dd></dl>
<p>Definition at line <a class="el" href="SineStarFactory_8h_source.html#l00058">58</a> of file <a class="el" href="SineStarFactory_8h_source.html">SineStarFactory.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a87cc2dc34958a1bef1232eb369b2b5c7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">geos::geom::util::SineStarFactory::SineStarFactory </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html">geom::GeometryFactory</a> *&#160;</td>
<td class="paramname"><em>fact</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a factory which will create sine stars using the given <a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html">GeometryFactory</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">fact</td><td>the factory to use. You need to keep the factory alive for the whole <a class="el" href="classgeos_1_1geom_1_1util_1_1SineStarFactory.html">SineStarFactory</a> life time. </td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="SineStarFactory_8h_source.html#l00075">75</a> of file <a class="el" href="SineStarFactory_8h_source.html">SineStarFactory.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="ad8fd4a33214bac9185a2917160ff1280"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::unique_ptr&lt;<a class="el" href="classgeos_1_1geom_1_1Polygon.html">Polygon</a>&gt; geos::geom::util::SineStarFactory::createSineStar </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Generates the geometry for the sine star</p>
<dl class="section return"><dt>Returns</dt><dd>the geometry representing the sine star </dd></dl>
</div>
</div>
<a class="anchor" id="a04b28189bdeccd834e1deec8c3873211"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void geos::geom::util::SineStarFactory::setArmLengthRatio </td>
<td>(</td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>armLenRatio</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the ration of the length of each arm to the distance from the tip of the arm to the centre of the star. Value should be between 0.0 and 1.0</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">armLenRatio</td><td></td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="SineStarFactory_8h_source.html#l00101">101</a> of file <a class="el" href="SineStarFactory_8h_source.html">SineStarFactory.h</a>.</p>
</div>
</div>
<a class="anchor" id="a6e78ec543dfb28a47e13a40bee851b22"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void geos::geom::util::SineStarFactory::setNumArms </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>nArms</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the number of arms in the star</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">nArms</td><td>the number of arms to generate </td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="SineStarFactory_8h_source.html#l00088">88</a> of file <a class="el" href="SineStarFactory_8h_source.html">SineStarFactory.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a7836452760fe45c098bd9d3efbc61002"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">double geos::geom::util::SineStarFactory::armLengthRatio</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="SineStarFactory_8h_source.html#l00063">63</a> of file <a class="el" href="SineStarFactory_8h_source.html">SineStarFactory.h</a>.</p>
</div>
</div>
<a class="anchor" id="a6e0432c005ac9f4dbaa2b6992fb4b2bf"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int geos::geom::util::SineStarFactory::numArms</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="SineStarFactory_8h_source.html#l00062">62</a> of file <a class="el" href="SineStarFactory_8h_source.html">SineStarFactory.h</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="SineStarFactory_8h_source.html">SineStarFactory.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>