summaryrefslogtreecommitdiff
path: root/doc/graphyx/graphics/Drawable.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/graphyx/graphics/Drawable.html')
-rw-r--r--doc/graphyx/graphics/Drawable.html397
1 files changed, 397 insertions, 0 deletions
diff --git a/doc/graphyx/graphics/Drawable.html b/doc/graphyx/graphics/Drawable.html
new file mode 100644
index 0000000..f5e00fc
--- /dev/null
+++ b/doc/graphyx/graphics/Drawable.html
@@ -0,0 +1,397 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html>
+ <head><title>trait Drawable in graphyx.graphics</title>
+ <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script>
+ </head>
+ <body onload="init()">
+ <table summary="" class="navigation">
+ <tr>
+ <td class="navigation-links" valign="top">
+ <!-- <table><tr></tr></table> -->
+ </td>
+ <td align="right" valign="top" style="white-space:nowrap;" rowspan="2">
+ <div class="doctitle-larger">SiMS</div>
+ </td>
+ </tr>
+ <tr><td></td></tr>
+ </table>
+
+ <div class="entity">
+ <a href="../../graphyx/graphics$package.html" target="_self">graphyx.graphics</a>
+ <br></br>
+ <span class="entity">trait Drawable</span>
+ </div><hr></hr>
+ <div class="source">
+ [source: <a href="" class="graphyx/graphics/Drawable"><code>graphyx/graphics/Drawable.scala</code></a>]
+ </div><hr></hr>
+ <a name="Drawable"></a><dl>
+ <dt>
+
+ <code></code>
+ <code>trait</code>
+ <em>Drawable</em>
+ </dt>
+ <dd><code> extends </code><a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a></dd>
+ </dl>
+ <dl><dd>Enthaelt Methoden und Felder fuer graphische Darstellungen.
+ Alle Klassen die dieses Trait implementieren koennen graphisch dargestellt werden.</dd></dl>
+ <dl></dl>
+ <dl>
+ <dt style="margin:10px 0 0 20px;"><b>Direct Known Subclasses:</b></dt>
+ <dd><a href="../../graphyx/graphics/GraphicalObject.html" target="_self">GraphicalObject</a></dd>
+ </dl><hr></hr>
+
+
+<table summary="" cellpadding="3" class="member">
+ <tr><td class="title" colspan="2">Value Summary</td></tr>
+ <tr>
+ <td class="modifiers" valign="top">
+ <code> var</code>
+ </td>
+ <td class="signature">
+ <em><a href="../../graphyx/graphics/Drawable.html#g" target="_self">g</a></em>
+ : <a href="" target="contentFrame" class="java/awt/Graphics">java.awt.Graphics</a>
+
+ <div>Java Graphics Objekt zur graphischen Darstellung</div>
+ </td>
+ </tr>
+<tr>
+ <td class="modifiers" valign="top">
+ <code> var</code>
+ </td>
+ <td class="signature">
+ <em><a href="../../graphyx/graphics/Drawable.html#ppm" target="_self">ppm</a></em>
+ : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>
+
+ <div>Anzahl von Pixeln pro Meter.</div>
+ </td>
+ </tr>
+<tr>
+ <td class="modifiers" valign="top">
+ <code> var</code>
+ </td>
+ <td class="signature">
+ <em><a href="../../graphyx/graphics/Drawable.html#scale" target="_self">scale</a></em>
+ : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>
+
+ <div>Skala in der die graphischen Objekte gezeichnet werden.</div>
+ </td>
+ </tr>
+<tr>
+ <td class="modifiers" valign="top">
+ <code> var</code>
+ </td>
+ <td class="signature">
+ <em><a href="../../graphyx/graphics/Drawable.html#windowHeight" target="_self">windowHeight</a></em>
+ : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>
+
+ <div>Hoehe des Fensters in Pixeln.</div>
+ </td>
+ </tr>
+ </table>
+<table summary="" cellpadding="3" class="member">
+ <tr><td class="title" colspan="2">Method Summary</td></tr>
+ <tr>
+ <td class="modifiers" valign="top">
+ <code> def</code>
+ </td>
+ <td class="signature">
+ <em><a href="../../graphyx/graphics/Drawable.html#correctY%28Double%29" target="_self">correctY</a></em>
+ (<em>y</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>
+
+ <div>Korrigiert einen Y-Wert in Bildschirmkoordinaten zu seinem kartesischen Aequivalent.</div>
+ </td>
+ </tr>
+<tr>
+ <td class="modifiers" valign="top">
+ <code>abstract def</code>
+ </td>
+ <td class="signature">
+ <em><a href="../../graphyx/graphics/Drawable.html#draw%28%29" target="_self">draw</a></em>
+ : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a>
+
+ <div>Stellt das graphische Objekt dar.</div>
+ </td>
+ </tr>
+<tr>
+ <td class="modifiers" valign="top">
+ <code> def</code>
+ </td>
+ <td class="signature">
+ <em><a href="../../graphyx/graphics/Drawable.html#drawCircle%28sims.geometry.Vector2D%2CDouble%29" target="_self">drawCircle</a></em>
+ (<em>center</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <em>radius</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a>
+
+ <div>Malt einen Kreis auf <code>g</code>.</div>
+ </td>
+ </tr>
+<tr>
+ <td class="modifiers" valign="top">
+ <code> def</code>
+ </td>
+ <td class="signature">
+ <em><a href="../../graphyx/graphics/Drawable.html#drawLine%28sims.geometry.Vector2D%2Csims.geometry.Vector2D%29" target="_self">drawLine</a></em>
+ (<em>startPoint</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <em>endPoint</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a>
+
+ <div>Malt eine Linie auf <code>g</code>.</div>
+ </td>
+ </tr>
+<tr>
+ <td class="modifiers" valign="top">
+ <code> def</code>
+ </td>
+ <td class="signature">
+ <em><a href="../../graphyx/graphics/Drawable.html#drawPoint%28sims.geometry.Vector2D%29" target="_self">drawPoint</a></em>
+ (<em>point</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a>
+
+ <div>Malt einen Punkt auf <code>g</code>.</div>
+ </td>
+ </tr>
+<tr>
+ <td class="modifiers" valign="top">
+ <code> def</code>
+ </td>
+ <td class="signature">
+ <em><a href="../../graphyx/graphics/Drawable.html#drawPolygon%28Seq%5Bsims.geometry.Vector2D%5D%29" target="_self">drawPolygon</a></em>
+ (<em>points</em> : <a href="" target="contentFrame" class="scala/Seq">scala.Seq</a>[<a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>]) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a>
+
+ <div>Malt ein Polygon auf <code>g</code>.</div>
+ </td>
+ </tr>
+<tr>
+ <td class="modifiers" valign="top">
+ <code> def</code>
+ </td>
+ <td class="signature">
+ <em><a href="../../graphyx/graphics/Drawable.html#drawVector%28sims.geometry.Vector2D%2Csims.geometry.Vector2D%29" target="_self">drawVector</a></em>
+ (<em>v</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <em>p</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a>
+
+ <div>Malt einen Vektor auf <code>g</code>.</div>
+ </td>
+ </tr>
+<tr>
+ <td class="modifiers" valign="top">
+ <code> def</code>
+ </td>
+ <td class="signature">
+ <em><a href="../../graphyx/graphics/Drawable.html#fillCircle%28sims.geometry.Vector2D%2CDouble%29" target="_self">fillCircle</a></em>
+ (<em>center</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <em>radius</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a>
+
+ <div>Malt einen massiven Kreis auf <code>g</code>.</div>
+ </td>
+ </tr>
+<tr>
+ <td class="modifiers" valign="top">
+ <code> def</code>
+ </td>
+ <td class="signature">
+ <em><a href="../../graphyx/graphics/Drawable.html#fillPolygon%28Seq%5Bsims.geometry.Vector2D%5D%29" target="_self">fillPolygon</a></em>
+ (<em>points</em> : <a href="" target="contentFrame" class="scala/Seq">scala.Seq</a>[<a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>]) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a>
+
+ <div>Malt ein massives Polygon auf <code>g</code>.</div>
+ </td>
+ </tr>
+ </table><table summary="" cellpadding="3" class="inherited">
+ <tr><td class="title" colspan="2">
+ Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a>
+ </td></tr>
+ <tr><td class="signature" colspan="2">
+ <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#toString%28%29" target="_self">toString</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a>
+ </td></tr>
+ </table><table summary="" cellpadding="3" class="inherited">
+ <tr><td class="title" colspan="2">
+ Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>
+ </td></tr>
+ <tr><td class="signature" colspan="2">
+ <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a>
+ </td></tr>
+ </table>
+
+
+
+
+<table summary="" cellpadding="3" class="member-detail">
+ <tr><td class="title">Value Details</td></tr>
+ </table><div><a name="g"></a><dl>
+ <dt>
+
+ <code></code>
+ <code>var</code>
+ <em>g</em> : <a href="" target="contentFrame" class="java/awt/Graphics">java.awt.Graphics</a>
+ </dt>
+ <dd></dd>
+ </dl>
+ <dl><dd>Java Graphics Objekt zur graphischen Darstellung</dd></dl>
+ <dl></dl>
+ <hr></hr>
+<a name="ppm"></a><dl>
+ <dt>
+
+ <code></code>
+ <code>var</code>
+ <em>ppm</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>
+ </dt>
+ <dd></dd>
+ </dl>
+ <dl><dd>Anzahl von Pixeln pro Meter.</dd></dl>
+ <dl></dl>
+ <hr></hr>
+<a name="scale"></a><dl>
+ <dt>
+
+ <code></code>
+ <code>var</code>
+ <em>scale</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>
+ </dt>
+ <dd></dd>
+ </dl>
+ <dl><dd>Skala in der die graphischen Objekte gezeichnet werden.</dd></dl>
+ <dl></dl>
+ <hr></hr>
+<a name="windowHeight"></a><dl>
+ <dt>
+
+ <code></code>
+ <code>var</code>
+ <em>windowHeight</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>
+ </dt>
+ <dd></dd>
+ </dl>
+ <dl><dd>Hoehe des Fensters in Pixeln.</dd></dl>
+ <dl></dl>
+ <hr></hr></div>
+<table summary="" cellpadding="3" class="member-detail">
+ <tr><td class="title">Method Details</td></tr>
+ </table><div><a name="correctY%28Double%29"></a><dl>
+ <dt>
+
+ <code></code>
+ <code>def</code>
+ <em>correctY</em>(<em>y</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>
+ </dt>
+ <dd></dd>
+ </dl>
+ <dl><dd>Korrigiert einen Y-Wert in Bildschirmkoordinaten zu seinem kartesischen Aequivalent.</dd></dl>
+ <dl><dt style="margin:10px 0 0 20px;">
+ <b>Parameters</b></dt><dd><code>y - </code>zu korrigierender Wert</dd></dl>
+ <hr></hr>
+<a name="drawLine%28sims.geometry.Vector2D%2Csims.geometry.Vector2D%29"></a><dl>
+ <dt>
+
+ <code></code>
+ <code>def</code>
+ <em>drawLine</em>(<em>startPoint</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <em>endPoint</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a>
+ </dt>
+ <dd></dd>
+ </dl>
+ <dl><dd>Malt eine Linie auf <code>g</code>.</dd></dl>
+ <dl><dt style="margin:10px 0 0 20px;">
+ <b>Parameters</b></dt><dd><code>startPoint - </code>Startpunkt in Weltkoordinaten</dd><dd><code>endPoint - </code>Endpunkt in Weltkoordinaten</dd></dl>
+ <hr></hr>
+<a name="fillPolygon%28Seq%5Bsims.geometry.Vector2D%5D%29"></a><dl>
+ <dt>
+
+ <code></code>
+ <code>def</code>
+ <em>fillPolygon</em>(<em>points</em> : <a href="" target="contentFrame" class="scala/Seq">scala.Seq</a>[<a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>]) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a>
+ </dt>
+ <dd></dd>
+ </dl>
+ <dl><dd>Malt ein massives Polygon auf <code>g</code>.</dd></dl>
+ <dl><dt style="margin:10px 0 0 20px;">
+ <b>Parameters</b></dt><dd><code>points - </code>Eckpunkte des Polygons in Weltkoordinaten</dd></dl>
+ <hr></hr>
+<a name="drawPolygon%28Seq%5Bsims.geometry.Vector2D%5D%29"></a><dl>
+ <dt>
+
+ <code></code>
+ <code>def</code>
+ <em>drawPolygon</em>(<em>points</em> : <a href="" target="contentFrame" class="scala/Seq">scala.Seq</a>[<a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>]) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a>
+ </dt>
+ <dd></dd>
+ </dl>
+ <dl><dd>Malt ein Polygon auf <code>g</code>.</dd></dl>
+ <dl><dt style="margin:10px 0 0 20px;">
+ <b>Parameters</b></dt><dd><code>points - </code>Eckpunkte des Polygons in Weltkoordinaten</dd></dl>
+ <hr></hr>
+<a name="fillCircle%28sims.geometry.Vector2D%2CDouble%29"></a><dl>
+ <dt>
+
+ <code></code>
+ <code>def</code>
+ <em>fillCircle</em>(<em>center</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <em>radius</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a>
+ </dt>
+ <dd></dd>
+ </dl>
+ <dl><dd>Malt einen massiven Kreis auf <code>g</code>.</dd></dl>
+ <dl><dt style="margin:10px 0 0 20px;">
+ <b>Parameters</b></dt><dd><code>center - </code>Mitte des Kreises in Weltkoordinaten</dd><dd><code>radius - </code>Radius des Kreises</dd></dl>
+ <hr></hr>
+<a name="drawCircle%28sims.geometry.Vector2D%2CDouble%29"></a><dl>
+ <dt>
+
+ <code></code>
+ <code>def</code>
+ <em>drawCircle</em>(<em>center</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <em>radius</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a>
+ </dt>
+ <dd></dd>
+ </dl>
+ <dl><dd>Malt einen Kreis auf <code>g</code>.</dd></dl>
+ <dl><dt style="margin:10px 0 0 20px;">
+ <b>Parameters</b></dt><dd><code>center - </code>Mitte des Kreises in Weltkoordinaten</dd><dd><code>radius - </code>Radius des Kreises</dd></dl>
+ <hr></hr>
+<a name="drawPoint%28sims.geometry.Vector2D%29"></a><dl>
+ <dt>
+
+ <code></code>
+ <code>def</code>
+ <em>drawPoint</em>(<em>point</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a>
+ </dt>
+ <dd></dd>
+ </dl>
+ <dl><dd>Malt einen Punkt auf <code>g</code>.
+ <p>
+ Der Punkt wird von einem Kreis umgeben.</dd></dl>
+ <dl><dt style="margin:10px 0 0 20px;">
+ <b>Parameters</b></dt><dd><code>point - </code>Punkt in Weltkoordinaten</dd></dl>
+ <hr></hr>
+<a name="drawVector%28sims.geometry.Vector2D%2Csims.geometry.Vector2D%29"></a><dl>
+ <dt>
+
+ <code></code>
+ <code>def</code>
+ <em>drawVector</em>(<em>v</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <em>p</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a>
+ </dt>
+ <dd></dd>
+ </dl>
+ <dl><dd>Malt einen Vektor auf <code>g</code>.</dd></dl>
+ <dl><dt style="margin:10px 0 0 20px;">
+ <b>Parameters</b></dt><dd><code>v - </code>Vektor in Weltkoordinaten</dd><dd><code>p - </code>Ursprungspunkt in Weltkoordinaten</dd></dl>
+ <hr></hr>
+<a name="draw%28%29"></a><dl>
+ <dt>
+
+ <code>abstract</code>
+ <code>def</code>
+ <em>draw</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a>
+ </dt>
+ <dd></dd>
+ </dl>
+ <dl><dd>Stellt das graphische Objekt dar.</dd></dl>
+ <dl></dl>
+ <hr></hr></div>
+
+
+ <hr></hr>
+ <table summary="" class="navigation">
+ <tr>
+ <td class="navigation-links" valign="top">
+ <!-- <table><tr></tr></table> -->
+ </td>
+ <td align="right" valign="top" style="white-space:nowrap;" rowspan="2">
+ <div class="doctitle-larger">SiMS</div>
+ </td>
+ </tr>
+ <tr><td></td></tr>
+ </table>
+ </body>
+ </html> \ No newline at end of file