Sha256: 05d29eabf778922aa3365982b89631e5a54f4daa34ce0981a61e0f0bfad37dfd
Contents?: true
Size: 1.65 KB
Versions: 1
Compression:
Stored size: 1.65 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>approximately_equals? (Eymiha::Point3)</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/eymiha/math3/point3.rb, line 67</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">approximately_equals?</span>(<span class="ruby-identifier">point3</span>,<span class="ruby-identifier">epsilon</span>=<span class="ruby-constant">Numeric</span>.<span class="ruby-identifier">epsilon</span>) <span class="ruby-ivar">@x</span>.<span class="ruby-identifier">approximately_equals?</span>(<span class="ruby-identifier">point3</span>.<span class="ruby-identifier">x</span>,<span class="ruby-identifier">epsilon</span>)<span class="ruby-operator">&&</span> <span class="ruby-ivar">@y</span>.<span class="ruby-identifier">approximately_equals?</span>(<span class="ruby-identifier">point3</span>.<span class="ruby-identifier">y</span>,<span class="ruby-identifier">epsilon</span>)<span class="ruby-operator">&&</span> <span class="ruby-ivar">@z</span>.<span class="ruby-identifier">approximately_equals?</span>(<span class="ruby-identifier">point3</span>.<span class="ruby-identifier">z</span>,<span class="ruby-identifier">epsilon</span>) <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
eymiha_math3-1.0.0 | html/classes/Eymiha/Point3.src/M000069.html |