diff options
Diffstat (limited to 'doc/sims/geometry')
-rw-r--r-- | doc/sims/geometry/ConvexPolygon.html | 215 | ||||
-rw-r--r-- | doc/sims/geometry/Projection$object.html | 82 | ||||
-rw-r--r-- | doc/sims/geometry/Projection.html | 328 | ||||
-rw-r--r-- | doc/sims/geometry/Ray$object.html | 82 | ||||
-rw-r--r-- | doc/sims/geometry/Ray.html | 334 | ||||
-rw-r--r-- | doc/sims/geometry/Segment$object.html | 82 | ||||
-rw-r--r-- | doc/sims/geometry/Segment.html | 441 | ||||
-rw-r--r-- | doc/sims/geometry/Vector2D$object.html | 150 | ||||
-rw-r--r-- | doc/sims/geometry/Vector2D.html | 644 |
9 files changed, 2358 insertions, 0 deletions
diff --git a/doc/sims/geometry/ConvexPolygon.html b/doc/sims/geometry/ConvexPolygon.html new file mode 100644 index 0000000..0545761 --- /dev/null +++ b/doc/sims/geometry/ConvexPolygon.html @@ -0,0 +1,215 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>trait ConvexPolygon in sims.geometry</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/geometry$package.html" target="_self">sims.geometry</a> + <br></br> + <span class="entity">trait ConvexPolygon</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/geometry/ConvexPolygon"><code>sims/geometry/ConvexPolygon.scala</code></a>] + </div><hr></hr> + <a name="ConvexPolygon"></a><dl> + <dt> + + <code></code> + <code>trait</code> + <em>ConvexPolygon</em> + </dt> + <dd><code> extends </code><a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a></dd> + </dl> + <dl><dd>Gemeinsame Eigenschaften aller konvexen Polygone.</dd></dl> + <dl></dl> + <dl> + <dt style="margin:10px 0 0 20px;"><b>Direct Known Subclasses:</b></dt> + <dd><a href="../../sims/dynamics/Rectangle.html" target="_self">Rectangle</a>, <a href="../../sims/dynamics/RegularPolygon.html" target="_self">RegularPolygon</a></dd> + </dl><hr></hr> + + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Method Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/ConvexPolygon.html#AABB" target="_self">AABB</a></em> + : <a href="../../sims/collision/AABB.html" target="_self">AABB</a> + + <div>Errechnet das AABB dieses Polygons</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/ConvexPolygon.html#contains%28sims.geometry.Vector2D%29" target="_self">contains</a></em> + (<em>point</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>Ueberprueft ob sich der gegebene Punkt <code>point</code> in diesem Polygon befindet.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/ConvexPolygon.html#project%28sims.geometry.Vector2D%29" target="_self">project</a></em> + (<em>axis</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="../../sims/geometry/Projection.html" target="_self">Projection</a> + + <div>Ergibt die Projektion dieses Polygons auf eine Gerade gegeben durch den
+ Richtungsvektor <code>axis</code></div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/ConvexPolygon.html#sides" target="_self">sides</a></em> + : <a href="" target="contentFrame" class="scala/Array">scala.Array</a>[<a href="../../sims/geometry/Segment.html" target="_self">Segment</a>] + + <div>Ergibt alle Seiten dieses Polygons.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>abstract def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/ConvexPolygon.html#vertices" target="_self">vertices</a></em> + : <a href="" target="contentFrame" class="scala/Seq">scala.Seq</a>[<a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>] + + <div>Ergibt Position aller Ecken dieses Polygons. Die Ecken sind gegen den Uhrzeigersinn folgend.</div> + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#toString%28%29" target="_self">toString</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="vertices"></a><dl> + <dt> + + <code>abstract</code> + <code>def</code> + <em>vertices</em> : <a href="" target="contentFrame" class="scala/Seq">scala.Seq</a>[<a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>] + </dt> + <dd></dd> + </dl> + <dl><dd>Ergibt Position aller Ecken dieses Polygons. Die Ecken sind gegen den Uhrzeigersinn folgend.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>Ortsvektoren der Ecken</dd></dl> + <hr></hr> +<a name="sides"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>sides</em> : <a href="" target="contentFrame" class="scala/Array">scala.Array</a>[<a href="../../sims/geometry/Segment.html" target="_self">Segment</a>] + </dt> + <dd></dd> + </dl> + <dl><dd>Ergibt alle Seiten dieses Polygons.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>Seiten dieses Polygons</dd></dl> + <hr></hr> +<a name="project%28sims.geometry.Vector2D%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>project</em>(<em>axis</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="../../sims/geometry/Projection.html" target="_self">Projection</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Ergibt die Projektion dieses Polygons auf eine Gerade gegeben durch den
+ Richtungsvektor <code>axis</code></dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>axis - </code>Richtungsvektor der Geraden</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>Projektion dieses Polygons</dd></dl> + <hr></hr> +<a name="AABB"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>AABB</em> : <a href="../../sims/collision/AABB.html" target="_self">AABB</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Errechnet das AABB dieses Polygons</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>umfassendes AABB</dd><dt style="margin:10px 0 0 20px;"> + <b>See Also</b></dt><dd>collision.AABB</dd></dl> + <hr></hr> +<a name="contains%28sims.geometry.Vector2D%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>contains</em>(<em>point</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Ueberprueft ob sich der gegebene Punkt <code>point</code> in diesem Polygon befindet.
+ <p>
+ Hierzu wird eine Halbgerade von dem Punkt in Richtung der X-Achse gezogen (koennte aber auch beliebig sein).
+ Dann wird die Anzahl der Ueberschneidungen der Halbgeraden mit den Seiten und Ecken des Polygons ermittelt.
+ Ist die Anzahl der Ueberschneidungen ungerade, so befindet sich der Punkt in dem Polygon.
+ Es gibt jedoch Ausnahmen, und zwar wenn die Halbgerade eine Ecke ueberschneidet, ueberschneidet sie sowohl auch zwei Seiten.
+ Daher wird eine generelle Anzahl von Uerberschneidungen errechnet, gegeben durch die Anzahl der Ueberschneidungen mit den Seiten minus
+ die mit den Ecken.
+ Diese Zahl wird dann wie oben geschildert geprueft.</dd></dl> + <dl></dl> + <hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/geometry/Projection$object.html b/doc/sims/geometry/Projection$object.html new file mode 100644 index 0000000..4b01917 --- /dev/null +++ b/doc/sims/geometry/Projection$object.html @@ -0,0 +1,82 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object Projection in sims.geometry</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/geometry$package.html" target="_self">sims.geometry</a> + <br></br> + <span class="entity">object Projection</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/geometry/Projection"><code>sims/geometry/Projection.scala</code></a>] + </div><hr></hr> + <a name="Projection"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>Projection</em> + </dt> + <dd><code> extends </code>(<a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) => <a href="../../sims/geometry/Projection.html" target="_self">Projection</a></dd> + </dl> + + + +<table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/Function3">scala.Function3</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#toString" target="contentFrame" class="scala/Function3">scala.Function3.toString</a>, <a href="#curry" target="contentFrame" class="scala/Function3">scala.Function3.curry</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + + + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/geometry/Projection.html b/doc/sims/geometry/Projection.html new file mode 100644 index 0000000..3599777 --- /dev/null +++ b/doc/sims/geometry/Projection.html @@ -0,0 +1,328 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class Projection in sims.geometry</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/geometry$package.html" target="_self">sims.geometry</a> + <br></br> + <span class="entity">class Projection</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/geometry/Projection"><code>sims/geometry/Projection.scala</code></a>] + </div><hr></hr> + <a name="Projection"></a><dl> + <dt> + + <code>case</code> + <code>class</code> + <em>Projection</em>(<code>val </code><em>axis</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <code>val </code><em>lower</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>, <code>val </code><em>upper</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) + </dt> + <dd><code> extends </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a></dd> + </dl> + <dl><dd>Projektion auf eine Achse.
+ <p>
+ Ueblicherweise werden Projektionen in SiMS fuer Kollisionserkennung benutzt.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>axis - </code>Achse der Projektion</dd><dd><code>lower - </code>unterer Wert der Projektion</dd><dd><code>upper - </code>oberer Wert der Projektion</dd></dl> + + + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Method Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Projection.html#equals%28Any%29" target="_self">equals</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Projection.html#hashCode%28%29" target="_self">hashCode</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + <div>Returns a hash code value for the object.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Projection.html#overlap%28sims.geometry.Projection%29" target="_self">overlap</a></em> + (<em>other</em> : <a href="../../sims/geometry/Projection.html" target="_self">Projection</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + + <div>Ergibt die Ueberlappung dieser Projektion und der Projektion <code>other</code>.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Projection.html#overlaps%28sims.geometry.Projection%29" target="_self">overlaps</a></em> + (<em>other</em> : <a href="../../sims/geometry/Projection.html" target="_self">Projection</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>Ueberprueft ob sich diese Projektion mit der Projektion <code>other</code> ueberschneidet.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Projection.html#productArity" target="_self">productArity</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Projection.html#productElement%28Int%29" target="_self">productElement</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Projection.html#productPrefix" target="_self">productPrefix</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Projection.html#toString%28%29" target="_self">toString</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + <div>Returns a string representation of the object.</div> + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="overlaps%28sims.geometry.Projection%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>overlaps</em>(<em>other</em> : <a href="../../sims/geometry/Projection.html" target="_self">Projection</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Ueberprueft ob sich diese Projektion mit der Projektion <code>other</code> ueberschneidet.</dd></dl> + <dl></dl> + <hr></hr> +<a name="overlap%28sims.geometry.Projection%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>overlap</em>(<em>other</em> : <a href="../../sims/geometry/Projection.html" target="_self">Projection</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Ergibt die Ueberlappung dieser Projektion und der Projektion <code>other</code>.</dd></dl> + <dl></dl> + <hr></hr> +<a name="hashCode%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>hashCode</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a hash code value for the object.
+ <p>
+ The default hashing algorithm is platform dependent.
+ Note that it is allowed for two objects to have identical hash
+ codes (<code>o1.hashCode.equals(o2.hashCode)</code>) yet not be
+ equal (<code>o1.equals(o2)</code> returns <code>false</code>). A
+ degenerate implementation could always return <code>0</code>.
+ However, it is required that if two objects are equal
+ (<code>o1.equals(o2)</code> returns <code>true</code>) that they
+ have identical hash codes
+ (<code>o1.hashCode.equals(o2.hashCode)</code>). Therefore, when
+ overriding this method, be sure to verify that the behavior is
+ consistent with the <code>equals</code> method.
+ </p>
+ <p></dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>the hash code value for the object. </p></dd></dl> + <hr></hr> +<a name="toString%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>toString</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a string representation of the object.
+ <p>
+ The default representation is platform dependent.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>a string representation of the object. </p></dd></dl> + <hr></hr> +<a name="equals%28Any%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>equals</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.
+
+ <p>
+ The default implementations of this method is an <a
+ href="http://en.wikipedia.org/wiki/Equivalence_relation">equivalence
+ relation</a>:
+ <ul>
+ <li>It is reflexive: for any instance <code>x</code> of type <code>Any</code>,
+ <code>x.equals(x)</code> should return <code>true</code>.</li>
+ <li>It is symmetric: for any instances <code>x</code> and <code>y</code> of type
+ <code>Any</code>, <code>x.equals(y)</code> should return <code>true</code> if and only
+ if <code>y.equals(x)</code> returns <code>true</code>.</li>
+ <li>It is transitive: for any instances
+ <code>x</code>, <code>y</code>, and <code>z</code> of type <code>AnyRef</code>
+ if <code>x.equals(y)</code> returns <code>true</code> and
+ <code>y.equals(z)</code> returns
+ <code>true</code>, then <code>x.equals(z)</code> should return <code>true</code>.</li>
+ </ul>
+ </p>
+ <p>
+ If you override this method, you should verify that
+ your implementation remains an equivalence relation.
+ Additionally, when overriding this method it is often necessary to
+ override <code>hashCode</code> to ensure that objects that are
+ "equal" (<code>o1.equals(o2)</code> returns <code>true</code>)
+ hash to the same <a href="Int.html"><code>Int</code></a>
+ (<code>o1.hashCode.equals(o2.hashCode)</code>).</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>arg0 - </code>the object to compare against this object for equality.</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise. </p></dd></dl> + <hr></hr> +<a name="productPrefix"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productPrefix</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productPrefix" target="contentFrame" class="scala/Product">scala.Product.productPrefix</a> + </dd> + </dl><hr></hr> +<a name="productArity"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productArity</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productArity" target="contentFrame" class="scala/Product">scala.Product.productArity</a> + </dd> + </dl><hr></hr> +<a name="productElement%28Int%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productElement</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productElement" target="contentFrame" class="scala/Product">scala.Product.productElement</a> + </dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/geometry/Ray$object.html b/doc/sims/geometry/Ray$object.html new file mode 100644 index 0000000..199fc55 --- /dev/null +++ b/doc/sims/geometry/Ray$object.html @@ -0,0 +1,82 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object Ray in sims.geometry</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/geometry$package.html" target="_self">sims.geometry</a> + <br></br> + <span class="entity">object Ray</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/geometry/Ray"><code>sims/geometry/Ray.scala</code></a>] + </div><hr></hr> + <a name="Ray"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>Ray</em> + </dt> + <dd><code> extends </code>(<a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) => <a href="../../sims/geometry/Ray.html" target="_self">Ray</a></dd> + </dl> + + + +<table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/Function2">scala.Function2</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#toString" target="contentFrame" class="scala/Function2">scala.Function2.toString</a>, <a href="#curry" target="contentFrame" class="scala/Function2">scala.Function2.curry</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + + + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/geometry/Ray.html b/doc/sims/geometry/Ray.html new file mode 100644 index 0000000..558153d --- /dev/null +++ b/doc/sims/geometry/Ray.html @@ -0,0 +1,334 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class Ray in sims.geometry</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/geometry$package.html" target="_self">sims.geometry</a> + <br></br> + <span class="entity">class Ray</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/geometry/Ray"><code>sims/geometry/Ray.scala</code></a>] + </div><hr></hr> + <a name="Ray"></a><dl> + <dt> + + <code>case</code> + <code>class</code> + <em>Ray</em>(<code>val </code><em>point</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <code>val </code><em>direction</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) + </dt> + <dd><code> extends </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a></dd> + </dl> + <dl><dd>Eine Halbgerade wird definiert durch:</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>point - </code>ein Aufpunkt</dd><dd><code>direction - </code>ein Richtungsvektor</dd></dl> + + + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Method Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Ray.html#contains%28sims.geometry.Vector2D%29" target="_self">contains</a></em> + (<em>p</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>Ueberprueft ob diese Halbgerade den gegebenen Punkt enthaelt.
+ <br>
+ Hierzu wird der Vektor von dem Ursprungspunkt zu dem zu ueberpruefenden Punkt gebildet. Dieser wird dann mit dem Richtungsvektor
+ auf Kolinearitaet geprueft.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Ray.html#equals%28Any%29" target="_self">equals</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Ray.html#hashCode%28%29" target="_self">hashCode</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + <div>Returns a hash code value for the object.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Ray.html#intersects%28sims.geometry.Segment%29" target="_self">intersects</a></em> + (<em>s</em> : <a href="../../sims/geometry/Segment.html" target="_self">Segment</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>Ueberprueft ob diese Halbgerade das gegebene Segment ueberschneidet.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Ray.html#productArity" target="_self">productArity</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Ray.html#productElement%28Int%29" target="_self">productElement</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Ray.html#productPrefix" target="_self">productPrefix</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Ray.html#toString%28%29" target="_self">toString</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + <div>Returns a string representation of the object.</div> + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="intersects%28sims.geometry.Segment%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>intersects</em>(<em>s</em> : <a href="../../sims/geometry/Segment.html" target="_self">Segment</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Ueberprueft ob diese Halbgerade das gegebene Segment ueberschneidet.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>das - </code>auf Ueberschneidung zu uerberpruefende Segment</dd></dl> + <hr></hr> +<a name="contains%28sims.geometry.Vector2D%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>contains</em>(<em>p</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Ueberprueft ob diese Halbgerade den gegebenen Punkt enthaelt.
+ <br>
+ Hierzu wird der Vektor von dem Ursprungspunkt zu dem zu ueberpruefenden Punkt gebildet. Dieser wird dann mit dem Richtungsvektor
+ auf Kolinearitaet geprueft.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>p - </code>Ortsvektor des oben genannten Punkt</dd></dl> + <hr></hr> +<a name="hashCode%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>hashCode</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a hash code value for the object.
+ <p>
+ The default hashing algorithm is platform dependent.
+ Note that it is allowed for two objects to have identical hash
+ codes (<code>o1.hashCode.equals(o2.hashCode)</code>) yet not be
+ equal (<code>o1.equals(o2)</code> returns <code>false</code>). A
+ degenerate implementation could always return <code>0</code>.
+ However, it is required that if two objects are equal
+ (<code>o1.equals(o2)</code> returns <code>true</code>) that they
+ have identical hash codes
+ (<code>o1.hashCode.equals(o2.hashCode)</code>). Therefore, when
+ overriding this method, be sure to verify that the behavior is
+ consistent with the <code>equals</code> method.
+ </p>
+ <p></dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>the hash code value for the object. </p></dd></dl> + <hr></hr> +<a name="toString%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>toString</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a string representation of the object.
+ <p>
+ The default representation is platform dependent.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>a string representation of the object. </p></dd></dl> + <hr></hr> +<a name="equals%28Any%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>equals</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.
+
+ <p>
+ The default implementations of this method is an <a
+ href="http://en.wikipedia.org/wiki/Equivalence_relation">equivalence
+ relation</a>:
+ <ul>
+ <li>It is reflexive: for any instance <code>x</code> of type <code>Any</code>,
+ <code>x.equals(x)</code> should return <code>true</code>.</li>
+ <li>It is symmetric: for any instances <code>x</code> and <code>y</code> of type
+ <code>Any</code>, <code>x.equals(y)</code> should return <code>true</code> if and only
+ if <code>y.equals(x)</code> returns <code>true</code>.</li>
+ <li>It is transitive: for any instances
+ <code>x</code>, <code>y</code>, and <code>z</code> of type <code>AnyRef</code>
+ if <code>x.equals(y)</code> returns <code>true</code> and
+ <code>y.equals(z)</code> returns
+ <code>true</code>, then <code>x.equals(z)</code> should return <code>true</code>.</li>
+ </ul>
+ </p>
+ <p>
+ If you override this method, you should verify that
+ your implementation remains an equivalence relation.
+ Additionally, when overriding this method it is often necessary to
+ override <code>hashCode</code> to ensure that objects that are
+ "equal" (<code>o1.equals(o2)</code> returns <code>true</code>)
+ hash to the same <a href="Int.html"><code>Int</code></a>
+ (<code>o1.hashCode.equals(o2.hashCode)</code>).</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>arg0 - </code>the object to compare against this object for equality.</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise. </p></dd></dl> + <hr></hr> +<a name="productPrefix"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productPrefix</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productPrefix" target="contentFrame" class="scala/Product">scala.Product.productPrefix</a> + </dd> + </dl><hr></hr> +<a name="productArity"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productArity</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productArity" target="contentFrame" class="scala/Product">scala.Product.productArity</a> + </dd> + </dl><hr></hr> +<a name="productElement%28Int%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productElement</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productElement" target="contentFrame" class="scala/Product">scala.Product.productElement</a> + </dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/geometry/Segment$object.html b/doc/sims/geometry/Segment$object.html new file mode 100644 index 0000000..fae9e31 --- /dev/null +++ b/doc/sims/geometry/Segment$object.html @@ -0,0 +1,82 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object Segment in sims.geometry</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/geometry$package.html" target="_self">sims.geometry</a> + <br></br> + <span class="entity">object Segment</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/geometry/Segment"><code>sims/geometry/Segment.scala</code></a>] + </div><hr></hr> + <a name="Segment"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>Segment</em> + </dt> + <dd><code> extends </code>(<a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) => <a href="../../sims/geometry/Segment.html" target="_self">Segment</a></dd> + </dl> + + + +<table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/Function2">scala.Function2</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#toString" target="contentFrame" class="scala/Function2">scala.Function2.toString</a>, <a href="#curry" target="contentFrame" class="scala/Function2">scala.Function2.curry</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + + + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/geometry/Segment.html b/doc/sims/geometry/Segment.html new file mode 100644 index 0000000..2cc0453 --- /dev/null +++ b/doc/sims/geometry/Segment.html @@ -0,0 +1,441 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class Segment in sims.geometry</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/geometry$package.html" target="_self">sims.geometry</a> + <br></br> + <span class="entity">class Segment</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/geometry/Segment"><code>sims/geometry/Segment.scala</code></a>] + </div><hr></hr> + <a name="Segment"></a><dl> + <dt> + + <code>case</code> + <code>class</code> + <em>Segment</em>(<code>val </code><em>vertex1</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <code>val </code><em>vertex2</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) + </dt> + <dd><code> extends </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a></dd> + </dl> + <dl><dd>Ein Segment wird durch seine beiden Extrempunkte gegeben.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>vertex1 - </code>Ortsvektor des 1. Extrempunkts</dd><dd><code>vertex2 - </code>Ortsvektor des 2. Extrempunkts</dd></dl> + + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Segment.html#d" target="_self">d</a></em> + : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + <div>Vektor von EP1 zu EP2.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Segment.html#d0" target="_self">d0</a></em> + : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + <div>Einheitsrichtungsvektor.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Segment.html#length" target="_self">length</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + + <div>Laenge dieses Segments.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Segment.html#n" target="_self">n</a></em> + : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + <div>Normalenvektor. Richtung: 90 Grad rechts zu d.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Segment.html#n0" target="_self">n0</a></em> + : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + <div>Normaleneinheitsvektor. Richtung: 90 Grad rechts zu d.</div> + </td> + </tr> + </table> +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Method Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Segment.html#clipToSegment%28sims.geometry.Segment%29" target="_self">clipToSegment</a></em> + (<em>s</em> : <a href="../../sims/geometry/Segment.html" target="_self">Segment</a>) : <a href="" target="contentFrame" class="scala/Option">scala.Option</a>[<a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>] + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Segment.html#distance%28sims.geometry.Vector2D%29" target="_self">distance</a></em> + (<em>point</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + + <div>Kleinster Abstand zwischen diesem Segment und dem Punkt <code>p</code>.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Segment.html#equals%28Any%29" target="_self">equals</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Segment.html#hashCode%28%29" target="_self">hashCode</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + <div>Returns a hash code value for the object.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Segment.html#productArity" target="_self">productArity</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Segment.html#productElement%28Int%29" target="_self">productElement</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Segment.html#productPrefix" target="_self">productPrefix</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Segment.html#toString%28%29" target="_self">toString</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + <div>Returns a string representation of the object.</div> + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Value Details</td></tr> + </table><div><a name="length"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>length</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Laenge dieses Segments.</dd></dl> + <dl></dl> + <hr></hr> +<a name="d"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>d</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Vektor von EP1 zu EP2.</dd></dl> + <dl></dl> + <hr></hr> +<a name="d0"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>d0</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Einheitsrichtungsvektor.</dd></dl> + <dl></dl> + <hr></hr> +<a name="n"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>n</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Normalenvektor. Richtung: 90 Grad rechts zu d.</dd></dl> + <dl></dl> + <hr></hr> +<a name="n0"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>n0</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Normaleneinheitsvektor. Richtung: 90 Grad rechts zu d.</dd></dl> + <dl></dl> + <hr></hr></div> +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="distance%28sims.geometry.Vector2D%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>distance</em>(<em>point</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Kleinster Abstand zwischen diesem Segment und dem Punkt <code>p</code>.</dd></dl> + <dl></dl> + <hr></hr> +<a name="clipToSegment%28sims.geometry.Segment%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>clipToSegment</em>(<em>s</em> : <a href="../../sims/geometry/Segment.html" target="_self">Segment</a>) : <a href="" target="contentFrame" class="scala/Option">scala.Option</a>[<a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>] + </dt> + <dd></dd> + </dl><hr></hr> +<a name="hashCode%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>hashCode</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a hash code value for the object.
+ <p>
+ The default hashing algorithm is platform dependent.
+ Note that it is allowed for two objects to have identical hash
+ codes (<code>o1.hashCode.equals(o2.hashCode)</code>) yet not be
+ equal (<code>o1.equals(o2)</code> returns <code>false</code>). A
+ degenerate implementation could always return <code>0</code>.
+ However, it is required that if two objects are equal
+ (<code>o1.equals(o2)</code> returns <code>true</code>) that they
+ have identical hash codes
+ (<code>o1.hashCode.equals(o2.hashCode)</code>). Therefore, when
+ overriding this method, be sure to verify that the behavior is
+ consistent with the <code>equals</code> method.
+ </p>
+ <p></dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>the hash code value for the object. </p></dd></dl> + <hr></hr> +<a name="toString%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>toString</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a string representation of the object.
+ <p>
+ The default representation is platform dependent.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>a string representation of the object. </p></dd></dl> + <hr></hr> +<a name="equals%28Any%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>equals</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.
+
+ <p>
+ The default implementations of this method is an <a
+ href="http://en.wikipedia.org/wiki/Equivalence_relation">equivalence
+ relation</a>:
+ <ul>
+ <li>It is reflexive: for any instance <code>x</code> of type <code>Any</code>,
+ <code>x.equals(x)</code> should return <code>true</code>.</li>
+ <li>It is symmetric: for any instances <code>x</code> and <code>y</code> of type
+ <code>Any</code>, <code>x.equals(y)</code> should return <code>true</code> if and only
+ if <code>y.equals(x)</code> returns <code>true</code>.</li>
+ <li>It is transitive: for any instances
+ <code>x</code>, <code>y</code>, and <code>z</code> of type <code>AnyRef</code>
+ if <code>x.equals(y)</code> returns <code>true</code> and
+ <code>y.equals(z)</code> returns
+ <code>true</code>, then <code>x.equals(z)</code> should return <code>true</code>.</li>
+ </ul>
+ </p>
+ <p>
+ If you override this method, you should verify that
+ your implementation remains an equivalence relation.
+ Additionally, when overriding this method it is often necessary to
+ override <code>hashCode</code> to ensure that objects that are
+ "equal" (<code>o1.equals(o2)</code> returns <code>true</code>)
+ hash to the same <a href="Int.html"><code>Int</code></a>
+ (<code>o1.hashCode.equals(o2.hashCode)</code>).</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>arg0 - </code>the object to compare against this object for equality.</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise. </p></dd></dl> + <hr></hr> +<a name="productPrefix"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productPrefix</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productPrefix" target="contentFrame" class="scala/Product">scala.Product.productPrefix</a> + </dd> + </dl><hr></hr> +<a name="productArity"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productArity</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productArity" target="contentFrame" class="scala/Product">scala.Product.productArity</a> + </dd> + </dl><hr></hr> +<a name="productElement%28Int%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productElement</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productElement" target="contentFrame" class="scala/Product">scala.Product.productElement</a> + </dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/geometry/Vector2D$object.html b/doc/sims/geometry/Vector2D$object.html new file mode 100644 index 0000000..188f206 --- /dev/null +++ b/doc/sims/geometry/Vector2D$object.html @@ -0,0 +1,150 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object Vector2D in sims.geometry</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/geometry$package.html" target="_self">sims.geometry</a> + <br></br> + <span class="entity">object Vector2D</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/geometry/Vector2D"><code>sims/geometry/Vector2D.scala</code></a>] + </div><hr></hr> + <a name="Vector2D"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>Vector2D</em> + </dt> + <dd><code> extends </code><a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a></dd> + </dl> + <dl><dd>Dieses Objekt enthaelt spezielle Vektoren.</dd></dl> + <dl></dl> + + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Vector2D$object.html#Null" target="_self">Null</a></em> + : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + <div>Nullvektor.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Vector2D$object.html#i" target="_self">i</a></em> + : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + <div>Ein horizontaler Einheitsvektor mit den Komponenten (1;0).</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Vector2D$object.html#j" target="_self">j</a></em> + : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + <div>Ein vertikaler Einheitsvektor mit den Komponenten (0;1).</div> + </td> + </tr> + </table> +<table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#toString%28%29" target="_self">toString</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Value Details</td></tr> + </table><div><a name="Null"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>Null</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Nullvektor.</dd></dl> + <dl></dl> + <hr></hr> +<a name="i"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>i</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Ein horizontaler Einheitsvektor mit den Komponenten (1;0).</dd></dl> + <dl></dl> + <hr></hr> +<a name="j"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>j</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Ein vertikaler Einheitsvektor mit den Komponenten (0;1).</dd></dl> + <dl></dl> + <hr></hr></div> + + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/geometry/Vector2D.html b/doc/sims/geometry/Vector2D.html new file mode 100644 index 0000000..5e541fb --- /dev/null +++ b/doc/sims/geometry/Vector2D.html @@ -0,0 +1,644 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class Vector2D in sims.geometry</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/geometry$package.html" target="_self">sims.geometry</a> + <br></br> + <span class="entity">class Vector2D</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/geometry/Vector2D"><code>sims/geometry/Vector2D.scala</code></a>] + </div><hr></hr> + <a name="Vector2D"></a><dl> + <dt> + + <code>case</code> + <code>class</code> + <em>Vector2D</em>(<code>val </code><em>x</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>, <code>val </code><em>y</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) + </dt> + <dd><code> extends </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a></dd> + </dl> + <dl><dd>Ein 2-dimensionaler Vektor.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>x - </code>1. Komponente</dd><dd><code>y - </code>2. Komponente</dd></dl> + + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Vector2D.html#length" target="_self">length</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + + <div>Norm dieses Vektors.</div> + </td> + </tr> + </table> +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Method Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Vector2D.html#*%28Double%29" target="_self">*</a></em> + (<em>n</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + <div>Multiplikation mit einem Skalar.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Vector2D.html#%2B%28sims.geometry.Vector2D%29" target="_self">+</a></em> + (<em>v</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + <div>Vektoraddition.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Vector2D.html#-%28sims.geometry.Vector2D%29" target="_self">-</a></em> + (<em>v</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + <div>Vektorsubstraktion.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Vector2D.html#%2F%28Double%29" target="_self">/</a></em> + (<em>n</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + <div>Division durch ein Skalar.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Vector2D.html#components" target="_self">components</a></em> + : <a href="" target="contentFrame" class="scala/List">scala.List</a>[<a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>] + + <div>Ergibt eine Liste der Komponenten dieses Vektors.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Vector2D.html#cross%28sims.geometry.Vector2D%29" target="_self">cross</a></em> + (<em>v</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + + <div>Kreuzprodukt. (Norm des Kreuzproduktes)</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Vector2D.html#dot%28sims.geometry.Vector2D%29" target="_self">dot</a></em> + (<em>v</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + + <div>Skalarprodukt.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Vector2D.html#equals%28Any%29" target="_self">equals</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Vector2D.html#hashCode%28%29" target="_self">hashCode</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + <div>Returns a hash code value for the object.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Vector2D.html#isNull" target="_self">isNull</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>Ueberprueft, ob die Komponenten dieses Vektors gleich Null sind.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Vector2D.html#leftNormal" target="_self">leftNormal</a></em> + : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + <div>Linker Normalenvektor. (-y, x)</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Vector2D.html#productArity" target="_self">productArity</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Vector2D.html#productElement%28Int%29" target="_self">productElement</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Vector2D.html#productPrefix" target="_self">productPrefix</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Vector2D.html#project%28sims.geometry.Vector2D%29" target="_self">project</a></em> + (<em>v</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + <div>Errechnet die Projektion dieses- auf einen anderen Vektor.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Vector2D.html#rightNormal" target="_self">rightNormal</a></em> + : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + <div>Rechter Normalenvektor. (y, -x)</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Vector2D.html#rotate%28Double%29" target="_self">rotate</a></em> + (<em>angle</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + <div>Errechnet eine Rotation dieses Vektors.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Vector2D.html#toString%28%29" target="_self">toString</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + <div>Returns a string representation of the object.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Vector2D.html#unary_-" target="_self">unary_-</a></em> + : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + <div>Minusvorzeichen.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Vector2D.html#unit" target="_self">unit</a></em> + : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + <div>Einheitsvektor dieses Vektors.</div> + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Value Details</td></tr> + </table><div><a name="length"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>length</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Norm dieses Vektors.</dd></dl> + <dl></dl> + <hr></hr></div> +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="%2B%28sims.geometry.Vector2D%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>+</em>(<em>v</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Vektoraddition.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>v - </code>zu addierender Vektor</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>dieser Vektor addiert mit <code>v</code></dd></dl> + <hr></hr> +<a name="-%28sims.geometry.Vector2D%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>-</em>(<em>v</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Vektorsubstraktion.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>v - </code>zu substrahierender Vektor</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>dieser Vektor substrahiert mit <code>v</code></dd></dl> + <hr></hr> +<a name="*%28Double%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>*</em>(<em>n</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Multiplikation mit einem Skalar.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>n - </code>Faktor</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>dieser Vektor multipliziert mit <code>n</code></dd></dl> + <hr></hr> +<a name="%2F%28Double%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>/</em>(<em>n</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Division durch ein Skalar.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>n - </code>Nenner</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>dieser Vektor dividiert durch <code>n</code></dd></dl> + <hr></hr> +<a name="unary_-"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>unary_-</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Minusvorzeichen.</dd></dl> + <dl></dl> + <hr></hr> +<a name="dot%28sims.geometry.Vector2D%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>dot</em>(<em>v</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Skalarprodukt.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>v - </code>ein anderer Vektor</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>Skalarprodukt von diesem Vektor mit <code>v</code></dd></dl> + <hr></hr> +<a name="cross%28sims.geometry.Vector2D%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>cross</em>(<em>v</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Kreuzprodukt. (Norm des Kreuzproduktes)</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>v - </code>ein anderer Vektor</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>Norm des Kreuzproduktes dieses Vektors mit <code>v</code>. Die Richtung wuerde der x3-Achse entsprechen.</dd></dl> + <hr></hr> +<a name="unit"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>unit</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Einheitsvektor dieses Vektors.</dd></dl> + <dl></dl> + <hr></hr> +<a name="project%28sims.geometry.Vector2D%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>project</em>(<em>v</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Errechnet die Projektion dieses- auf einen anderen Vektor.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>v - </code>oben gennanter Vektor</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>Projektion dieses Vektors auf <code>v</code></dd></dl> + <hr></hr> +<a name="rotate%28Double%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>rotate</em>(<em>angle</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Errechnet eine Rotation dieses Vektors.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>angle - </code>Winkel in Radian</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>der um <code>angle</code> rad rotierte Vektor</dd></dl> + <hr></hr> +<a name="leftNormal"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>leftNormal</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Linker Normalenvektor. (-y, x)</dd></dl> + <dl></dl> + <hr></hr> +<a name="rightNormal"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>rightNormal</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Rechter Normalenvektor. (y, -x)</dd></dl> + <dl></dl> + <hr></hr> +<a name="isNull"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>isNull</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Ueberprueft, ob die Komponenten dieses Vektors gleich Null sind.</dd></dl> + <dl></dl> + <hr></hr> +<a name="components"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>components</em> : <a href="" target="contentFrame" class="scala/List">scala.List</a>[<a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>] + </dt> + <dd></dd> + </dl> + <dl><dd>Ergibt eine Liste der Komponenten dieses Vektors.</dd></dl> + <dl></dl> + <hr></hr> +<a name="hashCode%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>hashCode</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a hash code value for the object.
+ <p>
+ The default hashing algorithm is platform dependent.
+ Note that it is allowed for two objects to have identical hash
+ codes (<code>o1.hashCode.equals(o2.hashCode)</code>) yet not be
+ equal (<code>o1.equals(o2)</code> returns <code>false</code>). A
+ degenerate implementation could always return <code>0</code>.
+ However, it is required that if two objects are equal
+ (<code>o1.equals(o2)</code> returns <code>true</code>) that they
+ have identical hash codes
+ (<code>o1.hashCode.equals(o2.hashCode)</code>). Therefore, when
+ overriding this method, be sure to verify that the behavior is
+ consistent with the <code>equals</code> method.
+ </p>
+ <p></dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>the hash code value for the object. </p></dd></dl> + <hr></hr> +<a name="toString%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>toString</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a string representation of the object.
+ <p>
+ The default representation is platform dependent.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>a string representation of the object. </p></dd></dl> + <hr></hr> +<a name="equals%28Any%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>equals</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.
+
+ <p>
+ The default implementations of this method is an <a
+ href="http://en.wikipedia.org/wiki/Equivalence_relation">equivalence
+ relation</a>:
+ <ul>
+ <li>It is reflexive: for any instance <code>x</code> of type <code>Any</code>,
+ <code>x.equals(x)</code> should return <code>true</code>.</li>
+ <li>It is symmetric: for any instances <code>x</code> and <code>y</code> of type
+ <code>Any</code>, <code>x.equals(y)</code> should return <code>true</code> if and only
+ if <code>y.equals(x)</code> returns <code>true</code>.</li>
+ <li>It is transitive: for any instances
+ <code>x</code>, <code>y</code>, and <code>z</code> of type <code>AnyRef</code>
+ if <code>x.equals(y)</code> returns <code>true</code> and
+ <code>y.equals(z)</code> returns
+ <code>true</code>, then <code>x.equals(z)</code> should return <code>true</code>.</li>
+ </ul>
+ </p>
+ <p>
+ If you override this method, you should verify that
+ your implementation remains an equivalence relation.
+ Additionally, when overriding this method it is often necessary to
+ override <code>hashCode</code> to ensure that objects that are
+ "equal" (<code>o1.equals(o2)</code> returns <code>true</code>)
+ hash to the same <a href="Int.html"><code>Int</code></a>
+ (<code>o1.hashCode.equals(o2.hashCode)</code>).</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>arg0 - </code>the object to compare against this object for equality.</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise. </p></dd></dl> + <hr></hr> +<a name="productPrefix"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productPrefix</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productPrefix" target="contentFrame" class="scala/Product">scala.Product.productPrefix</a> + </dd> + </dl><hr></hr> +<a name="productArity"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productArity</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productArity" target="contentFrame" class="scala/Product">scala.Product.productArity</a> + </dd> + </dl><hr></hr> +<a name="productElement%28Int%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productElement</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productElement" target="contentFrame" class="scala/Product">scala.Product.productElement</a> + </dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file |