diff options
Diffstat (limited to 'Doc/doxygen/html/_random_8h.html')
-rw-r--r-- | Doc/doxygen/html/_random_8h.html | 325 |
1 files changed, 325 insertions, 0 deletions
diff --git a/Doc/doxygen/html/_random_8h.html b/Doc/doxygen/html/_random_8h.html new file mode 100644 index 0000000..bcca6c2 --- /dev/null +++ b/Doc/doxygen/html/_random_8h.html @@ -0,0 +1,325 @@ +<!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"/> +<title>Starshatter_Open: D:/SRC/StarshatterSVN/nGenEx/Random.h File 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="navtree.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="resize.js"></script> +<script type="text/javascript" src="navtree.js"></script> +<script type="text/javascript"> + $(document).ready(initResizable); +</script> +<link href="search/search.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="search/search.js"></script> +<script type="text/javascript"> + $(document).ready(function() { searchBox.OnSelectItem(0); }); +</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 style="padding-left: 0.5em;"> + <div id="projectname">Starshatter_Open + </div> + <div id="projectbrief">Open source Starshatter engine</div> + </td> + </tr> + </tbody> +</table> +</div> +<!-- end header part --> +<!-- Generated by Doxygen 1.8.1 --> +<script type="text/javascript"> +var searchBox = new SearchBox("searchBox", "search",false,'Search'); +</script> + <div id="navrow1" class="tabs"> + <ul class="tablist"> + <li><a href="index.html"><span>Main Page</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li class="current"><a href="files.html"><span>Files</span></a></li> + <li> + <div id="MSearchBox" class="MSearchBoxInactive"> + <span class="left"> + <img id="MSearchSelect" src="search/mag_sel.png" + onmouseover="return searchBox.OnSearchSelectShow()" + onmouseout="return searchBox.OnSearchSelectHide()" + alt=""/> + <input type="text" id="MSearchField" value="Search" accesskey="S" + onfocus="searchBox.OnSearchFieldFocus(true)" + onblur="searchBox.OnSearchFieldFocus(false)" + onkeyup="searchBox.OnSearchFieldChange(event)"/> + </span><span class="right"> + <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> + </span> + </div> + </li> + </ul> + </div> + <div id="navrow2" class="tabs2"> + <ul class="tablist"> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul> + </div> +</div><!-- top --> +<div id="side-nav" class="ui-resizable side-nav-resizable"> + <div id="nav-tree"> + <div id="nav-tree-contents"> + </div> + </div> + <div id="splitbar" style="-moz-user-select:none;" + class="ui-resizable-handle"> + </div> +</div> +<script type="text/javascript"> +$(document).ready(function(){initNavTree('_random_8h.html','');}); +</script> +<div id="doc-content"> +<!-- window showing the filter options --> +<div id="MSearchSelectWindow" + onmouseover="return searchBox.OnSearchSelectShow()" + onmouseout="return searchBox.OnSearchSelectHide()" + onkeydown="return searchBox.OnSearchSelectKey(event)"> +<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Macros</a></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 class="header"> + <div class="summary"> +<a href="#func-members">Functions</a> </div> + <div class="headertitle"> +<div class="title">Random.h File Reference</div> </div> +</div><!--header--> +<div class="contents"> +<div class="textblock"><code>#include "<a class="el" href="_types_8h_source.html">Types.h</a>"</code><br/> +<code>#include "<a class="el" href="_geometry_8h_source.html">Geometry.h</a>"</code><br/> +</div> +<p><a href="_random_8h_source.html">Go to the source code of this file.</a></p> +<table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2><a name="func-members"></a> +Functions</h2></td></tr> +<tr class="memitem:aa4c101f3cf6614b5922770a6f5ca7209"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="_random_8h.html#aa4c101f3cf6614b5922770a6f5ca7209">RandomInit</a> ()</td></tr> +<tr class="memitem:ae94fc6ef5633f5315e24a5742ae2316b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_point.html">Point</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="_random_8h.html#ae94fc6ef5633f5315e24a5742ae2316b">RandomDirection</a> ()</td></tr> +<tr class="memitem:ad3fea02a183a248ec65d5a69e9dd737b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_point.html">Point</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="_random_8h.html#ad3fea02a183a248ec65d5a69e9dd737b">RandomPoint</a> ()</td></tr> +<tr class="memitem:aeb4ebff61da6d09ff9f1db02369e427f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_vec3.html">Vec3</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="_random_8h.html#aeb4ebff61da6d09ff9f1db02369e427f">RandomVector</a> (double radius)</td></tr> +<tr class="memitem:a54198aadc1f3ab10c2d9e0019d3245b6"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="_random_8h.html#a54198aadc1f3ab10c2d9e0019d3245b6">Random</a> (double min=0, double max=1)</td></tr> +<tr class="memitem:a12eb35acc9edaa81daf37984ca80e9ab"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="_random_8h.html#a12eb35acc9edaa81daf37984ca80e9ab">RandomIndex</a> ()</td></tr> +<tr class="memitem:a7643519294102d507b9d149441f4e9f9"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="_random_8h.html#a7643519294102d507b9d149441f4e9f9">RandomChance</a> (int wins=1, int tries=2)</td></tr> +<tr class="memitem:ad20d9db8600808c03d87836e8310173d"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="_random_8h.html#ad20d9db8600808c03d87836e8310173d">RandomSequence</a> (int current, int range)</td></tr> +<tr class="memitem:aaff279306352912d5d1656c507922a04"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="_random_8h.html#aaff279306352912d5d1656c507922a04">RandomShuffle</a> (int count)</td></tr> +</table> +<hr/><h2>Function Documentation</h2> +<a class="anchor" id="a54198aadc1f3ab10c2d9e0019d3245b6"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">double Random </td> + <td>(</td> + <td class="paramtype">double </td> + <td class="paramname"><em>min</em> = <code>0</code>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">double </td> + <td class="paramname"><em>max</em> = <code>1</code> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="_random_8cpp_source.html#l00061">61</a> of file <a class="el" href="_random_8cpp_source.html">Random.cpp</a>.</p> + +</div> +</div> +<a class="anchor" id="a7643519294102d507b9d149441f4e9f9"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">bool RandomChance </td> + <td>(</td> + <td class="paramtype">int </td> + <td class="paramname"><em>wins</em> = <code>1</code>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">int </td> + <td class="paramname"><em>tries</em> = <code>2</code> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="_random_8cpp_source.html#l00084">84</a> of file <a class="el" href="_random_8cpp_source.html">Random.cpp</a>.</p> + +</div> +</div> +<a class="anchor" id="ae94fc6ef5633f5315e24a5742ae2316b"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="struct_point.html">Point</a> RandomDirection </td> + <td>(</td> + <td class="paramname"></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="_random_8cpp_source.html#l00027">27</a> of file <a class="el" href="_random_8cpp_source.html">Random.cpp</a>.</p> + +</div> +</div> +<a class="anchor" id="a12eb35acc9edaa81daf37984ca80e9ab"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">int RandomIndex </td> + <td>(</td> + <td class="paramname"></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="_random_8cpp_source.html#l00071">71</a> of file <a class="el" href="_random_8cpp_source.html">Random.cpp</a>.</p> + +</div> +</div> +<a class="anchor" id="aa4c101f3cf6614b5922770a6f5ca7209"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void RandomInit </td> + <td>(</td> + <td class="paramname"></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="_random_8cpp_source.html#l00020">20</a> of file <a class="el" href="_random_8cpp_source.html">Random.cpp</a>.</p> + +</div> +</div> +<a class="anchor" id="ad3fea02a183a248ec65d5a69e9dd737b"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="struct_point.html">Point</a> RandomPoint </td> + <td>(</td> + <td class="paramname"></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="_random_8cpp_source.html#l00036">36</a> of file <a class="el" href="_random_8cpp_source.html">Random.cpp</a>.</p> + +</div> +</div> +<a class="anchor" id="ad20d9db8600808c03d87836e8310173d"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">int RandomSequence </td> + <td>(</td> + <td class="paramtype">int </td> + <td class="paramname"><em>current</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">int </td> + <td class="paramname"><em>range</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="_random_8cpp_source.html#l00094">94</a> of file <a class="el" href="_random_8cpp_source.html">Random.cpp</a>.</p> + +</div> +</div> +<a class="anchor" id="aaff279306352912d5d1656c507922a04"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">int RandomShuffle </td> + <td>(</td> + <td class="paramtype">int </td> + <td class="paramname"><em>count</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="_random_8cpp_source.html#l00106">106</a> of file <a class="el" href="_random_8cpp_source.html">Random.cpp</a>.</p> + +</div> +</div> +<a class="anchor" id="aeb4ebff61da6d09ff9f1db02369e427f"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="struct_vec3.html">Vec3</a> RandomVector </td> + <td>(</td> + <td class="paramtype">double </td> + <td class="paramname"><em>radius</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="_random_8cpp_source.html#l00046">46</a> of file <a class="el" href="_random_8cpp_source.html">Random.cpp</a>.</p> + +</div> +</div> +</div><!-- contents --> +</div><!-- doc-content --> +<!-- start footer part --> +<div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> + <ul> + <li class="navelem"><a class="el" href="dir_d6625d0f3efd9eb70ff961583505095b.html">nGenEx</a></li><li class="navelem"><a class="el" href="_random_8h.html">Random.h</a></li> + <li class="footer">Generated on Tue Jun 5 2012 20:47:22 for Starshatter_Open by + <a href="http://www.doxygen.org/index.html"> + <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.1 </li> + </ul> +</div> +</body> +</html> |