Sha256: 6a10fc7730519700802d8a8b42f8c0ac31e7b2fa549305f6c580fad2b7b96197

Contents?: true

Size: 1.43 KB

Versions: 2

Compression:

Stored size: 1.43 KB

Contents

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
  <title>find_reflection_angle (Utility)</title>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
  <pre><span class="ruby-comment cmt"># File lib/zyps.rb, line 363</span>
        <span class="ruby-keyword kw">def</span> <span class="ruby-constant">Utility</span>.<span class="ruby-identifier">find_reflection_angle</span>(<span class="ruby-identifier">normal</span>, <span class="ruby-identifier">angle</span>)
                <span class="ruby-identifier">incidence_angle</span> = <span class="ruby-identifier">normal</span> <span class="ruby-operator">-</span> <span class="ruby-identifier">angle</span>
                <span class="ruby-identifier">reflection_angle</span> = <span class="ruby-identifier">normal</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">incidence_angle</span>
                <span class="ruby-identifier">reflection_angle</span> <span class="ruby-operator">%=</span> <span class="ruby-value">360</span>
                <span class="ruby-identifier">reflection_angle</span>
        <span class="ruby-keyword kw">end</span></pre>
</body>
</html>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
zyps-0.3.1 doc/classes/Utility.src/M000036.html
zyps-0.4.1 doc/classes/Utility.src/M000061.html