diff options
Diffstat (limited to 'doc/graphyx/graphics')
19 files changed, 0 insertions, 8543 deletions
diff --git a/doc/graphyx/graphics/Drawable.html b/doc/graphyx/graphics/Drawable.html deleted file mode 100644 index 58243d7..0000000 --- a/doc/graphyx/graphics/Drawable.html +++ /dev/null @@ -1,337 +0,0 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html> - <head> - <title>Scaladoc for graphyx.graphics.Drawable</title> - <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> - <script type="text/javascript" src="../../lib/jquery.js"></script> - - <style type="text/css"> - @import url(../../lib/template.css) screen; - </style> - <script type="text/javascript" src="../../lib/template.js"></script> - - </head> - <body class="type"> - - <p id="owner"><a href="../package.html">graphyx</a>.<a href="package.html">graphics</a></p> - - <div id="definition"> - <img src="../../lib/trait_big.png" /> - <h1>Drawable</h1> - </div> - - <h4 class="signature"> - <span class="kind">trait</span> - <span class="symbol"> - <span class="name">Drawable</span><span class="result"> extends AnyRef</span> - </span> - </h4> - <div class="fullcomment" id="comment"> - <div class="comment cmt"><p>Enthaelt Methoden und Felder fuer graphische Darstellungen. -Alle Klassen die dieses Trait implementieren koennen graphisch dargestellt werden.</p></div> - - - - <div class="block"> - known subclasses: <a href="GraphicalObject.html">GraphicalObject</a> - </div> - </div> - - <div id="template"> - - <div id="mbrsel"> - <div id="ancestors"> - <h3>Inherits</h3> - <ol><li class="in" name="scala.AnyRef">AnyRef</li><li class="in" name="scala.Any">Any</li></ol> - </div> - </div> - - - - <div class="members" id="values"> - <h3>Value Members</h3> - <ol><li name="graphyx.graphics.Drawable#correctY"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">correctY</span><span class="params">(<span name="y">y: <span class="extype" name="scala.Double">Double</span></span>)</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Korrigiert einen Y-Wert in Bildschirmkoordinaten zu seinem kartesischen Aequivalent</p><div class="fullcomment"> - <div class="comment cmt"><p>Korrigiert einen Y-Wert in Bildschirmkoordinaten zu seinem kartesischen Aequivalent.</p></div> - <dl class="paramcmts block"><dt class="param">y</dt><dd class="cmt"><p>zu korrigierender Wert</p></dd></dl> - - - - </div> - </li><li name="graphyx.graphics.Drawable#draw"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">draw</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Stellt das graphische Objekt dar</p><div class="fullcomment"> - <div class="comment cmt"><p>Stellt das graphische Objekt dar.</p></div> - - <div class="block"> - attributes: abstract - </div> - - - </div> - </li><li name="graphyx.graphics.Drawable#drawCircle"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawCircle</span><span class="params">(<span name="center">center: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="radius">radius: <span class="extype" name="scala.Double">Double</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen Kreis auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen Kreis auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">center</dt><dd class="cmt"><p>Mitte des Kreises in Weltkoordinaten</p></dd><dt class="param">radius</dt><dd class="cmt"><p>Radius des Kreises</p></dd></dl> - - - - </div> - </li><li name="graphyx.graphics.Drawable#drawLine"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawLine</span><span class="params">(<span name="startPoint">startPoint: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="endPoint">endPoint: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt eine Linie auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt eine Linie auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">startPoint</dt><dd class="cmt"><p>Startpunkt in Weltkoordinaten</p></dd><dt class="param">endPoint</dt><dd class="cmt"><p>Endpunkt in Weltkoordinaten</p></dd></dl> - - - - </div> - </li><li name="graphyx.graphics.Drawable#drawPoint"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawPoint</span><span class="params">(<span name="point">point: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen Punkt auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen Punkt auf <code>g</code>. -<p> -Der Punkt wird von einem Kreis umgeben.</p></div> - <dl class="paramcmts block"><dt class="param">point</dt><dd class="cmt"><p>Punkt in Weltkoordinaten</p></dd></dl> - - - - </div> - </li><li name="graphyx.graphics.Drawable#drawPolygon"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawPolygon</span><span class="params">(<span name="points">points: <span class="extype" name="scala.collection.Seq">Seq</span>[<a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a>]</span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt ein Polygon auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt ein Polygon auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">points</dt><dd class="cmt"><p>Eckpunkte des Polygons in Weltkoordinaten</p></dd></dl> - - - - </div> - </li><li name="graphyx.graphics.Drawable#drawVector"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawVector</span><span class="params">(<span name="v">v: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="p">p: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen Vektor auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen Vektor auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">v</dt><dd class="cmt"><p>Vektor in Weltkoordinaten</p></dd><dt class="param">p</dt><dd class="cmt"><p>Ursprungspunkt in Weltkoordinaten</p></dd></dl> - - - - </div> - </li><li name="scala.AnyRef#equals"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">equals</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Any">Any</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> - </span> - </h4> - <p class="shortcomment cmt">This method is used to compare the receiver object (<code>this</code>) -with the argument object (<code>arg0</code>) for equivalence</p><div class="fullcomment"> - <div class="comment cmt"><p>This method is used to compare the receiver object (<code>this</code>) -with the argument object (<code>arg0</code>) for equivalence.</p><p><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><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>). -</p></div> - <dl class="paramcmts block"><dt class="param">arg0</dt><dd class="cmt"><p>the object to compare against this object for equality.</p></dd><dt>returns</dt><dd class="cmt"><p><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise. -</p></p></dd></dl> - - <div class="block"> - definition classes: AnyRef ⇐ Any - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#fillCircle"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">fillCircle</span><span class="params">(<span name="center">center: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="radius">radius: <span class="extype" name="scala.Double">Double</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen massiven Kreis auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen massiven Kreis auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">center</dt><dd class="cmt"><p>Mitte des Kreises in Weltkoordinaten</p></dd><dt class="param">radius</dt><dd class="cmt"><p>Radius des Kreises</p></dd></dl> - - - - </div> - </li><li name="graphyx.graphics.Drawable#fillPolygon"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">fillPolygon</span><span class="params">(<span name="points">points: <span class="extype" name="scala.collection.Seq">Seq</span>[<a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a>]</span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt ein massives Polygon auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt ein massives Polygon auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">points</dt><dd class="cmt"><p>Eckpunkte des Polygons in Weltkoordinaten</p></dd></dl> - - - - </div> - </li><li name="graphyx.graphics.Drawable#g"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">g</span><span class="result">: <span class="extype" name="java.awt.Graphics2D">Graphics2D</span></span> - </span> - </h4> - <p class="shortcomment cmt">Java Graphics Objekt zur graphischen Darstellung</p><div class="fullcomment"> - <div class="comment cmt"><p>Java Graphics Objekt zur graphischen Darstellung</p></div> - - - - - </div> - </li><li name="scala.AnyRef#hashCode"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">hashCode</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> - </span> - </h4> - <p class="shortcomment cmt">Returns a hash code value for the object</p><div class="fullcomment"> - <div class="comment cmt"><p>Returns a hash code value for the object.</p><p><p> -The default hashing algorithm is platform dependent.</p><p>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><p><p></p></div> - - - <div class="block"> - definition classes: AnyRef ⇐ Any - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#ppm"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">ppm</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Anzahl von Pixeln pro Meter</p><div class="fullcomment"> - <div class="comment cmt"><p>Anzahl von Pixeln pro Meter.</p></div> - - - - - </div> - </li><li name="graphyx.graphics.Drawable#scale"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">scale</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Skala in der die graphischen Objekte gezeichnet werden</p><div class="fullcomment"> - <div class="comment cmt"><p>Skala in der die graphischen Objekte gezeichnet werden.</p></div> - - - - - </div> - </li><li name="scala.AnyRef#toString"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">toString</span><span class="params">()</span><span class="result">: <span class="extype" name="java.lang.String">String</span></span> - </span> - </h4> - <p class="shortcomment cmt">Returns a string representation of the object</p><div class="fullcomment"> - <div class="comment cmt"><p>Returns a string representation of the object. -<p> -The default representation is platform dependent. -</p></div> - - - <div class="block"> - definition classes: AnyRef ⇐ Any - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#windowHeight"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">windowHeight</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> - </span> - </h4> - <p class="shortcomment cmt">Hoehe des Fensters in Pixeln</p><div class="fullcomment"> - <div class="comment cmt"><p>Hoehe des Fensters in Pixeln.</p></div> - - - - - </div> - </li></ol> - </div> - - - - </div> - - </body> - </html>
\ No newline at end of file diff --git a/doc/graphyx/graphics/GraphicalAABB.html b/doc/graphyx/graphics/GraphicalAABB.html deleted file mode 100644 index 1bb096d..0000000 --- a/doc/graphyx/graphics/GraphicalAABB.html +++ /dev/null @@ -1,471 +0,0 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html> - <head> - <title>Scaladoc for graphyx.graphics.GraphicalAABB</title> - <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> - <script type="text/javascript" src="../../lib/jquery.js"></script> - - <style type="text/css"> - @import url(../../lib/template.css) screen; - </style> - <script type="text/javascript" src="../../lib/template.js"></script> - - </head> - <body class="type"> - - <p id="owner"><a href="../package.html">graphyx</a>.<a href="package.html">graphics</a></p> - - <div id="definition"> - <img src="../../lib/class_big.png" /> - <h1>GraphicalAABB</h1> - </div> - - <h4 class="signature"> - <span class="kind">class</span> - <span class="symbol"> - <span class="name">GraphicalAABB</span><span class="params">(<span name="real">real: <a href="../../sims/collision/AABB.html" class="extype" name="sims.collision.AABB">AABB</a></span>)</span><span class="result"> extends <a href="../../sims/collision/AABB.html" class="extype" name="sims.collision.AABB">AABB</a> with <a href="GraphicalObject.html" class="extype" name="graphyx.graphics.GraphicalObject">GraphicalObject</a> with <span class="extype" name="scala.Product">Product</span></span> - </span> - </h4> - <div class="fullcomment" id="comment"> - - - - - - </div> - - <div id="template"> - - <div id="mbrsel"> - <div id="ancestors"> - <h3>Inherits</h3> - <ol><li class="in" name="graphyx.graphics.GraphicalObject">GraphicalObject</li><li class="in" name="graphyx.graphics.Drawable">Drawable</li><li class="in" name="sims.collision.AABB">AABB</li><li class="in" name="scala.Product">Product</li><li class="in" name="scala.Equals">Equals</li><li class="in" name="scala.AnyRef">AnyRef</li><li class="in" name="scala.Any">Any</li></ol> - </div> - </div> - - - - <div class="members" id="values"> - <h3>Value Members</h3> - <ol><li name="graphyx.graphics.GraphicalAABB#canEqual"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">canEqual</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Any">Any</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> - </span> - </h4> - - </li><li name="graphyx.graphics.Drawable#correctY"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">correctY</span><span class="params">(<span name="y">y: <span class="extype" name="scala.Double">Double</span></span>)</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Korrigiert einen Y-Wert in Bildschirmkoordinaten zu seinem kartesischen Aequivalent</p><div class="fullcomment"> - <div class="comment cmt"><p>Korrigiert einen Y-Wert in Bildschirmkoordinaten zu seinem kartesischen Aequivalent.</p></div> - <dl class="paramcmts block"><dt class="param">y</dt><dd class="cmt"><p>zu korrigierender Wert</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalAABB#draw"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">draw</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Stellt das graphische Objekt dar</p><div class="fullcomment"> - <div class="comment cmt"><p>Stellt das graphische Objekt dar.</p></div> - - - - - </div> - </li><li name="graphyx.graphics.Drawable#drawCircle"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawCircle</span><span class="params">(<span name="center">center: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="radius">radius: <span class="extype" name="scala.Double">Double</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen Kreis auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen Kreis auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">center</dt><dd class="cmt"><p>Mitte des Kreises in Weltkoordinaten</p></dd><dt class="param">radius</dt><dd class="cmt"><p>Radius des Kreises</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#drawLine"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawLine</span><span class="params">(<span name="startPoint">startPoint: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="endPoint">endPoint: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt eine Linie auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt eine Linie auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">startPoint</dt><dd class="cmt"><p>Startpunkt in Weltkoordinaten</p></dd><dt class="param">endPoint</dt><dd class="cmt"><p>Endpunkt in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#drawPoint"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawPoint</span><span class="params">(<span name="point">point: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen Punkt auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen Punkt auf <code>g</code>. -<p> -Der Punkt wird von einem Kreis umgeben.</p></div> - <dl class="paramcmts block"><dt class="param">point</dt><dd class="cmt"><p>Punkt in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#drawPolygon"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawPolygon</span><span class="params">(<span name="points">points: <span class="extype" name="scala.collection.Seq">Seq</span>[<a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a>]</span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt ein Polygon auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt ein Polygon auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">points</dt><dd class="cmt"><p>Eckpunkte des Polygons in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#drawVector"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawVector</span><span class="params">(<span name="v">v: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="p">p: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen Vektor auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen Vektor auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">v</dt><dd class="cmt"><p>Vektor in Weltkoordinaten</p></dd><dt class="param">p</dt><dd class="cmt"><p>Ursprungspunkt in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalAABB#equals"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">equals</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Any">Any</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> - </span> - </h4> - <p class="shortcomment cmt">This method is used to compare the receiver object (<code>this</code>) -with the argument object (<code>arg0</code>) for equivalence</p><div class="fullcomment"> - <div class="comment cmt"><p>This method is used to compare the receiver object (<code>this</code>) -with the argument object (<code>arg0</code>) for equivalence.</p><p><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><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>). -</p></div> - <dl class="paramcmts block"><dt class="param">arg0</dt><dd class="cmt"><p>the object to compare against this object for equality.</p></dd><dt>returns</dt><dd class="cmt"><p><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise. -</p></p></dd></dl> - - - - </div> - </li><li name="graphyx.graphics.Drawable#fillCircle"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">fillCircle</span><span class="params">(<span name="center">center: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="radius">radius: <span class="extype" name="scala.Double">Double</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen massiven Kreis auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen massiven Kreis auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">center</dt><dd class="cmt"><p>Mitte des Kreises in Weltkoordinaten</p></dd><dt class="param">radius</dt><dd class="cmt"><p>Radius des Kreises</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#fillPolygon"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">fillPolygon</span><span class="params">(<span name="points">points: <span class="extype" name="scala.collection.Seq">Seq</span>[<a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a>]</span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt ein massives Polygon auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt ein massives Polygon auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">points</dt><dd class="cmt"><p>Eckpunkte des Polygons in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#g"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">g</span><span class="result">: <span class="extype" name="java.awt.Graphics2D">Graphics2D</span></span> - </span> - </h4> - <p class="shortcomment cmt">Java Graphics Objekt zur graphischen Darstellung</p><div class="fullcomment"> - <div class="comment cmt"><p>Java Graphics Objekt zur graphischen Darstellung</p></div> - - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalAABB#hashCode"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">hashCode</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> - </span> - </h4> - <p class="shortcomment cmt">Returns a hash code value for the object</p><div class="fullcomment"> - <div class="comment cmt"><p>Returns a hash code value for the object.</p><p><p> -The default hashing algorithm is platform dependent.</p><p>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><p><p></p></div> - - - - - </div> - </li><li name="sims.collision.AABB#maxVertex"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">maxVertex</span><span class="result">: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span> - </span> - </h4> - - </li><li name="sims.collision.AABB#minVertex"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">minVertex</span><span class="result">: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span> - </span> - </h4> - - </li><li name="sims.collision.AABB#overlaps"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">overlaps</span><span class="params">(<span name="box">box: <a href="../../sims/collision/AABB.html" class="extype" name="sims.collision.AABB">AABB</a></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> - </span> - </h4> - <p class="shortcomment cmt">Checks this AABB with <code>box</code> for overlap</p><div class="fullcomment"> - <div class="comment cmt"><p>Checks this AABB with <code>box</code> for overlap.</p></div> - <dl class="paramcmts block"><dt class="param">box</dt><dd class="cmt"><p>AABB with which to check for overlap</p></dd></dl> - - <div class="block"> - definition classes: <a href="../../sims/collision/AABB.html">AABB</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#ppm"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">ppm</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Anzahl von Pixeln pro Meter</p><div class="fullcomment"> - <div class="comment cmt"><p>Anzahl von Pixeln pro Meter.</p></div> - - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalAABB#productArity"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productArity</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> - </span> - </h4> - - </li><li name="graphyx.graphics.GraphicalAABB#productElement"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productElement</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Int">Int</span></span>)</span><span class="result">: <span class="extype" name="scala.Any">Any</span></span> - </span> - </h4> - - </li><li name="scala.Product#productElements"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productElements</span><span class="result">: <span class="extype" name="scala.collection.Iterator">Iterator</span>[<span class="extype" name="scala.Any">Any</span>]</span> - </span> - </h4> - - </li><li name="scala.Product#productIterator"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productIterator</span><span class="result">: <span class="extype" name="scala.collection.Iterator">Iterator</span>[<span class="extype" name="scala.Any">Any</span>]</span> - </span> - </h4> - - </li><li name="graphyx.graphics.GraphicalAABB#productPrefix"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productPrefix</span><span class="result">: <span class="extype" name="java.lang.String">String</span></span> - </span> - </h4> - - </li><li name="graphyx.graphics.GraphicalAABB#real"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">real</span><span class="result">: <a href="../../sims/collision/AABB.html" class="extype" name="sims.collision.AABB">AABB</a></span> - </span> - </h4> - <p class="shortcomment cmt">Pointer to real object</p><div class="fullcomment"> - <div class="comment cmt"><p>Pointer to real object.</p></div> - - - - - </div> - </li><li name="graphyx.graphics.Drawable#scale"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">scale</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Skala in der die graphischen Objekte gezeichnet werden</p><div class="fullcomment"> - <div class="comment cmt"><p>Skala in der die graphischen Objekte gezeichnet werden.</p></div> - - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalAABB#toString"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">toString</span><span class="params">()</span><span class="result">: <span class="extype" name="java.lang.String">String</span></span> - </span> - </h4> - <p class="shortcomment cmt">Returns a string representation of the object</p><div class="fullcomment"> - <div class="comment cmt"><p>Returns a string representation of the object. -<p> -The default representation is platform dependent. -</p></div> - - - - - </div> - </li><li name="graphyx.graphics.Drawable#windowHeight"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">windowHeight</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> - </span> - </h4> - <p class="shortcomment cmt">Hoehe des Fensters in Pixeln</p><div class="fullcomment"> - <div class="comment cmt"><p>Hoehe des Fensters in Pixeln.</p></div> - - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li></ol> - </div> - - <div class="members" id="constructors"> - <h3>Instance constructors</h3> - <ol><li name="graphyx.graphics.GraphicalAABB#this"> - <h4 class="signature"> - <span class="kind">new</span> - <span class="symbol"> - <span class="name">GraphicalAABB</span><span class="params">(<span name="real">real: <a href="../../sims/collision/AABB.html" class="extype" name="sims.collision.AABB">AABB</a></span>)</span> - </span> - </h4> - - </li><li name="sims.collision.AABB#this"> - <h4 class="signature"> - <span class="kind">new</span> - <span class="symbol"> - <span class="name">GraphicalAABB</span><span class="params">(<span name="minVertex">minVertex: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="maxVertex">maxVertex: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>)</span> - </span> - </h4> - - </li><li name="scala.AnyRef#this"> - <h4 class="signature"> - <span class="kind">new</span> - <span class="symbol"> - <span class="name">GraphicalAABB</span><span class="params">()</span> - </span> - </h4> - - </li></ol> - </div> - - </div> - - </body> - </html>
\ No newline at end of file diff --git a/doc/graphyx/graphics/GraphicalBody.html b/doc/graphyx/graphics/GraphicalBody.html deleted file mode 100644 index 9e1870a..0000000 --- a/doc/graphyx/graphics/GraphicalBody.html +++ /dev/null @@ -1,455 +0,0 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html> - <head> - <title>Scaladoc for graphyx.graphics.GraphicalBody</title> - <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> - <script type="text/javascript" src="../../lib/jquery.js"></script> - - <style type="text/css"> - @import url(../../lib/template.css) screen; - </style> - <script type="text/javascript" src="../../lib/template.js"></script> - - </head> - <body class="type"> - - <p id="owner"><a href="../package.html">graphyx</a>.<a href="package.html">graphics</a></p> - - <div id="definition"> - <img src="../../lib/class_big.png" /> - <h1>GraphicalBody</h1> - </div> - - <h4 class="signature"> - <span class="kind">class</span> - <span class="symbol"> - <span class="name">GraphicalBody</span><span class="params">(<span name="real">real: <a href="../../sims/dynamics/Body.html" class="extype" name="sims.dynamics.Body">Body</a></span>)</span><span class="result"> extends <a href="GraphicalObject.html" class="extype" name="graphyx.graphics.GraphicalObject">GraphicalObject</a> with <span class="extype" name="scala.Product">Product</span></span> - </span> - </h4> - <div class="fullcomment" id="comment"> - - - - - - </div> - - <div id="template"> - - <div id="mbrsel"> - <div id="ancestors"> - <h3>Inherits</h3> - <ol><li class="in" name="scala.Product">Product</li><li class="in" name="scala.Equals">Equals</li><li class="in" name="graphyx.graphics.GraphicalObject">GraphicalObject</li><li class="in" name="graphyx.graphics.Drawable">Drawable</li><li class="in" name="scala.AnyRef">AnyRef</li><li class="in" name="scala.Any">Any</li></ol> - </div> - </div> - - - - <div class="members" id="values"> - <h3>Value Members</h3> - <ol><li name="graphyx.graphics.GraphicalBody#canEqual"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">canEqual</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Any">Any</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> - </span> - </h4> - - </li><li name="graphyx.graphics.Drawable#correctY"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">correctY</span><span class="params">(<span name="y">y: <span class="extype" name="scala.Double">Double</span></span>)</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Korrigiert einen Y-Wert in Bildschirmkoordinaten zu seinem kartesischen Aequivalent</p><div class="fullcomment"> - <div class="comment cmt"><p>Korrigiert einen Y-Wert in Bildschirmkoordinaten zu seinem kartesischen Aequivalent.</p></div> - <dl class="paramcmts block"><dt class="param">y</dt><dd class="cmt"><p>zu korrigierender Wert</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalBody#draw"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">draw</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Stellt das graphische Objekt dar</p><div class="fullcomment"> - <div class="comment cmt"><p>Stellt das graphische Objekt dar.</p></div> - - - - - </div> - </li><li name="graphyx.graphics.Drawable#drawCircle"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawCircle</span><span class="params">(<span name="center">center: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="radius">radius: <span class="extype" name="scala.Double">Double</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen Kreis auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen Kreis auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">center</dt><dd class="cmt"><p>Mitte des Kreises in Weltkoordinaten</p></dd><dt class="param">radius</dt><dd class="cmt"><p>Radius des Kreises</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#drawLine"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawLine</span><span class="params">(<span name="startPoint">startPoint: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="endPoint">endPoint: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt eine Linie auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt eine Linie auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">startPoint</dt><dd class="cmt"><p>Startpunkt in Weltkoordinaten</p></dd><dt class="param">endPoint</dt><dd class="cmt"><p>Endpunkt in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#drawPoint"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawPoint</span><span class="params">(<span name="point">point: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen Punkt auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen Punkt auf <code>g</code>. -<p> -Der Punkt wird von einem Kreis umgeben.</p></div> - <dl class="paramcmts block"><dt class="param">point</dt><dd class="cmt"><p>Punkt in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#drawPolygon"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawPolygon</span><span class="params">(<span name="points">points: <span class="extype" name="scala.collection.Seq">Seq</span>[<a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a>]</span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt ein Polygon auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt ein Polygon auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">points</dt><dd class="cmt"><p>Eckpunkte des Polygons in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#drawVector"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawVector</span><span class="params">(<span name="v">v: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="p">p: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen Vektor auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen Vektor auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">v</dt><dd class="cmt"><p>Vektor in Weltkoordinaten</p></dd><dt class="param">p</dt><dd class="cmt"><p>Ursprungspunkt in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalBody#equals"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">equals</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Any">Any</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> - </span> - </h4> - <p class="shortcomment cmt">This method is used to compare the receiver object (<code>this</code>) -with the argument object (<code>arg0</code>) for equivalence</p><div class="fullcomment"> - <div class="comment cmt"><p>This method is used to compare the receiver object (<code>this</code>) -with the argument object (<code>arg0</code>) for equivalence.</p><p><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><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>). -</p></div> - <dl class="paramcmts block"><dt class="param">arg0</dt><dd class="cmt"><p>the object to compare against this object for equality.</p></dd><dt>returns</dt><dd class="cmt"><p><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise. -</p></p></dd></dl> - - - - </div> - </li><li name="graphyx.graphics.Drawable#fillCircle"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">fillCircle</span><span class="params">(<span name="center">center: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="radius">radius: <span class="extype" name="scala.Double">Double</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen massiven Kreis auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen massiven Kreis auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">center</dt><dd class="cmt"><p>Mitte des Kreises in Weltkoordinaten</p></dd><dt class="param">radius</dt><dd class="cmt"><p>Radius des Kreises</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#fillPolygon"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">fillPolygon</span><span class="params">(<span name="points">points: <span class="extype" name="scala.collection.Seq">Seq</span>[<a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a>]</span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt ein massives Polygon auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt ein massives Polygon auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">points</dt><dd class="cmt"><p>Eckpunkte des Polygons in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalBody#fixed"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">fixed</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> - </span> - </h4> - - </li><li name="graphyx.graphics.Drawable#g"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">g</span><span class="result">: <span class="extype" name="java.awt.Graphics2D">Graphics2D</span></span> - </span> - </h4> - <p class="shortcomment cmt">Java Graphics Objekt zur graphischen Darstellung</p><div class="fullcomment"> - <div class="comment cmt"><p>Java Graphics Objekt zur graphischen Darstellung</p></div> - - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalBody#hashCode"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">hashCode</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> - </span> - </h4> - <p class="shortcomment cmt">Returns a hash code value for the object</p><div class="fullcomment"> - <div class="comment cmt"><p>Returns a hash code value for the object.</p><p><p> -The default hashing algorithm is platform dependent.</p><p>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><p><p></p></div> - - - - - </div> - </li><li name="graphyx.graphics.GraphicalBody#monitor"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">monitor</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> - </span> - </h4> - - </li><li name="graphyx.graphics.GraphicalBody#pos"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">pos</span><span class="result">: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span> - </span> - </h4> - - </li><li name="graphyx.graphics.Drawable#ppm"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">ppm</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Anzahl von Pixeln pro Meter</p><div class="fullcomment"> - <div class="comment cmt"><p>Anzahl von Pixeln pro Meter.</p></div> - - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalBody#productArity"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productArity</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> - </span> - </h4> - - </li><li name="graphyx.graphics.GraphicalBody#productElement"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productElement</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Int">Int</span></span>)</span><span class="result">: <span class="extype" name="scala.Any">Any</span></span> - </span> - </h4> - - </li><li name="scala.Product#productElements"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productElements</span><span class="result">: <span class="extype" name="scala.collection.Iterator">Iterator</span>[<span class="extype" name="scala.Any">Any</span>]</span> - </span> - </h4> - - </li><li name="scala.Product#productIterator"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productIterator</span><span class="result">: <span class="extype" name="scala.collection.Iterator">Iterator</span>[<span class="extype" name="scala.Any">Any</span>]</span> - </span> - </h4> - - </li><li name="graphyx.graphics.GraphicalBody#productPrefix"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productPrefix</span><span class="result">: <span class="extype" name="java.lang.String">String</span></span> - </span> - </h4> - - </li><li name="graphyx.graphics.GraphicalBody#real"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">real</span><span class="result">: <a href="../../sims/dynamics/Body.html" class="extype" name="sims.dynamics.Body">Body</a></span> - </span> - </h4> - <p class="shortcomment cmt">Pointer to real object</p><div class="fullcomment"> - <div class="comment cmt"><p>Pointer to real object.</p></div> - - - - - </div> - </li><li name="graphyx.graphics.Drawable#scale"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">scale</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Skala in der die graphischen Objekte gezeichnet werden</p><div class="fullcomment"> - <div class="comment cmt"><p>Skala in der die graphischen Objekte gezeichnet werden.</p></div> - - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalBody#toString"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">toString</span><span class="params">()</span><span class="result">: <span class="extype" name="java.lang.String">String</span></span> - </span> - </h4> - <p class="shortcomment cmt">Returns a string representation of the object</p><div class="fullcomment"> - <div class="comment cmt"><p>Returns a string representation of the object. -<p> -The default representation is platform dependent. -</p></div> - - - - - </div> - </li><li name="graphyx.graphics.Drawable#windowHeight"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">windowHeight</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> - </span> - </h4> - <p class="shortcomment cmt">Hoehe des Fensters in Pixeln</p><div class="fullcomment"> - <div class="comment cmt"><p>Hoehe des Fensters in Pixeln.</p></div> - - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li></ol> - </div> - - <div class="members" id="constructors"> - <h3>Instance constructors</h3> - <ol><li name="graphyx.graphics.GraphicalBody#this"> - <h4 class="signature"> - <span class="kind">new</span> - <span class="symbol"> - <span class="name">GraphicalBody</span><span class="params">(<span name="real">real: <a href="../../sims/dynamics/Body.html" class="extype" name="sims.dynamics.Body">Body</a></span>)</span> - </span> - </h4> - - </li><li name="scala.AnyRef#this"> - <h4 class="signature"> - <span class="kind">new</span> - <span class="symbol"> - <span class="name">GraphicalBody</span><span class="params">()</span> - </span> - </h4> - - </li></ol> - </div> - - </div> - - </body> - </html>
\ No newline at end of file diff --git a/doc/graphyx/graphics/GraphicalCircle.html b/doc/graphyx/graphics/GraphicalCircle.html deleted file mode 100644 index a9293f4..0000000 --- a/doc/graphyx/graphics/GraphicalCircle.html +++ /dev/null @@ -1,770 +0,0 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html> - <head> - <title>Scaladoc for graphyx.graphics.GraphicalCircle</title> - <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> - <script type="text/javascript" src="../../lib/jquery.js"></script> - - <style type="text/css"> - @import url(../../lib/template.css) screen; - </style> - <script type="text/javascript" src="../../lib/template.js"></script> - - </head> - <body class="type"> - - <p id="owner"><a href="../package.html">graphyx</a>.<a href="package.html">graphics</a></p> - - <div id="definition"> - <img src="../../lib/class_big.png" /> - <h1>GraphicalCircle</h1> - </div> - - <h4 class="signature"> - <span class="kind">class</span> - <span class="symbol"> - <span class="name">GraphicalCircle</span><span class="params">(<span name="real">real: <a href="../../sims/dynamics/Circle.html" class="extype" name="sims.dynamics.Circle">Circle</a></span>)</span><span class="result"> extends <a href="../../sims/dynamics/Circle.html" class="extype" name="sims.dynamics.Circle">Circle</a> with <a href="GraphicalShape.html" class="extype" name="graphyx.graphics.GraphicalShape">GraphicalShape</a> with <span class="extype" name="scala.Product">Product</span></span> - </span> - </h4> - <div class="fullcomment" id="comment"> - - - - - - </div> - - <div id="template"> - - <div id="mbrsel"> - <div id="ancestors"> - <h3>Inherits</h3> - <ol><li class="in" name="graphyx.graphics.GraphicalShape">GraphicalShape</li><li class="in" name="graphyx.graphics.GraphicalObject">GraphicalObject</li><li class="in" name="graphyx.graphics.Drawable">Drawable</li><li class="in" name="sims.dynamics.Circle">Circle</li><li class="in" name="scala.Product">Product</li><li class="in" name="scala.Equals">Equals</li><li class="in" name="sims.dynamics.Shape">Shape</li><li class="in" name="scala.AnyRef">AnyRef</li><li class="in" name="scala.Any">Any</li></ol> - </div> - </div> - - - - <div class="members" id="values"> - <h3>Value Members</h3> - <ol><li name="sims.dynamics.Circle#AABB"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">AABB</span><span class="result">: <a href="../../sims/collision/AABB.html" class="extype" name="sims.collision.AABB">AABB</a></span> - </span> - </h4> - <p class="shortcomment cmt">Returns this shape's axis aligned bounding box</p><div class="fullcomment"> - <div class="comment cmt"><p>Returns this shape's axis aligned bounding box.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Circle.html">Circle</a> ⇐ <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="sims.dynamics.Circle#I"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">I</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Moment of inertia for a rotation about this shape's COM</p><div class="fullcomment"> - <div class="comment cmt"><p>Moment of inertia for a rotation about this shape's COM.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Circle.html">Circle</a> ⇐ <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="sims.dynamics.Shape#asBody"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">asBody</span><span class="result">: <a href="../../sims/dynamics/Body.html" class="extype" name="sims.dynamics.Body">Body</a></span> - </span> - </h4> - <p class="shortcomment cmt">Creates a new body made out of tis shape</p><div class="fullcomment"> - <div class="comment cmt"><p>Creates a new body made out of tis shape.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="sims.dynamics.Shape#body"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">body</span><span class="result">: <a href="../../sims/dynamics/Body.html" class="extype" name="sims.dynamics.Body">Body</a></span> - </span> - </h4> - <p class="shortcomment cmt">Returns this shape's containing body</p><div class="fullcomment"> - <div class="comment cmt"><p>Returns this shape's containing body.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalCircle#canEqual"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">canEqual</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Any">Any</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> - </span> - </h4> - - </li><li name="sims.dynamics.Shape#collidable"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">collidable</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> - </span> - </h4> - <p class="shortcomment cmt">Flag determining this shapes ability to collide with other shapes</p><div class="fullcomment"> - <div class="comment cmt"><p>Flag determining this shapes ability to collide with other shapes.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="sims.dynamics.Circle#contains"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">contains</span><span class="params">(<span name="point">point: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> - </span> - </h4> - <p class="shortcomment cmt">Checks if the point <code>point</code> is contained in this shape</p><div class="fullcomment"> - <div class="comment cmt"><p>Checks if the point <code>point</code> is contained in this shape.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Circle.html">Circle</a> ⇐ <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#correctY"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">correctY</span><span class="params">(<span name="y">y: <span class="extype" name="scala.Double">Double</span></span>)</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Korrigiert einen Y-Wert in Bildschirmkoordinaten zu seinem kartesischen Aequivalent</p><div class="fullcomment"> - <div class="comment cmt"><p>Korrigiert einen Y-Wert in Bildschirmkoordinaten zu seinem kartesischen Aequivalent.</p></div> - <dl class="paramcmts block"><dt class="param">y</dt><dd class="cmt"><p>zu korrigierender Wert</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="sims.dynamics.Circle#density"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">density</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Density</p><div class="fullcomment"> - <div class="comment cmt"><p>Density. (Mass per area)</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Circle.html">Circle</a> ⇐ <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalCircle#draw"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">draw</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Stellt das graphische Objekt dar</p><div class="fullcomment"> - <div class="comment cmt"><p>Stellt das graphische Objekt dar.</p></div> - - - - - </div> - </li><li name="graphyx.graphics.Drawable#drawCircle"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawCircle</span><span class="params">(<span name="center">center: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="radius">radius: <span class="extype" name="scala.Double">Double</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen Kreis auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen Kreis auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">center</dt><dd class="cmt"><p>Mitte des Kreises in Weltkoordinaten</p></dd><dt class="param">radius</dt><dd class="cmt"><p>Radius des Kreises</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#drawLine"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawLine</span><span class="params">(<span name="startPoint">startPoint: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="endPoint">endPoint: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt eine Linie auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt eine Linie auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">startPoint</dt><dd class="cmt"><p>Startpunkt in Weltkoordinaten</p></dd><dt class="param">endPoint</dt><dd class="cmt"><p>Endpunkt in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#drawPoint"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawPoint</span><span class="params">(<span name="point">point: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen Punkt auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen Punkt auf <code>g</code>. -<p> -Der Punkt wird von einem Kreis umgeben.</p></div> - <dl class="paramcmts block"><dt class="param">point</dt><dd class="cmt"><p>Punkt in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#drawPolygon"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawPolygon</span><span class="params">(<span name="points">points: <span class="extype" name="scala.collection.Seq">Seq</span>[<a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a>]</span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt ein Polygon auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt ein Polygon auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">points</dt><dd class="cmt"><p>Eckpunkte des Polygons in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#drawVector"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawVector</span><span class="params">(<span name="v">v: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="p">p: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen Vektor auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen Vektor auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">v</dt><dd class="cmt"><p>Vektor in Weltkoordinaten</p></dd><dt class="param">p</dt><dd class="cmt"><p>Ursprungspunkt in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalCircle#equals"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">equals</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Any">Any</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> - </span> - </h4> - <p class="shortcomment cmt">This method is used to compare the receiver object (<code>this</code>) -with the argument object (<code>arg0</code>) for equivalence</p><div class="fullcomment"> - <div class="comment cmt"><p>This method is used to compare the receiver object (<code>this</code>) -with the argument object (<code>arg0</code>) for equivalence.</p><p><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><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>). -</p></div> - <dl class="paramcmts block"><dt class="param">arg0</dt><dd class="cmt"><p>the object to compare against this object for equality.</p></dd><dt>returns</dt><dd class="cmt"><p><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise. -</p></p></dd></dl> - - - - </div> - </li><li name="graphyx.graphics.Drawable#fillCircle"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">fillCircle</span><span class="params">(<span name="center">center: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="radius">radius: <span class="extype" name="scala.Double">Double</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen massiven Kreis auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen massiven Kreis auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">center</dt><dd class="cmt"><p>Mitte des Kreises in Weltkoordinaten</p></dd><dt class="param">radius</dt><dd class="cmt"><p>Radius des Kreises</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#fillPolygon"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">fillPolygon</span><span class="params">(<span name="points">points: <span class="extype" name="scala.collection.Seq">Seq</span>[<a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a>]</span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt ein massives Polygon auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt ein massives Polygon auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">points</dt><dd class="cmt"><p>Eckpunkte des Polygons in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="sims.dynamics.Shape#friction"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">friction</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Part of the coefficient of friction for a collision between this shape and another</p><div class="fullcomment"> - <div class="comment cmt"><p>Part of the coefficient of friction for a collision between this shape and another. -The coefficient of friction is calculated out of the product of this part and the other shape's part.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#g"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">g</span><span class="result">: <span class="extype" name="java.awt.Graphics2D">Graphics2D</span></span> - </span> - </h4> - <p class="shortcomment cmt">Java Graphics Objekt zur graphischen Darstellung</p><div class="fullcomment"> - <div class="comment cmt"><p>Java Graphics Objekt zur graphischen Darstellung</p></div> - - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalCircle#hashCode"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">hashCode</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> - </span> - </h4> - <p class="shortcomment cmt">Returns a hash code value for the object</p><div class="fullcomment"> - <div class="comment cmt"><p>Returns a hash code value for the object.</p><p><p> -The default hashing algorithm is platform dependent.</p><p>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><p><p></p></div> - - - - - </div> - </li><li name="sims.dynamics.Shape#mass"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">mass</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Returns the mass of this shape</p><div class="fullcomment"> - <div class="comment cmt"><p>Returns the mass of this shape. The mass is given by volume times density.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="sims.dynamics.Shape#pos"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">pos</span><span class="result">: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span> - </span> - </h4> - <p class="shortcomment cmt">Position of this shape's COM (in world coordinates)</p><div class="fullcomment"> - <div class="comment cmt"><p>Position of this shape's COM (in world coordinates).</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#ppm"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">ppm</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Anzahl von Pixeln pro Meter</p><div class="fullcomment"> - <div class="comment cmt"><p>Anzahl von Pixeln pro Meter.</p></div> - - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalCircle#productArity"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productArity</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> - </span> - </h4> - - </li><li name="graphyx.graphics.GraphicalCircle#productElement"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productElement</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Int">Int</span></span>)</span><span class="result">: <span class="extype" name="scala.Any">Any</span></span> - </span> - </h4> - - </li><li name="scala.Product#productElements"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productElements</span><span class="result">: <span class="extype" name="scala.collection.Iterator">Iterator</span>[<span class="extype" name="scala.Any">Any</span>]</span> - </span> - </h4> - - </li><li name="scala.Product#productIterator"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productIterator</span><span class="result">: <span class="extype" name="scala.collection.Iterator">Iterator</span>[<span class="extype" name="scala.Any">Any</span>]</span> - </span> - </h4> - - </li><li name="graphyx.graphics.GraphicalCircle#productPrefix"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productPrefix</span><span class="result">: <span class="extype" name="java.lang.String">String</span></span> - </span> - </h4> - - </li><li name="sims.dynamics.Circle#project"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">project</span><span class="params">(<span name="axis">axis: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>)</span><span class="result">: <a href="../../sims/geometry/Projection.html" class="extype" name="sims.geometry.Projection">Projection</a></span> - </span> - </h4> - <p class="shortcomment cmt">Returns the projection of this shape onto the line given by the directional vector <code>axis</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Returns the projection of this shape onto the line given by the directional vector <code>axis</code>.</p></div> - <dl class="paramcmts block"><dt class="param">axis</dt><dd class="cmt"><p>directional vector of the line</p></dd><dt>returns</dt><dd class="cmt"><p>projection of this shape</p></dd></dl> - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Circle.html">Circle</a> ⇐ <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="sims.dynamics.Circle#radius"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">radius</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - - </li><li name="graphyx.graphics.GraphicalCircle#real"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">real</span><span class="result">: <a href="../../sims/dynamics/Circle.html" class="extype" name="sims.dynamics.Circle">Circle</a></span> - </span> - </h4> - <p class="shortcomment cmt">Pointer to real object</p><div class="fullcomment"> - <div class="comment cmt"><p>Pointer to real object.</p></div> - - - - - </div> - </li><li name="sims.dynamics.Shape#refLocalPos"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">refLocalPos</span><span class="result">: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span> - </span> - </h4> - <p class="shortcomment cmt">Local position of this shape's body COM to its COM at a body rotation of zero</p><div class="fullcomment"> - <div class="comment cmt"><p>Local position of this shape's body COM to its COM at a body rotation of zero.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="sims.dynamics.Shape#restitution"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">restitution</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Part of the coefficient of restitution for a collision between this shape and another</p><div class="fullcomment"> - <div class="comment cmt"><p>Part of the coefficient of restitution for a collision between this shape and another. -The coefficient of restitution is calculated out of the product of this part and the other shape's part.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="sims.dynamics.Shape#rotation"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">rotation</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Rotation of this shape about its COM</p><div class="fullcomment"> - <div class="comment cmt"><p>Rotation of this shape about its COM.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="sims.dynamics.Shape#rotation0"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">rotation0</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Initial rotation</p><div class="fullcomment"> - <div class="comment cmt"><p>Initial rotation. Rotation of this shape before it was added to a body.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#scale"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">scale</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Skala in der die graphischen Objekte gezeichnet werden</p><div class="fullcomment"> - <div class="comment cmt"><p>Skala in der die graphischen Objekte gezeichnet werden.</p></div> - - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalCircle#toString"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">toString</span><span class="params">()</span><span class="result">: <span class="extype" name="java.lang.String">String</span></span> - </span> - </h4> - <p class="shortcomment cmt">Returns a string representation of the object</p><div class="fullcomment"> - <div class="comment cmt"><p>Returns a string representation of the object. -<p> -The default representation is platform dependent. -</p></div> - - - - - </div> - </li><li name="sims.dynamics.Shape#transientShapes"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">transientShapes</span><span class="result">: <span class="extype" name="scala.collection.mutable.Set">Set</span>[<a href="../../sims/dynamics/Shape.html" class="extype" name="sims.dynamics.Shape">Shape</a>]</span> - </span> - </h4> - <p class="shortcomment cmt">Shapes with which this shape cannot collide</p><div class="fullcomment"> - <div class="comment cmt"><p>Shapes with which this shape cannot collide.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalShape#uid"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">uid</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> - </span> - </h4> - <p class="shortcomment cmt">Unique identification number</p><div class="fullcomment"> - <div class="comment cmt"><p>Unique identification number.</p></div> - - - <div class="block"> - definition classes: <a href="GraphicalShape.html">GraphicalShape</a> ⇐ <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="sims.dynamics.Circle#volume"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">volume</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Volume</p><div class="fullcomment"> - <div class="comment cmt"><p>Volume. The volume is actually equivalent to this shape's area (SiMS is in 2D) -and is used with this shape's density to calculate its mass.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Circle.html">Circle</a> ⇐ <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#windowHeight"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">windowHeight</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> - </span> - </h4> - <p class="shortcomment cmt">Hoehe des Fensters in Pixeln</p><div class="fullcomment"> - <div class="comment cmt"><p>Hoehe des Fensters in Pixeln.</p></div> - - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="sims.dynamics.Shape#~"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">~</span><span class="params">(<span name="b">b: <a href="../../sims/dynamics/Body.html" class="extype" name="sims.dynamics.Body">Body</a></span>)</span><span class="result">: <a href="../../sims/dynamics/Body.html" class="extype" name="sims.dynamics.Body">Body</a></span> - </span> - </h4> - <p class="shortcomment cmt">Creates a new body out of this shape and the shapes of body <code>b</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Creates a new body out of this shape and the shapes of body <code>b</code>.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="sims.dynamics.Shape#~"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">~</span><span class="params">(<span name="s">s: <a href="../../sims/dynamics/Shape.html" class="extype" name="sims.dynamics.Shape">Shape</a></span>)</span><span class="result">: <a href="../../sims/dynamics/Body.html" class="extype" name="sims.dynamics.Body">Body</a></span> - </span> - </h4> - <p class="shortcomment cmt">Creates a new body out of this shape and the shape <code>s</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Creates a new body out of this shape and the shape <code>s</code>.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li></ol> - </div> - - <div class="members" id="constructors"> - <h3>Instance constructors</h3> - <ol><li name="graphyx.graphics.GraphicalCircle#this"> - <h4 class="signature"> - <span class="kind">new</span> - <span class="symbol"> - <span class="name">GraphicalCircle</span><span class="params">(<span name="real">real: <a href="../../sims/dynamics/Circle.html" class="extype" name="sims.dynamics.Circle">Circle</a></span>)</span> - </span> - </h4> - - </li><li name="sims.dynamics.Circle#this"> - <h4 class="signature"> - <span class="kind">new</span> - <span class="symbol"> - <span class="name">GraphicalCircle</span><span class="params">(<span name="radius">radius: <span class="extype" name="scala.Double">Double</span></span>, <span name="density">density: <span class="extype" name="scala.Double">Double</span></span>)</span> - </span> - </h4> - - </li><li name="sims.dynamics.Shape#this"> - <h4 class="signature"> - <span class="kind">new</span> - <span class="symbol"> - <span class="name">GraphicalCircle</span><span class="params">()</span> - </span> - </h4> - - </li></ol> - </div> - - </div> - - </body> - </html>
\ No newline at end of file diff --git a/doc/graphyx/graphics/GraphicalCollision.html b/doc/graphyx/graphics/GraphicalCollision.html deleted file mode 100644 index 7269402..0000000 --- a/doc/graphyx/graphics/GraphicalCollision.html +++ /dev/null @@ -1,447 +0,0 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html> - <head> - <title>Scaladoc for graphyx.graphics.GraphicalCollision</title> - <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> - <script type="text/javascript" src="../../lib/jquery.js"></script> - - <style type="text/css"> - @import url(../../lib/template.css) screen; - </style> - <script type="text/javascript" src="../../lib/template.js"></script> - - </head> - <body class="type"> - - <p id="owner"><a href="../package.html">graphyx</a>.<a href="package.html">graphics</a></p> - - <div id="definition"> - <img src="../../lib/class_big.png" /> - <h1>GraphicalCollision</h1> - </div> - - <h4 class="signature"> - <span class="kind">class</span> - <span class="symbol"> - <span class="name">GraphicalCollision</span><span class="params">(<span name="real">real: <a href="../../sims/collision/Collision.html" class="extype" name="sims.collision.Collision">Collision</a></span>)</span><span class="result"> extends <a href="GraphicalObject.html" class="extype" name="graphyx.graphics.GraphicalObject">GraphicalObject</a> with <span class="extype" name="scala.Product">Product</span></span> - </span> - </h4> - <div class="fullcomment" id="comment"> - - - - - - </div> - - <div id="template"> - - <div id="mbrsel"> - <div id="ancestors"> - <h3>Inherits</h3> - <ol><li class="in" name="scala.Product">Product</li><li class="in" name="scala.Equals">Equals</li><li class="in" name="graphyx.graphics.GraphicalObject">GraphicalObject</li><li class="in" name="graphyx.graphics.Drawable">Drawable</li><li class="in" name="scala.AnyRef">AnyRef</li><li class="in" name="scala.Any">Any</li></ol> - </div> - </div> - - - - <div class="members" id="values"> - <h3>Value Members</h3> - <ol><li name="graphyx.graphics.GraphicalCollision#canEqual"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">canEqual</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Any">Any</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> - </span> - </h4> - - </li><li name="graphyx.graphics.Drawable#correctY"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">correctY</span><span class="params">(<span name="y">y: <span class="extype" name="scala.Double">Double</span></span>)</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Korrigiert einen Y-Wert in Bildschirmkoordinaten zu seinem kartesischen Aequivalent</p><div class="fullcomment"> - <div class="comment cmt"><p>Korrigiert einen Y-Wert in Bildschirmkoordinaten zu seinem kartesischen Aequivalent.</p></div> - <dl class="paramcmts block"><dt class="param">y</dt><dd class="cmt"><p>zu korrigierender Wert</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalCollision#draw"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">draw</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Stellt das graphische Objekt dar</p><div class="fullcomment"> - <div class="comment cmt"><p>Stellt das graphische Objekt dar.</p></div> - - - - - </div> - </li><li name="graphyx.graphics.Drawable#drawCircle"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawCircle</span><span class="params">(<span name="center">center: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="radius">radius: <span class="extype" name="scala.Double">Double</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen Kreis auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen Kreis auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">center</dt><dd class="cmt"><p>Mitte des Kreises in Weltkoordinaten</p></dd><dt class="param">radius</dt><dd class="cmt"><p>Radius des Kreises</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#drawLine"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawLine</span><span class="params">(<span name="startPoint">startPoint: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="endPoint">endPoint: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt eine Linie auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt eine Linie auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">startPoint</dt><dd class="cmt"><p>Startpunkt in Weltkoordinaten</p></dd><dt class="param">endPoint</dt><dd class="cmt"><p>Endpunkt in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#drawPoint"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawPoint</span><span class="params">(<span name="point">point: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen Punkt auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen Punkt auf <code>g</code>. -<p> -Der Punkt wird von einem Kreis umgeben.</p></div> - <dl class="paramcmts block"><dt class="param">point</dt><dd class="cmt"><p>Punkt in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#drawPolygon"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawPolygon</span><span class="params">(<span name="points">points: <span class="extype" name="scala.collection.Seq">Seq</span>[<a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a>]</span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt ein Polygon auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt ein Polygon auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">points</dt><dd class="cmt"><p>Eckpunkte des Polygons in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#drawVector"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawVector</span><span class="params">(<span name="v">v: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="p">p: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen Vektor auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen Vektor auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">v</dt><dd class="cmt"><p>Vektor in Weltkoordinaten</p></dd><dt class="param">p</dt><dd class="cmt"><p>Ursprungspunkt in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalCollision#equals"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">equals</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Any">Any</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> - </span> - </h4> - <p class="shortcomment cmt">This method is used to compare the receiver object (<code>this</code>) -with the argument object (<code>arg0</code>) for equivalence</p><div class="fullcomment"> - <div class="comment cmt"><p>This method is used to compare the receiver object (<code>this</code>) -with the argument object (<code>arg0</code>) for equivalence.</p><p><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><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>). -</p></div> - <dl class="paramcmts block"><dt class="param">arg0</dt><dd class="cmt"><p>the object to compare against this object for equality.</p></dd><dt>returns</dt><dd class="cmt"><p><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise. -</p></p></dd></dl> - - - - </div> - </li><li name="graphyx.graphics.Drawable#fillCircle"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">fillCircle</span><span class="params">(<span name="center">center: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="radius">radius: <span class="extype" name="scala.Double">Double</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen massiven Kreis auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen massiven Kreis auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">center</dt><dd class="cmt"><p>Mitte des Kreises in Weltkoordinaten</p></dd><dt class="param">radius</dt><dd class="cmt"><p>Radius des Kreises</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#fillPolygon"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">fillPolygon</span><span class="params">(<span name="points">points: <span class="extype" name="scala.collection.Seq">Seq</span>[<a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a>]</span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt ein massives Polygon auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt ein massives Polygon auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">points</dt><dd class="cmt"><p>Eckpunkte des Polygons in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#g"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">g</span><span class="result">: <span class="extype" name="java.awt.Graphics2D">Graphics2D</span></span> - </span> - </h4> - <p class="shortcomment cmt">Java Graphics Objekt zur graphischen Darstellung</p><div class="fullcomment"> - <div class="comment cmt"><p>Java Graphics Objekt zur graphischen Darstellung</p></div> - - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalCollision#hashCode"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">hashCode</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> - </span> - </h4> - <p class="shortcomment cmt">Returns a hash code value for the object</p><div class="fullcomment"> - <div class="comment cmt"><p>Returns a hash code value for the object.</p><p><p> -The default hashing algorithm is platform dependent.</p><p>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><p><p></p></div> - - - - - </div> - </li><li name="graphyx.graphics.GraphicalCollision#normal"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">normal</span><span class="result">: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span> - </span> - </h4> - - </li><li name="graphyx.graphics.GraphicalCollision#points"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">points</span><span class="result">: <span class="extype" name="scala.collection.Iterable">Iterable</span>[<a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a>]</span> - </span> - </h4> - - </li><li name="graphyx.graphics.Drawable#ppm"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">ppm</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Anzahl von Pixeln pro Meter</p><div class="fullcomment"> - <div class="comment cmt"><p>Anzahl von Pixeln pro Meter.</p></div> - - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalCollision#productArity"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productArity</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> - </span> - </h4> - - </li><li name="graphyx.graphics.GraphicalCollision#productElement"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productElement</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Int">Int</span></span>)</span><span class="result">: <span class="extype" name="scala.Any">Any</span></span> - </span> - </h4> - - </li><li name="scala.Product#productElements"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productElements</span><span class="result">: <span class="extype" name="scala.collection.Iterator">Iterator</span>[<span class="extype" name="scala.Any">Any</span>]</span> - </span> - </h4> - - </li><li name="scala.Product#productIterator"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productIterator</span><span class="result">: <span class="extype" name="scala.collection.Iterator">Iterator</span>[<span class="extype" name="scala.Any">Any</span>]</span> - </span> - </h4> - - </li><li name="graphyx.graphics.GraphicalCollision#productPrefix"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productPrefix</span><span class="result">: <span class="extype" name="java.lang.String">String</span></span> - </span> - </h4> - - </li><li name="graphyx.graphics.GraphicalCollision#real"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">real</span><span class="result">: <a href="../../sims/collision/Collision.html" class="extype" name="sims.collision.Collision">Collision</a></span> - </span> - </h4> - <p class="shortcomment cmt">Pointer to real object</p><div class="fullcomment"> - <div class="comment cmt"><p>Pointer to real object.</p></div> - - - - - </div> - </li><li name="graphyx.graphics.Drawable#scale"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">scale</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Skala in der die graphischen Objekte gezeichnet werden</p><div class="fullcomment"> - <div class="comment cmt"><p>Skala in der die graphischen Objekte gezeichnet werden.</p></div> - - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalCollision#toString"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">toString</span><span class="params">()</span><span class="result">: <span class="extype" name="java.lang.String">String</span></span> - </span> - </h4> - <p class="shortcomment cmt">Returns a string representation of the object</p><div class="fullcomment"> - <div class="comment cmt"><p>Returns a string representation of the object. -<p> -The default representation is platform dependent. -</p></div> - - - - - </div> - </li><li name="graphyx.graphics.Drawable#windowHeight"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">windowHeight</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> - </span> - </h4> - <p class="shortcomment cmt">Hoehe des Fensters in Pixeln</p><div class="fullcomment"> - <div class="comment cmt"><p>Hoehe des Fensters in Pixeln.</p></div> - - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li></ol> - </div> - - <div class="members" id="constructors"> - <h3>Instance constructors</h3> - <ol><li name="graphyx.graphics.GraphicalCollision#this"> - <h4 class="signature"> - <span class="kind">new</span> - <span class="symbol"> - <span class="name">GraphicalCollision</span><span class="params">(<span name="real">real: <a href="../../sims/collision/Collision.html" class="extype" name="sims.collision.Collision">Collision</a></span>)</span> - </span> - </h4> - - </li><li name="scala.AnyRef#this"> - <h4 class="signature"> - <span class="kind">new</span> - <span class="symbol"> - <span class="name">GraphicalCollision</span><span class="params">()</span> - </span> - </h4> - - </li></ol> - </div> - - </div> - - </body> - </html>
\ No newline at end of file diff --git a/doc/graphyx/graphics/GraphicalDistanceJoint.html b/doc/graphyx/graphics/GraphicalDistanceJoint.html deleted file mode 100644 index d91ae56..0000000 --- a/doc/graphyx/graphics/GraphicalDistanceJoint.html +++ /dev/null @@ -1,447 +0,0 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html> - <head> - <title>Scaladoc for graphyx.graphics.GraphicalDistanceJoint</title> - <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> - <script type="text/javascript" src="../../lib/jquery.js"></script> - - <style type="text/css"> - @import url(../../lib/template.css) screen; - </style> - <script type="text/javascript" src="../../lib/template.js"></script> - - </head> - <body class="type"> - - <p id="owner"><a href="../package.html">graphyx</a>.<a href="package.html">graphics</a></p> - - <div id="definition"> - <img src="../../lib/class_big.png" /> - <h1>GraphicalDistanceJoint</h1> - </div> - - <h4 class="signature"> - <span class="kind">class</span> - <span class="symbol"> - <span class="name">GraphicalDistanceJoint</span><span class="params">(<span name="real">real: <a href="../../sims/dynamics/joints/DistanceJoint.html" class="extype" name="sims.dynamics.joints.DistanceJoint">DistanceJoint</a></span>)</span><span class="result"> extends <a href="GraphicalJoint.html" class="extype" name="graphyx.graphics.GraphicalJoint">GraphicalJoint</a> with <span class="extype" name="scala.Product">Product</span></span> - </span> - </h4> - <div class="fullcomment" id="comment"> - - - - - - </div> - - <div id="template"> - - <div id="mbrsel"> - <div id="ancestors"> - <h3>Inherits</h3> - <ol><li class="in" name="scala.Product">Product</li><li class="in" name="scala.Equals">Equals</li><li class="in" name="graphyx.graphics.GraphicalJoint">GraphicalJoint</li><li class="in" name="graphyx.graphics.GraphicalObject">GraphicalObject</li><li class="in" name="graphyx.graphics.Drawable">Drawable</li><li class="in" name="scala.AnyRef">AnyRef</li><li class="in" name="scala.Any">Any</li></ol> - </div> - </div> - - - - <div class="members" id="values"> - <h3>Value Members</h3> - <ol><li name="graphyx.graphics.GraphicalDistanceJoint#canEqual"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">canEqual</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Any">Any</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> - </span> - </h4> - - </li><li name="graphyx.graphics.GraphicalDistanceJoint#connection1"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">connection1</span><span class="result">: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span> - </span> - </h4> - - </li><li name="graphyx.graphics.GraphicalDistanceJoint#connection2"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">connection2</span><span class="result">: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span> - </span> - </h4> - - </li><li name="graphyx.graphics.Drawable#correctY"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">correctY</span><span class="params">(<span name="y">y: <span class="extype" name="scala.Double">Double</span></span>)</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Korrigiert einen Y-Wert in Bildschirmkoordinaten zu seinem kartesischen Aequivalent</p><div class="fullcomment"> - <div class="comment cmt"><p>Korrigiert einen Y-Wert in Bildschirmkoordinaten zu seinem kartesischen Aequivalent.</p></div> - <dl class="paramcmts block"><dt class="param">y</dt><dd class="cmt"><p>zu korrigierender Wert</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalDistanceJoint#draw"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">draw</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Stellt das graphische Objekt dar</p><div class="fullcomment"> - <div class="comment cmt"><p>Stellt das graphische Objekt dar.</p></div> - - - - - </div> - </li><li name="graphyx.graphics.Drawable#drawCircle"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawCircle</span><span class="params">(<span name="center">center: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="radius">radius: <span class="extype" name="scala.Double">Double</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen Kreis auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen Kreis auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">center</dt><dd class="cmt"><p>Mitte des Kreises in Weltkoordinaten</p></dd><dt class="param">radius</dt><dd class="cmt"><p>Radius des Kreises</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#drawLine"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawLine</span><span class="params">(<span name="startPoint">startPoint: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="endPoint">endPoint: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt eine Linie auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt eine Linie auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">startPoint</dt><dd class="cmt"><p>Startpunkt in Weltkoordinaten</p></dd><dt class="param">endPoint</dt><dd class="cmt"><p>Endpunkt in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#drawPoint"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawPoint</span><span class="params">(<span name="point">point: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen Punkt auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen Punkt auf <code>g</code>. -<p> -Der Punkt wird von einem Kreis umgeben.</p></div> - <dl class="paramcmts block"><dt class="param">point</dt><dd class="cmt"><p>Punkt in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#drawPolygon"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawPolygon</span><span class="params">(<span name="points">points: <span class="extype" name="scala.collection.Seq">Seq</span>[<a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a>]</span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt ein Polygon auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt ein Polygon auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">points</dt><dd class="cmt"><p>Eckpunkte des Polygons in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#drawVector"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawVector</span><span class="params">(<span name="v">v: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="p">p: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen Vektor auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen Vektor auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">v</dt><dd class="cmt"><p>Vektor in Weltkoordinaten</p></dd><dt class="param">p</dt><dd class="cmt"><p>Ursprungspunkt in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalDistanceJoint#equals"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">equals</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Any">Any</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> - </span> - </h4> - <p class="shortcomment cmt">This method is used to compare the receiver object (<code>this</code>) -with the argument object (<code>arg0</code>) for equivalence</p><div class="fullcomment"> - <div class="comment cmt"><p>This method is used to compare the receiver object (<code>this</code>) -with the argument object (<code>arg0</code>) for equivalence.</p><p><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><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>). -</p></div> - <dl class="paramcmts block"><dt class="param">arg0</dt><dd class="cmt"><p>the object to compare against this object for equality.</p></dd><dt>returns</dt><dd class="cmt"><p><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise. -</p></p></dd></dl> - - - - </div> - </li><li name="graphyx.graphics.Drawable#fillCircle"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">fillCircle</span><span class="params">(<span name="center">center: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="radius">radius: <span class="extype" name="scala.Double">Double</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen massiven Kreis auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen massiven Kreis auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">center</dt><dd class="cmt"><p>Mitte des Kreises in Weltkoordinaten</p></dd><dt class="param">radius</dt><dd class="cmt"><p>Radius des Kreises</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#fillPolygon"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">fillPolygon</span><span class="params">(<span name="points">points: <span class="extype" name="scala.collection.Seq">Seq</span>[<a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a>]</span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt ein massives Polygon auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt ein massives Polygon auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">points</dt><dd class="cmt"><p>Eckpunkte des Polygons in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#g"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">g</span><span class="result">: <span class="extype" name="java.awt.Graphics2D">Graphics2D</span></span> - </span> - </h4> - <p class="shortcomment cmt">Java Graphics Objekt zur graphischen Darstellung</p><div class="fullcomment"> - <div class="comment cmt"><p>Java Graphics Objekt zur graphischen Darstellung</p></div> - - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalDistanceJoint#hashCode"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">hashCode</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> - </span> - </h4> - <p class="shortcomment cmt">Returns a hash code value for the object</p><div class="fullcomment"> - <div class="comment cmt"><p>Returns a hash code value for the object.</p><p><p> -The default hashing algorithm is platform dependent.</p><p>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><p><p></p></div> - - - - - </div> - </li><li name="graphyx.graphics.Drawable#ppm"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">ppm</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Anzahl von Pixeln pro Meter</p><div class="fullcomment"> - <div class="comment cmt"><p>Anzahl von Pixeln pro Meter.</p></div> - - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalDistanceJoint#productArity"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productArity</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> - </span> - </h4> - - </li><li name="graphyx.graphics.GraphicalDistanceJoint#productElement"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productElement</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Int">Int</span></span>)</span><span class="result">: <span class="extype" name="scala.Any">Any</span></span> - </span> - </h4> - - </li><li name="scala.Product#productElements"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productElements</span><span class="result">: <span class="extype" name="scala.collection.Iterator">Iterator</span>[<span class="extype" name="scala.Any">Any</span>]</span> - </span> - </h4> - - </li><li name="scala.Product#productIterator"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productIterator</span><span class="result">: <span class="extype" name="scala.collection.Iterator">Iterator</span>[<span class="extype" name="scala.Any">Any</span>]</span> - </span> - </h4> - - </li><li name="graphyx.graphics.GraphicalDistanceJoint#productPrefix"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productPrefix</span><span class="result">: <span class="extype" name="java.lang.String">String</span></span> - </span> - </h4> - - </li><li name="graphyx.graphics.GraphicalDistanceJoint#real"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">real</span><span class="result">: <a href="../../sims/dynamics/joints/DistanceJoint.html" class="extype" name="sims.dynamics.joints.DistanceJoint">DistanceJoint</a></span> - </span> - </h4> - <p class="shortcomment cmt">Pointer to real object</p><div class="fullcomment"> - <div class="comment cmt"><p>Pointer to real object.</p></div> - - - - - </div> - </li><li name="graphyx.graphics.Drawable#scale"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">scale</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Skala in der die graphischen Objekte gezeichnet werden</p><div class="fullcomment"> - <div class="comment cmt"><p>Skala in der die graphischen Objekte gezeichnet werden.</p></div> - - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalDistanceJoint#toString"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">toString</span><span class="params">()</span><span class="result">: <span class="extype" name="java.lang.String">String</span></span> - </span> - </h4> - <p class="shortcomment cmt">Returns a string representation of the object</p><div class="fullcomment"> - <div class="comment cmt"><p>Returns a string representation of the object. -<p> -The default representation is platform dependent. -</p></div> - - - - - </div> - </li><li name="graphyx.graphics.Drawable#windowHeight"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">windowHeight</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> - </span> - </h4> - <p class="shortcomment cmt">Hoehe des Fensters in Pixeln</p><div class="fullcomment"> - <div class="comment cmt"><p>Hoehe des Fensters in Pixeln.</p></div> - - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li></ol> - </div> - - <div class="members" id="constructors"> - <h3>Instance constructors</h3> - <ol><li name="graphyx.graphics.GraphicalDistanceJoint#this"> - <h4 class="signature"> - <span class="kind">new</span> - <span class="symbol"> - <span class="name">GraphicalDistanceJoint</span><span class="params">(<span name="real">real: <a href="../../sims/dynamics/joints/DistanceJoint.html" class="extype" name="sims.dynamics.joints.DistanceJoint">DistanceJoint</a></span>)</span> - </span> - </h4> - - </li><li name="scala.AnyRef#this"> - <h4 class="signature"> - <span class="kind">new</span> - <span class="symbol"> - <span class="name">GraphicalDistanceJoint</span><span class="params">()</span> - </span> - </h4> - - </li></ol> - </div> - - </div> - - </body> - </html>
\ No newline at end of file diff --git a/doc/graphyx/graphics/GraphicalJoint.html b/doc/graphyx/graphics/GraphicalJoint.html deleted file mode 100644 index 58afee3..0000000 --- a/doc/graphyx/graphics/GraphicalJoint.html +++ /dev/null @@ -1,378 +0,0 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html> - <head> - <title>Scaladoc for graphyx.graphics.GraphicalJoint</title> - <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> - <script type="text/javascript" src="../../lib/jquery.js"></script> - - <style type="text/css"> - @import url(../../lib/template.css) screen; - </style> - <script type="text/javascript" src="../../lib/template.js"></script> - - </head> - <body class="type"> - - <p id="owner"><a href="../package.html">graphyx</a>.<a href="package.html">graphics</a></p> - - <div id="definition"> - <img src="../../lib/trait_big.png" /> - <h1>GraphicalJoint</h1> - </div> - - <h4 class="signature"> - <span class="kind">trait</span> - <span class="symbol"> - <span class="name">GraphicalJoint</span><span class="result"> extends <a href="GraphicalObject.html" class="extype" name="graphyx.graphics.GraphicalObject">GraphicalObject</a></span> - </span> - </h4> - <div class="fullcomment" id="comment"> - - - - - <div class="block"> - known subclasses: <a href="GraphicalSpringJoint.html">GraphicalSpringJoint</a>, <a href="GraphicalRevoluteJoint.html">GraphicalRevoluteJoint</a>, <a href="GraphicalDistanceJoint.html">GraphicalDistanceJoint</a> - </div> - </div> - - <div id="template"> - - <div id="mbrsel"> - <div id="ancestors"> - <h3>Inherits</h3> - <ol><li class="in" name="graphyx.graphics.GraphicalObject">GraphicalObject</li><li class="in" name="graphyx.graphics.Drawable">Drawable</li><li class="in" name="scala.AnyRef">AnyRef</li><li class="in" name="scala.Any">Any</li></ol> - </div> - </div> - - - - <div class="members" id="values"> - <h3>Value Members</h3> - <ol><li name="graphyx.graphics.Drawable#correctY"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">correctY</span><span class="params">(<span name="y">y: <span class="extype" name="scala.Double">Double</span></span>)</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Korrigiert einen Y-Wert in Bildschirmkoordinaten zu seinem kartesischen Aequivalent</p><div class="fullcomment"> - <div class="comment cmt"><p>Korrigiert einen Y-Wert in Bildschirmkoordinaten zu seinem kartesischen Aequivalent.</p></div> - <dl class="paramcmts block"><dt class="param">y</dt><dd class="cmt"><p>zu korrigierender Wert</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalObject#draw"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">draw</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Stellt das graphische Objekt dar</p><div class="fullcomment"> - <div class="comment cmt"><p>Stellt das graphische Objekt dar.</p></div> - - <div class="block"> - attributes: abstract - </div> - <div class="block"> - definition classes: <a href="GraphicalObject.html">GraphicalObject</a> ⇐ <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#drawCircle"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawCircle</span><span class="params">(<span name="center">center: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="radius">radius: <span class="extype" name="scala.Double">Double</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen Kreis auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen Kreis auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">center</dt><dd class="cmt"><p>Mitte des Kreises in Weltkoordinaten</p></dd><dt class="param">radius</dt><dd class="cmt"><p>Radius des Kreises</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#drawLine"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawLine</span><span class="params">(<span name="startPoint">startPoint: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="endPoint">endPoint: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt eine Linie auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt eine Linie auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">startPoint</dt><dd class="cmt"><p>Startpunkt in Weltkoordinaten</p></dd><dt class="param">endPoint</dt><dd class="cmt"><p>Endpunkt in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#drawPoint"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawPoint</span><span class="params">(<span name="point">point: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen Punkt auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen Punkt auf <code>g</code>. -<p> -Der Punkt wird von einem Kreis umgeben.</p></div> - <dl class="paramcmts block"><dt class="param">point</dt><dd class="cmt"><p>Punkt in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#drawPolygon"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawPolygon</span><span class="params">(<span name="points">points: <span class="extype" name="scala.collection.Seq">Seq</span>[<a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a>]</span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt ein Polygon auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt ein Polygon auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">points</dt><dd class="cmt"><p>Eckpunkte des Polygons in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#drawVector"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawVector</span><span class="params">(<span name="v">v: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="p">p: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen Vektor auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen Vektor auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">v</dt><dd class="cmt"><p>Vektor in Weltkoordinaten</p></dd><dt class="param">p</dt><dd class="cmt"><p>Ursprungspunkt in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="scala.AnyRef#equals"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">equals</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Any">Any</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> - </span> - </h4> - <p class="shortcomment cmt">This method is used to compare the receiver object (<code>this</code>) -with the argument object (<code>arg0</code>) for equivalence</p><div class="fullcomment"> - <div class="comment cmt"><p>This method is used to compare the receiver object (<code>this</code>) -with the argument object (<code>arg0</code>) for equivalence.</p><p><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><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>). -</p></div> - <dl class="paramcmts block"><dt class="param">arg0</dt><dd class="cmt"><p>the object to compare against this object for equality.</p></dd><dt>returns</dt><dd class="cmt"><p><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise. -</p></p></dd></dl> - - <div class="block"> - definition classes: AnyRef ⇐ Any - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#fillCircle"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">fillCircle</span><span class="params">(<span name="center">center: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="radius">radius: <span class="extype" name="scala.Double">Double</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen massiven Kreis auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen massiven Kreis auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">center</dt><dd class="cmt"><p>Mitte des Kreises in Weltkoordinaten</p></dd><dt class="param">radius</dt><dd class="cmt"><p>Radius des Kreises</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#fillPolygon"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">fillPolygon</span><span class="params">(<span name="points">points: <span class="extype" name="scala.collection.Seq">Seq</span>[<a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a>]</span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt ein massives Polygon auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt ein massives Polygon auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">points</dt><dd class="cmt"><p>Eckpunkte des Polygons in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#g"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">g</span><span class="result">: <span class="extype" name="java.awt.Graphics2D">Graphics2D</span></span> - </span> - </h4> - <p class="shortcomment cmt">Java Graphics Objekt zur graphischen Darstellung</p><div class="fullcomment"> - <div class="comment cmt"><p>Java Graphics Objekt zur graphischen Darstellung</p></div> - - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="scala.AnyRef#hashCode"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">hashCode</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> - </span> - </h4> - <p class="shortcomment cmt">Returns a hash code value for the object</p><div class="fullcomment"> - <div class="comment cmt"><p>Returns a hash code value for the object.</p><p><p> -The default hashing algorithm is platform dependent.</p><p>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><p><p></p></div> - - - <div class="block"> - definition classes: AnyRef ⇐ Any - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#ppm"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">ppm</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Anzahl von Pixeln pro Meter</p><div class="fullcomment"> - <div class="comment cmt"><p>Anzahl von Pixeln pro Meter.</p></div> - - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalJoint#real"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">real</span><span class="result">: <a href="../../sims/dynamics/joints/Joint.html" class="extype" name="sims.dynamics.joints.Joint">Joint</a></span> - </span> - </h4> - <p class="shortcomment cmt">Pointer to real object</p><div class="fullcomment"> - <div class="comment cmt"><p>Pointer to real object.</p></div> - - <div class="block"> - attributes: abstract - </div> - - - </div> - </li><li name="graphyx.graphics.Drawable#scale"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">scale</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Skala in der die graphischen Objekte gezeichnet werden</p><div class="fullcomment"> - <div class="comment cmt"><p>Skala in der die graphischen Objekte gezeichnet werden.</p></div> - - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="scala.AnyRef#toString"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">toString</span><span class="params">()</span><span class="result">: <span class="extype" name="java.lang.String">String</span></span> - </span> - </h4> - <p class="shortcomment cmt">Returns a string representation of the object</p><div class="fullcomment"> - <div class="comment cmt"><p>Returns a string representation of the object. -<p> -The default representation is platform dependent. -</p></div> - - - <div class="block"> - definition classes: AnyRef ⇐ Any - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#windowHeight"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">windowHeight</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> - </span> - </h4> - <p class="shortcomment cmt">Hoehe des Fensters in Pixeln</p><div class="fullcomment"> - <div class="comment cmt"><p>Hoehe des Fensters in Pixeln.</p></div> - - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li></ol> - </div> - - - - </div> - - </body> - </html>
\ No newline at end of file diff --git a/doc/graphyx/graphics/GraphicalObject.html b/doc/graphyx/graphics/GraphicalObject.html deleted file mode 100644 index c99d087..0000000 --- a/doc/graphyx/graphics/GraphicalObject.html +++ /dev/null @@ -1,376 +0,0 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html> - <head> - <title>Scaladoc for graphyx.graphics.GraphicalObject</title> - <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> - <script type="text/javascript" src="../../lib/jquery.js"></script> - - <style type="text/css"> - @import url(../../lib/template.css) screen; - </style> - <script type="text/javascript" src="../../lib/template.js"></script> - - </head> - <body class="type"> - - <p id="owner"><a href="../package.html">graphyx</a>.<a href="package.html">graphics</a></p> - - <div id="definition"> - <img src="../../lib/trait_big.png" /> - <h1>GraphicalObject</h1> - </div> - - <h4 class="signature"> - <span class="kind">trait</span> - <span class="symbol"> - <span class="name">GraphicalObject</span><span class="result"> extends <a href="Drawable.html" class="extype" name="graphyx.graphics.Drawable">Drawable</a></span> - </span> - </h4> - <div class="fullcomment" id="comment"> - <div class="comment cmt"><p>Only copies functional info! (e.g. Graphical world does not include shapes, bodies).</p></div> - - - - <div class="block"> - known subclasses: <a href="GraphicalJoint.html">GraphicalJoint</a>, <a href="GraphicalShape.html">GraphicalShape</a>, <a href="GraphicalPair.html">GraphicalPair</a>, <a href="GraphicalCollision.html">GraphicalCollision</a>, <a href="GraphicalBody.html">GraphicalBody</a>, <a href="GraphicalAABB.html">GraphicalAABB</a> - </div> - </div> - - <div id="template"> - - <div id="mbrsel"> - <div id="ancestors"> - <h3>Inherits</h3> - <ol><li class="in" name="graphyx.graphics.Drawable">Drawable</li><li class="in" name="scala.AnyRef">AnyRef</li><li class="in" name="scala.Any">Any</li></ol> - </div> - </div> - - - - <div class="members" id="values"> - <h3>Value Members</h3> - <ol><li name="graphyx.graphics.Drawable#correctY"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">correctY</span><span class="params">(<span name="y">y: <span class="extype" name="scala.Double">Double</span></span>)</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Korrigiert einen Y-Wert in Bildschirmkoordinaten zu seinem kartesischen Aequivalent</p><div class="fullcomment"> - <div class="comment cmt"><p>Korrigiert einen Y-Wert in Bildschirmkoordinaten zu seinem kartesischen Aequivalent.</p></div> - <dl class="paramcmts block"><dt class="param">y</dt><dd class="cmt"><p>zu korrigierender Wert</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalObject#draw"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">draw</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Stellt das graphische Objekt dar</p><div class="fullcomment"> - <div class="comment cmt"><p>Stellt das graphische Objekt dar.</p></div> - - <div class="block"> - attributes: abstract - </div> - - - </div> - </li><li name="graphyx.graphics.Drawable#drawCircle"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawCircle</span><span class="params">(<span name="center">center: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="radius">radius: <span class="extype" name="scala.Double">Double</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen Kreis auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen Kreis auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">center</dt><dd class="cmt"><p>Mitte des Kreises in Weltkoordinaten</p></dd><dt class="param">radius</dt><dd class="cmt"><p>Radius des Kreises</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#drawLine"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawLine</span><span class="params">(<span name="startPoint">startPoint: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="endPoint">endPoint: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt eine Linie auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt eine Linie auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">startPoint</dt><dd class="cmt"><p>Startpunkt in Weltkoordinaten</p></dd><dt class="param">endPoint</dt><dd class="cmt"><p>Endpunkt in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#drawPoint"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawPoint</span><span class="params">(<span name="point">point: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen Punkt auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen Punkt auf <code>g</code>. -<p> -Der Punkt wird von einem Kreis umgeben.</p></div> - <dl class="paramcmts block"><dt class="param">point</dt><dd class="cmt"><p>Punkt in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#drawPolygon"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawPolygon</span><span class="params">(<span name="points">points: <span class="extype" name="scala.collection.Seq">Seq</span>[<a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a>]</span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt ein Polygon auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt ein Polygon auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">points</dt><dd class="cmt"><p>Eckpunkte des Polygons in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#drawVector"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawVector</span><span class="params">(<span name="v">v: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="p">p: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen Vektor auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen Vektor auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">v</dt><dd class="cmt"><p>Vektor in Weltkoordinaten</p></dd><dt class="param">p</dt><dd class="cmt"><p>Ursprungspunkt in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="scala.AnyRef#equals"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">equals</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Any">Any</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> - </span> - </h4> - <p class="shortcomment cmt">This method is used to compare the receiver object (<code>this</code>) -with the argument object (<code>arg0</code>) for equivalence</p><div class="fullcomment"> - <div class="comment cmt"><p>This method is used to compare the receiver object (<code>this</code>) -with the argument object (<code>arg0</code>) for equivalence.</p><p><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><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>). -</p></div> - <dl class="paramcmts block"><dt class="param">arg0</dt><dd class="cmt"><p>the object to compare against this object for equality.</p></dd><dt>returns</dt><dd class="cmt"><p><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise. -</p></p></dd></dl> - - <div class="block"> - definition classes: AnyRef ⇐ Any - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#fillCircle"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">fillCircle</span><span class="params">(<span name="center">center: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="radius">radius: <span class="extype" name="scala.Double">Double</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen massiven Kreis auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen massiven Kreis auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">center</dt><dd class="cmt"><p>Mitte des Kreises in Weltkoordinaten</p></dd><dt class="param">radius</dt><dd class="cmt"><p>Radius des Kreises</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#fillPolygon"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">fillPolygon</span><span class="params">(<span name="points">points: <span class="extype" name="scala.collection.Seq">Seq</span>[<a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a>]</span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt ein massives Polygon auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt ein massives Polygon auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">points</dt><dd class="cmt"><p>Eckpunkte des Polygons in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#g"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">g</span><span class="result">: <span class="extype" name="java.awt.Graphics2D">Graphics2D</span></span> - </span> - </h4> - <p class="shortcomment cmt">Java Graphics Objekt zur graphischen Darstellung</p><div class="fullcomment"> - <div class="comment cmt"><p>Java Graphics Objekt zur graphischen Darstellung</p></div> - - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="scala.AnyRef#hashCode"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">hashCode</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> - </span> - </h4> - <p class="shortcomment cmt">Returns a hash code value for the object</p><div class="fullcomment"> - <div class="comment cmt"><p>Returns a hash code value for the object.</p><p><p> -The default hashing algorithm is platform dependent.</p><p>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><p><p></p></div> - - - <div class="block"> - definition classes: AnyRef ⇐ Any - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#ppm"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">ppm</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Anzahl von Pixeln pro Meter</p><div class="fullcomment"> - <div class="comment cmt"><p>Anzahl von Pixeln pro Meter.</p></div> - - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalObject#real"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">real</span><span class="result">: AnyRef</span> - </span> - </h4> - <p class="shortcomment cmt">Pointer to real object</p><div class="fullcomment"> - <div class="comment cmt"><p>Pointer to real object.</p></div> - - <div class="block"> - attributes: abstract - </div> - - - </div> - </li><li name="graphyx.graphics.Drawable#scale"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">scale</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Skala in der die graphischen Objekte gezeichnet werden</p><div class="fullcomment"> - <div class="comment cmt"><p>Skala in der die graphischen Objekte gezeichnet werden.</p></div> - - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="scala.AnyRef#toString"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">toString</span><span class="params">()</span><span class="result">: <span class="extype" name="java.lang.String">String</span></span> - </span> - </h4> - <p class="shortcomment cmt">Returns a string representation of the object</p><div class="fullcomment"> - <div class="comment cmt"><p>Returns a string representation of the object. -<p> -The default representation is platform dependent. -</p></div> - - - <div class="block"> - definition classes: AnyRef ⇐ Any - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#windowHeight"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">windowHeight</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> - </span> - </h4> - <p class="shortcomment cmt">Hoehe des Fensters in Pixeln</p><div class="fullcomment"> - <div class="comment cmt"><p>Hoehe des Fensters in Pixeln.</p></div> - - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li></ol> - </div> - - - - </div> - - </body> - </html>
\ No newline at end of file diff --git a/doc/graphyx/graphics/GraphicalPair.html b/doc/graphyx/graphics/GraphicalPair.html deleted file mode 100644 index 637de0b..0000000 --- a/doc/graphyx/graphics/GraphicalPair.html +++ /dev/null @@ -1,447 +0,0 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html> - <head> - <title>Scaladoc for graphyx.graphics.GraphicalPair</title> - <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> - <script type="text/javascript" src="../../lib/jquery.js"></script> - - <style type="text/css"> - @import url(../../lib/template.css) screen; - </style> - <script type="text/javascript" src="../../lib/template.js"></script> - - </head> - <body class="type"> - - <p id="owner"><a href="../package.html">graphyx</a>.<a href="package.html">graphics</a></p> - - <div id="definition"> - <img src="../../lib/class_big.png" /> - <h1>GraphicalPair</h1> - </div> - - <h4 class="signature"> - <span class="kind">class</span> - <span class="symbol"> - <span class="name">GraphicalPair</span><span class="params">(<span name="real">real: <a href="../../sims/collision/Pair.html" class="extype" name="sims.collision.Pair">Pair</a></span>)</span><span class="result"> extends <a href="GraphicalObject.html" class="extype" name="graphyx.graphics.GraphicalObject">GraphicalObject</a> with <span class="extype" name="scala.Product">Product</span></span> - </span> - </h4> - <div class="fullcomment" id="comment"> - - - - - - </div> - - <div id="template"> - - <div id="mbrsel"> - <div id="ancestors"> - <h3>Inherits</h3> - <ol><li class="in" name="scala.Product">Product</li><li class="in" name="scala.Equals">Equals</li><li class="in" name="graphyx.graphics.GraphicalObject">GraphicalObject</li><li class="in" name="graphyx.graphics.Drawable">Drawable</li><li class="in" name="scala.AnyRef">AnyRef</li><li class="in" name="scala.Any">Any</li></ol> - </div> - </div> - - - - <div class="members" id="values"> - <h3>Value Members</h3> - <ol><li name="graphyx.graphics.GraphicalPair#canEqual"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">canEqual</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Any">Any</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> - </span> - </h4> - - </li><li name="graphyx.graphics.Drawable#correctY"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">correctY</span><span class="params">(<span name="y">y: <span class="extype" name="scala.Double">Double</span></span>)</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Korrigiert einen Y-Wert in Bildschirmkoordinaten zu seinem kartesischen Aequivalent</p><div class="fullcomment"> - <div class="comment cmt"><p>Korrigiert einen Y-Wert in Bildschirmkoordinaten zu seinem kartesischen Aequivalent.</p></div> - <dl class="paramcmts block"><dt class="param">y</dt><dd class="cmt"><p>zu korrigierender Wert</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalPair#draw"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">draw</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Stellt das graphische Objekt dar</p><div class="fullcomment"> - <div class="comment cmt"><p>Stellt das graphische Objekt dar.</p></div> - - - - - </div> - </li><li name="graphyx.graphics.Drawable#drawCircle"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawCircle</span><span class="params">(<span name="center">center: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="radius">radius: <span class="extype" name="scala.Double">Double</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen Kreis auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen Kreis auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">center</dt><dd class="cmt"><p>Mitte des Kreises in Weltkoordinaten</p></dd><dt class="param">radius</dt><dd class="cmt"><p>Radius des Kreises</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#drawLine"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawLine</span><span class="params">(<span name="startPoint">startPoint: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="endPoint">endPoint: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt eine Linie auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt eine Linie auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">startPoint</dt><dd class="cmt"><p>Startpunkt in Weltkoordinaten</p></dd><dt class="param">endPoint</dt><dd class="cmt"><p>Endpunkt in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#drawPoint"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawPoint</span><span class="params">(<span name="point">point: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen Punkt auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen Punkt auf <code>g</code>. -<p> -Der Punkt wird von einem Kreis umgeben.</p></div> - <dl class="paramcmts block"><dt class="param">point</dt><dd class="cmt"><p>Punkt in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#drawPolygon"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawPolygon</span><span class="params">(<span name="points">points: <span class="extype" name="scala.collection.Seq">Seq</span>[<a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a>]</span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt ein Polygon auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt ein Polygon auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">points</dt><dd class="cmt"><p>Eckpunkte des Polygons in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#drawVector"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawVector</span><span class="params">(<span name="v">v: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="p">p: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen Vektor auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen Vektor auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">v</dt><dd class="cmt"><p>Vektor in Weltkoordinaten</p></dd><dt class="param">p</dt><dd class="cmt"><p>Ursprungspunkt in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalPair#equals"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">equals</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Any">Any</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> - </span> - </h4> - <p class="shortcomment cmt">This method is used to compare the receiver object (<code>this</code>) -with the argument object (<code>arg0</code>) for equivalence</p><div class="fullcomment"> - <div class="comment cmt"><p>This method is used to compare the receiver object (<code>this</code>) -with the argument object (<code>arg0</code>) for equivalence.</p><p><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><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>). -</p></div> - <dl class="paramcmts block"><dt class="param">arg0</dt><dd class="cmt"><p>the object to compare against this object for equality.</p></dd><dt>returns</dt><dd class="cmt"><p><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise. -</p></p></dd></dl> - - - - </div> - </li><li name="graphyx.graphics.Drawable#fillCircle"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">fillCircle</span><span class="params">(<span name="center">center: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="radius">radius: <span class="extype" name="scala.Double">Double</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen massiven Kreis auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen massiven Kreis auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">center</dt><dd class="cmt"><p>Mitte des Kreises in Weltkoordinaten</p></dd><dt class="param">radius</dt><dd class="cmt"><p>Radius des Kreises</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#fillPolygon"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">fillPolygon</span><span class="params">(<span name="points">points: <span class="extype" name="scala.collection.Seq">Seq</span>[<a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a>]</span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt ein massives Polygon auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt ein massives Polygon auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">points</dt><dd class="cmt"><p>Eckpunkte des Polygons in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#g"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">g</span><span class="result">: <span class="extype" name="java.awt.Graphics2D">Graphics2D</span></span> - </span> - </h4> - <p class="shortcomment cmt">Java Graphics Objekt zur graphischen Darstellung</p><div class="fullcomment"> - <div class="comment cmt"><p>Java Graphics Objekt zur graphischen Darstellung</p></div> - - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalPair#hashCode"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">hashCode</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> - </span> - </h4> - <p class="shortcomment cmt">Returns a hash code value for the object</p><div class="fullcomment"> - <div class="comment cmt"><p>Returns a hash code value for the object.</p><p><p> -The default hashing algorithm is platform dependent.</p><p>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><p><p></p></div> - - - - - </div> - </li><li name="graphyx.graphics.GraphicalPair#pos1"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">pos1</span><span class="result">: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span> - </span> - </h4> - - </li><li name="graphyx.graphics.GraphicalPair#pos2"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">pos2</span><span class="result">: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span> - </span> - </h4> - - </li><li name="graphyx.graphics.Drawable#ppm"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">ppm</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Anzahl von Pixeln pro Meter</p><div class="fullcomment"> - <div class="comment cmt"><p>Anzahl von Pixeln pro Meter.</p></div> - - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalPair#productArity"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productArity</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> - </span> - </h4> - - </li><li name="graphyx.graphics.GraphicalPair#productElement"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productElement</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Int">Int</span></span>)</span><span class="result">: <span class="extype" name="scala.Any">Any</span></span> - </span> - </h4> - - </li><li name="scala.Product#productElements"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productElements</span><span class="result">: <span class="extype" name="scala.collection.Iterator">Iterator</span>[<span class="extype" name="scala.Any">Any</span>]</span> - </span> - </h4> - - </li><li name="scala.Product#productIterator"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productIterator</span><span class="result">: <span class="extype" name="scala.collection.Iterator">Iterator</span>[<span class="extype" name="scala.Any">Any</span>]</span> - </span> - </h4> - - </li><li name="graphyx.graphics.GraphicalPair#productPrefix"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productPrefix</span><span class="result">: <span class="extype" name="java.lang.String">String</span></span> - </span> - </h4> - - </li><li name="graphyx.graphics.GraphicalPair#real"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">real</span><span class="result">: <a href="../../sims/collision/Pair.html" class="extype" name="sims.collision.Pair">Pair</a></span> - </span> - </h4> - <p class="shortcomment cmt">Pointer to real object</p><div class="fullcomment"> - <div class="comment cmt"><p>Pointer to real object.</p></div> - - - - - </div> - </li><li name="graphyx.graphics.Drawable#scale"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">scale</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Skala in der die graphischen Objekte gezeichnet werden</p><div class="fullcomment"> - <div class="comment cmt"><p>Skala in der die graphischen Objekte gezeichnet werden.</p></div> - - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalPair#toString"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">toString</span><span class="params">()</span><span class="result">: <span class="extype" name="java.lang.String">String</span></span> - </span> - </h4> - <p class="shortcomment cmt">Returns a string representation of the object</p><div class="fullcomment"> - <div class="comment cmt"><p>Returns a string representation of the object. -<p> -The default representation is platform dependent. -</p></div> - - - - - </div> - </li><li name="graphyx.graphics.Drawable#windowHeight"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">windowHeight</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> - </span> - </h4> - <p class="shortcomment cmt">Hoehe des Fensters in Pixeln</p><div class="fullcomment"> - <div class="comment cmt"><p>Hoehe des Fensters in Pixeln.</p></div> - - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li></ol> - </div> - - <div class="members" id="constructors"> - <h3>Instance constructors</h3> - <ol><li name="graphyx.graphics.GraphicalPair#this"> - <h4 class="signature"> - <span class="kind">new</span> - <span class="symbol"> - <span class="name">GraphicalPair</span><span class="params">(<span name="real">real: <a href="../../sims/collision/Pair.html" class="extype" name="sims.collision.Pair">Pair</a></span>)</span> - </span> - </h4> - - </li><li name="scala.AnyRef#this"> - <h4 class="signature"> - <span class="kind">new</span> - <span class="symbol"> - <span class="name">GraphicalPair</span><span class="params">()</span> - </span> - </h4> - - </li></ol> - </div> - - </div> - - </body> - </html>
\ No newline at end of file diff --git a/doc/graphyx/graphics/GraphicalRectangle.html b/doc/graphyx/graphics/GraphicalRectangle.html deleted file mode 100644 index 5202e32..0000000 --- a/doc/graphyx/graphics/GraphicalRectangle.html +++ /dev/null @@ -1,836 +0,0 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html> - <head> - <title>Scaladoc for graphyx.graphics.GraphicalRectangle</title> - <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> - <script type="text/javascript" src="../../lib/jquery.js"></script> - - <style type="text/css"> - @import url(../../lib/template.css) screen; - </style> - <script type="text/javascript" src="../../lib/template.js"></script> - - </head> - <body class="type"> - - <p id="owner"><a href="../package.html">graphyx</a>.<a href="package.html">graphics</a></p> - - <div id="definition"> - <img src="../../lib/class_big.png" /> - <h1>GraphicalRectangle</h1> - </div> - - <h4 class="signature"> - <span class="kind">class</span> - <span class="symbol"> - <span class="name">GraphicalRectangle</span><span class="params">(<span name="real">real: <a href="../../sims/dynamics/Rectangle.html" class="extype" name="sims.dynamics.Rectangle">Rectangle</a></span>)</span><span class="result"> extends <a href="../../sims/dynamics/Rectangle.html" class="extype" name="sims.dynamics.Rectangle">Rectangle</a> with <a href="GraphicalShape.html" class="extype" name="graphyx.graphics.GraphicalShape">GraphicalShape</a> with <span class="extype" name="scala.Product">Product</span></span> - </span> - </h4> - <div class="fullcomment" id="comment"> - - - - - - </div> - - <div id="template"> - - <div id="mbrsel"> - <div id="ancestors"> - <h3>Inherits</h3> - <ol><li class="in" name="graphyx.graphics.GraphicalShape">GraphicalShape</li><li class="in" name="graphyx.graphics.GraphicalObject">GraphicalObject</li><li class="in" name="graphyx.graphics.Drawable">Drawable</li><li class="in" name="sims.dynamics.Rectangle">Rectangle</li><li class="in" name="scala.Product">Product</li><li class="in" name="scala.Equals">Equals</li><li class="in" name="sims.geometry.ConvexPolygon">ConvexPolygon</li><li class="in" name="sims.dynamics.Shape">Shape</li><li class="in" name="scala.AnyRef">AnyRef</li><li class="in" name="scala.Any">Any</li></ol> - </div> - </div> - - - - <div class="members" id="values"> - <h3>Value Members</h3> - <ol><li name="sims.geometry.ConvexPolygon#AABB"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">AABB</span><span class="result">: <a href="../../sims/collision/AABB.html" class="extype" name="sims.collision.AABB">AABB</a></span> - </span> - </h4> - <p class="shortcomment cmt">Returns this polygon's axis aligned bounding box</p><div class="fullcomment"> - <div class="comment cmt"><p>Returns this polygon's axis aligned bounding box.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/geometry/ConvexPolygon.html">ConvexPolygon</a> - </div> - - </div> - </li><li name="sims.dynamics.Rectangle#I"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">I</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Moment of inertia for a rotation about this shape's COM</p><div class="fullcomment"> - <div class="comment cmt"><p>Moment of inertia for a rotation about this shape's COM.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Rectangle.html">Rectangle</a> ⇐ <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="sims.dynamics.Shape#asBody"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">asBody</span><span class="result">: <a href="../../sims/dynamics/Body.html" class="extype" name="sims.dynamics.Body">Body</a></span> - </span> - </h4> - <p class="shortcomment cmt">Creates a new body made out of tis shape</p><div class="fullcomment"> - <div class="comment cmt"><p>Creates a new body made out of tis shape.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="sims.dynamics.Shape#body"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">body</span><span class="result">: <a href="../../sims/dynamics/Body.html" class="extype" name="sims.dynamics.Body">Body</a></span> - </span> - </h4> - <p class="shortcomment cmt">Returns this shape's containing body</p><div class="fullcomment"> - <div class="comment cmt"><p>Returns this shape's containing body.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalRectangle#canEqual"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">canEqual</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Any">Any</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> - </span> - </h4> - - </li><li name="sims.dynamics.Shape#collidable"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">collidable</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> - </span> - </h4> - <p class="shortcomment cmt">Flag determining this shapes ability to collide with other shapes</p><div class="fullcomment"> - <div class="comment cmt"><p>Flag determining this shapes ability to collide with other shapes.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="sims.geometry.ConvexPolygon#contains"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">contains</span><span class="params">(<span name="point">point: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> - </span> - </h4> - <p class="shortcomment cmt">Checks if the point <code>point</code> is contained in this polygon</p><div class="fullcomment"> - <div class="comment cmt"><p>Checks if the point <code>point</code> is contained in this polygon. -<p> -A ray is created, originating from the point and following an arbitrary direction (X-Axis was chosen). -The number of intersections between the ray and this polygon's sides (including vertices) is counted. -The amount of intersections with vertices is substracted form the previuos number. -If the latter number is odd, the point is contained in the polygon.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/geometry/ConvexPolygon.html">ConvexPolygon</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#correctY"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">correctY</span><span class="params">(<span name="y">y: <span class="extype" name="scala.Double">Double</span></span>)</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Korrigiert einen Y-Wert in Bildschirmkoordinaten zu seinem kartesischen Aequivalent</p><div class="fullcomment"> - <div class="comment cmt"><p>Korrigiert einen Y-Wert in Bildschirmkoordinaten zu seinem kartesischen Aequivalent.</p></div> - <dl class="paramcmts block"><dt class="param">y</dt><dd class="cmt"><p>zu korrigierender Wert</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="sims.dynamics.Rectangle#density"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">density</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Density</p><div class="fullcomment"> - <div class="comment cmt"><p>Density. (Mass per area)</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Rectangle.html">Rectangle</a> ⇐ <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalRectangle#draw"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">draw</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Stellt das graphische Objekt dar</p><div class="fullcomment"> - <div class="comment cmt"><p>Stellt das graphische Objekt dar.</p></div> - - - - - </div> - </li><li name="graphyx.graphics.Drawable#drawCircle"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawCircle</span><span class="params">(<span name="center">center: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="radius">radius: <span class="extype" name="scala.Double">Double</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen Kreis auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen Kreis auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">center</dt><dd class="cmt"><p>Mitte des Kreises in Weltkoordinaten</p></dd><dt class="param">radius</dt><dd class="cmt"><p>Radius des Kreises</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#drawLine"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawLine</span><span class="params">(<span name="startPoint">startPoint: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="endPoint">endPoint: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt eine Linie auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt eine Linie auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">startPoint</dt><dd class="cmt"><p>Startpunkt in Weltkoordinaten</p></dd><dt class="param">endPoint</dt><dd class="cmt"><p>Endpunkt in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#drawPoint"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawPoint</span><span class="params">(<span name="point">point: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen Punkt auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen Punkt auf <code>g</code>. -<p> -Der Punkt wird von einem Kreis umgeben.</p></div> - <dl class="paramcmts block"><dt class="param">point</dt><dd class="cmt"><p>Punkt in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#drawPolygon"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawPolygon</span><span class="params">(<span name="points">points: <span class="extype" name="scala.collection.Seq">Seq</span>[<a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a>]</span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt ein Polygon auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt ein Polygon auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">points</dt><dd class="cmt"><p>Eckpunkte des Polygons in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#drawVector"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawVector</span><span class="params">(<span name="v">v: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="p">p: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen Vektor auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen Vektor auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">v</dt><dd class="cmt"><p>Vektor in Weltkoordinaten</p></dd><dt class="param">p</dt><dd class="cmt"><p>Ursprungspunkt in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalRectangle#equals"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">equals</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Any">Any</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> - </span> - </h4> - <p class="shortcomment cmt">This method is used to compare the receiver object (<code>this</code>) -with the argument object (<code>arg0</code>) for equivalence</p><div class="fullcomment"> - <div class="comment cmt"><p>This method is used to compare the receiver object (<code>this</code>) -with the argument object (<code>arg0</code>) for equivalence.</p><p><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><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>). -</p></div> - <dl class="paramcmts block"><dt class="param">arg0</dt><dd class="cmt"><p>the object to compare against this object for equality.</p></dd><dt>returns</dt><dd class="cmt"><p><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise. -</p></p></dd></dl> - - - - </div> - </li><li name="graphyx.graphics.Drawable#fillCircle"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">fillCircle</span><span class="params">(<span name="center">center: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="radius">radius: <span class="extype" name="scala.Double">Double</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen massiven Kreis auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen massiven Kreis auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">center</dt><dd class="cmt"><p>Mitte des Kreises in Weltkoordinaten</p></dd><dt class="param">radius</dt><dd class="cmt"><p>Radius des Kreises</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#fillPolygon"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">fillPolygon</span><span class="params">(<span name="points">points: <span class="extype" name="scala.collection.Seq">Seq</span>[<a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a>]</span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt ein massives Polygon auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt ein massives Polygon auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">points</dt><dd class="cmt"><p>Eckpunkte des Polygons in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="sims.dynamics.Shape#friction"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">friction</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Part of the coefficient of friction for a collision between this shape and another</p><div class="fullcomment"> - <div class="comment cmt"><p>Part of the coefficient of friction for a collision between this shape and another. -The coefficient of friction is calculated out of the product of this part and the other shape's part.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#g"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">g</span><span class="result">: <span class="extype" name="java.awt.Graphics2D">Graphics2D</span></span> - </span> - </h4> - <p class="shortcomment cmt">Java Graphics Objekt zur graphischen Darstellung</p><div class="fullcomment"> - <div class="comment cmt"><p>Java Graphics Objekt zur graphischen Darstellung</p></div> - - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="sims.dynamics.Rectangle#halfDiags"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">halfDiags</span><span class="result">: <span class="extype" name="scala.Array">Array</span>[<a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a>]</span> - </span> - </h4> - <p class="shortcomment cmt">Returns the vectors from the center to the vertices of this rectangle</p><div class="fullcomment"> - <div class="comment cmt"><p>Returns the vectors from the center to the vertices of this rectangle. -The first vertex is the upper-right vertex at a rotation of 0. -Vertices are ordered counter-clockwise.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Rectangle.html">Rectangle</a> - </div> - - </div> - </li><li name="sims.dynamics.Rectangle#halfHeight"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">halfHeight</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - - </li><li name="sims.dynamics.Rectangle#halfWidth"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">halfWidth</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - - </li><li name="graphyx.graphics.GraphicalRectangle#hashCode"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">hashCode</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> - </span> - </h4> - <p class="shortcomment cmt">Returns a hash code value for the object</p><div class="fullcomment"> - <div class="comment cmt"><p>Returns a hash code value for the object.</p><p><p> -The default hashing algorithm is platform dependent.</p><p>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><p><p></p></div> - - - - - </div> - </li><li name="sims.dynamics.Shape#mass"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">mass</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Returns the mass of this shape</p><div class="fullcomment"> - <div class="comment cmt"><p>Returns the mass of this shape. The mass is given by volume times density.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="sims.dynamics.Shape#pos"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">pos</span><span class="result">: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span> - </span> - </h4> - <p class="shortcomment cmt">Position of this shape's COM (in world coordinates)</p><div class="fullcomment"> - <div class="comment cmt"><p>Position of this shape's COM (in world coordinates).</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#ppm"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">ppm</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Anzahl von Pixeln pro Meter</p><div class="fullcomment"> - <div class="comment cmt"><p>Anzahl von Pixeln pro Meter.</p></div> - - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalRectangle#productArity"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productArity</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> - </span> - </h4> - - </li><li name="graphyx.graphics.GraphicalRectangle#productElement"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productElement</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Int">Int</span></span>)</span><span class="result">: <span class="extype" name="scala.Any">Any</span></span> - </span> - </h4> - - </li><li name="scala.Product#productElements"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productElements</span><span class="result">: <span class="extype" name="scala.collection.Iterator">Iterator</span>[<span class="extype" name="scala.Any">Any</span>]</span> - </span> - </h4> - - </li><li name="scala.Product#productIterator"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productIterator</span><span class="result">: <span class="extype" name="scala.collection.Iterator">Iterator</span>[<span class="extype" name="scala.Any">Any</span>]</span> - </span> - </h4> - - </li><li name="graphyx.graphics.GraphicalRectangle#productPrefix"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productPrefix</span><span class="result">: <span class="extype" name="java.lang.String">String</span></span> - </span> - </h4> - - </li><li name="sims.geometry.ConvexPolygon#project"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">project</span><span class="params">(<span name="axis">axis: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>)</span><span class="result">: <a href="../../sims/geometry/Projection.html" class="extype" name="sims.geometry.Projection">Projection</a></span> - </span> - </h4> - <p class="shortcomment cmt">Returns the projection of this polygon onto the line given by the directional vector <code>axis</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Returns the projection of this polygon onto the line given by the directional vector <code>axis</code>.</p></div> - <dl class="paramcmts block"><dt class="param">axis</dt><dd class="cmt"><p>directional vector of the line</p></dd><dt>returns</dt><dd class="cmt"><p>projection of this polygon</p></dd></dl> - - <div class="block"> - definition classes: <a href="../../sims/geometry/ConvexPolygon.html">ConvexPolygon</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalRectangle#real"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">real</span><span class="result">: <a href="../../sims/dynamics/Rectangle.html" class="extype" name="sims.dynamics.Rectangle">Rectangle</a></span> - </span> - </h4> - <p class="shortcomment cmt">Pointer to real object</p><div class="fullcomment"> - <div class="comment cmt"><p>Pointer to real object.</p></div> - - - - - </div> - </li><li name="sims.dynamics.Shape#refLocalPos"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">refLocalPos</span><span class="result">: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span> - </span> - </h4> - <p class="shortcomment cmt">Local position of this shape's body COM to its COM at a body rotation of zero</p><div class="fullcomment"> - <div class="comment cmt"><p>Local position of this shape's body COM to its COM at a body rotation of zero.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="sims.dynamics.Shape#restitution"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">restitution</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Part of the coefficient of restitution for a collision between this shape and another</p><div class="fullcomment"> - <div class="comment cmt"><p>Part of the coefficient of restitution for a collision between this shape and another. -The coefficient of restitution is calculated out of the product of this part and the other shape's part.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="sims.dynamics.Shape#rotation"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">rotation</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Rotation of this shape about its COM</p><div class="fullcomment"> - <div class="comment cmt"><p>Rotation of this shape about its COM.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="sims.dynamics.Shape#rotation0"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">rotation0</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Initial rotation</p><div class="fullcomment"> - <div class="comment cmt"><p>Initial rotation. Rotation of this shape before it was added to a body.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#scale"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">scale</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Skala in der die graphischen Objekte gezeichnet werden</p><div class="fullcomment"> - <div class="comment cmt"><p>Skala in der die graphischen Objekte gezeichnet werden.</p></div> - - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="sims.geometry.ConvexPolygon#sides"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">sides</span><span class="result">: <span class="extype" name="scala.Array">Array</span>[<a href="../../sims/geometry/Segment.html" class="extype" name="sims.geometry.Segment">Segment</a>]</span> - </span> - </h4> - <p class="shortcomment cmt">Returns all sides of this polygon</p><div class="fullcomment"> - <div class="comment cmt"><p>Returns all sides of this polygon. The sides are ordered counter-clockwise, the first vertex of the side -giving the side index.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/geometry/ConvexPolygon.html">ConvexPolygon</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalRectangle#toString"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">toString</span><span class="params">()</span><span class="result">: <span class="extype" name="java.lang.String">String</span></span> - </span> - </h4> - <p class="shortcomment cmt">Returns a string representation of the object</p><div class="fullcomment"> - <div class="comment cmt"><p>Returns a string representation of the object. -<p> -The default representation is platform dependent. -</p></div> - - - - - </div> - </li><li name="sims.dynamics.Shape#transientShapes"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">transientShapes</span><span class="result">: <span class="extype" name="scala.collection.mutable.Set">Set</span>[<a href="../../sims/dynamics/Shape.html" class="extype" name="sims.dynamics.Shape">Shape</a>]</span> - </span> - </h4> - <p class="shortcomment cmt">Shapes with which this shape cannot collide</p><div class="fullcomment"> - <div class="comment cmt"><p>Shapes with which this shape cannot collide.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalShape#uid"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">uid</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> - </span> - </h4> - <p class="shortcomment cmt">Unique identification number</p><div class="fullcomment"> - <div class="comment cmt"><p>Unique identification number.</p></div> - - - <div class="block"> - definition classes: <a href="GraphicalShape.html">GraphicalShape</a> ⇐ <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="sims.dynamics.Rectangle#vertices"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">vertices</span><span class="result">: <span class="extype" name="scala.collection.Seq">Seq</span>[<a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a>]</span> - </span> - </h4> - <p class="shortcomment cmt">Returns the position vectors of this rectangle's vertices</p><div class="fullcomment"> - <div class="comment cmt"><p>Returns the position vectors of this rectangle's vertices. -The first vertex is the upper-right vertex at a rotation of 0. -Vertices are ordered counter-clockwise.@return position vectors of the vertices</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Rectangle.html">Rectangle</a> ⇐ <a href="../../sims/geometry/ConvexPolygon.html">ConvexPolygon</a> - </div> - - </div> - </li><li name="sims.dynamics.Rectangle#volume"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">volume</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Volume</p><div class="fullcomment"> - <div class="comment cmt"><p>Volume. The volume is actually equivalent to this shape's area (SiMS is in 2D) -and is used with this shape's density to calculate its mass.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Rectangle.html">Rectangle</a> ⇐ <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#windowHeight"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">windowHeight</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> - </span> - </h4> - <p class="shortcomment cmt">Hoehe des Fensters in Pixeln</p><div class="fullcomment"> - <div class="comment cmt"><p>Hoehe des Fensters in Pixeln.</p></div> - - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="sims.dynamics.Shape#~"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">~</span><span class="params">(<span name="b">b: <a href="../../sims/dynamics/Body.html" class="extype" name="sims.dynamics.Body">Body</a></span>)</span><span class="result">: <a href="../../sims/dynamics/Body.html" class="extype" name="sims.dynamics.Body">Body</a></span> - </span> - </h4> - <p class="shortcomment cmt">Creates a new body out of this shape and the shapes of body <code>b</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Creates a new body out of this shape and the shapes of body <code>b</code>.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="sims.dynamics.Shape#~"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">~</span><span class="params">(<span name="s">s: <a href="../../sims/dynamics/Shape.html" class="extype" name="sims.dynamics.Shape">Shape</a></span>)</span><span class="result">: <a href="../../sims/dynamics/Body.html" class="extype" name="sims.dynamics.Body">Body</a></span> - </span> - </h4> - <p class="shortcomment cmt">Creates a new body out of this shape and the shape <code>s</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Creates a new body out of this shape and the shape <code>s</code>.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li></ol> - </div> - - <div class="members" id="constructors"> - <h3>Instance constructors</h3> - <ol><li name="graphyx.graphics.GraphicalRectangle#this"> - <h4 class="signature"> - <span class="kind">new</span> - <span class="symbol"> - <span class="name">GraphicalRectangle</span><span class="params">(<span name="real">real: <a href="../../sims/dynamics/Rectangle.html" class="extype" name="sims.dynamics.Rectangle">Rectangle</a></span>)</span> - </span> - </h4> - - </li><li name="sims.dynamics.Rectangle#this"> - <h4 class="signature"> - <span class="kind">new</span> - <span class="symbol"> - <span class="name">GraphicalRectangle</span><span class="params">(<span name="halfWidth">halfWidth: <span class="extype" name="scala.Double">Double</span></span>, <span name="halfHeight">halfHeight: <span class="extype" name="scala.Double">Double</span></span>, <span name="density">density: <span class="extype" name="scala.Double">Double</span></span>)</span> - </span> - </h4> - - </li><li name="sims.dynamics.Shape#this"> - <h4 class="signature"> - <span class="kind">new</span> - <span class="symbol"> - <span class="name">GraphicalRectangle</span><span class="params">()</span> - </span> - </h4> - - </li></ol> - </div> - - </div> - - </body> - </html>
\ No newline at end of file diff --git a/doc/graphyx/graphics/GraphicalRegularPolygon.html b/doc/graphyx/graphics/GraphicalRegularPolygon.html deleted file mode 100644 index dc423c7..0000000 --- a/doc/graphyx/graphics/GraphicalRegularPolygon.html +++ /dev/null @@ -1,824 +0,0 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html> - <head> - <title>Scaladoc for graphyx.graphics.GraphicalRegularPolygon</title> - <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> - <script type="text/javascript" src="../../lib/jquery.js"></script> - - <style type="text/css"> - @import url(../../lib/template.css) screen; - </style> - <script type="text/javascript" src="../../lib/template.js"></script> - - </head> - <body class="type"> - - <p id="owner"><a href="../package.html">graphyx</a>.<a href="package.html">graphics</a></p> - - <div id="definition"> - <img src="../../lib/class_big.png" /> - <h1>GraphicalRegularPolygon</h1> - </div> - - <h4 class="signature"> - <span class="kind">class</span> - <span class="symbol"> - <span class="name">GraphicalRegularPolygon</span><span class="params">(<span name="real">real: <a href="../../sims/dynamics/RegularPolygon.html" class="extype" name="sims.dynamics.RegularPolygon">RegularPolygon</a></span>)</span><span class="result"> extends <a href="../../sims/dynamics/RegularPolygon.html" class="extype" name="sims.dynamics.RegularPolygon">RegularPolygon</a> with <a href="GraphicalShape.html" class="extype" name="graphyx.graphics.GraphicalShape">GraphicalShape</a> with <span class="extype" name="scala.Product">Product</span></span> - </span> - </h4> - <div class="fullcomment" id="comment"> - - - - - - </div> - - <div id="template"> - - <div id="mbrsel"> - <div id="ancestors"> - <h3>Inherits</h3> - <ol><li class="in" name="graphyx.graphics.GraphicalShape">GraphicalShape</li><li class="in" name="graphyx.graphics.GraphicalObject">GraphicalObject</li><li class="in" name="graphyx.graphics.Drawable">Drawable</li><li class="in" name="sims.dynamics.RegularPolygon">RegularPolygon</li><li class="in" name="scala.Product">Product</li><li class="in" name="scala.Equals">Equals</li><li class="in" name="sims.geometry.ConvexPolygon">ConvexPolygon</li><li class="in" name="sims.dynamics.Shape">Shape</li><li class="in" name="scala.AnyRef">AnyRef</li><li class="in" name="scala.Any">Any</li></ol> - </div> - </div> - - - - <div class="members" id="values"> - <h3>Value Members</h3> - <ol><li name="sims.geometry.ConvexPolygon#AABB"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">AABB</span><span class="result">: <a href="../../sims/collision/AABB.html" class="extype" name="sims.collision.AABB">AABB</a></span> - </span> - </h4> - <p class="shortcomment cmt">Returns this polygon's axis aligned bounding box</p><div class="fullcomment"> - <div class="comment cmt"><p>Returns this polygon's axis aligned bounding box.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/geometry/ConvexPolygon.html">ConvexPolygon</a> - </div> - - </div> - </li><li name="sims.dynamics.RegularPolygon#I"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">I</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Moment of inertia for a rotation about this shape's COM</p><div class="fullcomment"> - <div class="comment cmt"><p>Moment of inertia for a rotation about this shape's COM.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/RegularPolygon.html">RegularPolygon</a> ⇐ <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="sims.dynamics.Shape#asBody"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">asBody</span><span class="result">: <a href="../../sims/dynamics/Body.html" class="extype" name="sims.dynamics.Body">Body</a></span> - </span> - </h4> - <p class="shortcomment cmt">Creates a new body made out of tis shape</p><div class="fullcomment"> - <div class="comment cmt"><p>Creates a new body made out of tis shape.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="sims.dynamics.Shape#body"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">body</span><span class="result">: <a href="../../sims/dynamics/Body.html" class="extype" name="sims.dynamics.Body">Body</a></span> - </span> - </h4> - <p class="shortcomment cmt">Returns this shape's containing body</p><div class="fullcomment"> - <div class="comment cmt"><p>Returns this shape's containing body.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalRegularPolygon#canEqual"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">canEqual</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Any">Any</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> - </span> - </h4> - - </li><li name="sims.dynamics.Shape#collidable"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">collidable</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> - </span> - </h4> - <p class="shortcomment cmt">Flag determining this shapes ability to collide with other shapes</p><div class="fullcomment"> - <div class="comment cmt"><p>Flag determining this shapes ability to collide with other shapes.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="sims.geometry.ConvexPolygon#contains"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">contains</span><span class="params">(<span name="point">point: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> - </span> - </h4> - <p class="shortcomment cmt">Checks if the point <code>point</code> is contained in this polygon</p><div class="fullcomment"> - <div class="comment cmt"><p>Checks if the point <code>point</code> is contained in this polygon. -<p> -A ray is created, originating from the point and following an arbitrary direction (X-Axis was chosen). -The number of intersections between the ray and this polygon's sides (including vertices) is counted. -The amount of intersections with vertices is substracted form the previuos number. -If the latter number is odd, the point is contained in the polygon.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/geometry/ConvexPolygon.html">ConvexPolygon</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#correctY"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">correctY</span><span class="params">(<span name="y">y: <span class="extype" name="scala.Double">Double</span></span>)</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Korrigiert einen Y-Wert in Bildschirmkoordinaten zu seinem kartesischen Aequivalent</p><div class="fullcomment"> - <div class="comment cmt"><p>Korrigiert einen Y-Wert in Bildschirmkoordinaten zu seinem kartesischen Aequivalent.</p></div> - <dl class="paramcmts block"><dt class="param">y</dt><dd class="cmt"><p>zu korrigierender Wert</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="sims.dynamics.RegularPolygon#density"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">density</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Density</p><div class="fullcomment"> - <div class="comment cmt"><p>Density. (Mass per area)</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/RegularPolygon.html">RegularPolygon</a> ⇐ <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalRegularPolygon#draw"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">draw</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Stellt das graphische Objekt dar</p><div class="fullcomment"> - <div class="comment cmt"><p>Stellt das graphische Objekt dar.</p></div> - - - - - </div> - </li><li name="graphyx.graphics.Drawable#drawCircle"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawCircle</span><span class="params">(<span name="center">center: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="radius">radius: <span class="extype" name="scala.Double">Double</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen Kreis auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen Kreis auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">center</dt><dd class="cmt"><p>Mitte des Kreises in Weltkoordinaten</p></dd><dt class="param">radius</dt><dd class="cmt"><p>Radius des Kreises</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#drawLine"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawLine</span><span class="params">(<span name="startPoint">startPoint: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="endPoint">endPoint: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt eine Linie auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt eine Linie auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">startPoint</dt><dd class="cmt"><p>Startpunkt in Weltkoordinaten</p></dd><dt class="param">endPoint</dt><dd class="cmt"><p>Endpunkt in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#drawPoint"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawPoint</span><span class="params">(<span name="point">point: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen Punkt auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen Punkt auf <code>g</code>. -<p> -Der Punkt wird von einem Kreis umgeben.</p></div> - <dl class="paramcmts block"><dt class="param">point</dt><dd class="cmt"><p>Punkt in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#drawPolygon"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawPolygon</span><span class="params">(<span name="points">points: <span class="extype" name="scala.collection.Seq">Seq</span>[<a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a>]</span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt ein Polygon auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt ein Polygon auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">points</dt><dd class="cmt"><p>Eckpunkte des Polygons in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#drawVector"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawVector</span><span class="params">(<span name="v">v: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="p">p: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen Vektor auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen Vektor auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">v</dt><dd class="cmt"><p>Vektor in Weltkoordinaten</p></dd><dt class="param">p</dt><dd class="cmt"><p>Ursprungspunkt in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalRegularPolygon#equals"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">equals</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Any">Any</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> - </span> - </h4> - <p class="shortcomment cmt">This method is used to compare the receiver object (<code>this</code>) -with the argument object (<code>arg0</code>) for equivalence</p><div class="fullcomment"> - <div class="comment cmt"><p>This method is used to compare the receiver object (<code>this</code>) -with the argument object (<code>arg0</code>) for equivalence.</p><p><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><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>). -</p></div> - <dl class="paramcmts block"><dt class="param">arg0</dt><dd class="cmt"><p>the object to compare against this object for equality.</p></dd><dt>returns</dt><dd class="cmt"><p><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise. -</p></p></dd></dl> - - - - </div> - </li><li name="graphyx.graphics.Drawable#fillCircle"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">fillCircle</span><span class="params">(<span name="center">center: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="radius">radius: <span class="extype" name="scala.Double">Double</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen massiven Kreis auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen massiven Kreis auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">center</dt><dd class="cmt"><p>Mitte des Kreises in Weltkoordinaten</p></dd><dt class="param">radius</dt><dd class="cmt"><p>Radius des Kreises</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#fillPolygon"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">fillPolygon</span><span class="params">(<span name="points">points: <span class="extype" name="scala.collection.Seq">Seq</span>[<a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a>]</span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt ein massives Polygon auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt ein massives Polygon auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">points</dt><dd class="cmt"><p>Eckpunkte des Polygons in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="sims.dynamics.Shape#friction"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">friction</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Part of the coefficient of friction for a collision between this shape and another</p><div class="fullcomment"> - <div class="comment cmt"><p>Part of the coefficient of friction for a collision between this shape and another. -The coefficient of friction is calculated out of the product of this part and the other shape's part.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#g"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">g</span><span class="result">: <span class="extype" name="java.awt.Graphics2D">Graphics2D</span></span> - </span> - </h4> - <p class="shortcomment cmt">Java Graphics Objekt zur graphischen Darstellung</p><div class="fullcomment"> - <div class="comment cmt"><p>Java Graphics Objekt zur graphischen Darstellung</p></div> - - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="sims.dynamics.RegularPolygon#halfDiags"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">halfDiags</span><span class="result">: <span class="extype" name="scala.Array">Array</span>[<a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a>]</span> - </span> - </h4> - - </li><li name="graphyx.graphics.GraphicalRegularPolygon#hashCode"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">hashCode</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> - </span> - </h4> - <p class="shortcomment cmt">Returns a hash code value for the object</p><div class="fullcomment"> - <div class="comment cmt"><p>Returns a hash code value for the object.</p><p><p> -The default hashing algorithm is platform dependent.</p><p>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><p><p></p></div> - - - - - </div> - </li><li name="sims.dynamics.Shape#mass"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">mass</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Returns the mass of this shape</p><div class="fullcomment"> - <div class="comment cmt"><p>Returns the mass of this shape. The mass is given by volume times density.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="sims.dynamics.RegularPolygon#n"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">n</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> - </span> - </h4> - - </li><li name="sims.dynamics.Shape#pos"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">pos</span><span class="result">: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span> - </span> - </h4> - <p class="shortcomment cmt">Position of this shape's COM (in world coordinates)</p><div class="fullcomment"> - <div class="comment cmt"><p>Position of this shape's COM (in world coordinates).</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#ppm"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">ppm</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Anzahl von Pixeln pro Meter</p><div class="fullcomment"> - <div class="comment cmt"><p>Anzahl von Pixeln pro Meter.</p></div> - - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalRegularPolygon#productArity"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productArity</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> - </span> - </h4> - - </li><li name="graphyx.graphics.GraphicalRegularPolygon#productElement"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productElement</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Int">Int</span></span>)</span><span class="result">: <span class="extype" name="scala.Any">Any</span></span> - </span> - </h4> - - </li><li name="scala.Product#productElements"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productElements</span><span class="result">: <span class="extype" name="scala.collection.Iterator">Iterator</span>[<span class="extype" name="scala.Any">Any</span>]</span> - </span> - </h4> - - </li><li name="scala.Product#productIterator"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productIterator</span><span class="result">: <span class="extype" name="scala.collection.Iterator">Iterator</span>[<span class="extype" name="scala.Any">Any</span>]</span> - </span> - </h4> - - </li><li name="graphyx.graphics.GraphicalRegularPolygon#productPrefix"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productPrefix</span><span class="result">: <span class="extype" name="java.lang.String">String</span></span> - </span> - </h4> - - </li><li name="sims.geometry.ConvexPolygon#project"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">project</span><span class="params">(<span name="axis">axis: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>)</span><span class="result">: <a href="../../sims/geometry/Projection.html" class="extype" name="sims.geometry.Projection">Projection</a></span> - </span> - </h4> - <p class="shortcomment cmt">Returns the projection of this polygon onto the line given by the directional vector <code>axis</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Returns the projection of this polygon onto the line given by the directional vector <code>axis</code>.</p></div> - <dl class="paramcmts block"><dt class="param">axis</dt><dd class="cmt"><p>directional vector of the line</p></dd><dt>returns</dt><dd class="cmt"><p>projection of this polygon</p></dd></dl> - - <div class="block"> - definition classes: <a href="../../sims/geometry/ConvexPolygon.html">ConvexPolygon</a> - </div> - - </div> - </li><li name="sims.dynamics.RegularPolygon#radius"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">radius</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - - </li><li name="graphyx.graphics.GraphicalRegularPolygon#real"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">real</span><span class="result">: <a href="../../sims/dynamics/RegularPolygon.html" class="extype" name="sims.dynamics.RegularPolygon">RegularPolygon</a></span> - </span> - </h4> - <p class="shortcomment cmt">Pointer to real object</p><div class="fullcomment"> - <div class="comment cmt"><p>Pointer to real object.</p></div> - - - - - </div> - </li><li name="sims.dynamics.Shape#refLocalPos"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">refLocalPos</span><span class="result">: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span> - </span> - </h4> - <p class="shortcomment cmt">Local position of this shape's body COM to its COM at a body rotation of zero</p><div class="fullcomment"> - <div class="comment cmt"><p>Local position of this shape's body COM to its COM at a body rotation of zero.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="sims.dynamics.Shape#restitution"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">restitution</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Part of the coefficient of restitution for a collision between this shape and another</p><div class="fullcomment"> - <div class="comment cmt"><p>Part of the coefficient of restitution for a collision between this shape and another. -The coefficient of restitution is calculated out of the product of this part and the other shape's part.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="sims.dynamics.Shape#rotation"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">rotation</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Rotation of this shape about its COM</p><div class="fullcomment"> - <div class="comment cmt"><p>Rotation of this shape about its COM.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="sims.dynamics.Shape#rotation0"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">rotation0</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Initial rotation</p><div class="fullcomment"> - <div class="comment cmt"><p>Initial rotation. Rotation of this shape before it was added to a body.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#scale"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">scale</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Skala in der die graphischen Objekte gezeichnet werden</p><div class="fullcomment"> - <div class="comment cmt"><p>Skala in der die graphischen Objekte gezeichnet werden.</p></div> - - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="sims.geometry.ConvexPolygon#sides"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">sides</span><span class="result">: <span class="extype" name="scala.Array">Array</span>[<a href="../../sims/geometry/Segment.html" class="extype" name="sims.geometry.Segment">Segment</a>]</span> - </span> - </h4> - <p class="shortcomment cmt">Returns all sides of this polygon</p><div class="fullcomment"> - <div class="comment cmt"><p>Returns all sides of this polygon. The sides are ordered counter-clockwise, the first vertex of the side -giving the side index.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/geometry/ConvexPolygon.html">ConvexPolygon</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalRegularPolygon#toString"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">toString</span><span class="params">()</span><span class="result">: <span class="extype" name="java.lang.String">String</span></span> - </span> - </h4> - <p class="shortcomment cmt">Returns a string representation of the object</p><div class="fullcomment"> - <div class="comment cmt"><p>Returns a string representation of the object. -<p> -The default representation is platform dependent. -</p></div> - - - - - </div> - </li><li name="sims.dynamics.Shape#transientShapes"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">transientShapes</span><span class="result">: <span class="extype" name="scala.collection.mutable.Set">Set</span>[<a href="../../sims/dynamics/Shape.html" class="extype" name="sims.dynamics.Shape">Shape</a>]</span> - </span> - </h4> - <p class="shortcomment cmt">Shapes with which this shape cannot collide</p><div class="fullcomment"> - <div class="comment cmt"><p>Shapes with which this shape cannot collide.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalShape#uid"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">uid</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> - </span> - </h4> - <p class="shortcomment cmt">Unique identification number</p><div class="fullcomment"> - <div class="comment cmt"><p>Unique identification number.</p></div> - - - <div class="block"> - definition classes: <a href="GraphicalShape.html">GraphicalShape</a> ⇐ <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="sims.dynamics.RegularPolygon#vertices"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">vertices</span><span class="result">: <span class="extype" name="scala.collection.Seq">Seq</span>[<a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a>]</span> - </span> - </h4> - <p class="shortcomment cmt">Returns positions of all vertices of this Polygon</p><div class="fullcomment"> - <div class="comment cmt"><p>Returns positions of all vertices of this Polygon. Vertices are ordered counter-clockwise.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/RegularPolygon.html">RegularPolygon</a> ⇐ <a href="../../sims/geometry/ConvexPolygon.html">ConvexPolygon</a> - </div> - - </div> - </li><li name="sims.dynamics.RegularPolygon#volume"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">volume</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Volume</p><div class="fullcomment"> - <div class="comment cmt"><p>Volume. The volume is actually equivalent to this shape's area (SiMS is in 2D) -and is used with this shape's density to calculate its mass.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/RegularPolygon.html">RegularPolygon</a> ⇐ <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#windowHeight"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">windowHeight</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> - </span> - </h4> - <p class="shortcomment cmt">Hoehe des Fensters in Pixeln</p><div class="fullcomment"> - <div class="comment cmt"><p>Hoehe des Fensters in Pixeln.</p></div> - - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="sims.dynamics.Shape#~"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">~</span><span class="params">(<span name="b">b: <a href="../../sims/dynamics/Body.html" class="extype" name="sims.dynamics.Body">Body</a></span>)</span><span class="result">: <a href="../../sims/dynamics/Body.html" class="extype" name="sims.dynamics.Body">Body</a></span> - </span> - </h4> - <p class="shortcomment cmt">Creates a new body out of this shape and the shapes of body <code>b</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Creates a new body out of this shape and the shapes of body <code>b</code>.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="sims.dynamics.Shape#~"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">~</span><span class="params">(<span name="s">s: <a href="../../sims/dynamics/Shape.html" class="extype" name="sims.dynamics.Shape">Shape</a></span>)</span><span class="result">: <a href="../../sims/dynamics/Body.html" class="extype" name="sims.dynamics.Body">Body</a></span> - </span> - </h4> - <p class="shortcomment cmt">Creates a new body out of this shape and the shape <code>s</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Creates a new body out of this shape and the shape <code>s</code>.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li></ol> - </div> - - <div class="members" id="constructors"> - <h3>Instance constructors</h3> - <ol><li name="graphyx.graphics.GraphicalRegularPolygon#this"> - <h4 class="signature"> - <span class="kind">new</span> - <span class="symbol"> - <span class="name">GraphicalRegularPolygon</span><span class="params">(<span name="real">real: <a href="../../sims/dynamics/RegularPolygon.html" class="extype" name="sims.dynamics.RegularPolygon">RegularPolygon</a></span>)</span> - </span> - </h4> - - </li><li name="sims.dynamics.RegularPolygon#this"> - <h4 class="signature"> - <span class="kind">new</span> - <span class="symbol"> - <span class="name">GraphicalRegularPolygon</span><span class="params">(<span name="n">n: <span class="extype" name="scala.Int">Int</span></span>, <span name="radius">radius: <span class="extype" name="scala.Double">Double</span></span>, <span name="density">density: <span class="extype" name="scala.Double">Double</span></span>)</span> - </span> - </h4> - - </li><li name="sims.dynamics.Shape#this"> - <h4 class="signature"> - <span class="kind">new</span> - <span class="symbol"> - <span class="name">GraphicalRegularPolygon</span><span class="params">()</span> - </span> - </h4> - - </li></ol> - </div> - - </div> - - </body> - </html>
\ No newline at end of file diff --git a/doc/graphyx/graphics/GraphicalRevoluteJoint.html b/doc/graphyx/graphics/GraphicalRevoluteJoint.html deleted file mode 100644 index a553c4d..0000000 --- a/doc/graphyx/graphics/GraphicalRevoluteJoint.html +++ /dev/null @@ -1,439 +0,0 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html> - <head> - <title>Scaladoc for graphyx.graphics.GraphicalRevoluteJoint</title> - <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> - <script type="text/javascript" src="../../lib/jquery.js"></script> - - <style type="text/css"> - @import url(../../lib/template.css) screen; - </style> - <script type="text/javascript" src="../../lib/template.js"></script> - - </head> - <body class="type"> - - <p id="owner"><a href="../package.html">graphyx</a>.<a href="package.html">graphics</a></p> - - <div id="definition"> - <img src="../../lib/class_big.png" /> - <h1>GraphicalRevoluteJoint</h1> - </div> - - <h4 class="signature"> - <span class="kind">class</span> - <span class="symbol"> - <span class="name">GraphicalRevoluteJoint</span><span class="params">(<span name="real">real: <a href="../../sims/dynamics/joints/RevoluteJoint.html" class="extype" name="sims.dynamics.joints.RevoluteJoint">RevoluteJoint</a></span>)</span><span class="result"> extends <a href="GraphicalJoint.html" class="extype" name="graphyx.graphics.GraphicalJoint">GraphicalJoint</a> with <span class="extype" name="scala.Product">Product</span></span> - </span> - </h4> - <div class="fullcomment" id="comment"> - - - - - - </div> - - <div id="template"> - - <div id="mbrsel"> - <div id="ancestors"> - <h3>Inherits</h3> - <ol><li class="in" name="scala.Product">Product</li><li class="in" name="scala.Equals">Equals</li><li class="in" name="graphyx.graphics.GraphicalJoint">GraphicalJoint</li><li class="in" name="graphyx.graphics.GraphicalObject">GraphicalObject</li><li class="in" name="graphyx.graphics.Drawable">Drawable</li><li class="in" name="scala.AnyRef">AnyRef</li><li class="in" name="scala.Any">Any</li></ol> - </div> - </div> - - - - <div class="members" id="values"> - <h3>Value Members</h3> - <ol><li name="graphyx.graphics.GraphicalRevoluteJoint#canEqual"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">canEqual</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Any">Any</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> - </span> - </h4> - - </li><li name="graphyx.graphics.GraphicalRevoluteJoint#connection1"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">connection1</span><span class="result">: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span> - </span> - </h4> - - </li><li name="graphyx.graphics.Drawable#correctY"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">correctY</span><span class="params">(<span name="y">y: <span class="extype" name="scala.Double">Double</span></span>)</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Korrigiert einen Y-Wert in Bildschirmkoordinaten zu seinem kartesischen Aequivalent</p><div class="fullcomment"> - <div class="comment cmt"><p>Korrigiert einen Y-Wert in Bildschirmkoordinaten zu seinem kartesischen Aequivalent.</p></div> - <dl class="paramcmts block"><dt class="param">y</dt><dd class="cmt"><p>zu korrigierender Wert</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalRevoluteJoint#draw"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">draw</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Stellt das graphische Objekt dar</p><div class="fullcomment"> - <div class="comment cmt"><p>Stellt das graphische Objekt dar.</p></div> - - - - - </div> - </li><li name="graphyx.graphics.Drawable#drawCircle"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawCircle</span><span class="params">(<span name="center">center: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="radius">radius: <span class="extype" name="scala.Double">Double</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen Kreis auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen Kreis auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">center</dt><dd class="cmt"><p>Mitte des Kreises in Weltkoordinaten</p></dd><dt class="param">radius</dt><dd class="cmt"><p>Radius des Kreises</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#drawLine"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawLine</span><span class="params">(<span name="startPoint">startPoint: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="endPoint">endPoint: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt eine Linie auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt eine Linie auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">startPoint</dt><dd class="cmt"><p>Startpunkt in Weltkoordinaten</p></dd><dt class="param">endPoint</dt><dd class="cmt"><p>Endpunkt in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#drawPoint"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawPoint</span><span class="params">(<span name="point">point: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen Punkt auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen Punkt auf <code>g</code>. -<p> -Der Punkt wird von einem Kreis umgeben.</p></div> - <dl class="paramcmts block"><dt class="param">point</dt><dd class="cmt"><p>Punkt in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#drawPolygon"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawPolygon</span><span class="params">(<span name="points">points: <span class="extype" name="scala.collection.Seq">Seq</span>[<a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a>]</span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt ein Polygon auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt ein Polygon auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">points</dt><dd class="cmt"><p>Eckpunkte des Polygons in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#drawVector"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawVector</span><span class="params">(<span name="v">v: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="p">p: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen Vektor auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen Vektor auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">v</dt><dd class="cmt"><p>Vektor in Weltkoordinaten</p></dd><dt class="param">p</dt><dd class="cmt"><p>Ursprungspunkt in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalRevoluteJoint#equals"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">equals</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Any">Any</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> - </span> - </h4> - <p class="shortcomment cmt">This method is used to compare the receiver object (<code>this</code>) -with the argument object (<code>arg0</code>) for equivalence</p><div class="fullcomment"> - <div class="comment cmt"><p>This method is used to compare the receiver object (<code>this</code>) -with the argument object (<code>arg0</code>) for equivalence.</p><p><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><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>). -</p></div> - <dl class="paramcmts block"><dt class="param">arg0</dt><dd class="cmt"><p>the object to compare against this object for equality.</p></dd><dt>returns</dt><dd class="cmt"><p><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise. -</p></p></dd></dl> - - - - </div> - </li><li name="graphyx.graphics.Drawable#fillCircle"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">fillCircle</span><span class="params">(<span name="center">center: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="radius">radius: <span class="extype" name="scala.Double">Double</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen massiven Kreis auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen massiven Kreis auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">center</dt><dd class="cmt"><p>Mitte des Kreises in Weltkoordinaten</p></dd><dt class="param">radius</dt><dd class="cmt"><p>Radius des Kreises</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#fillPolygon"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">fillPolygon</span><span class="params">(<span name="points">points: <span class="extype" name="scala.collection.Seq">Seq</span>[<a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a>]</span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt ein massives Polygon auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt ein massives Polygon auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">points</dt><dd class="cmt"><p>Eckpunkte des Polygons in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#g"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">g</span><span class="result">: <span class="extype" name="java.awt.Graphics2D">Graphics2D</span></span> - </span> - </h4> - <p class="shortcomment cmt">Java Graphics Objekt zur graphischen Darstellung</p><div class="fullcomment"> - <div class="comment cmt"><p>Java Graphics Objekt zur graphischen Darstellung</p></div> - - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalRevoluteJoint#hashCode"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">hashCode</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> - </span> - </h4> - <p class="shortcomment cmt">Returns a hash code value for the object</p><div class="fullcomment"> - <div class="comment cmt"><p>Returns a hash code value for the object.</p><p><p> -The default hashing algorithm is platform dependent.</p><p>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><p><p></p></div> - - - - - </div> - </li><li name="graphyx.graphics.Drawable#ppm"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">ppm</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Anzahl von Pixeln pro Meter</p><div class="fullcomment"> - <div class="comment cmt"><p>Anzahl von Pixeln pro Meter.</p></div> - - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalRevoluteJoint#productArity"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productArity</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> - </span> - </h4> - - </li><li name="graphyx.graphics.GraphicalRevoluteJoint#productElement"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productElement</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Int">Int</span></span>)</span><span class="result">: <span class="extype" name="scala.Any">Any</span></span> - </span> - </h4> - - </li><li name="scala.Product#productElements"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productElements</span><span class="result">: <span class="extype" name="scala.collection.Iterator">Iterator</span>[<span class="extype" name="scala.Any">Any</span>]</span> - </span> - </h4> - - </li><li name="scala.Product#productIterator"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productIterator</span><span class="result">: <span class="extype" name="scala.collection.Iterator">Iterator</span>[<span class="extype" name="scala.Any">Any</span>]</span> - </span> - </h4> - - </li><li name="graphyx.graphics.GraphicalRevoluteJoint#productPrefix"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productPrefix</span><span class="result">: <span class="extype" name="java.lang.String">String</span></span> - </span> - </h4> - - </li><li name="graphyx.graphics.GraphicalRevoluteJoint#real"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">real</span><span class="result">: <a href="../../sims/dynamics/joints/RevoluteJoint.html" class="extype" name="sims.dynamics.joints.RevoluteJoint">RevoluteJoint</a></span> - </span> - </h4> - <p class="shortcomment cmt">Pointer to real object</p><div class="fullcomment"> - <div class="comment cmt"><p>Pointer to real object.</p></div> - - - - - </div> - </li><li name="graphyx.graphics.Drawable#scale"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">scale</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Skala in der die graphischen Objekte gezeichnet werden</p><div class="fullcomment"> - <div class="comment cmt"><p>Skala in der die graphischen Objekte gezeichnet werden.</p></div> - - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalRevoluteJoint#toString"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">toString</span><span class="params">()</span><span class="result">: <span class="extype" name="java.lang.String">String</span></span> - </span> - </h4> - <p class="shortcomment cmt">Returns a string representation of the object</p><div class="fullcomment"> - <div class="comment cmt"><p>Returns a string representation of the object. -<p> -The default representation is platform dependent. -</p></div> - - - - - </div> - </li><li name="graphyx.graphics.Drawable#windowHeight"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">windowHeight</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> - </span> - </h4> - <p class="shortcomment cmt">Hoehe des Fensters in Pixeln</p><div class="fullcomment"> - <div class="comment cmt"><p>Hoehe des Fensters in Pixeln.</p></div> - - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li></ol> - </div> - - <div class="members" id="constructors"> - <h3>Instance constructors</h3> - <ol><li name="graphyx.graphics.GraphicalRevoluteJoint#this"> - <h4 class="signature"> - <span class="kind">new</span> - <span class="symbol"> - <span class="name">GraphicalRevoluteJoint</span><span class="params">(<span name="real">real: <a href="../../sims/dynamics/joints/RevoluteJoint.html" class="extype" name="sims.dynamics.joints.RevoluteJoint">RevoluteJoint</a></span>)</span> - </span> - </h4> - - </li><li name="scala.AnyRef#this"> - <h4 class="signature"> - <span class="kind">new</span> - <span class="symbol"> - <span class="name">GraphicalRevoluteJoint</span><span class="params">()</span> - </span> - </h4> - - </li></ol> - </div> - - </div> - - </body> - </html>
\ No newline at end of file diff --git a/doc/graphyx/graphics/GraphicalShape.html b/doc/graphyx/graphics/GraphicalShape.html deleted file mode 100644 index 79786d0..0000000 --- a/doc/graphyx/graphics/GraphicalShape.html +++ /dev/null @@ -1,711 +0,0 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html> - <head> - <title>Scaladoc for graphyx.graphics.GraphicalShape</title> - <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> - <script type="text/javascript" src="../../lib/jquery.js"></script> - - <style type="text/css"> - @import url(../../lib/template.css) screen; - </style> - <script type="text/javascript" src="../../lib/template.js"></script> - - </head> - <body class="type"> - - <p id="owner"><a href="../package.html">graphyx</a>.<a href="package.html">graphics</a></p> - - <div id="definition"> - <img src="../../lib/trait_big.png" /> - <h1>GraphicalShape</h1> - </div> - - <h4 class="signature"> - <span class="kind">trait</span> - <span class="symbol"> - <span class="name">GraphicalShape</span><span class="result"> extends <a href="../../sims/dynamics/Shape.html" class="extype" name="sims.dynamics.Shape">Shape</a> with <a href="GraphicalObject.html" class="extype" name="graphyx.graphics.GraphicalObject">GraphicalObject</a></span> - </span> - </h4> - <div class="fullcomment" id="comment"> - - - - - <div class="block"> - known subclasses: <a href="GraphicalRegularPolygon.html">GraphicalRegularPolygon</a>, <a href="GraphicalRectangle.html">GraphicalRectangle</a>, <a href="GraphicalCircle.html">GraphicalCircle</a> - </div> - </div> - - <div id="template"> - - <div id="mbrsel"> - <div id="ancestors"> - <h3>Inherits</h3> - <ol><li class="in" name="graphyx.graphics.GraphicalObject">GraphicalObject</li><li class="in" name="graphyx.graphics.Drawable">Drawable</li><li class="in" name="sims.dynamics.Shape">Shape</li><li class="in" name="scala.AnyRef">AnyRef</li><li class="in" name="scala.Any">Any</li></ol> - </div> - </div> - - - - <div class="members" id="values"> - <h3>Value Members</h3> - <ol><li name="sims.dynamics.Shape#AABB"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">AABB</span><span class="result">: <a href="../../sims/collision/AABB.html" class="extype" name="sims.collision.AABB">AABB</a></span> - </span> - </h4> - <p class="shortcomment cmt">Returns this shape's axis aligned bounding box</p><div class="fullcomment"> - <div class="comment cmt"><p>Returns this shape's axis aligned bounding box.</p></div> - - <div class="block"> - attributes: abstract - </div> - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="sims.dynamics.Shape#I"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">I</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Moment of inertia for a rotation about this shape's COM</p><div class="fullcomment"> - <div class="comment cmt"><p>Moment of inertia for a rotation about this shape's COM.</p></div> - - <div class="block"> - attributes: abstract - </div> - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="sims.dynamics.Shape#asBody"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">asBody</span><span class="result">: <a href="../../sims/dynamics/Body.html" class="extype" name="sims.dynamics.Body">Body</a></span> - </span> - </h4> - <p class="shortcomment cmt">Creates a new body made out of tis shape</p><div class="fullcomment"> - <div class="comment cmt"><p>Creates a new body made out of tis shape.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="sims.dynamics.Shape#body"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">body</span><span class="result">: <a href="../../sims/dynamics/Body.html" class="extype" name="sims.dynamics.Body">Body</a></span> - </span> - </h4> - <p class="shortcomment cmt">Returns this shape's containing body</p><div class="fullcomment"> - <div class="comment cmt"><p>Returns this shape's containing body.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="sims.dynamics.Shape#collidable"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">collidable</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> - </span> - </h4> - <p class="shortcomment cmt">Flag determining this shapes ability to collide with other shapes</p><div class="fullcomment"> - <div class="comment cmt"><p>Flag determining this shapes ability to collide with other shapes.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="sims.dynamics.Shape#contains"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">contains</span><span class="params">(<span name="point">point: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> - </span> - </h4> - <p class="shortcomment cmt">Checks if the point <code>point</code> is contained in this shape</p><div class="fullcomment"> - <div class="comment cmt"><p>Checks if the point <code>point</code> is contained in this shape.</p></div> - - <div class="block"> - attributes: abstract - </div> - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#correctY"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">correctY</span><span class="params">(<span name="y">y: <span class="extype" name="scala.Double">Double</span></span>)</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Korrigiert einen Y-Wert in Bildschirmkoordinaten zu seinem kartesischen Aequivalent</p><div class="fullcomment"> - <div class="comment cmt"><p>Korrigiert einen Y-Wert in Bildschirmkoordinaten zu seinem kartesischen Aequivalent.</p></div> - <dl class="paramcmts block"><dt class="param">y</dt><dd class="cmt"><p>zu korrigierender Wert</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="sims.dynamics.Shape#density"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">density</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Density</p><div class="fullcomment"> - <div class="comment cmt"><p>Density. (Mass per area)</p></div> - - <div class="block"> - attributes: abstract - </div> - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalObject#draw"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">draw</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Stellt das graphische Objekt dar</p><div class="fullcomment"> - <div class="comment cmt"><p>Stellt das graphische Objekt dar.</p></div> - - <div class="block"> - attributes: abstract - </div> - <div class="block"> - definition classes: <a href="GraphicalObject.html">GraphicalObject</a> ⇐ <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#drawCircle"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawCircle</span><span class="params">(<span name="center">center: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="radius">radius: <span class="extype" name="scala.Double">Double</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen Kreis auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen Kreis auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">center</dt><dd class="cmt"><p>Mitte des Kreises in Weltkoordinaten</p></dd><dt class="param">radius</dt><dd class="cmt"><p>Radius des Kreises</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#drawLine"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawLine</span><span class="params">(<span name="startPoint">startPoint: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="endPoint">endPoint: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt eine Linie auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt eine Linie auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">startPoint</dt><dd class="cmt"><p>Startpunkt in Weltkoordinaten</p></dd><dt class="param">endPoint</dt><dd class="cmt"><p>Endpunkt in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#drawPoint"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawPoint</span><span class="params">(<span name="point">point: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen Punkt auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen Punkt auf <code>g</code>. -<p> -Der Punkt wird von einem Kreis umgeben.</p></div> - <dl class="paramcmts block"><dt class="param">point</dt><dd class="cmt"><p>Punkt in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#drawPolygon"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawPolygon</span><span class="params">(<span name="points">points: <span class="extype" name="scala.collection.Seq">Seq</span>[<a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a>]</span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt ein Polygon auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt ein Polygon auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">points</dt><dd class="cmt"><p>Eckpunkte des Polygons in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#drawVector"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawVector</span><span class="params">(<span name="v">v: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="p">p: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen Vektor auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen Vektor auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">v</dt><dd class="cmt"><p>Vektor in Weltkoordinaten</p></dd><dt class="param">p</dt><dd class="cmt"><p>Ursprungspunkt in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="scala.AnyRef#equals"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">equals</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Any">Any</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> - </span> - </h4> - <p class="shortcomment cmt">This method is used to compare the receiver object (<code>this</code>) -with the argument object (<code>arg0</code>) for equivalence</p><div class="fullcomment"> - <div class="comment cmt"><p>This method is used to compare the receiver object (<code>this</code>) -with the argument object (<code>arg0</code>) for equivalence.</p><p><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><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>). -</p></div> - <dl class="paramcmts block"><dt class="param">arg0</dt><dd class="cmt"><p>the object to compare against this object for equality.</p></dd><dt>returns</dt><dd class="cmt"><p><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise. -</p></p></dd></dl> - - <div class="block"> - definition classes: AnyRef ⇐ Any - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#fillCircle"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">fillCircle</span><span class="params">(<span name="center">center: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="radius">radius: <span class="extype" name="scala.Double">Double</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen massiven Kreis auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen massiven Kreis auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">center</dt><dd class="cmt"><p>Mitte des Kreises in Weltkoordinaten</p></dd><dt class="param">radius</dt><dd class="cmt"><p>Radius des Kreises</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#fillPolygon"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">fillPolygon</span><span class="params">(<span name="points">points: <span class="extype" name="scala.collection.Seq">Seq</span>[<a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a>]</span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt ein massives Polygon auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt ein massives Polygon auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">points</dt><dd class="cmt"><p>Eckpunkte des Polygons in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="sims.dynamics.Shape#friction"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">friction</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Part of the coefficient of friction for a collision between this shape and another</p><div class="fullcomment"> - <div class="comment cmt"><p>Part of the coefficient of friction for a collision between this shape and another. -The coefficient of friction is calculated out of the product of this part and the other shape's part.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#g"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">g</span><span class="result">: <span class="extype" name="java.awt.Graphics2D">Graphics2D</span></span> - </span> - </h4> - <p class="shortcomment cmt">Java Graphics Objekt zur graphischen Darstellung</p><div class="fullcomment"> - <div class="comment cmt"><p>Java Graphics Objekt zur graphischen Darstellung</p></div> - - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="scala.AnyRef#hashCode"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">hashCode</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> - </span> - </h4> - <p class="shortcomment cmt">Returns a hash code value for the object</p><div class="fullcomment"> - <div class="comment cmt"><p>Returns a hash code value for the object.</p><p><p> -The default hashing algorithm is platform dependent.</p><p>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><p><p></p></div> - - - <div class="block"> - definition classes: AnyRef ⇐ Any - </div> - - </div> - </li><li name="sims.dynamics.Shape#mass"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">mass</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Returns the mass of this shape</p><div class="fullcomment"> - <div class="comment cmt"><p>Returns the mass of this shape. The mass is given by volume times density.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="sims.dynamics.Shape#pos"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">pos</span><span class="result">: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span> - </span> - </h4> - <p class="shortcomment cmt">Position of this shape's COM (in world coordinates)</p><div class="fullcomment"> - <div class="comment cmt"><p>Position of this shape's COM (in world coordinates).</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#ppm"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">ppm</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Anzahl von Pixeln pro Meter</p><div class="fullcomment"> - <div class="comment cmt"><p>Anzahl von Pixeln pro Meter.</p></div> - - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="sims.dynamics.Shape#project"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">project</span><span class="params">(<span name="axis">axis: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>)</span><span class="result">: <a href="../../sims/geometry/Projection.html" class="extype" name="sims.geometry.Projection">Projection</a></span> - </span> - </h4> - <p class="shortcomment cmt">Returns the projection of this shape onto the line given by the directional vector <code>axis</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Returns the projection of this shape onto the line given by the directional vector <code>axis</code>.</p></div> - <dl class="paramcmts block"><dt class="param">axis</dt><dd class="cmt"><p>directional vector of the line</p></dd><dt>returns</dt><dd class="cmt"><p>projection of this shape</p></dd></dl> - <div class="block"> - attributes: abstract - </div> - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalShape#real"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">real</span><span class="result">: <a href="../../sims/dynamics/Shape.html" class="extype" name="sims.dynamics.Shape">Shape</a></span> - </span> - </h4> - <p class="shortcomment cmt">Pointer to real object</p><div class="fullcomment"> - <div class="comment cmt"><p>Pointer to real object.</p></div> - - <div class="block"> - attributes: abstract - </div> - - - </div> - </li><li name="sims.dynamics.Shape#refLocalPos"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">refLocalPos</span><span class="result">: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span> - </span> - </h4> - <p class="shortcomment cmt">Local position of this shape's body COM to its COM at a body rotation of zero</p><div class="fullcomment"> - <div class="comment cmt"><p>Local position of this shape's body COM to its COM at a body rotation of zero.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="sims.dynamics.Shape#restitution"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">restitution</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Part of the coefficient of restitution for a collision between this shape and another</p><div class="fullcomment"> - <div class="comment cmt"><p>Part of the coefficient of restitution for a collision between this shape and another. -The coefficient of restitution is calculated out of the product of this part and the other shape's part.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="sims.dynamics.Shape#rotation"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">rotation</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Rotation of this shape about its COM</p><div class="fullcomment"> - <div class="comment cmt"><p>Rotation of this shape about its COM.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="sims.dynamics.Shape#rotation0"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">rotation0</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Initial rotation</p><div class="fullcomment"> - <div class="comment cmt"><p>Initial rotation. Rotation of this shape before it was added to a body.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#scale"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">scale</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Skala in der die graphischen Objekte gezeichnet werden</p><div class="fullcomment"> - <div class="comment cmt"><p>Skala in der die graphischen Objekte gezeichnet werden.</p></div> - - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="scala.AnyRef#toString"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">toString</span><span class="params">()</span><span class="result">: <span class="extype" name="java.lang.String">String</span></span> - </span> - </h4> - <p class="shortcomment cmt">Returns a string representation of the object</p><div class="fullcomment"> - <div class="comment cmt"><p>Returns a string representation of the object. -<p> -The default representation is platform dependent. -</p></div> - - - <div class="block"> - definition classes: AnyRef ⇐ Any - </div> - - </div> - </li><li name="sims.dynamics.Shape#transientShapes"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">transientShapes</span><span class="result">: <span class="extype" name="scala.collection.mutable.Set">Set</span>[<a href="../../sims/dynamics/Shape.html" class="extype" name="sims.dynamics.Shape">Shape</a>]</span> - </span> - </h4> - <p class="shortcomment cmt">Shapes with which this shape cannot collide</p><div class="fullcomment"> - <div class="comment cmt"><p>Shapes with which this shape cannot collide.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalShape#uid"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">uid</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> - </span> - </h4> - <p class="shortcomment cmt">Unique identification number</p><div class="fullcomment"> - <div class="comment cmt"><p>Unique identification number.</p></div> - - - - - </div> - </li><li name="sims.dynamics.Shape#volume"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">volume</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Volume</p><div class="fullcomment"> - <div class="comment cmt"><p>Volume. The volume is actually equivalent to this shape's area (SiMS is in 2D) -and is used with this shape's density to calculate its mass.</p></div> - - <div class="block"> - attributes: abstract - </div> - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#windowHeight"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">windowHeight</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> - </span> - </h4> - <p class="shortcomment cmt">Hoehe des Fensters in Pixeln</p><div class="fullcomment"> - <div class="comment cmt"><p>Hoehe des Fensters in Pixeln.</p></div> - - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="sims.dynamics.Shape#~"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">~</span><span class="params">(<span name="b">b: <a href="../../sims/dynamics/Body.html" class="extype" name="sims.dynamics.Body">Body</a></span>)</span><span class="result">: <a href="../../sims/dynamics/Body.html" class="extype" name="sims.dynamics.Body">Body</a></span> - </span> - </h4> - <p class="shortcomment cmt">Creates a new body out of this shape and the shapes of body <code>b</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Creates a new body out of this shape and the shapes of body <code>b</code>.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li><li name="sims.dynamics.Shape#~"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">~</span><span class="params">(<span name="s">s: <a href="../../sims/dynamics/Shape.html" class="extype" name="sims.dynamics.Shape">Shape</a></span>)</span><span class="result">: <a href="../../sims/dynamics/Body.html" class="extype" name="sims.dynamics.Body">Body</a></span> - </span> - </h4> - <p class="shortcomment cmt">Creates a new body out of this shape and the shape <code>s</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Creates a new body out of this shape and the shape <code>s</code>.</p></div> - - - <div class="block"> - definition classes: <a href="../../sims/dynamics/Shape.html">Shape</a> - </div> - - </div> - </li></ol> - </div> - - - - </div> - - </body> - </html>
\ No newline at end of file diff --git a/doc/graphyx/graphics/GraphicalSpringJoint.html b/doc/graphyx/graphics/GraphicalSpringJoint.html deleted file mode 100644 index 438c01b..0000000 --- a/doc/graphyx/graphics/GraphicalSpringJoint.html +++ /dev/null @@ -1,447 +0,0 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html> - <head> - <title>Scaladoc for graphyx.graphics.GraphicalSpringJoint</title> - <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> - <script type="text/javascript" src="../../lib/jquery.js"></script> - - <style type="text/css"> - @import url(../../lib/template.css) screen; - </style> - <script type="text/javascript" src="../../lib/template.js"></script> - - </head> - <body class="type"> - - <p id="owner"><a href="../package.html">graphyx</a>.<a href="package.html">graphics</a></p> - - <div id="definition"> - <img src="../../lib/class_big.png" /> - <h1>GraphicalSpringJoint</h1> - </div> - - <h4 class="signature"> - <span class="kind">class</span> - <span class="symbol"> - <span class="name">GraphicalSpringJoint</span><span class="params">(<span name="real">real: <a href="../../sims/dynamics/joints/SpringJoint.html" class="extype" name="sims.dynamics.joints.SpringJoint">SpringJoint</a></span>)</span><span class="result"> extends <a href="GraphicalJoint.html" class="extype" name="graphyx.graphics.GraphicalJoint">GraphicalJoint</a> with <span class="extype" name="scala.Product">Product</span></span> - </span> - </h4> - <div class="fullcomment" id="comment"> - - - - - - </div> - - <div id="template"> - - <div id="mbrsel"> - <div id="ancestors"> - <h3>Inherits</h3> - <ol><li class="in" name="scala.Product">Product</li><li class="in" name="scala.Equals">Equals</li><li class="in" name="graphyx.graphics.GraphicalJoint">GraphicalJoint</li><li class="in" name="graphyx.graphics.GraphicalObject">GraphicalObject</li><li class="in" name="graphyx.graphics.Drawable">Drawable</li><li class="in" name="scala.AnyRef">AnyRef</li><li class="in" name="scala.Any">Any</li></ol> - </div> - </div> - - - - <div class="members" id="values"> - <h3>Value Members</h3> - <ol><li name="graphyx.graphics.GraphicalSpringJoint#canEqual"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">canEqual</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Any">Any</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> - </span> - </h4> - - </li><li name="graphyx.graphics.GraphicalSpringJoint#connection1"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">connection1</span><span class="result">: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span> - </span> - </h4> - - </li><li name="graphyx.graphics.GraphicalSpringJoint#connection2"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">connection2</span><span class="result">: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span> - </span> - </h4> - - </li><li name="graphyx.graphics.Drawable#correctY"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">correctY</span><span class="params">(<span name="y">y: <span class="extype" name="scala.Double">Double</span></span>)</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Korrigiert einen Y-Wert in Bildschirmkoordinaten zu seinem kartesischen Aequivalent</p><div class="fullcomment"> - <div class="comment cmt"><p>Korrigiert einen Y-Wert in Bildschirmkoordinaten zu seinem kartesischen Aequivalent.</p></div> - <dl class="paramcmts block"><dt class="param">y</dt><dd class="cmt"><p>zu korrigierender Wert</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalSpringJoint#draw"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">draw</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Stellt das graphische Objekt dar</p><div class="fullcomment"> - <div class="comment cmt"><p>Stellt das graphische Objekt dar.</p></div> - - - - - </div> - </li><li name="graphyx.graphics.Drawable#drawCircle"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawCircle</span><span class="params">(<span name="center">center: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="radius">radius: <span class="extype" name="scala.Double">Double</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen Kreis auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen Kreis auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">center</dt><dd class="cmt"><p>Mitte des Kreises in Weltkoordinaten</p></dd><dt class="param">radius</dt><dd class="cmt"><p>Radius des Kreises</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#drawLine"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawLine</span><span class="params">(<span name="startPoint">startPoint: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="endPoint">endPoint: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt eine Linie auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt eine Linie auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">startPoint</dt><dd class="cmt"><p>Startpunkt in Weltkoordinaten</p></dd><dt class="param">endPoint</dt><dd class="cmt"><p>Endpunkt in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#drawPoint"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawPoint</span><span class="params">(<span name="point">point: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen Punkt auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen Punkt auf <code>g</code>. -<p> -Der Punkt wird von einem Kreis umgeben.</p></div> - <dl class="paramcmts block"><dt class="param">point</dt><dd class="cmt"><p>Punkt in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#drawPolygon"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawPolygon</span><span class="params">(<span name="points">points: <span class="extype" name="scala.collection.Seq">Seq</span>[<a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a>]</span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt ein Polygon auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt ein Polygon auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">points</dt><dd class="cmt"><p>Eckpunkte des Polygons in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#drawVector"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">drawVector</span><span class="params">(<span name="v">v: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="p">p: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen Vektor auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen Vektor auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">v</dt><dd class="cmt"><p>Vektor in Weltkoordinaten</p></dd><dt class="param">p</dt><dd class="cmt"><p>Ursprungspunkt in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalSpringJoint#equals"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">equals</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Any">Any</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> - </span> - </h4> - <p class="shortcomment cmt">This method is used to compare the receiver object (<code>this</code>) -with the argument object (<code>arg0</code>) for equivalence</p><div class="fullcomment"> - <div class="comment cmt"><p>This method is used to compare the receiver object (<code>this</code>) -with the argument object (<code>arg0</code>) for equivalence.</p><p><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><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>). -</p></div> - <dl class="paramcmts block"><dt class="param">arg0</dt><dd class="cmt"><p>the object to compare against this object for equality.</p></dd><dt>returns</dt><dd class="cmt"><p><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise. -</p></p></dd></dl> - - - - </div> - </li><li name="graphyx.graphics.Drawable#fillCircle"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">fillCircle</span><span class="params">(<span name="center">center: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span>, <span name="radius">radius: <span class="extype" name="scala.Double">Double</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt einen massiven Kreis auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt einen massiven Kreis auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">center</dt><dd class="cmt"><p>Mitte des Kreises in Weltkoordinaten</p></dd><dt class="param">radius</dt><dd class="cmt"><p>Radius des Kreises</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#fillPolygon"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">fillPolygon</span><span class="params">(<span name="points">points: <span class="extype" name="scala.collection.Seq">Seq</span>[<a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a>]</span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> - </span> - </h4> - <p class="shortcomment cmt">Malt ein massives Polygon auf <code>g</code></p><div class="fullcomment"> - <div class="comment cmt"><p>Malt ein massives Polygon auf <code>g</code>.</p></div> - <dl class="paramcmts block"><dt class="param">points</dt><dd class="cmt"><p>Eckpunkte des Polygons in Weltkoordinaten</p></dd></dl> - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.Drawable#g"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">g</span><span class="result">: <span class="extype" name="java.awt.Graphics2D">Graphics2D</span></span> - </span> - </h4> - <p class="shortcomment cmt">Java Graphics Objekt zur graphischen Darstellung</p><div class="fullcomment"> - <div class="comment cmt"><p>Java Graphics Objekt zur graphischen Darstellung</p></div> - - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalSpringJoint#hashCode"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">hashCode</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> - </span> - </h4> - <p class="shortcomment cmt">Returns a hash code value for the object</p><div class="fullcomment"> - <div class="comment cmt"><p>Returns a hash code value for the object.</p><p><p> -The default hashing algorithm is platform dependent.</p><p>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><p><p></p></div> - - - - - </div> - </li><li name="graphyx.graphics.Drawable#ppm"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">ppm</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Anzahl von Pixeln pro Meter</p><div class="fullcomment"> - <div class="comment cmt"><p>Anzahl von Pixeln pro Meter.</p></div> - - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalSpringJoint#productArity"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productArity</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> - </span> - </h4> - - </li><li name="graphyx.graphics.GraphicalSpringJoint#productElement"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productElement</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Int">Int</span></span>)</span><span class="result">: <span class="extype" name="scala.Any">Any</span></span> - </span> - </h4> - - </li><li name="scala.Product#productElements"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productElements</span><span class="result">: <span class="extype" name="scala.collection.Iterator">Iterator</span>[<span class="extype" name="scala.Any">Any</span>]</span> - </span> - </h4> - - </li><li name="scala.Product#productIterator"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productIterator</span><span class="result">: <span class="extype" name="scala.collection.Iterator">Iterator</span>[<span class="extype" name="scala.Any">Any</span>]</span> - </span> - </h4> - - </li><li name="graphyx.graphics.GraphicalSpringJoint#productPrefix"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productPrefix</span><span class="result">: <span class="extype" name="java.lang.String">String</span></span> - </span> - </h4> - - </li><li name="graphyx.graphics.GraphicalSpringJoint#real"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">real</span><span class="result">: <a href="../../sims/dynamics/joints/SpringJoint.html" class="extype" name="sims.dynamics.joints.SpringJoint">SpringJoint</a></span> - </span> - </h4> - <p class="shortcomment cmt">Pointer to real object</p><div class="fullcomment"> - <div class="comment cmt"><p>Pointer to real object.</p></div> - - - - - </div> - </li><li name="graphyx.graphics.Drawable#scale"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">scale</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - <p class="shortcomment cmt">Skala in der die graphischen Objekte gezeichnet werden</p><div class="fullcomment"> - <div class="comment cmt"><p>Skala in der die graphischen Objekte gezeichnet werden.</p></div> - - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li><li name="graphyx.graphics.GraphicalSpringJoint#toString"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">toString</span><span class="params">()</span><span class="result">: <span class="extype" name="java.lang.String">String</span></span> - </span> - </h4> - <p class="shortcomment cmt">Returns a string representation of the object</p><div class="fullcomment"> - <div class="comment cmt"><p>Returns a string representation of the object. -<p> -The default representation is platform dependent. -</p></div> - - - - - </div> - </li><li name="graphyx.graphics.Drawable#windowHeight"> - <h4 class="signature"> - <span class="kind">var</span> - <span class="symbol"> - <span class="name">windowHeight</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> - </span> - </h4> - <p class="shortcomment cmt">Hoehe des Fensters in Pixeln</p><div class="fullcomment"> - <div class="comment cmt"><p>Hoehe des Fensters in Pixeln.</p></div> - - - <div class="block"> - definition classes: <a href="Drawable.html">Drawable</a> - </div> - - </div> - </li></ol> - </div> - - <div class="members" id="constructors"> - <h3>Instance constructors</h3> - <ol><li name="graphyx.graphics.GraphicalSpringJoint#this"> - <h4 class="signature"> - <span class="kind">new</span> - <span class="symbol"> - <span class="name">GraphicalSpringJoint</span><span class="params">(<span name="real">real: <a href="../../sims/dynamics/joints/SpringJoint.html" class="extype" name="sims.dynamics.joints.SpringJoint">SpringJoint</a></span>)</span> - </span> - </h4> - - </li><li name="scala.AnyRef#this"> - <h4 class="signature"> - <span class="kind">new</span> - <span class="symbol"> - <span class="name">GraphicalSpringJoint</span><span class="params">()</span> - </span> - </h4> - - </li></ol> - </div> - - </div> - - </body> - </html>
\ No newline at end of file diff --git a/doc/graphyx/graphics/GraphicalWorld.html b/doc/graphyx/graphics/GraphicalWorld.html deleted file mode 100644 index 715b0ca..0000000 --- a/doc/graphyx/graphics/GraphicalWorld.html +++ /dev/null @@ -1,289 +0,0 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html> - <head> - <title>Scaladoc for graphyx.graphics.GraphicalWorld</title> - <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> - <script type="text/javascript" src="../../lib/jquery.js"></script> - - <style type="text/css"> - @import url(../../lib/template.css) screen; - </style> - <script type="text/javascript" src="../../lib/template.js"></script> - - </head> - <body class="type"> - - <p id="owner"><a href="../package.html">graphyx</a>.<a href="package.html">graphics</a></p> - - <div id="definition"> - <img src="../../lib/class_big.png" /> - <h1>GraphicalWorld</h1> - </div> - - <h4 class="signature"> - <span class="kind">class</span> - <span class="symbol"> - <span class="name">GraphicalWorld</span><span class="params">(<span name="real">real: <a href="../../sims/dynamics/World.html" class="extype" name="sims.dynamics.World">World</a></span>)</span><span class="result"> extends <span class="extype" name="scala.Product">Product</span></span> - </span> - </h4> - <div class="fullcomment" id="comment"> - - - - - - </div> - - <div id="template"> - - <div id="mbrsel"> - <div id="ancestors"> - <h3>Inherits</h3> - <ol><li class="in" name="scala.Product">Product</li><li class="in" name="scala.Equals">Equals</li><li class="in" name="scala.AnyRef">AnyRef</li><li class="in" name="scala.Any">Any</li></ol> - </div> - </div> - - - - <div class="members" id="values"> - <h3>Value Members</h3> - <ol><li name="graphyx.graphics.GraphicalWorld#canEqual"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">canEqual</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Any">Any</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> - </span> - </h4> - - </li><li name="graphyx.graphics.GraphicalWorld#enableCollisionDetection"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">enableCollisionDetection</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> - </span> - </h4> - - </li><li name="graphyx.graphics.GraphicalWorld#enablePositionCorrection"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">enablePositionCorrection</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> - </span> - </h4> - - </li><li name="graphyx.graphics.GraphicalWorld#equals"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">equals</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Any">Any</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> - </span> - </h4> - <p class="shortcomment cmt">This method is used to compare the receiver object (<code>this</code>) -with the argument object (<code>arg0</code>) for equivalence</p><div class="fullcomment"> - <div class="comment cmt"><p>This method is used to compare the receiver object (<code>this</code>) -with the argument object (<code>arg0</code>) for equivalence.</p><p><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><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>). -</p></div> - <dl class="paramcmts block"><dt class="param">arg0</dt><dd class="cmt"><p>the object to compare against this object for equality.</p></dd><dt>returns</dt><dd class="cmt"><p><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise. -</p></p></dd></dl> - - - - </div> - </li><li name="graphyx.graphics.GraphicalWorld#gravity"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">gravity</span><span class="result">: <a href="../../sims/geometry/Vector2D.html" class="extype" name="sims.geometry.Vector2D">Vector2D</a></span> - </span> - </h4> - - </li><li name="graphyx.graphics.GraphicalWorld#hashCode"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">hashCode</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> - </span> - </h4> - <p class="shortcomment cmt">Returns a hash code value for the object</p><div class="fullcomment"> - <div class="comment cmt"><p>Returns a hash code value for the object.</p><p><p> -The default hashing algorithm is platform dependent.</p><p>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><p><p></p></div> - - - - - </div> - </li><li name="graphyx.graphics.GraphicalWorld#iterations"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">iterations</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> - </span> - </h4> - - </li><li name="graphyx.graphics.GraphicalWorld#monitorFlatResults"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">monitorFlatResults</span><span class="result">: <span class="extype" name="scala.collection.mutable.ArrayBuffer">ArrayBuffer</span>[(<span class="extype" name="scala.Int">Int</span>, <span class="extype" name="java.lang.String">String</span>, <span class="extype" name="scala.Any">Any</span>)]</span> - </span> - </h4> - - </li><li name="graphyx.graphics.GraphicalWorld#monitorResults"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">monitorResults</span><span class="result">: <span class="extype" name="scala.collection.mutable.ArrayBuffer">ArrayBuffer</span>[<a href="MonitorResult.html" class="extype" name="graphyx.graphics.MonitorResult">MonitorResult</a>]</span> - </span> - </h4> - - </li><li name="graphyx.graphics.GraphicalWorld#overCWarning"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">overCWarning</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> - </span> - </h4> - - </li><li name="graphyx.graphics.GraphicalWorld#productArity"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productArity</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> - </span> - </h4> - - </li><li name="graphyx.graphics.GraphicalWorld#productElement"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productElement</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Int">Int</span></span>)</span><span class="result">: <span class="extype" name="scala.Any">Any</span></span> - </span> - </h4> - - </li><li name="scala.Product#productElements"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productElements</span><span class="result">: <span class="extype" name="scala.collection.Iterator">Iterator</span>[<span class="extype" name="scala.Any">Any</span>]</span> - </span> - </h4> - - </li><li name="scala.Product#productIterator"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productIterator</span><span class="result">: <span class="extype" name="scala.collection.Iterator">Iterator</span>[<span class="extype" name="scala.Any">Any</span>]</span> - </span> - </h4> - - </li><li name="graphyx.graphics.GraphicalWorld#productPrefix"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productPrefix</span><span class="result">: <span class="extype" name="java.lang.String">String</span></span> - </span> - </h4> - - </li><li name="graphyx.graphics.GraphicalWorld#real"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">real</span><span class="result">: <a href="../../sims/dynamics/World.html" class="extype" name="sims.dynamics.World">World</a></span> - </span> - </h4> - - </li><li name="graphyx.graphics.GraphicalWorld#time"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">time</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - - </li><li name="graphyx.graphics.GraphicalWorld#timeStep"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">timeStep</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span> - </span> - </h4> - - </li><li name="graphyx.graphics.GraphicalWorld#toString"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">toString</span><span class="params">()</span><span class="result">: <span class="extype" name="java.lang.String">String</span></span> - </span> - </h4> - <p class="shortcomment cmt">Returns a string representation of the object</p><div class="fullcomment"> - <div class="comment cmt"><p>Returns a string representation of the object. -<p> -The default representation is platform dependent. -</p></div> - - - - - </div> - </li></ol> - </div> - - <div class="members" id="constructors"> - <h3>Instance constructors</h3> - <ol><li name="graphyx.graphics.GraphicalWorld#this"> - <h4 class="signature"> - <span class="kind">new</span> - <span class="symbol"> - <span class="name">GraphicalWorld</span><span class="params">(<span name="real">real: <a href="../../sims/dynamics/World.html" class="extype" name="sims.dynamics.World">World</a></span>)</span> - </span> - </h4> - - </li><li name="scala.AnyRef#this"> - <h4 class="signature"> - <span class="kind">new</span> - <span class="symbol"> - <span class="name">GraphicalWorld</span><span class="params">()</span> - </span> - </h4> - - </li></ol> - </div> - - </div> - - </body> - </html>
\ No newline at end of file diff --git a/doc/graphyx/graphics/MonitorResult.html b/doc/graphyx/graphics/MonitorResult.html deleted file mode 100644 index 53aa680..0000000 --- a/doc/graphyx/graphics/MonitorResult.html +++ /dev/null @@ -1,183 +0,0 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html> - <head> - <title>Scaladoc for graphyx.graphics.MonitorResult</title> - <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> - <script type="text/javascript" src="../../lib/jquery.js"></script> - - <style type="text/css"> - @import url(../../lib/template.css) screen; - </style> - <script type="text/javascript" src="../../lib/template.js"></script> - - </head> - <body class="type"> - - <p id="owner"><a href="../package.html">graphyx</a>.<a href="package.html">graphics</a></p> - - <div id="definition"> - <img src="../../lib/class_big.png" /> - <h1>MonitorResult</h1> - </div> - - <h4 class="signature"> - <span class="kind">class</span> - <span class="symbol"> - <span class="name">MonitorResult</span><span class="result"> extends AnyRef</span> - </span> - </h4> - <div class="fullcomment" id="comment"> - - - - - - </div> - - <div id="template"> - - <div id="mbrsel"> - <div id="ancestors"> - <h3>Inherits</h3> - <ol><li class="in" name="scala.AnyRef">AnyRef</li><li class="in" name="scala.Any">Any</li></ol> - </div> - </div> - - - - <div class="members" id="values"> - <h3>Value Members</h3> - <ol><li name="scala.AnyRef#equals"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">equals</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Any">Any</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> - </span> - </h4> - <p class="shortcomment cmt">This method is used to compare the receiver object (<code>this</code>) -with the argument object (<code>arg0</code>) for equivalence</p><div class="fullcomment"> - <div class="comment cmt"><p>This method is used to compare the receiver object (<code>this</code>) -with the argument object (<code>arg0</code>) for equivalence.</p><p><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><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>). -</p></div> - <dl class="paramcmts block"><dt class="param">arg0</dt><dd class="cmt"><p>the object to compare against this object for equality.</p></dd><dt>returns</dt><dd class="cmt"><p><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise. -</p></p></dd></dl> - - <div class="block"> - definition classes: AnyRef ⇐ Any - </div> - - </div> - </li><li name="scala.AnyRef#hashCode"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">hashCode</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> - </span> - </h4> - <p class="shortcomment cmt">Returns a hash code value for the object</p><div class="fullcomment"> - <div class="comment cmt"><p>Returns a hash code value for the object.</p><p><p> -The default hashing algorithm is platform dependent.</p><p>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><p><p></p></div> - - - <div class="block"> - definition classes: AnyRef ⇐ Any - </div> - - </div> - </li><li name="graphyx.graphics.MonitorResult#monitor"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">monitor</span><span class="result">: (<span class="extype" name="java.lang.String">String</span>, (<a href="../../sims/dynamics/Body.html" class="extype" name="sims.dynamics.Body">Body</a>) ⇒ <span class="extype" name="scala.Any">Any</span>)</span> - </span> - </h4> - - </li><li name="graphyx.graphics.MonitorResult#results"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">results</span><span class="result">: <span class="extype" name="scala.collection.immutable.List">List</span>[(<span class="extype" name="scala.Int">Int</span>, <span class="extype" name="java.lang.String">String</span>, <span class="extype" name="scala.Any">Any</span>)]</span> - </span> - </h4> - - </li><li name="scala.AnyRef#toString"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">toString</span><span class="params">()</span><span class="result">: <span class="extype" name="java.lang.String">String</span></span> - </span> - </h4> - <p class="shortcomment cmt">Returns a string representation of the object</p><div class="fullcomment"> - <div class="comment cmt"><p>Returns a string representation of the object. -<p> -The default representation is platform dependent. -</p></div> - - - <div class="block"> - definition classes: AnyRef ⇐ Any - </div> - - </div> - </li></ol> - </div> - - <div class="members" id="constructors"> - <h3>Instance constructors</h3> - <ol><li name="graphyx.graphics.MonitorResult#this"> - <h4 class="signature"> - <span class="kind">new</span> - <span class="symbol"> - <span class="name">MonitorResult</span><span class="params">(<span name="monitor">monitor: (<span class="extype" name="java.lang.String">String</span>, (<a href="../../sims/dynamics/Body.html" class="extype" name="sims.dynamics.Body">Body</a>) ⇒ <span class="extype" name="scala.Any">Any</span>)</span>, <span name="results">results: <span class="extype" name="scala.collection.immutable.List">List</span>[(<span class="extype" name="scala.Int">Int</span>, <span class="extype" name="java.lang.String">String</span>, <span class="extype" name="scala.Any">Any</span>)]</span>)</span> - </span> - </h4> - - </li><li name="scala.AnyRef#this"> - <h4 class="signature"> - <span class="kind">new</span> - <span class="symbol"> - <span class="name">MonitorResult</span><span class="params">()</span> - </span> - </h4> - - </li></ol> - </div> - - </div> - - </body> - </html>
\ No newline at end of file diff --git a/doc/graphyx/graphics/Parser$.html b/doc/graphyx/graphics/Parser$.html deleted file mode 100644 index 2c6cf06..0000000 --- a/doc/graphyx/graphics/Parser$.html +++ /dev/null @@ -1,204 +0,0 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html> - <head> - <title>Scaladoc for graphyx.graphics.Parser</title> - <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> - <script type="text/javascript" src="../../lib/jquery.js"></script> - - <style type="text/css"> - @import url(../../lib/template.css) screen; - </style> - <script type="text/javascript" src="../../lib/template.js"></script> - - </head> - <body class="value"> - - <p id="owner"><a href="../package.html">graphyx</a>.<a href="package.html">graphics</a></p> - - <div id="definition"> - <img src="../../lib/object_big.png" /> - <h1>Parser</h1> - </div> - - <h4 class="signature"> - <span class="kind">object</span> - <span class="symbol"> - <span class="name">Parser</span><span class="result"> extends AnyRef</span> - </span> - </h4> - <div class="fullcomment" id="comment"> - - - - - - </div> - - <div id="template"> - - <div id="mbrsel"> - <div id="ancestors"> - <h3>Inherits</h3> - <ol><li class="in" name="scala.AnyRef">AnyRef</li><li class="in" name="scala.Any">Any</li></ol> - </div> - </div> - - - - <div class="members" id="values"> - <h3>Value Members</h3> - <ol><li name="scala.AnyRef#equals"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">equals</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Any">Any</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> - </span> - </h4> - <p class="shortcomment cmt">This method is used to compare the receiver object (<code>this</code>) -with the argument object (<code>arg0</code>) for equivalence</p><div class="fullcomment"> - <div class="comment cmt"><p>This method is used to compare the receiver object (<code>this</code>) -with the argument object (<code>arg0</code>) for equivalence.</p><p><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><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>). -</p></div> - <dl class="paramcmts block"><dt class="param">arg0</dt><dd class="cmt"><p>the object to compare against this object for equality.</p></dd><dt>returns</dt><dd class="cmt"><p><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise. -</p></p></dd></dl> - - <div class="block"> - definition classes: AnyRef ⇐ Any - </div> - - </div> - </li><li name="scala.AnyRef#hashCode"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">hashCode</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> - </span> - </h4> - <p class="shortcomment cmt">Returns a hash code value for the object</p><div class="fullcomment"> - <div class="comment cmt"><p>Returns a hash code value for the object.</p><p><p> -The default hashing algorithm is platform dependent.</p><p>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><p><p></p></div> - - - <div class="block"> - definition classes: AnyRef ⇐ Any - </div> - - </div> - </li><li name="graphyx.graphics.Parser#throwOnUnknown"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">throwOnUnknown</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> - </span> - </h4> - - </li><li name="graphyx.graphics.Parser#toGraphical"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">toGraphical</span><span class="params">(<span name="real">real: <a href="../../sims/dynamics/Body.html" class="extype" name="sims.dynamics.Body">Body</a></span>)</span><span class="result">: <a href="GraphicalBody.html" class="extype" name="graphyx.graphics.GraphicalBody">GraphicalBody</a></span> - </span> - </h4> - - </li><li name="graphyx.graphics.Parser#toGraphical"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">toGraphical</span><span class="params">(<span name="real">real: <a href="../../sims/collision/AABB.html" class="extype" name="sims.collision.AABB">AABB</a></span>)</span><span class="result">: <a href="GraphicalAABB.html" class="extype" name="graphyx.graphics.GraphicalAABB">GraphicalAABB</a></span> - </span> - </h4> - - </li><li name="graphyx.graphics.Parser#toGraphical"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">toGraphical</span><span class="params">(<span name="real">real: <a href="../../sims/collision/Pair.html" class="extype" name="sims.collision.Pair">Pair</a></span>)</span><span class="result">: <a href="GraphicalPair.html" class="extype" name="graphyx.graphics.GraphicalPair">GraphicalPair</a></span> - </span> - </h4> - - </li><li name="graphyx.graphics.Parser#toGraphical"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">toGraphical</span><span class="params">(<span name="real">real: <a href="../../sims/collision/Collision.html" class="extype" name="sims.collision.Collision">Collision</a></span>)</span><span class="result">: <a href="GraphicalCollision.html" class="extype" name="graphyx.graphics.GraphicalCollision">GraphicalCollision</a></span> - </span> - </h4> - - </li><li name="graphyx.graphics.Parser#toGraphical"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">toGraphical</span><span class="params">(<span name="real">real: <a href="../../sims/dynamics/joints/Joint.html" class="extype" name="sims.dynamics.joints.Joint">Joint</a></span>)</span><span class="result">: <a href="GraphicalJoint.html" class="extype" name="graphyx.graphics.GraphicalJoint">GraphicalJoint</a></span> - </span> - </h4> - - </li><li name="graphyx.graphics.Parser#toGraphical"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">toGraphical</span><span class="params">(<span name="real">real: <a href="../../sims/dynamics/Shape.html" class="extype" name="sims.dynamics.Shape">Shape</a></span>)</span><span class="result">: <a href="GraphicalShape.html" class="extype" name="graphyx.graphics.GraphicalShape">GraphicalShape</a> with <span class="extype" name="scala.Product">Product</span> {...}</span> - </span> - </h4> - - </li><li name="scala.AnyRef#toString"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">toString</span><span class="params">()</span><span class="result">: <span class="extype" name="java.lang.String">String</span></span> - </span> - </h4> - <p class="shortcomment cmt">Returns a string representation of the object</p><div class="fullcomment"> - <div class="comment cmt"><p>Returns a string representation of the object. -<p> -The default representation is platform dependent. -</p></div> - - - <div class="block"> - definition classes: AnyRef ⇐ Any - </div> - - </div> - </li></ol> - </div> - - - - </div> - - </body> - </html>
\ No newline at end of file diff --git a/doc/graphyx/graphics/Scene.html b/doc/graphyx/graphics/Scene.html deleted file mode 100644 index 1f288fc..0000000 --- a/doc/graphyx/graphics/Scene.html +++ /dev/null @@ -1,281 +0,0 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html> - <head> - <title>Scaladoc for graphyx.graphics.Scene</title> - <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> - <script type="text/javascript" src="../../lib/jquery.js"></script> - - <style type="text/css"> - @import url(../../lib/template.css) screen; - </style> - <script type="text/javascript" src="../../lib/template.js"></script> - - </head> - <body class="type"> - - <p id="owner"><a href="../package.html">graphyx</a>.<a href="package.html">graphics</a></p> - - <div id="definition"> - <img src="../../lib/class_big.png" /> - <h1>Scene</h1> - </div> - - <h4 class="signature"> - <span class="kind">class</span> - <span class="symbol"> - <span class="name">Scene</span><span class="params">(<span name="real">real: <a href="../../sims/dynamics/World.html" class="extype" name="sims.dynamics.World">World</a></span>)</span><span class="result"> extends <span class="extype" name="scala.Product">Product</span></span> - </span> - </h4> - <div class="fullcomment" id="comment"> - - - - - - </div> - - <div id="template"> - - <div id="mbrsel"> - <div id="ancestors"> - <h3>Inherits</h3> - <ol><li class="in" name="scala.Product">Product</li><li class="in" name="scala.Equals">Equals</li><li class="in" name="scala.AnyRef">AnyRef</li><li class="in" name="scala.Any">Any</li></ol> - </div> - </div> - - - - <div class="members" id="values"> - <h3>Value Members</h3> - <ol><li name="graphyx.graphics.Scene#aabbs"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">aabbs</span><span class="result">: <span class="extype" name="scala.collection.mutable.ArrayBuffer">ArrayBuffer</span>[<a href="GraphicalAABB.html" class="extype" name="graphyx.graphics.GraphicalAABB">GraphicalAABB</a>]</span> - </span> - </h4> - - </li><li name="graphyx.graphics.Scene#bodies"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">bodies</span><span class="result">: <span class="extype" name="scala.collection.mutable.ArrayBuffer">ArrayBuffer</span>[<a href="GraphicalBody.html" class="extype" name="graphyx.graphics.GraphicalBody">GraphicalBody</a>]</span> - </span> - </h4> - - </li><li name="graphyx.graphics.Scene#canEqual"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">canEqual</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Any">Any</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> - </span> - </h4> - - </li><li name="graphyx.graphics.Scene#collisions"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">collisions</span><span class="result">: <span class="extype" name="scala.collection.Seq">Seq</span>[<a href="GraphicalCollision.html" class="extype" name="graphyx.graphics.GraphicalCollision">GraphicalCollision</a>]</span> - </span> - </h4> - - </li><li name="graphyx.graphics.Scene#equals"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">equals</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Any">Any</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> - </span> - </h4> - <p class="shortcomment cmt">This method is used to compare the receiver object (<code>this</code>) -with the argument object (<code>arg0</code>) for equivalence</p><div class="fullcomment"> - <div class="comment cmt"><p>This method is used to compare the receiver object (<code>this</code>) -with the argument object (<code>arg0</code>) for equivalence.</p><p><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><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>). -</p></div> - <dl class="paramcmts block"><dt class="param">arg0</dt><dd class="cmt"><p>the object to compare against this object for equality.</p></dd><dt>returns</dt><dd class="cmt"><p><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise. -</p></p></dd></dl> - - - - </div> - </li><li name="graphyx.graphics.Scene#fps"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">fps</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> - </span> - </h4> - - </li><li name="graphyx.graphics.Scene#hashCode"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">hashCode</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> - </span> - </h4> - <p class="shortcomment cmt">Returns a hash code value for the object</p><div class="fullcomment"> - <div class="comment cmt"><p>Returns a hash code value for the object.</p><p><p> -The default hashing algorithm is platform dependent.</p><p>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><p><p></p></div> - - - - - </div> - </li><li name="graphyx.graphics.Scene#joints"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">joints</span><span class="result">: <span class="extype" name="scala.collection.mutable.ArrayBuffer">ArrayBuffer</span>[<a href="GraphicalJoint.html" class="extype" name="graphyx.graphics.GraphicalJoint">GraphicalJoint</a>]</span> - </span> - </h4> - - </li><li name="graphyx.graphics.Scene#pairs"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">pairs</span><span class="result">: <span class="extype" name="scala.collection.Seq">Seq</span>[<a href="GraphicalPair.html" class="extype" name="graphyx.graphics.GraphicalPair">GraphicalPair</a>]</span> - </span> - </h4> - - </li><li name="graphyx.graphics.Scene#productArity"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productArity</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> - </span> - </h4> - - </li><li name="graphyx.graphics.Scene#productElement"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productElement</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Int">Int</span></span>)</span><span class="result">: <span class="extype" name="scala.Any">Any</span></span> - </span> - </h4> - - </li><li name="scala.Product#productElements"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productElements</span><span class="result">: <span class="extype" name="scala.collection.Iterator">Iterator</span>[<span class="extype" name="scala.Any">Any</span>]</span> - </span> - </h4> - - </li><li name="scala.Product#productIterator"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productIterator</span><span class="result">: <span class="extype" name="scala.collection.Iterator">Iterator</span>[<span class="extype" name="scala.Any">Any</span>]</span> - </span> - </h4> - - </li><li name="graphyx.graphics.Scene#productPrefix"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">productPrefix</span><span class="result">: <span class="extype" name="java.lang.String">String</span></span> - </span> - </h4> - - </li><li name="graphyx.graphics.Scene#real"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">real</span><span class="result">: <a href="../../sims/dynamics/World.html" class="extype" name="sims.dynamics.World">World</a></span> - </span> - </h4> - - </li><li name="graphyx.graphics.Scene#shapes"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">shapes</span><span class="result">: <span class="extype" name="scala.collection.mutable.ArrayBuffer">ArrayBuffer</span>[<a href="GraphicalShape.html" class="extype" name="graphyx.graphics.GraphicalShape">GraphicalShape</a> with <span class="extype" name="scala.Product">Product</span> {...}]</span> - </span> - </h4> - - </li><li name="graphyx.graphics.Scene#toString"> - <h4 class="signature"> - <span class="kind">def</span> - <span class="symbol"> - <span class="name">toString</span><span class="params">()</span><span class="result">: <span class="extype" name="java.lang.String">String</span></span> - </span> - </h4> - <p class="shortcomment cmt">Returns a string representation of the object</p><div class="fullcomment"> - <div class="comment cmt"><p>Returns a string representation of the object. -<p> -The default representation is platform dependent. -</p></div> - - - - - </div> - </li><li name="graphyx.graphics.Scene#world"> - <h4 class="signature"> - <span class="kind">val</span> - <span class="symbol"> - <span class="name">world</span><span class="result">: <a href="GraphicalWorld.html" class="extype" name="graphyx.graphics.GraphicalWorld">GraphicalWorld</a></span> - </span> - </h4> - - </li></ol> - </div> - - <div class="members" id="constructors"> - <h3>Instance constructors</h3> - <ol><li name="graphyx.graphics.Scene#this"> - <h4 class="signature"> - <span class="kind">new</span> - <span class="symbol"> - <span class="name">Scene</span><span class="params">(<span name="real">real: <a href="../../sims/dynamics/World.html" class="extype" name="sims.dynamics.World">World</a></span>)</span> - </span> - </h4> - - </li><li name="scala.AnyRef#this"> - <h4 class="signature"> - <span class="kind">new</span> - <span class="symbol"> - <span class="name">Scene</span><span class="params">()</span> - </span> - </h4> - - </li></ol> - </div> - - </div> - - </body> - </html>
\ No newline at end of file diff --git a/doc/graphyx/graphics/package.html b/doc/graphyx/graphics/package.html deleted file mode 100644 index b0317c0..0000000 --- a/doc/graphyx/graphics/package.html +++ /dev/null @@ -1,201 +0,0 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html> - <head> - <title>Scaladoc for graphyx.graphics</title> - <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> - <script type="text/javascript" src="../../lib/jquery.js"></script> - - <style type="text/css"> - @import url(../../lib/template.css) screen; - </style> - <script type="text/javascript" src="../../lib/template.js"></script> - - </head> - <body class="value"> - - <p id="owner"><a href="../package.html">graphyx</a></p> - - <div id="definition"> - <img src="../../lib/package_big.png" /> - <h1>graphics</h1> - </div> - - <h4 class="signature"> - <span class="kind">package</span> - <span class="symbol"> - <span class="name">graphics</span> - </span> - </h4> - <div class="fullcomment" id="comment"> - - - - - - </div> - - <div id="template"> - - - - <div class="members" id="types"> - <h3>Type Members</h3> - <ol><li name="graphyx.graphics.Drawable"> - <h4 class="signature"><a href="Drawable.html"> - <span class="kind">trait</span> - <span class="symbol"> - <span class="name">Drawable</span><span class="result"> extends AnyRef</span> - </span> - </a></h4> - <p class="comment cmt">Enthaelt Methoden und Felder fuer graphische Darstellungen</p> - </li><li name="graphyx.graphics.GraphicalAABB"> - <h4 class="signature"><a href="GraphicalAABB.html"> - <span class="kind">class</span> - <span class="symbol"> - <span class="name">GraphicalAABB</span><span class="params">(<span name="real">real: AABB</span>)</span><span class="result"> extends AABB with GraphicalObject with Product</span> - </span> - </a></h4> - - </li><li name="graphyx.graphics.GraphicalBody"> - <h4 class="signature"><a href="GraphicalBody.html"> - <span class="kind">class</span> - <span class="symbol"> - <span class="name">GraphicalBody</span><span class="params">(<span name="real">real: Body</span>)</span><span class="result"> extends GraphicalObject with Product</span> - </span> - </a></h4> - - </li><li name="graphyx.graphics.GraphicalCircle"> - <h4 class="signature"><a href="GraphicalCircle.html"> - <span class="kind">class</span> - <span class="symbol"> - <span class="name">GraphicalCircle</span><span class="params">(<span name="real">real: Circle</span>)</span><span class="result"> extends Circle with GraphicalShape with Product</span> - </span> - </a></h4> - - </li><li name="graphyx.graphics.GraphicalCollision"> - <h4 class="signature"><a href="GraphicalCollision.html"> - <span class="kind">class</span> - <span class="symbol"> - <span class="name">GraphicalCollision</span><span class="params">(<span name="real">real: Collision</span>)</span><span class="result"> extends GraphicalObject with Product</span> - </span> - </a></h4> - - </li><li name="graphyx.graphics.GraphicalDistanceJoint"> - <h4 class="signature"><a href="GraphicalDistanceJoint.html"> - <span class="kind">class</span> - <span class="symbol"> - <span class="name">GraphicalDistanceJoint</span><span class="params">(<span name="real">real: DistanceJoint</span>)</span><span class="result"> extends GraphicalJoint with Product</span> - </span> - </a></h4> - - </li><li name="graphyx.graphics.GraphicalJoint"> - <h4 class="signature"><a href="GraphicalJoint.html"> - <span class="kind">trait</span> - <span class="symbol"> - <span class="name">GraphicalJoint</span><span class="result"> extends GraphicalObject</span> - </span> - </a></h4> - - </li><li name="graphyx.graphics.GraphicalObject"> - <h4 class="signature"><a href="GraphicalObject.html"> - <span class="kind">trait</span> - <span class="symbol"> - <span class="name">GraphicalObject</span><span class="result"> extends Drawable</span> - </span> - </a></h4> - <p class="comment cmt">Only copies functional info! (e</p> - </li><li name="graphyx.graphics.GraphicalPair"> - <h4 class="signature"><a href="GraphicalPair.html"> - <span class="kind">class</span> - <span class="symbol"> - <span class="name">GraphicalPair</span><span class="params">(<span name="real">real: Pair</span>)</span><span class="result"> extends GraphicalObject with Product</span> - </span> - </a></h4> - - </li><li name="graphyx.graphics.GraphicalRectangle"> - <h4 class="signature"><a href="GraphicalRectangle.html"> - <span class="kind">class</span> - <span class="symbol"> - <span class="name">GraphicalRectangle</span><span class="params">(<span name="real">real: Rectangle</span>)</span><span class="result"> extends Rectangle with GraphicalShape with Product</span> - </span> - </a></h4> - - </li><li name="graphyx.graphics.GraphicalRegularPolygon"> - <h4 class="signature"><a href="GraphicalRegularPolygon.html"> - <span class="kind">class</span> - <span class="symbol"> - <span class="name">GraphicalRegularPolygon</span><span class="params">(<span name="real">real: RegularPolygon</span>)</span><span class="result"> extends RegularPolygon with GraphicalShape with Product</span> - </span> - </a></h4> - - </li><li name="graphyx.graphics.GraphicalRevoluteJoint"> - <h4 class="signature"><a href="GraphicalRevoluteJoint.html"> - <span class="kind">class</span> - <span class="symbol"> - <span class="name">GraphicalRevoluteJoint</span><span class="params">(<span name="real">real: RevoluteJoint</span>)</span><span class="result"> extends GraphicalJoint with Product</span> - </span> - </a></h4> - - </li><li name="graphyx.graphics.GraphicalShape"> - <h4 class="signature"><a href="GraphicalShape.html"> - <span class="kind">trait</span> - <span class="symbol"> - <span class="name">GraphicalShape</span><span class="result"> extends Shape with GraphicalObject</span> - </span> - </a></h4> - - </li><li name="graphyx.graphics.GraphicalSpringJoint"> - <h4 class="signature"><a href="GraphicalSpringJoint.html"> - <span class="kind">class</span> - <span class="symbol"> - <span class="name">GraphicalSpringJoint</span><span class="params">(<span name="real">real: SpringJoint</span>)</span><span class="result"> extends GraphicalJoint with Product</span> - </span> - </a></h4> - - </li><li name="graphyx.graphics.GraphicalWorld"> - <h4 class="signature"><a href="GraphicalWorld.html"> - <span class="kind">class</span> - <span class="symbol"> - <span class="name">GraphicalWorld</span><span class="params">(<span name="real">real: World</span>)</span><span class="result"> extends Product</span> - </span> - </a></h4> - - </li><li name="graphyx.graphics.MonitorResult"> - <h4 class="signature"><a href="MonitorResult.html"> - <span class="kind">class</span> - <span class="symbol"> - <span class="name">MonitorResult</span><span class="result"> extends AnyRef</span> - </span> - </a></h4> - - </li><li name="graphyx.graphics.Scene"> - <h4 class="signature"><a href="Scene.html"> - <span class="kind">class</span> - <span class="symbol"> - <span class="name">Scene</span><span class="params">(<span name="real">real: World</span>)</span><span class="result"> extends Product</span> - </span> - </a></h4> - - </li></ol> - </div> - - <div class="members" id="values"> - <h3>Value Members</h3> - <ol><li name="graphyx.graphics.Parser"> - <h4 class="signature"><a href="Parser$.html"> - <span class="kind">object</span> - <span class="symbol"> - <span class="name">Parser</span><span class="result"> extends AnyRef</span> - </span> - </a></h4> - - </li></ol> - </div> - - - - </div> - - </body> - </html>
\ No newline at end of file |