diff options
241 files changed, 34779 insertions, 0 deletions
diff --git a/.classpath b/.classpath new file mode 100644 index 0000000..e009d2f --- /dev/null +++ b/.classpath @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="ch.epfl.lamp.sdt.launching.SCALA_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/.project b/.project new file mode 100644 index 0000000..c4942fc --- /dev/null +++ b/.project @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>SiMS</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>ch.epfl.lamp.sdt.core.scalabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>ch.epfl.lamp.sdt.core.scalanature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..4d1b14e --- /dev/null +++ b/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,4 @@ +#Sat Sep 06 16:08:07 CEST 2008
+eclipse.preferences.version=1
+org.eclipse.jdt.core.builder.cleanOutputFolder=ignore
+org.eclipse.jdt.core.builder.resourceCopyExclusionFilter=*.scala
diff --git a/README.txt b/README.txt new file mode 100644 index 0000000..4384ab2 --- /dev/null +++ b/README.txt @@ -0,0 +1,10 @@ +Project contents: SiMS, Graphyx
+Written in Scala.
+
+Simple Mechanics Simulator (SiMS) is a library for 2D rigid body simulation.
+Graphyx is a program for testing and visualizing SiMS.
+
+Both projects are maintained at: https://sourceforge.net/projects/simplemechanics/
+
+SiMS and Graphyx are made available under the MIT License
+copyright (c) 2009 Jakob Odersky
\ No newline at end of file diff --git a/doc/all-classes.html b/doc/all-classes.html new file mode 100644 index 0000000..086233b --- /dev/null +++ b/doc/all-classes.html @@ -0,0 +1,131 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>List of all classes and objects</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()"><div><div class="kinds" id="Classes">Classes</div><ul class="list"> + <li id="Classes_A"><a href="sims/collision/AABB.html" target="contentFrame">AABB</a></li> +<li id="Classes_B"><a href="sims/dynamics/Body.html" target="contentFrame">Body</a></li> +<li><a href="graphyx/gui/BodyPopup.html" target="contentFrame">BodyPopup</a></li> +<li id="Classes_C"><a href="sims/dynamics/Circle.html" target="contentFrame">Circle</a></li> +<li><a href="sims/collision/CircleCollision.html" target="contentFrame">CircleCollision</a></li> +<li><a href="sims/collision/Collision.html" target="contentFrame">Collision</a></li> +<li><a href="sims/dynamics/Constraint.html" target="contentFrame">Constraint</a></li> +<li><a href="graphyx/gui/Container.html" target="contentFrame">Container</a></li> +<li><a href="graphyx/gui/ControlPanel.html" target="contentFrame">ControlPanel</a></li> +<li><a href="sims/geometry/ConvexPolygon.html" target="contentFrame">ConvexPolygon</a></li> +<li id="Classes_D"><a href="sims/collision/Detector.html" target="contentFrame">Detector</a></li> +<li><a href="sims/dynamics/joints/DistanceJoint.html" target="contentFrame">DistanceJoint</a></li> +<li><a href="graphyx/graphics/Drawable.html" target="contentFrame">Drawable</a></li> +<li id="Classes_F"><a href="sims/dynamics/joints/ForceJoint.html" target="contentFrame">ForceJoint</a></li> +<li id="Classes_G"><a href="graphyx/actors/GUIActor.html" target="contentFrame">GUIActor</a></li> +<li><a href="graphyx/gui/GrabbedBody.html" target="contentFrame">GrabbedBody</a></li> +<li><a href="graphyx/graphics/GraphicalAABB.html" target="contentFrame">GraphicalAABB</a></li> +<li><a href="graphyx/graphics/GraphicalBody.html" target="contentFrame">GraphicalBody</a></li> +<li><a href="graphyx/graphics/GraphicalCircle.html" target="contentFrame">GraphicalCircle</a></li> +<li><a href="graphyx/graphics/GraphicalCollision.html" target="contentFrame">GraphicalCollision</a></li> +<li><a href="graphyx/graphics/GraphicalDistanceJoint.html" target="contentFrame">GraphicalDistanceJoint</a></li> +<li><a href="graphyx/graphics/GraphicalJoint.html" target="contentFrame">GraphicalJoint</a></li> +<li><a href="graphyx/graphics/GraphicalObject.html" target="contentFrame">GraphicalObject</a></li> +<li><a href="graphyx/graphics/GraphicalPair.html" target="contentFrame">GraphicalPair</a></li> +<li><a href="graphyx/graphics/GraphicalRectangle.html" target="contentFrame">GraphicalRectangle</a></li> +<li><a href="graphyx/graphics/GraphicalRegularPolygon.html" target="contentFrame">GraphicalRegularPolygon</a></li> +<li><a href="graphyx/graphics/GraphicalRevoluteJoint.html" target="contentFrame">GraphicalRevoluteJoint</a></li> +<li><a href="graphyx/graphics/GraphicalShape.html" target="contentFrame">GraphicalShape</a></li> +<li><a href="graphyx/graphics/GraphicalSpringJoint.html" target="contentFrame">GraphicalSpringJoint</a></li> +<li><a href="graphyx/graphics/GraphicalWorld.html" target="contentFrame">GraphicalWorld</a></li> +<li><a href="graphyx/gui/GravityPanel.html" target="contentFrame">GravityPanel</a></li> +<li><a href="sims/collision/GridDetector.html" target="contentFrame">GridDetector</a></li> +<li id="Classes_I"><a href="graphyx/gui/InfoPanel.html" target="contentFrame">InfoPanel</a></li> +<li id="Classes_J"><a href="sims/dynamics/joints/Joint.html" target="contentFrame">Joint</a></li> +<li id="Classes_M"><a href="graphyx/gui/MainFrame.html" target="contentFrame">MainFrame</a></li> +<li><a href="graphyx/gui/MainPanel.html" target="contentFrame">MainPanel</a></li> +<li><a href="sims/math/Matrix22.html" target="contentFrame">Matrix22</a></li> +<li id="Classes_N"><a href="sims/prefabs/Net.html" target="contentFrame">Net</a></li> +<li id="Classes_O"><a href="graphyx/gui/OptionsPanel.html" target="contentFrame">OptionsPanel</a></li> +<li><a href="sims/collision/Overlap.html" target="contentFrame">Overlap</a></li> +<li id="Classes_P"><a href="sims/collision/Pair.html" target="contentFrame">Pair</a></li> +<li><a href="graphyx/actors/PhysicsActor.html" target="contentFrame">PhysicsActor</a></li> +<li><a href="sims/util/Polar.html" target="contentFrame">Polar</a></li> +<li><a href="sims/collision/PolyCircleCollision.html" target="contentFrame">PolyCircleCollision</a></li> +<li><a href="sims/collision/PolyCollision.html" target="contentFrame">PolyCollision</a></li> +<li><a href="graphyx/gui/PopupMenu.html" target="contentFrame">PopupMenu</a></li> +<li><a href="sims/prefabs/Prefab.html" target="contentFrame">Prefab</a></li> +<li><a href="sims/geometry/Projection.html" target="contentFrame">Projection</a></li> +<li><a href="sims/prefabs/Pylon.html" target="contentFrame">Pylon</a></li> +<li id="Classes_R"><a href="sims/prefabs/Ragdoll.html" target="contentFrame">Ragdoll</a></li> +<li><a href="sims/geometry/Ray.html" target="contentFrame">Ray</a></li> +<li><a href="sims/dynamics/Rectangle.html" target="contentFrame">Rectangle</a></li> +<li><a href="sims/dynamics/RegularPolygon.html" target="contentFrame">RegularPolygon</a></li> +<li><a href="sims/util/RelativeVector.html" target="contentFrame">RelativeVector</a></li> +<li><a href="sims/dynamics/joints/RevoluteJoint.html" target="contentFrame">RevoluteJoint</a></li> +<li id="Classes_S"><a href="graphyx/graphics/Scene.html" target="contentFrame">Scene</a></li> +<li><a href="sims/geometry/Segment.html" target="contentFrame">Segment</a></li> +<li><a href="graphyx/actors/SetWorld.html" target="contentFrame">SetWorld</a></li> +<li><a href="sims/dynamics/Shape.html" target="contentFrame">Shape</a></li> +<li><a href="graphyx/gui/ShapeInfoPanel.html" target="contentFrame">ShapeInfoPanel</a></li> +<li><a href="sims/dynamics/joints/SpringJoint.html" target="contentFrame">SpringJoint</a></li> +<li id="Classes_T"><a href="graphyx/tests/Test.html" target="contentFrame">Test</a></li> +<li id="Classes_V"><a href="sims/geometry/Vector2D.html" target="contentFrame">Vector2D</a></li> +<li id="Classes_W"><a href="sims/dynamics/World.html" target="contentFrame">World</a></li> +<li><a href="graphyx/gui/WorldPanel.html" target="contentFrame">WorldPanel</a></li> + </ul> +<div class="kinds" id="Objects">Objects</div><ul class="list"> + <li id="Objects_A"><a href="sims/collision/AABB$object.html" target="contentFrame">AABB</a></li> +<li id="Objects_B"><a href="graphyx/tests/BallStack$object.html" target="contentFrame">BallStack</a></li> +<li><a href="sims/dynamics/Body$object.html" target="contentFrame">Body</a></li> +<li id="Objects_C"><a href="graphyx/tests/Chain$object.html" target="contentFrame">Chain</a></li> +<li><a href="sims/dynamics/Circle$object.html" target="contentFrame">Circle</a></li> +<li><a href="sims/collision/CircleCollision$object.html" target="contentFrame">CircleCollision</a></li> +<li><a href="sims/collision/Collision$object.html" target="contentFrame">Collision</a></li> +<li><a href="graphyx/tests/CompositeShape$object.html" target="contentFrame">CompositeShape</a></li> +<li><a href="graphyx/tests/Cup$object.html" target="contentFrame">Cup</a></li> +<li id="Objects_D"><a href="sims/dynamics/joints/DistanceJoint$object.html" target="contentFrame">DistanceJoint</a></li> +<li id="Objects_E"><a href="graphyx/tests/EmptyTest$object.html" target="contentFrame">EmptyTest</a></li> +<li><a href="graphyx/actors/Exit$object.html" target="contentFrame">Exit</a></li> +<li id="Objects_F"><a href="graphyx/actors/FireEvent$object.html" target="contentFrame">FireEvent</a></li> +<li><a href="graphyx/tests/Friction$object.html" target="contentFrame">Friction</a></li> +<li><a href="graphyx/tests/Friction2$object.html" target="contentFrame">Friction2</a></li> +<li id="Objects_G"><a href="graphyx/tests/General1$object.html" target="contentFrame">General1</a></li> +<li><a href="graphyx/tests/General2$object.html" target="contentFrame">General2</a></li> +<li><a href="graphyx/graphics/GraphicalAABB$object.html" target="contentFrame">GraphicalAABB</a></li> +<li><a href="graphyx/graphics/GraphicalBody$object.html" target="contentFrame">GraphicalBody</a></li> +<li><a href="graphyx/graphics/GraphicalCircle$object.html" target="contentFrame">GraphicalCircle</a></li> +<li><a href="graphyx/graphics/GraphicalCollision$object.html" target="contentFrame">GraphicalCollision</a></li> +<li><a href="graphyx/graphics/GraphicalDistanceJoint$object.html" target="contentFrame">GraphicalDistanceJoint</a></li> +<li><a href="graphyx/graphics/GraphicalPair$object.html" target="contentFrame">GraphicalPair</a></li> +<li><a href="graphyx/graphics/GraphicalRectangle$object.html" target="contentFrame">GraphicalRectangle</a></li> +<li><a href="graphyx/graphics/GraphicalRegularPolygon$object.html" target="contentFrame">GraphicalRegularPolygon</a></li> +<li><a href="graphyx/graphics/GraphicalRevoluteJoint$object.html" target="contentFrame">GraphicalRevoluteJoint</a></li> +<li><a href="graphyx/graphics/GraphicalSpringJoint$object.html" target="contentFrame">GraphicalSpringJoint</a></li> +<li><a href="graphyx/graphics/GraphicalWorld$object.html" target="contentFrame">GraphicalWorld</a></li> +<li><a href="graphyx/Graphyx$object.html" target="contentFrame">Graphyx</a></li> +<li id="Objects_J"><a href="graphyx/tests/Joints1$object.html" target="contentFrame">Joints1</a></li> +<li><a href="graphyx/tests/Joints2$object.html" target="contentFrame">Joints2</a></li> +<li id="Objects_M"><a href="sims/math/Matrix22$object.html" target="contentFrame">Matrix22</a></li> +<li id="Objects_N"><a href="graphyx/tests/Net$object.html" target="contentFrame">Net</a></li> +<li id="Objects_O"><a href="sims/collision/Overlap$object.html" target="contentFrame">Overlap</a></li> +<li id="Objects_P"><a href="sims/collision/Pair$object.html" target="contentFrame">Pair</a></li> +<li><a href="graphyx/graphics/Parser$object.html" target="contentFrame">Parser</a></li> +<li><a href="sims/util/Polar$object.html" target="contentFrame">Polar</a></li> +<li><a href="sims/collision/PolyCircleCollision$object.html" target="contentFrame">PolyCircleCollision</a></li> +<li><a href="sims/collision/PolyCollision$object.html" target="contentFrame">PolyCollision</a></li> +<li><a href="sims/util/Positioning$object.html" target="contentFrame">Positioning</a></li> +<li><a href="sims/geometry/Projection$object.html" target="contentFrame">Projection</a></li> +<li id="Objects_R"><a href="graphyx/tests/RagdollTest$object.html" target="contentFrame">RagdollTest</a></li> +<li><a href="sims/geometry/Ray$object.html" target="contentFrame">Ray</a></li> +<li><a href="sims/dynamics/Rectangle$object.html" target="contentFrame">Rectangle</a></li> +<li><a href="sims/dynamics/RegularPolygon$object.html" target="contentFrame">RegularPolygon</a></li> +<li><a href="graphyx/tests/Restitution$object.html" target="contentFrame">Restitution</a></li> +<li><a href="sims/dynamics/joints/RevoluteJoint$object.html" target="contentFrame">RevoluteJoint</a></li> +<li id="Objects_S"><a href="graphyx/graphics/Scene$object.html" target="contentFrame">Scene</a></li> +<li><a href="sims/geometry/Segment$object.html" target="contentFrame">Segment</a></li> +<li><a href="graphyx/actors/SetWorld$object.html" target="contentFrame">SetWorld</a></li> +<li><a href="sims/dynamics/Shape$object.html" target="contentFrame">Shape</a></li> +<li><a href="sims/dynamics/joints/SpringJoint$object.html" target="contentFrame">SpringJoint</a></li> +<li><a href="graphyx/tests/Stacking$object.html" target="contentFrame">Stacking</a></li> +<li><a href="graphyx/actors/Start$object.html" target="contentFrame">Start</a></li> +<li><a href="graphyx/actors/Stop$object.html" target="contentFrame">Stop</a></li> +<li id="Objects_V"><a href="sims/geometry/Vector2D$object.html" target="contentFrame">Vector2D</a></li> + </ul></div></body> + </html>
\ No newline at end of file diff --git a/doc/graphyx$content.html b/doc/graphyx$content.html new file mode 100644 index 0000000..b78a5ec --- /dev/null +++ b/doc/graphyx$content.html @@ -0,0 +1,21 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>All classes and objects in graphyx</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()"><div class="page-title"><div>Simple Mechanics Simulator (SiMS) API</div></div><p><div>This document is the API specification for SiMS</div></p> +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Object Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> object</code> + </td> + <td class="signature"> + <em><a href="graphyx/Graphyx$object.html" target="_self">Graphyx</a></em> + <code> extends </code><a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + + + </td> + </tr> + </table></body> + </html>
\ No newline at end of file diff --git a/doc/graphyx$package.html b/doc/graphyx$package.html new file mode 100644 index 0000000..ce0ccc2 --- /dev/null +++ b/doc/graphyx$package.html @@ -0,0 +1,14 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>List of classes and objects in package graphyx</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"> + <a href="graphyx$content.html" target="contentFrame">graphyx</a> + </td></tr> + </table><div> +<div class="kinds" id="Objects">Objects</div><ul class="list"> + <li id="Objects_G"><a href="graphyx/Graphyx$object.html" target="contentFrame">Graphyx</a></li> + </ul></div></body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/Graphyx$object.html b/doc/graphyx/Graphyx$object.html new file mode 100644 index 0000000..1e705a8 --- /dev/null +++ b/doc/graphyx/Graphyx$object.html @@ -0,0 +1,221 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object Graphyx in graphyx</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$package.html" target="_self">graphyx</a> + <br></br> + <span class="entity">object Graphyx</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/Graphyx"><code>graphyx/Graphyx.scala</code></a>] + </div><hr></hr> + <a name="Graphyx"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>Graphyx</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> + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../graphyx/Graphyx$object.html#guiActor" target="_self">guiActor</a></em> + : <a href="../graphyx/actors/GUIActor.html" target="_self">GUIActor</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../graphyx/Graphyx$object.html#physicsActor" target="_self">physicsActor</a></em> + : <a href="../graphyx/actors/PhysicsActor.html" target="_self">PhysicsActor</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../graphyx/Graphyx$object.html#tests" target="_self">tests</a></em> + : <a href="" target="contentFrame" class="scala/List">scala.List</a>[<a href="../graphyx/tests/Test.html" target="_self">Test</a>] + + + </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/Graphyx$object.html#exit%28%29" target="_self">exit</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../graphyx/Graphyx$object.html#main%28Array%5BString%5D%29" target="_self">main</a></em> + (<em>args</em> : <a href="" target="contentFrame" class="scala/Array">scala.Array</a>[<a href="" target="contentFrame" class="java/lang/String">java.lang.String</a>]) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../graphyx/Graphyx$object.html#test" target="_self">test</a></em> + : <a href="../graphyx/tests/Test.html" target="_self">Test</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../graphyx/Graphyx$object.html#test_%3D%28graphyx.tests.Test%29" target="_self">test_=</a></em> + (<em>t</em> : <a href="../graphyx/tests/Test.html" target="_self">Test</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + + + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#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="tests"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>tests</em> : <a href="" target="contentFrame" class="scala/List">scala.List</a>[<a href="../graphyx/tests/Test.html" target="_self">Test</a>] + </dt> + <dd></dd> + </dl><hr></hr> +<a name="physicsActor"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>physicsActor</em> : <a href="../graphyx/actors/PhysicsActor.html" target="_self">PhysicsActor</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="guiActor"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>guiActor</em> : <a href="../graphyx/actors/GUIActor.html" target="_self">GUIActor</a> + </dt> + <dd></dd> + </dl><hr></hr></div> +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="test"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>test</em> : <a href="../graphyx/tests/Test.html" target="_self">Test</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="test_%3D%28graphyx.tests.Test%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>test_=</em>(<em>t</em> : <a href="../graphyx/tests/Test.html" target="_self">Test</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="main%28Array%5BString%5D%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>main</em>(<em>args</em> : <a href="" target="contentFrame" class="scala/Array">scala.Array</a>[<a href="" target="contentFrame" class="java/lang/String">java.lang.String</a>]) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="exit%28%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>exit</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + </dt> + <dd></dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/actors$content.html b/doc/graphyx/actors$content.html new file mode 100644 index 0000000..03856e4 --- /dev/null +++ b/doc/graphyx/actors$content.html @@ -0,0 +1,100 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>All classes and objects in graphyx.actors</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()"><div class="page-title"><div>Simple Mechanics Simulator (SiMS) API</div></div><p><div>This document is the API specification for SiMS</div></p><table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Class Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> class</code> + </td> + <td class="signature"> + <em><a href="../graphyx/actors/GUIActor.html" target="_self">GUIActor</a></em> + <code> extends </code><a href="" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> class</code> + </td> + <td class="signature"> + <em><a href="../graphyx/actors/PhysicsActor.html" target="_self">PhysicsActor</a></em> + <code> extends </code><a href="" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>case class</code> + </td> + <td class="signature"> + <em><a href="../graphyx/actors/SetWorld.html" target="_self">SetWorld</a></em> + (<code>val </code><em>world</em> : <a href="../sims/dynamics/World.html" target="_self">World</a>)<code> extends </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a> + + + </td> + </tr> + </table> +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Object Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code>case object</code> + </td> + <td class="signature"> + <em><a href="../graphyx/actors/Exit$object.html" target="_self">Exit</a></em> + <code> extends </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>case object</code> + </td> + <td class="signature"> + <em><a href="../graphyx/actors/FireEvent$object.html" target="_self">FireEvent</a></em> + <code> extends </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> object</code> + </td> + <td class="signature"> + <em><a href="../graphyx/actors/SetWorld$object.html" target="_self">SetWorld</a></em> + <code> extends </code>(<a href="../sims/dynamics/World.html" target="_self">World</a>) => <a href="../graphyx/actors/SetWorld.html" target="_self">SetWorld</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>case object</code> + </td> + <td class="signature"> + <em><a href="../graphyx/actors/Start$object.html" target="_self">Start</a></em> + <code> extends </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>case object</code> + </td> + <td class="signature"> + <em><a href="../graphyx/actors/Stop$object.html" target="_self">Stop</a></em> + <code> extends </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a> + + + </td> + </tr> + </table></body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/actors$package.html b/doc/graphyx/actors$package.html new file mode 100644 index 0000000..c79a9d8 --- /dev/null +++ b/doc/graphyx/actors$package.html @@ -0,0 +1,22 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>List of classes and objects in package graphyx.actors</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"> + <a href="../graphyx/actors$content.html" target="contentFrame">graphyx.actors</a> + </td></tr> + </table><div><div class="kinds" id="Classes">Classes</div><ul class="list"> + <li id="Classes_G"><a href="../graphyx/actors/GUIActor.html" target="contentFrame">GUIActor</a></li> +<li id="Classes_P"><a href="../graphyx/actors/PhysicsActor.html" target="contentFrame">PhysicsActor</a></li> +<li id="Classes_S"><a href="../graphyx/actors/SetWorld.html" target="contentFrame">SetWorld</a></li> + </ul> +<div class="kinds" id="Objects">Objects</div><ul class="list"> + <li id="Objects_E"><a href="../graphyx/actors/Exit$object.html" target="contentFrame">Exit</a></li> +<li id="Objects_F"><a href="../graphyx/actors/FireEvent$object.html" target="contentFrame">FireEvent</a></li> +<li id="Objects_S"><a href="../graphyx/actors/SetWorld$object.html" target="contentFrame">SetWorld</a></li> +<li><a href="../graphyx/actors/Start$object.html" target="contentFrame">Start</a></li> +<li><a href="../graphyx/actors/Stop$object.html" target="contentFrame">Stop</a></li> + </ul></div></body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/actors/Exit$object.html b/doc/graphyx/actors/Exit$object.html new file mode 100644 index 0000000..ad24c13 --- /dev/null +++ b/doc/graphyx/actors/Exit$object.html @@ -0,0 +1,205 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object Exit in graphyx.actors</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/actors$package.html" target="_self">graphyx.actors</a> + <br></br> + <span class="entity">object Exit</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/actors/Exit"><code>graphyx/actors/Exit.scala</code></a>] + </div><hr></hr> + <a name="Exit"></a><dl> + <dt> + + <code>case</code> + <code>object</code> + <em>Exit</em> + </dt> + <dd><code> extends </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a></dd> + </dl> + + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Method Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/actors/Exit$object.html#productArity" target="_self">productArity</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/actors/Exit$object.html#productElement%28Int%29" target="_self">productElement</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/actors/Exit$object.html#productPrefix" target="_self">productPrefix</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>protected def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/actors/Exit$object.html#readResolve%28%29" target="_self">readResolve</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override final def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/actors/Exit$object.html#toString%28%29" target="_self">toString</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + <div>Returns a string representation of the object.</div> + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="toString%28%29"></a><dl> + <dt> + + <code>override final</code> + <code>def</code> + <em>toString</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a string representation of the object.
+ <p>
+ The default representation is platform dependent.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>a string representation of the object. </p></dd></dl> + <hr></hr> +<a name="productPrefix"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productPrefix</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productPrefix" target="contentFrame" class="scala/Product">scala.Product.productPrefix</a> + </dd> + </dl><hr></hr> +<a name="productArity"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productArity</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productArity" target="contentFrame" class="scala/Product">scala.Product.productArity</a> + </dd> + </dl><hr></hr> +<a name="productElement%28Int%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productElement</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productElement" target="contentFrame" class="scala/Product">scala.Product.productElement</a> + </dd> + </dl><hr></hr> +<a name="readResolve%28%29"></a><dl> + <dt> + + <code>protected</code> + <code>def</code> + <em>readResolve</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </dt> + <dd></dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/actors/FireEvent$object.html b/doc/graphyx/actors/FireEvent$object.html new file mode 100644 index 0000000..978fd70 --- /dev/null +++ b/doc/graphyx/actors/FireEvent$object.html @@ -0,0 +1,205 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object FireEvent in graphyx.actors</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/actors$package.html" target="_self">graphyx.actors</a> + <br></br> + <span class="entity">object FireEvent</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/actors/FireEvent"><code>graphyx/actors/FireEvent.scala</code></a>] + </div><hr></hr> + <a name="FireEvent"></a><dl> + <dt> + + <code>case</code> + <code>object</code> + <em>FireEvent</em> + </dt> + <dd><code> extends </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a></dd> + </dl> + + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Method Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/actors/FireEvent$object.html#productArity" target="_self">productArity</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/actors/FireEvent$object.html#productElement%28Int%29" target="_self">productElement</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/actors/FireEvent$object.html#productPrefix" target="_self">productPrefix</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>protected def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/actors/FireEvent$object.html#readResolve%28%29" target="_self">readResolve</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override final def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/actors/FireEvent$object.html#toString%28%29" target="_self">toString</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + <div>Returns a string representation of the object.</div> + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="toString%28%29"></a><dl> + <dt> + + <code>override final</code> + <code>def</code> + <em>toString</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a string representation of the object.
+ <p>
+ The default representation is platform dependent.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>a string representation of the object. </p></dd></dl> + <hr></hr> +<a name="productPrefix"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productPrefix</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productPrefix" target="contentFrame" class="scala/Product">scala.Product.productPrefix</a> + </dd> + </dl><hr></hr> +<a name="productArity"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productArity</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productArity" target="contentFrame" class="scala/Product">scala.Product.productArity</a> + </dd> + </dl><hr></hr> +<a name="productElement%28Int%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productElement</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productElement" target="contentFrame" class="scala/Product">scala.Product.productElement</a> + </dd> + </dl><hr></hr> +<a name="readResolve%28%29"></a><dl> + <dt> + + <code>protected</code> + <code>def</code> + <em>readResolve</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </dt> + <dd></dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/actors/GUIActor.html b/doc/graphyx/actors/GUIActor.html new file mode 100644 index 0000000..2dbb266 --- /dev/null +++ b/doc/graphyx/actors/GUIActor.html @@ -0,0 +1,162 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class GUIActor in graphyx.actors</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/actors$package.html" target="_self">graphyx.actors</a> + <br></br> + <span class="entity">class GUIActor</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/actors/GUIActor"><code>graphyx/actors/GUIActor.scala</code></a>] + </div><hr></hr> + <a name="GUIActor"></a><dl> + <dt> + + <code></code> + <code>class</code> + <em>GUIActor</em> + </dt> + <dd><code> extends </code><a href="" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor</a></dd> + </dl> + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/actors/GUIActor.html#container" target="_self">container</a></em> + : <a href="../../graphyx/gui/Container.html" target="_self">Container</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> var</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/actors/GUIActor.html#continue" target="_self">continue</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#mailbox" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor.mailbox</a>, <a href="#trapExit" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor.trapExit</a> + </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/actors/GUIActor.html#act%28%29" target="_self">act</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + + + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#scheduler" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor.scheduler</a>, <a href="#mailboxSize" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor.mailboxSize</a>, <a href="#send" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor.send</a>, <a href="#receive" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor.receive</a>, <a href="#receiveWithin" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor.receiveWithin</a>, <a href="#react" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor.react</a>, <a href="#reactWithin" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor.reactWithin</a>, <a href="#!" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor.!</a>, <a href="#forward" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor.forward</a>, <a href="#!?" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor.!?</a>, <a href="#!?" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor.!?</a>, <a href="#!!" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor.!!</a>, <a href="#!!" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor.!!</a>, <a href="#reply" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor.reply</a>, <a href="#?" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor.?</a>, <a href="#sender" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor.sender</a>, <a href="#receiver" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor.receiver</a>, <a href="#scheduleActor" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor.scheduleActor</a>, <a href="#start" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor.start</a>, <a href="#link" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor.link</a>, <a href="#link" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor.link</a>, <a href="#unlink" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor.unlink</a>, <a href="#exit" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor.exit</a>, <a href="#exit" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor.exit</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#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="container"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>container</em> : <a href="../../graphyx/gui/Container.html" target="_self">Container</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="continue"></a><dl> + <dt> + + <code></code> + <code>var</code> + <em>continue</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl><hr></hr></div> +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="act%28%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>act</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor</a>.<a href="#act" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor.act</a> + </dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/actors/PhysicsActor.html b/doc/graphyx/actors/PhysicsActor.html new file mode 100644 index 0000000..53f230e --- /dev/null +++ b/doc/graphyx/actors/PhysicsActor.html @@ -0,0 +1,202 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class PhysicsActor in graphyx.actors</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/actors$package.html" target="_self">graphyx.actors</a> + <br></br> + <span class="entity">class PhysicsActor</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/actors/PhysicsActor"><code>graphyx/actors/PhysicsActor.scala</code></a>] + </div><hr></hr> + <a name="PhysicsActor"></a><dl> + <dt> + + <code></code> + <code>class</code> + <em>PhysicsActor</em> + </dt> + <dd><code> extends </code><a href="" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor</a></dd> + </dl> + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> var</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/actors/PhysicsActor.html#continue" target="_self">continue</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> var</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/actors/PhysicsActor.html#simulate" target="_self">simulate</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> var</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/actors/PhysicsActor.html#world" target="_self">world</a></em> + : <a href="../../sims/dynamics/World.html" target="_self">World</a> + + + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#mailbox" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor.mailbox</a>, <a href="#trapExit" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor.trapExit</a> + </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/actors/PhysicsActor.html#act%28%29" target="_self">act</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/actors/PhysicsActor.html#fps" target="_self">fps</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#scheduler" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor.scheduler</a>, <a href="#mailboxSize" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor.mailboxSize</a>, <a href="#send" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor.send</a>, <a href="#receive" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor.receive</a>, <a href="#receiveWithin" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor.receiveWithin</a>, <a href="#react" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor.react</a>, <a href="#reactWithin" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor.reactWithin</a>, <a href="#!" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor.!</a>, <a href="#forward" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor.forward</a>, <a href="#!?" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor.!?</a>, <a href="#!?" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor.!?</a>, <a href="#!!" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor.!!</a>, <a href="#!!" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor.!!</a>, <a href="#reply" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor.reply</a>, <a href="#?" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor.?</a>, <a href="#sender" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor.sender</a>, <a href="#receiver" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor.receiver</a>, <a href="#scheduleActor" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor.scheduleActor</a>, <a href="#start" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor.start</a>, <a href="#link" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor.link</a>, <a href="#link" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor.link</a>, <a href="#unlink" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor.unlink</a>, <a href="#exit" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor.exit</a>, <a href="#exit" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor.exit</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#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="world"></a><dl> + <dt> + + <code></code> + <code>var</code> + <em>world</em> : <a href="../../sims/dynamics/World.html" target="_self">World</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="continue"></a><dl> + <dt> + + <code></code> + <code>var</code> + <em>continue</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="simulate"></a><dl> + <dt> + + <code></code> + <code>var</code> + <em>simulate</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl><hr></hr></div> +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="fps"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>fps</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="act%28%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>act</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor</a>.<a href="#act" target="contentFrame" class="scala/actors/Actor">scala.actors.Actor.act</a> + </dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/actors/SetWorld$object.html b/doc/graphyx/actors/SetWorld$object.html new file mode 100644 index 0000000..c1f59bf --- /dev/null +++ b/doc/graphyx/actors/SetWorld$object.html @@ -0,0 +1,82 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object SetWorld in graphyx.actors</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/actors$package.html" target="_self">graphyx.actors</a> + <br></br> + <span class="entity">object SetWorld</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/actors/SetWorld"><code>graphyx/actors/SetWorld.scala</code></a>] + </div><hr></hr> + <a name="SetWorld"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>SetWorld</em> + </dt> + <dd><code> extends </code>(<a href="../../sims/dynamics/World.html" target="_self">World</a>) => <a href="../../graphyx/actors/SetWorld.html" target="_self">SetWorld</a></dd> + </dl> + + + +<table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/Function1">scala.Function1</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#toString" target="contentFrame" class="scala/Function1">scala.Function1.toString</a>, <a href="#compose" target="contentFrame" class="scala/Function1">scala.Function1.compose</a>, <a href="#andThen" target="contentFrame" class="scala/Function1">scala.Function1.andThen</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + + + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/actors/SetWorld.html b/doc/graphyx/actors/SetWorld.html new file mode 100644 index 0000000..2eacdd1 --- /dev/null +++ b/doc/graphyx/actors/SetWorld.html @@ -0,0 +1,276 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class SetWorld in graphyx.actors</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/actors$package.html" target="_self">graphyx.actors</a> + <br></br> + <span class="entity">class SetWorld</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/actors/SetWorld"><code>graphyx/actors/SetWorld.scala</code></a>] + </div><hr></hr> + <a name="SetWorld"></a><dl> + <dt> + + <code>case</code> + <code>class</code> + <em>SetWorld</em>(<code>val </code><em>world</em> : <a href="../../sims/dynamics/World.html" target="_self">World</a>) + </dt> + <dd><code> extends </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a></dd> + </dl> + + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Method Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/actors/SetWorld.html#equals%28Any%29" target="_self">equals</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/actors/SetWorld.html#hashCode%28%29" target="_self">hashCode</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + <div>Returns a hash code value for the object.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/actors/SetWorld.html#productArity" target="_self">productArity</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/actors/SetWorld.html#productElement%28Int%29" target="_self">productElement</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/actors/SetWorld.html#productPrefix" target="_self">productPrefix</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/actors/SetWorld.html#toString%28%29" target="_self">toString</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + <div>Returns a string representation of the object.</div> + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="hashCode%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>hashCode</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a hash code value for the object.
+ <p>
+ The default hashing algorithm is platform dependent.
+ Note that it is allowed for two objects to have identical hash
+ codes (<code>o1.hashCode.equals(o2.hashCode)</code>) yet not be
+ equal (<code>o1.equals(o2)</code> returns <code>false</code>). A
+ degenerate implementation could always return <code>0</code>.
+ However, it is required that if two objects are equal
+ (<code>o1.equals(o2)</code> returns <code>true</code>) that they
+ have identical hash codes
+ (<code>o1.hashCode.equals(o2.hashCode)</code>). Therefore, when
+ overriding this method, be sure to verify that the behavior is
+ consistent with the <code>equals</code> method.
+ </p>
+ <p></dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>the hash code value for the object. </p></dd></dl> + <hr></hr> +<a name="toString%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>toString</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a string representation of the object.
+ <p>
+ The default representation is platform dependent.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>a string representation of the object. </p></dd></dl> + <hr></hr> +<a name="equals%28Any%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>equals</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.
+
+ <p>
+ The default implementations of this method is an <a
+ href="http://en.wikipedia.org/wiki/Equivalence_relation">equivalence
+ relation</a>:
+ <ul>
+ <li>It is reflexive: for any instance <code>x</code> of type <code>Any</code>,
+ <code>x.equals(x)</code> should return <code>true</code>.</li>
+ <li>It is symmetric: for any instances <code>x</code> and <code>y</code> of type
+ <code>Any</code>, <code>x.equals(y)</code> should return <code>true</code> if and only
+ if <code>y.equals(x)</code> returns <code>true</code>.</li>
+ <li>It is transitive: for any instances
+ <code>x</code>, <code>y</code>, and <code>z</code> of type <code>AnyRef</code>
+ if <code>x.equals(y)</code> returns <code>true</code> and
+ <code>y.equals(z)</code> returns
+ <code>true</code>, then <code>x.equals(z)</code> should return <code>true</code>.</li>
+ </ul>
+ </p>
+ <p>
+ If you override this method, you should verify that
+ your implementation remains an equivalence relation.
+ Additionally, when overriding this method it is often necessary to
+ override <code>hashCode</code> to ensure that objects that are
+ "equal" (<code>o1.equals(o2)</code> returns <code>true</code>)
+ hash to the same <a href="Int.html"><code>Int</code></a>
+ (<code>o1.hashCode.equals(o2.hashCode)</code>).</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>arg0 - </code>the object to compare against this object for equality.</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise. </p></dd></dl> + <hr></hr> +<a name="productPrefix"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productPrefix</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productPrefix" target="contentFrame" class="scala/Product">scala.Product.productPrefix</a> + </dd> + </dl><hr></hr> +<a name="productArity"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productArity</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productArity" target="contentFrame" class="scala/Product">scala.Product.productArity</a> + </dd> + </dl><hr></hr> +<a name="productElement%28Int%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productElement</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productElement" target="contentFrame" class="scala/Product">scala.Product.productElement</a> + </dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/actors/Start$object.html b/doc/graphyx/actors/Start$object.html new file mode 100644 index 0000000..3d38727 --- /dev/null +++ b/doc/graphyx/actors/Start$object.html @@ -0,0 +1,205 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object Start in graphyx.actors</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/actors$package.html" target="_self">graphyx.actors</a> + <br></br> + <span class="entity">object Start</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/actors/Start"><code>graphyx/actors/Start.scala</code></a>] + </div><hr></hr> + <a name="Start"></a><dl> + <dt> + + <code>case</code> + <code>object</code> + <em>Start</em> + </dt> + <dd><code> extends </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a></dd> + </dl> + + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Method Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/actors/Start$object.html#productArity" target="_self">productArity</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/actors/Start$object.html#productElement%28Int%29" target="_self">productElement</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/actors/Start$object.html#productPrefix" target="_self">productPrefix</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>protected def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/actors/Start$object.html#readResolve%28%29" target="_self">readResolve</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override final def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/actors/Start$object.html#toString%28%29" target="_self">toString</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + <div>Returns a string representation of the object.</div> + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="toString%28%29"></a><dl> + <dt> + + <code>override final</code> + <code>def</code> + <em>toString</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a string representation of the object.
+ <p>
+ The default representation is platform dependent.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>a string representation of the object. </p></dd></dl> + <hr></hr> +<a name="productPrefix"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productPrefix</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productPrefix" target="contentFrame" class="scala/Product">scala.Product.productPrefix</a> + </dd> + </dl><hr></hr> +<a name="productArity"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productArity</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productArity" target="contentFrame" class="scala/Product">scala.Product.productArity</a> + </dd> + </dl><hr></hr> +<a name="productElement%28Int%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productElement</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productElement" target="contentFrame" class="scala/Product">scala.Product.productElement</a> + </dd> + </dl><hr></hr> +<a name="readResolve%28%29"></a><dl> + <dt> + + <code>protected</code> + <code>def</code> + <em>readResolve</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </dt> + <dd></dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/actors/Stop$object.html b/doc/graphyx/actors/Stop$object.html new file mode 100644 index 0000000..c4d3caf --- /dev/null +++ b/doc/graphyx/actors/Stop$object.html @@ -0,0 +1,205 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object Stop in graphyx.actors</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/actors$package.html" target="_self">graphyx.actors</a> + <br></br> + <span class="entity">object Stop</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/actors/Stop"><code>graphyx/actors/Stop.scala</code></a>] + </div><hr></hr> + <a name="Stop"></a><dl> + <dt> + + <code>case</code> + <code>object</code> + <em>Stop</em> + </dt> + <dd><code> extends </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a></dd> + </dl> + + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Method Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/actors/Stop$object.html#productArity" target="_self">productArity</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/actors/Stop$object.html#productElement%28Int%29" target="_self">productElement</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/actors/Stop$object.html#productPrefix" target="_self">productPrefix</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>protected def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/actors/Stop$object.html#readResolve%28%29" target="_self">readResolve</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override final def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/actors/Stop$object.html#toString%28%29" target="_self">toString</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + <div>Returns a string representation of the object.</div> + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="toString%28%29"></a><dl> + <dt> + + <code>override final</code> + <code>def</code> + <em>toString</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a string representation of the object.
+ <p>
+ The default representation is platform dependent.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>a string representation of the object. </p></dd></dl> + <hr></hr> +<a name="productPrefix"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productPrefix</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productPrefix" target="contentFrame" class="scala/Product">scala.Product.productPrefix</a> + </dd> + </dl><hr></hr> +<a name="productArity"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productArity</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productArity" target="contentFrame" class="scala/Product">scala.Product.productArity</a> + </dd> + </dl><hr></hr> +<a name="productElement%28Int%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productElement</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productElement" target="contentFrame" class="scala/Product">scala.Product.productElement</a> + </dd> + </dl><hr></hr> +<a name="readResolve%28%29"></a><dl> + <dt> + + <code>protected</code> + <code>def</code> + <em>readResolve</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </dt> + <dd></dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/graphics$content.html b/doc/graphyx/graphics$content.html new file mode 100644 index 0000000..b9d8189 --- /dev/null +++ b/doc/graphyx/graphics$content.html @@ -0,0 +1,332 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>All classes and objects 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()"><div class="page-title"><div>Simple Mechanics Simulator (SiMS) API</div></div><p><div>This document is the API specification for SiMS</div></p><table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Class Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> trait</code> + </td> + <td class="signature"> + <em><a href="../graphyx/graphics/Drawable.html" target="_self">Drawable</a></em> + <code> extends </code><a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + + <div>Enthaelt Methoden und Felder fuer graphische Darstellungen.
+ Alle Klassen die dieses Trait implementieren koennen graphisch dargestellt werden.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>case class</code> + </td> + <td class="signature"> + <em><a href="../graphyx/graphics/GraphicalAABB.html" target="_self">GraphicalAABB</a></em> + (<code>val </code><em>real</em> : <a href="../sims/collision/AABB.html" target="_self">AABB</a>)<code> extends </code><a href="../sims/collision/AABB.html" target="_self">AABB</a><code> with </code><a href="../graphyx/graphics/GraphicalObject.html" target="_self">GraphicalObject</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>case class</code> + </td> + <td class="signature"> + <em><a href="../graphyx/graphics/GraphicalBody.html" target="_self">GraphicalBody</a></em> + (<code>val </code><em>real</em> : <a href="../sims/dynamics/Body.html" target="_self">Body</a>)<code> extends </code><a href="../graphyx/graphics/GraphicalObject.html" target="_self">GraphicalObject</a><code> with </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>case class</code> + </td> + <td class="signature"> + <em><a href="../graphyx/graphics/GraphicalCircle.html" target="_self">GraphicalCircle</a></em> + (<code>val </code><em>real</em> : <a href="../sims/dynamics/Circle.html" target="_self">Circle</a>)<code> extends </code><a href="../sims/dynamics/Circle.html" target="_self">Circle</a><code> with </code><a href="../graphyx/graphics/GraphicalShape.html" target="_self">GraphicalShape</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>case class</code> + </td> + <td class="signature"> + <em><a href="../graphyx/graphics/GraphicalCollision.html" target="_self">GraphicalCollision</a></em> + (<code>val </code><em>real</em> : <a href="../sims/collision/Collision.html" target="_self">Collision</a>)<code> extends </code><a href="../graphyx/graphics/GraphicalObject.html" target="_self">GraphicalObject</a><code> with </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>case class</code> + </td> + <td class="signature"> + <em><a href="../graphyx/graphics/GraphicalDistanceJoint.html" target="_self">GraphicalDistanceJoint</a></em> + (<code>val </code><em>real</em> : <a href="../sims/dynamics/joints/DistanceJoint.html" target="_self">DistanceJoint</a>)<code> extends </code><a href="../graphyx/graphics/GraphicalJoint.html" target="_self">GraphicalJoint</a><code> with </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> trait</code> + </td> + <td class="signature"> + <em><a href="../graphyx/graphics/GraphicalJoint.html" target="_self">GraphicalJoint</a></em> + <code> extends </code><a href="../graphyx/graphics/GraphicalObject.html" target="_self">GraphicalObject</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> trait</code> + </td> + <td class="signature"> + <em><a href="../graphyx/graphics/GraphicalObject.html" target="_self">GraphicalObject</a></em> + <code> extends </code><a href="../graphyx/graphics/Drawable.html" target="_self">Drawable</a> + + <div>Only copies functional info! (e.g. Graphical world does not include shapes, bodies).</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>case class</code> + </td> + <td class="signature"> + <em><a href="../graphyx/graphics/GraphicalPair.html" target="_self">GraphicalPair</a></em> + (<code>val </code><em>real</em> : <a href="../sims/collision/Pair.html" target="_self">Pair</a>)<code> extends </code><a href="../graphyx/graphics/GraphicalObject.html" target="_self">GraphicalObject</a><code> with </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>case class</code> + </td> + <td class="signature"> + <em><a href="../graphyx/graphics/GraphicalRectangle.html" target="_self">GraphicalRectangle</a></em> + (<code>val </code><em>real</em> : <a href="../sims/dynamics/Rectangle.html" target="_self">Rectangle</a>)<code> extends </code><a href="../sims/dynamics/Rectangle.html" target="_self">Rectangle</a><code> with </code><a href="../graphyx/graphics/GraphicalShape.html" target="_self">GraphicalShape</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>case class</code> + </td> + <td class="signature"> + <em><a href="../graphyx/graphics/GraphicalRegularPolygon.html" target="_self">GraphicalRegularPolygon</a></em> + (<code>val </code><em>real</em> : <a href="../sims/dynamics/RegularPolygon.html" target="_self">RegularPolygon</a>)<code> extends </code><a href="../sims/dynamics/RegularPolygon.html" target="_self">RegularPolygon</a><code> with </code><a href="../graphyx/graphics/GraphicalShape.html" target="_self">GraphicalShape</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>case class</code> + </td> + <td class="signature"> + <em><a href="../graphyx/graphics/GraphicalRevoluteJoint.html" target="_self">GraphicalRevoluteJoint</a></em> + (<code>val </code><em>real</em> : <a href="../sims/dynamics/joints/RevoluteJoint.html" target="_self">RevoluteJoint</a>)<code> extends </code><a href="../graphyx/graphics/GraphicalJoint.html" target="_self">GraphicalJoint</a><code> with </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> trait</code> + </td> + <td class="signature"> + <em><a href="../graphyx/graphics/GraphicalShape.html" target="_self">GraphicalShape</a></em> + <code> extends </code><a href="../sims/dynamics/Shape.html" target="_self">Shape</a><code> with </code><a href="../graphyx/graphics/GraphicalObject.html" target="_self">GraphicalObject</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>case class</code> + </td> + <td class="signature"> + <em><a href="../graphyx/graphics/GraphicalSpringJoint.html" target="_self">GraphicalSpringJoint</a></em> + (<code>val </code><em>real</em> : <a href="../sims/dynamics/joints/SpringJoint.html" target="_self">SpringJoint</a>)<code> extends </code><a href="../graphyx/graphics/GraphicalJoint.html" target="_self">GraphicalJoint</a><code> with </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>case class</code> + </td> + <td class="signature"> + <em><a href="../graphyx/graphics/GraphicalWorld.html" target="_self">GraphicalWorld</a></em> + (<code>val </code><em>real</em> : <a href="../sims/dynamics/World.html" target="_self">World</a>)<code> extends </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>case class</code> + </td> + <td class="signature"> + <em><a href="../graphyx/graphics/Scene.html" target="_self">Scene</a></em> + (<code>val </code><em>real</em> : <a href="../sims/dynamics/World.html" target="_self">World</a>)<code> extends </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a> + + + </td> + </tr> + </table> +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Object Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> object</code> + </td> + <td class="signature"> + <em><a href="../graphyx/graphics/GraphicalAABB$object.html" target="_self">GraphicalAABB</a></em> + <code> extends </code>(<a href="../sims/collision/AABB.html" target="_self">AABB</a>) => <a href="../graphyx/graphics/GraphicalAABB.html" target="_self">GraphicalAABB</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> object</code> + </td> + <td class="signature"> + <em><a href="../graphyx/graphics/GraphicalBody$object.html" target="_self">GraphicalBody</a></em> + <code> extends </code>(<a href="../sims/dynamics/Body.html" target="_self">Body</a>) => <a href="../graphyx/graphics/GraphicalBody.html" target="_self">GraphicalBody</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> object</code> + </td> + <td class="signature"> + <em><a href="../graphyx/graphics/GraphicalCircle$object.html" target="_self">GraphicalCircle</a></em> + <code> extends </code>(<a href="../sims/dynamics/Circle.html" target="_self">Circle</a>) => <a href="../graphyx/graphics/GraphicalCircle.html" target="_self">GraphicalCircle</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> object</code> + </td> + <td class="signature"> + <em><a href="../graphyx/graphics/GraphicalCollision$object.html" target="_self">GraphicalCollision</a></em> + <code> extends </code>(<a href="../sims/collision/Collision.html" target="_self">Collision</a>) => <a href="../graphyx/graphics/GraphicalCollision.html" target="_self">GraphicalCollision</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> object</code> + </td> + <td class="signature"> + <em><a href="../graphyx/graphics/GraphicalDistanceJoint$object.html" target="_self">GraphicalDistanceJoint</a></em> + <code> extends </code>(<a href="../sims/dynamics/joints/DistanceJoint.html" target="_self">DistanceJoint</a>) => <a href="../graphyx/graphics/GraphicalDistanceJoint.html" target="_self">GraphicalDistanceJoint</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> object</code> + </td> + <td class="signature"> + <em><a href="../graphyx/graphics/GraphicalPair$object.html" target="_self">GraphicalPair</a></em> + <code> extends </code>(<a href="../sims/collision/Pair.html" target="_self">Pair</a>) => <a href="../graphyx/graphics/GraphicalPair.html" target="_self">GraphicalPair</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> object</code> + </td> + <td class="signature"> + <em><a href="../graphyx/graphics/GraphicalRectangle$object.html" target="_self">GraphicalRectangle</a></em> + <code> extends </code>(<a href="../sims/dynamics/Rectangle.html" target="_self">Rectangle</a>) => <a href="../graphyx/graphics/GraphicalRectangle.html" target="_self">GraphicalRectangle</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> object</code> + </td> + <td class="signature"> + <em><a href="../graphyx/graphics/GraphicalRegularPolygon$object.html" target="_self">GraphicalRegularPolygon</a></em> + <code> extends </code>(<a href="../sims/dynamics/RegularPolygon.html" target="_self">RegularPolygon</a>) => <a href="../graphyx/graphics/GraphicalRegularPolygon.html" target="_self">GraphicalRegularPolygon</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> object</code> + </td> + <td class="signature"> + <em><a href="../graphyx/graphics/GraphicalRevoluteJoint$object.html" target="_self">GraphicalRevoluteJoint</a></em> + <code> extends </code>(<a href="../sims/dynamics/joints/RevoluteJoint.html" target="_self">RevoluteJoint</a>) => <a href="../graphyx/graphics/GraphicalRevoluteJoint.html" target="_self">GraphicalRevoluteJoint</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> object</code> + </td> + <td class="signature"> + <em><a href="../graphyx/graphics/GraphicalSpringJoint$object.html" target="_self">GraphicalSpringJoint</a></em> + <code> extends </code>(<a href="../sims/dynamics/joints/SpringJoint.html" target="_self">SpringJoint</a>) => <a href="../graphyx/graphics/GraphicalSpringJoint.html" target="_self">GraphicalSpringJoint</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> object</code> + </td> + <td class="signature"> + <em><a href="../graphyx/graphics/GraphicalWorld$object.html" target="_self">GraphicalWorld</a></em> + <code> extends </code>(<a href="../sims/dynamics/World.html" target="_self">World</a>) => <a href="../graphyx/graphics/GraphicalWorld.html" target="_self">GraphicalWorld</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> object</code> + </td> + <td class="signature"> + <em><a href="../graphyx/graphics/Parser$object.html" target="_self">Parser</a></em> + <code> extends </code><a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> object</code> + </td> + <td class="signature"> + <em><a href="../graphyx/graphics/Scene$object.html" target="_self">Scene</a></em> + <code> extends </code>(<a href="../sims/dynamics/World.html" target="_self">World</a>) => <a href="../graphyx/graphics/Scene.html" target="_self">Scene</a> + + + </td> + </tr> + </table></body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/graphics$package.html b/doc/graphyx/graphics$package.html new file mode 100644 index 0000000..94f5f77 --- /dev/null +++ b/doc/graphyx/graphics$package.html @@ -0,0 +1,43 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>List of classes and objects in package 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"> + <a href="../graphyx/graphics$content.html" target="contentFrame">graphyx.graphics</a> + </td></tr> + </table><div><div class="kinds" id="Classes">Classes</div><ul class="list"> + <li id="Classes_D"><a href="../graphyx/graphics/Drawable.html" target="contentFrame">Drawable</a></li> +<li id="Classes_G"><a href="../graphyx/graphics/GraphicalAABB.html" target="contentFrame">GraphicalAABB</a></li> +<li><a href="../graphyx/graphics/GraphicalBody.html" target="contentFrame">GraphicalBody</a></li> +<li><a href="../graphyx/graphics/GraphicalCircle.html" target="contentFrame">GraphicalCircle</a></li> +<li><a href="../graphyx/graphics/GraphicalCollision.html" target="contentFrame">GraphicalCollision</a></li> +<li><a href="../graphyx/graphics/GraphicalDistanceJoint.html" target="contentFrame">GraphicalDistanceJoint</a></li> +<li><a href="../graphyx/graphics/GraphicalJoint.html" target="contentFrame">GraphicalJoint</a></li> +<li><a href="../graphyx/graphics/GraphicalObject.html" target="contentFrame">GraphicalObject</a></li> +<li><a href="../graphyx/graphics/GraphicalPair.html" target="contentFrame">GraphicalPair</a></li> +<li><a href="../graphyx/graphics/GraphicalRectangle.html" target="contentFrame">GraphicalRectangle</a></li> +<li><a href="../graphyx/graphics/GraphicalRegularPolygon.html" target="contentFrame">GraphicalRegularPolygon</a></li> +<li><a href="../graphyx/graphics/GraphicalRevoluteJoint.html" target="contentFrame">GraphicalRevoluteJoint</a></li> +<li><a href="../graphyx/graphics/GraphicalShape.html" target="contentFrame">GraphicalShape</a></li> +<li><a href="../graphyx/graphics/GraphicalSpringJoint.html" target="contentFrame">GraphicalSpringJoint</a></li> +<li><a href="../graphyx/graphics/GraphicalWorld.html" target="contentFrame">GraphicalWorld</a></li> +<li id="Classes_S"><a href="../graphyx/graphics/Scene.html" target="contentFrame">Scene</a></li> + </ul> +<div class="kinds" id="Objects">Objects</div><ul class="list"> + <li id="Objects_G"><a href="../graphyx/graphics/GraphicalAABB$object.html" target="contentFrame">GraphicalAABB</a></li> +<li><a href="../graphyx/graphics/GraphicalBody$object.html" target="contentFrame">GraphicalBody</a></li> +<li><a href="../graphyx/graphics/GraphicalCircle$object.html" target="contentFrame">GraphicalCircle</a></li> +<li><a href="../graphyx/graphics/GraphicalCollision$object.html" target="contentFrame">GraphicalCollision</a></li> +<li><a href="../graphyx/graphics/GraphicalDistanceJoint$object.html" target="contentFrame">GraphicalDistanceJoint</a></li> +<li><a href="../graphyx/graphics/GraphicalPair$object.html" target="contentFrame">GraphicalPair</a></li> +<li><a href="../graphyx/graphics/GraphicalRectangle$object.html" target="contentFrame">GraphicalRectangle</a></li> +<li><a href="../graphyx/graphics/GraphicalRegularPolygon$object.html" target="contentFrame">GraphicalRegularPolygon</a></li> +<li><a href="../graphyx/graphics/GraphicalRevoluteJoint$object.html" target="contentFrame">GraphicalRevoluteJoint</a></li> +<li><a href="../graphyx/graphics/GraphicalSpringJoint$object.html" target="contentFrame">GraphicalSpringJoint</a></li> +<li><a href="../graphyx/graphics/GraphicalWorld$object.html" target="contentFrame">GraphicalWorld</a></li> +<li id="Objects_P"><a href="../graphyx/graphics/Parser$object.html" target="contentFrame">Parser</a></li> +<li id="Objects_S"><a href="../graphyx/graphics/Scene$object.html" target="contentFrame">Scene</a></li> + </ul></div></body> + </html>
\ No newline at end of file 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 diff --git a/doc/graphyx/graphics/GraphicalAABB$object.html b/doc/graphyx/graphics/GraphicalAABB$object.html new file mode 100644 index 0000000..02225f7 --- /dev/null +++ b/doc/graphyx/graphics/GraphicalAABB$object.html @@ -0,0 +1,82 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object GraphicalAABB 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">object GraphicalAABB</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/graphics/GraphicalAABB"><code>graphyx/graphics/GraphicalAABB.scala</code></a>] + </div><hr></hr> + <a name="GraphicalAABB"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>GraphicalAABB</em> + </dt> + <dd><code> extends </code>(<a href="../../sims/collision/AABB.html" target="_self">AABB</a>) => <a href="../../graphyx/graphics/GraphicalAABB.html" target="_self">GraphicalAABB</a></dd> + </dl> + + + +<table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/Function1">scala.Function1</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#toString" target="contentFrame" class="scala/Function1">scala.Function1.toString</a>, <a href="#compose" target="contentFrame" class="scala/Function1">scala.Function1.compose</a>, <a href="#andThen" target="contentFrame" class="scala/Function1">scala.Function1.andThen</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + + + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/graphics/GraphicalAABB.html b/doc/graphyx/graphics/GraphicalAABB.html new file mode 100644 index 0000000..6855bd7 --- /dev/null +++ b/doc/graphyx/graphics/GraphicalAABB.html @@ -0,0 +1,355 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class GraphicalAABB 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">class GraphicalAABB</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/graphics/GraphicalAABB"><code>graphyx/graphics/GraphicalAABB.scala</code></a>] + </div><hr></hr> + <a name="GraphicalAABB"></a><dl> + <dt> + + <code>case</code> + <code>class</code> + <em>GraphicalAABB</em>(<code>val </code><em>real</em> : <a href="../../sims/collision/AABB.html" target="_self">AABB</a>) + </dt> + <dd><code> extends </code><a href="../../sims/collision/AABB.html" target="_self">AABB</a><code> with </code><a href="../../graphyx/graphics/GraphicalObject.html" target="_self">GraphicalObject</a></dd> + </dl> + + +<table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="../../graphyx/graphics/Drawable.html" target="_self">Drawable</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../graphyx/graphics/Drawable.html#g" target="_self">g</a>, <a href="../../graphyx/graphics/Drawable.html#ppm" target="_self">ppm</a>, <a href="../../graphyx/graphics/Drawable.html#scale" target="_self">scale</a>, <a href="../../graphyx/graphics/Drawable.html#windowHeight" target="_self">windowHeight</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="../../sims/collision/AABB.html" target="_self">AABB</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../sims/collision/AABB.html#minVertex" target="_self">minVertex</a>, <a href="../../sims/collision/AABB.html#maxVertex" target="_self">maxVertex</a> + </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>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalAABB.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>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalAABB.html#equals%28Any%29" target="_self">equals</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalAABB.html#hashCode%28%29" target="_self">hashCode</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + <div>Returns a hash code value for the object.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalAABB.html#productArity" target="_self">productArity</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalAABB.html#productElement%28Int%29" target="_self">productElement</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalAABB.html#productPrefix" target="_self">productPrefix</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalAABB.html#toString%28%29" target="_self">toString</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + <div>Returns a string representation of the object.</div> + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="../../graphyx/graphics/Drawable.html" target="_self">Drawable</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../graphyx/graphics/Drawable.html#correctY%28Double%29" target="_self">correctY</a>, <a href="../../graphyx/graphics/Drawable.html#drawLine%28sims.geometry.Vector2D%2Csims.geometry.Vector2D%29" target="_self">drawLine</a>, <a href="../../graphyx/graphics/Drawable.html#fillPolygon%28Seq%5Bsims.geometry.Vector2D%5D%29" target="_self">fillPolygon</a>, <a href="../../graphyx/graphics/Drawable.html#drawPolygon%28Seq%5Bsims.geometry.Vector2D%5D%29" target="_self">drawPolygon</a>, <a href="../../graphyx/graphics/Drawable.html#fillCircle%28sims.geometry.Vector2D%2CDouble%29" target="_self">fillCircle</a>, <a href="../../graphyx/graphics/Drawable.html#drawCircle%28sims.geometry.Vector2D%2CDouble%29" target="_self">drawCircle</a>, <a href="../../graphyx/graphics/Drawable.html#drawPoint%28sims.geometry.Vector2D%29" target="_self">drawPoint</a>, <a href="../../graphyx/graphics/Drawable.html#drawVector%28sims.geometry.Vector2D%2Csims.geometry.Vector2D%29" target="_self">drawVector</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="../../sims/collision/AABB.html" target="_self">AABB</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../sims/collision/AABB.html#overlaps%28sims.collision.AABB%29" target="_self">overlaps</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="draw%28%29"></a><dl> + <dt> + + <code>override</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> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../graphyx/graphics/GraphicalObject.html" target="_self">GraphicalObject</a>.<a href="../../graphyx/graphics/GraphicalObject.html#draw%28%29" target="_self">draw</a> + </dd> + </dl><hr></hr> +<a name="hashCode%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>hashCode</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a hash code value for the object.
+ <p>
+ The default hashing algorithm is platform dependent.
+ Note that it is allowed for two objects to have identical hash
+ codes (<code>o1.hashCode.equals(o2.hashCode)</code>) yet not be
+ equal (<code>o1.equals(o2)</code> returns <code>false</code>). A
+ degenerate implementation could always return <code>0</code>.
+ However, it is required that if two objects are equal
+ (<code>o1.equals(o2)</code> returns <code>true</code>) that they
+ have identical hash codes
+ (<code>o1.hashCode.equals(o2.hashCode)</code>). Therefore, when
+ overriding this method, be sure to verify that the behavior is
+ consistent with the <code>equals</code> method.
+ </p>
+ <p></dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>the hash code value for the object. </p></dd></dl> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/collision/AABB.html" target="_self">AABB</a>.<a href="../../sims/collision/AABB.html#hashCode%28%29" target="_self">hashCode</a> + </dd> + </dl><hr></hr> +<a name="toString%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>toString</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a string representation of the object.
+ <p>
+ The default representation is platform dependent.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>a string representation of the object. </p></dd></dl> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/collision/AABB.html" target="_self">AABB</a>.<a href="../../sims/collision/AABB.html#toString%28%29" target="_self">toString</a> + </dd> + </dl><hr></hr> +<a name="equals%28Any%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>equals</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.
+
+ <p>
+ The default implementations of this method is an <a
+ href="http://en.wikipedia.org/wiki/Equivalence_relation">equivalence
+ relation</a>:
+ <ul>
+ <li>It is reflexive: for any instance <code>x</code> of type <code>Any</code>,
+ <code>x.equals(x)</code> should return <code>true</code>.</li>
+ <li>It is symmetric: for any instances <code>x</code> and <code>y</code> of type
+ <code>Any</code>, <code>x.equals(y)</code> should return <code>true</code> if and only
+ if <code>y.equals(x)</code> returns <code>true</code>.</li>
+ <li>It is transitive: for any instances
+ <code>x</code>, <code>y</code>, and <code>z</code> of type <code>AnyRef</code>
+ if <code>x.equals(y)</code> returns <code>true</code> and
+ <code>y.equals(z)</code> returns
+ <code>true</code>, then <code>x.equals(z)</code> should return <code>true</code>.</li>
+ </ul>
+ </p>
+ <p>
+ If you override this method, you should verify that
+ your implementation remains an equivalence relation.
+ Additionally, when overriding this method it is often necessary to
+ override <code>hashCode</code> to ensure that objects that are
+ "equal" (<code>o1.equals(o2)</code> returns <code>true</code>)
+ hash to the same <a href="Int.html"><code>Int</code></a>
+ (<code>o1.hashCode.equals(o2.hashCode)</code>).</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>arg0 - </code>the object to compare against this object for equality.</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise. </p></dd></dl> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/collision/AABB.html" target="_self">AABB</a>.<a href="../../sims/collision/AABB.html#equals%28Any%29" target="_self">equals</a> + </dd> + </dl><hr></hr> +<a name="productPrefix"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productPrefix</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/collision/AABB.html" target="_self">AABB</a>.<a href="../../sims/collision/AABB.html#productPrefix" target="_self">productPrefix</a> + </dd> + </dl><hr></hr> +<a name="productArity"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productArity</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/collision/AABB.html" target="_self">AABB</a>.<a href="../../sims/collision/AABB.html#productArity" target="_self">productArity</a> + </dd> + </dl><hr></hr> +<a name="productElement%28Int%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productElement</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/collision/AABB.html" target="_self">AABB</a>.<a href="../../sims/collision/AABB.html#productElement%28Int%29" target="_self">productElement</a> + </dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/graphics/GraphicalBody$object.html b/doc/graphyx/graphics/GraphicalBody$object.html new file mode 100644 index 0000000..cd8f5c8 --- /dev/null +++ b/doc/graphyx/graphics/GraphicalBody$object.html @@ -0,0 +1,82 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object GraphicalBody 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">object GraphicalBody</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/graphics/GraphicalBody"><code>graphyx/graphics/GraphicalBody.scala</code></a>] + </div><hr></hr> + <a name="GraphicalBody"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>GraphicalBody</em> + </dt> + <dd><code> extends </code>(<a href="../../sims/dynamics/Body.html" target="_self">Body</a>) => <a href="../../graphyx/graphics/GraphicalBody.html" target="_self">GraphicalBody</a></dd> + </dl> + + + +<table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/Function1">scala.Function1</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#toString" target="contentFrame" class="scala/Function1">scala.Function1.toString</a>, <a href="#compose" target="contentFrame" class="scala/Function1">scala.Function1.compose</a>, <a href="#andThen" target="contentFrame" class="scala/Function1">scala.Function1.andThen</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + + + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/graphics/GraphicalBody.html b/doc/graphyx/graphics/GraphicalBody.html new file mode 100644 index 0000000..8b3c88d --- /dev/null +++ b/doc/graphyx/graphics/GraphicalBody.html @@ -0,0 +1,383 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class GraphicalBody 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">class GraphicalBody</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/graphics/GraphicalBody"><code>graphyx/graphics/GraphicalBody.scala</code></a>] + </div><hr></hr> + <a name="GraphicalBody"></a><dl> + <dt> + + <code>case</code> + <code>class</code> + <em>GraphicalBody</em>(<code>val </code><em>real</em> : <a href="../../sims/dynamics/Body.html" target="_self">Body</a>) + </dt> + <dd><code> extends </code><a href="../../graphyx/graphics/GraphicalObject.html" target="_self">GraphicalObject</a><code> with </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a></dd> + </dl> + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalBody.html#fixed" target="_self">fixed</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalBody.html#monitor" target="_self">monitor</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalBody.html#pos" target="_self">pos</a></em> + : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="../../graphyx/graphics/Drawable.html" target="_self">Drawable</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../graphyx/graphics/Drawable.html#g" target="_self">g</a>, <a href="../../graphyx/graphics/Drawable.html#ppm" target="_self">ppm</a>, <a href="../../graphyx/graphics/Drawable.html#scale" target="_self">scale</a>, <a href="../../graphyx/graphics/Drawable.html#windowHeight" target="_self">windowHeight</a> + </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/GraphicalBody.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>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalBody.html#equals%28Any%29" target="_self">equals</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalBody.html#hashCode%28%29" target="_self">hashCode</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + <div>Returns a hash code value for the object.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalBody.html#productArity" target="_self">productArity</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalBody.html#productElement%28Int%29" target="_self">productElement</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalBody.html#productPrefix" target="_self">productPrefix</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalBody.html#toString%28%29" target="_self">toString</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + <div>Returns a string representation of the object.</div> + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="../../graphyx/graphics/Drawable.html" target="_self">Drawable</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../graphyx/graphics/Drawable.html#correctY%28Double%29" target="_self">correctY</a>, <a href="../../graphyx/graphics/Drawable.html#drawLine%28sims.geometry.Vector2D%2Csims.geometry.Vector2D%29" target="_self">drawLine</a>, <a href="../../graphyx/graphics/Drawable.html#fillPolygon%28Seq%5Bsims.geometry.Vector2D%5D%29" target="_self">fillPolygon</a>, <a href="../../graphyx/graphics/Drawable.html#drawPolygon%28Seq%5Bsims.geometry.Vector2D%5D%29" target="_self">drawPolygon</a>, <a href="../../graphyx/graphics/Drawable.html#fillCircle%28sims.geometry.Vector2D%2CDouble%29" target="_self">fillCircle</a>, <a href="../../graphyx/graphics/Drawable.html#drawCircle%28sims.geometry.Vector2D%2CDouble%29" target="_self">drawCircle</a>, <a href="../../graphyx/graphics/Drawable.html#drawPoint%28sims.geometry.Vector2D%29" target="_self">drawPoint</a>, <a href="../../graphyx/graphics/Drawable.html#drawVector%28sims.geometry.Vector2D%2Csims.geometry.Vector2D%29" target="_self">drawVector</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Value Details</td></tr> + </table><div><a name="pos"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>pos</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="fixed"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>fixed</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="monitor"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>monitor</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl><hr></hr></div> +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="draw%28%29"></a><dl> + <dt> + + <code></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> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../graphyx/graphics/GraphicalObject.html" target="_self">GraphicalObject</a>.<a href="../../graphyx/graphics/GraphicalObject.html#draw%28%29" target="_self">draw</a> + </dd> + </dl><hr></hr> +<a name="hashCode%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>hashCode</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a hash code value for the object.
+ <p>
+ The default hashing algorithm is platform dependent.
+ Note that it is allowed for two objects to have identical hash
+ codes (<code>o1.hashCode.equals(o2.hashCode)</code>) yet not be
+ equal (<code>o1.equals(o2)</code> returns <code>false</code>). A
+ degenerate implementation could always return <code>0</code>.
+ However, it is required that if two objects are equal
+ (<code>o1.equals(o2)</code> returns <code>true</code>) that they
+ have identical hash codes
+ (<code>o1.hashCode.equals(o2.hashCode)</code>). Therefore, when
+ overriding this method, be sure to verify that the behavior is
+ consistent with the <code>equals</code> method.
+ </p>
+ <p></dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>the hash code value for the object. </p></dd></dl> + <hr></hr> +<a name="toString%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>toString</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a string representation of the object.
+ <p>
+ The default representation is platform dependent.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>a string representation of the object. </p></dd></dl> + <hr></hr> +<a name="equals%28Any%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>equals</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.
+
+ <p>
+ The default implementations of this method is an <a
+ href="http://en.wikipedia.org/wiki/Equivalence_relation">equivalence
+ relation</a>:
+ <ul>
+ <li>It is reflexive: for any instance <code>x</code> of type <code>Any</code>,
+ <code>x.equals(x)</code> should return <code>true</code>.</li>
+ <li>It is symmetric: for any instances <code>x</code> and <code>y</code> of type
+ <code>Any</code>, <code>x.equals(y)</code> should return <code>true</code> if and only
+ if <code>y.equals(x)</code> returns <code>true</code>.</li>
+ <li>It is transitive: for any instances
+ <code>x</code>, <code>y</code>, and <code>z</code> of type <code>AnyRef</code>
+ if <code>x.equals(y)</code> returns <code>true</code> and
+ <code>y.equals(z)</code> returns
+ <code>true</code>, then <code>x.equals(z)</code> should return <code>true</code>.</li>
+ </ul>
+ </p>
+ <p>
+ If you override this method, you should verify that
+ your implementation remains an equivalence relation.
+ Additionally, when overriding this method it is often necessary to
+ override <code>hashCode</code> to ensure that objects that are
+ "equal" (<code>o1.equals(o2)</code> returns <code>true</code>)
+ hash to the same <a href="Int.html"><code>Int</code></a>
+ (<code>o1.hashCode.equals(o2.hashCode)</code>).</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>arg0 - </code>the object to compare against this object for equality.</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise. </p></dd></dl> + <hr></hr> +<a name="productPrefix"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productPrefix</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productPrefix" target="contentFrame" class="scala/Product">scala.Product.productPrefix</a> + </dd> + </dl><hr></hr> +<a name="productArity"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productArity</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productArity" target="contentFrame" class="scala/Product">scala.Product.productArity</a> + </dd> + </dl><hr></hr> +<a name="productElement%28Int%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productElement</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productElement" target="contentFrame" class="scala/Product">scala.Product.productElement</a> + </dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/graphics/GraphicalCircle$object.html b/doc/graphyx/graphics/GraphicalCircle$object.html new file mode 100644 index 0000000..bdf676e --- /dev/null +++ b/doc/graphyx/graphics/GraphicalCircle$object.html @@ -0,0 +1,82 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object GraphicalCircle 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">object GraphicalCircle</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/graphics/GraphicalCircle"><code>graphyx/graphics/GraphicalCircle.scala</code></a>] + </div><hr></hr> + <a name="GraphicalCircle"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>GraphicalCircle</em> + </dt> + <dd><code> extends </code>(<a href="../../sims/dynamics/Circle.html" target="_self">Circle</a>) => <a href="../../graphyx/graphics/GraphicalCircle.html" target="_self">GraphicalCircle</a></dd> + </dl> + + + +<table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/Function1">scala.Function1</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#toString" target="contentFrame" class="scala/Function1">scala.Function1.toString</a>, <a href="#compose" target="contentFrame" class="scala/Function1">scala.Function1.compose</a>, <a href="#andThen" target="contentFrame" class="scala/Function1">scala.Function1.andThen</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + + + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/graphics/GraphicalCircle.html b/doc/graphyx/graphics/GraphicalCircle.html new file mode 100644 index 0000000..1cf6174 --- /dev/null +++ b/doc/graphyx/graphics/GraphicalCircle.html @@ -0,0 +1,369 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class GraphicalCircle 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">class GraphicalCircle</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/graphics/GraphicalCircle"><code>graphyx/graphics/GraphicalCircle.scala</code></a>] + </div><hr></hr> + <a name="GraphicalCircle"></a><dl> + <dt> + + <code>case</code> + <code>class</code> + <em>GraphicalCircle</em>(<code>val </code><em>real</em> : <a href="../../sims/dynamics/Circle.html" target="_self">Circle</a>) + </dt> + <dd><code> extends </code><a href="../../sims/dynamics/Circle.html" target="_self">Circle</a><code> with </code><a href="../../graphyx/graphics/GraphicalShape.html" target="_self">GraphicalShape</a></dd> + </dl> + + +<table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="../../graphyx/graphics/GraphicalShape.html" target="_self">GraphicalShape</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../graphyx/graphics/GraphicalShape.html#uid" target="_self">uid</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="../../graphyx/graphics/Drawable.html" target="_self">Drawable</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../graphyx/graphics/Drawable.html#g" target="_self">g</a>, <a href="../../graphyx/graphics/Drawable.html#ppm" target="_self">ppm</a>, <a href="../../graphyx/graphics/Drawable.html#scale" target="_self">scale</a>, <a href="../../graphyx/graphics/Drawable.html#windowHeight" target="_self">windowHeight</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="../../sims/dynamics/Circle.html" target="_self">Circle</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../sims/dynamics/Circle.html#radius" target="_self">radius</a>, <a href="../../sims/dynamics/Circle.html#density" target="_self">density</a>, <a href="../../sims/dynamics/Circle.html#volume" target="_self">volume</a>, <a href="../../sims/dynamics/Circle.html#I" target="_self">I</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../sims/dynamics/Shape.html#collidable" target="_self">collidable</a>, <a href="../../sims/dynamics/Shape.html#restitution" target="_self">restitution</a>, <a href="../../sims/dynamics/Shape.html#friction" target="_self">friction</a>, <a href="../../sims/dynamics/Shape.html#pos" target="_self">pos</a>, <a href="../../sims/dynamics/Shape.html#rotation" target="_self">rotation</a>, <a href="../../sims/dynamics/Shape.html#rotation0" target="_self">rotation0</a>, <a href="../../sims/dynamics/Shape.html#refLocalPos" target="_self">refLocalPos</a>, <a href="../../sims/dynamics/Shape.html#body" target="_self">body</a>, <a href="../../sims/dynamics/Shape.html#transientShapes" target="_self">transientShapes</a> + </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>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalCircle.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>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalCircle.html#equals%28Any%29" target="_self">equals</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalCircle.html#hashCode%28%29" target="_self">hashCode</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + <div>Returns a hash code value for the object.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalCircle.html#productArity" target="_self">productArity</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalCircle.html#productElement%28Int%29" target="_self">productElement</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalCircle.html#productPrefix" target="_self">productPrefix</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalCircle.html#toString%28%29" target="_self">toString</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + <div>Returns a string representation of the object.</div> + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="../../graphyx/graphics/Drawable.html" target="_self">Drawable</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../graphyx/graphics/Drawable.html#correctY%28Double%29" target="_self">correctY</a>, <a href="../../graphyx/graphics/Drawable.html#drawLine%28sims.geometry.Vector2D%2Csims.geometry.Vector2D%29" target="_self">drawLine</a>, <a href="../../graphyx/graphics/Drawable.html#fillPolygon%28Seq%5Bsims.geometry.Vector2D%5D%29" target="_self">fillPolygon</a>, <a href="../../graphyx/graphics/Drawable.html#drawPolygon%28Seq%5Bsims.geometry.Vector2D%5D%29" target="_self">drawPolygon</a>, <a href="../../graphyx/graphics/Drawable.html#fillCircle%28sims.geometry.Vector2D%2CDouble%29" target="_self">fillCircle</a>, <a href="../../graphyx/graphics/Drawable.html#drawCircle%28sims.geometry.Vector2D%2CDouble%29" target="_self">drawCircle</a>, <a href="../../graphyx/graphics/Drawable.html#drawPoint%28sims.geometry.Vector2D%29" target="_self">drawPoint</a>, <a href="../../graphyx/graphics/Drawable.html#drawVector%28sims.geometry.Vector2D%2Csims.geometry.Vector2D%29" target="_self">drawVector</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="../../sims/dynamics/Circle.html" target="_self">Circle</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../sims/dynamics/Circle.html#AABB" target="_self">AABB</a>, <a href="../../sims/dynamics/Circle.html#project%28sims.geometry.Vector2D%29" target="_self">project</a>, <a href="../../sims/dynamics/Circle.html#contains%28sims.geometry.Vector2D%29" target="_self">contains</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../sims/dynamics/Shape.html#mass" target="_self">mass</a>, <a href="../../sims/dynamics/Shape.html#asBody" target="_self">asBody</a>, <a href="../../sims/dynamics/Shape.html#%5E%28sims.dynamics.Shape%29" target="_self">^</a>, <a href="../../sims/dynamics/Shape.html#%5E%28sims.dynamics.Body%29" target="_self">^</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="draw%28%29"></a><dl> + <dt> + + <code>override</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> +<a name="hashCode%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>hashCode</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a hash code value for the object.
+ <p>
+ The default hashing algorithm is platform dependent.
+ Note that it is allowed for two objects to have identical hash
+ codes (<code>o1.hashCode.equals(o2.hashCode)</code>) yet not be
+ equal (<code>o1.equals(o2)</code> returns <code>false</code>). A
+ degenerate implementation could always return <code>0</code>.
+ However, it is required that if two objects are equal
+ (<code>o1.equals(o2)</code> returns <code>true</code>) that they
+ have identical hash codes
+ (<code>o1.hashCode.equals(o2.hashCode)</code>). Therefore, when
+ overriding this method, be sure to verify that the behavior is
+ consistent with the <code>equals</code> method.
+ </p>
+ <p></dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>the hash code value for the object. </p></dd></dl> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/dynamics/Circle.html" target="_self">Circle</a>.<a href="../../sims/dynamics/Circle.html#hashCode%28%29" target="_self">hashCode</a> + </dd> + </dl><hr></hr> +<a name="toString%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>toString</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a string representation of the object.
+ <p>
+ The default representation is platform dependent.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>a string representation of the object. </p></dd></dl> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/dynamics/Circle.html" target="_self">Circle</a>.<a href="../../sims/dynamics/Circle.html#toString%28%29" target="_self">toString</a> + </dd> + </dl><hr></hr> +<a name="equals%28Any%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>equals</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.
+
+ <p>
+ The default implementations of this method is an <a
+ href="http://en.wikipedia.org/wiki/Equivalence_relation">equivalence
+ relation</a>:
+ <ul>
+ <li>It is reflexive: for any instance <code>x</code> of type <code>Any</code>,
+ <code>x.equals(x)</code> should return <code>true</code>.</li>
+ <li>It is symmetric: for any instances <code>x</code> and <code>y</code> of type
+ <code>Any</code>, <code>x.equals(y)</code> should return <code>true</code> if and only
+ if <code>y.equals(x)</code> returns <code>true</code>.</li>
+ <li>It is transitive: for any instances
+ <code>x</code>, <code>y</code>, and <code>z</code> of type <code>AnyRef</code>
+ if <code>x.equals(y)</code> returns <code>true</code> and
+ <code>y.equals(z)</code> returns
+ <code>true</code>, then <code>x.equals(z)</code> should return <code>true</code>.</li>
+ </ul>
+ </p>
+ <p>
+ If you override this method, you should verify that
+ your implementation remains an equivalence relation.
+ Additionally, when overriding this method it is often necessary to
+ override <code>hashCode</code> to ensure that objects that are
+ "equal" (<code>o1.equals(o2)</code> returns <code>true</code>)
+ hash to the same <a href="Int.html"><code>Int</code></a>
+ (<code>o1.hashCode.equals(o2.hashCode)</code>).</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>arg0 - </code>the object to compare against this object for equality.</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise. </p></dd></dl> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/dynamics/Circle.html" target="_self">Circle</a>.<a href="../../sims/dynamics/Circle.html#equals%28Any%29" target="_self">equals</a> + </dd> + </dl><hr></hr> +<a name="productPrefix"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productPrefix</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/dynamics/Circle.html" target="_self">Circle</a>.<a href="../../sims/dynamics/Circle.html#productPrefix" target="_self">productPrefix</a> + </dd> + </dl><hr></hr> +<a name="productArity"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productArity</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/dynamics/Circle.html" target="_self">Circle</a>.<a href="../../sims/dynamics/Circle.html#productArity" target="_self">productArity</a> + </dd> + </dl><hr></hr> +<a name="productElement%28Int%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productElement</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/dynamics/Circle.html" target="_self">Circle</a>.<a href="../../sims/dynamics/Circle.html#productElement%28Int%29" target="_self">productElement</a> + </dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/graphics/GraphicalCollision$object.html b/doc/graphyx/graphics/GraphicalCollision$object.html new file mode 100644 index 0000000..6c382a1 --- /dev/null +++ b/doc/graphyx/graphics/GraphicalCollision$object.html @@ -0,0 +1,82 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object GraphicalCollision 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">object GraphicalCollision</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/graphics/GraphicalCollision"><code>graphyx/graphics/GraphicalCollision.scala</code></a>] + </div><hr></hr> + <a name="GraphicalCollision"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>GraphicalCollision</em> + </dt> + <dd><code> extends </code>(<a href="../../sims/collision/Collision.html" target="_self">Collision</a>) => <a href="../../graphyx/graphics/GraphicalCollision.html" target="_self">GraphicalCollision</a></dd> + </dl> + + + +<table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/Function1">scala.Function1</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#toString" target="contentFrame" class="scala/Function1">scala.Function1.toString</a>, <a href="#compose" target="contentFrame" class="scala/Function1">scala.Function1.compose</a>, <a href="#andThen" target="contentFrame" class="scala/Function1">scala.Function1.andThen</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + + + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/graphics/GraphicalCollision.html b/doc/graphyx/graphics/GraphicalCollision.html new file mode 100644 index 0000000..4d8c1e9 --- /dev/null +++ b/doc/graphyx/graphics/GraphicalCollision.html @@ -0,0 +1,363 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class GraphicalCollision 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">class GraphicalCollision</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/graphics/GraphicalCollision"><code>graphyx/graphics/GraphicalCollision.scala</code></a>] + </div><hr></hr> + <a name="GraphicalCollision"></a><dl> + <dt> + + <code>case</code> + <code>class</code> + <em>GraphicalCollision</em>(<code>val </code><em>real</em> : <a href="../../sims/collision/Collision.html" target="_self">Collision</a>) + </dt> + <dd><code> extends </code><a href="../../graphyx/graphics/GraphicalObject.html" target="_self">GraphicalObject</a><code> with </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a></dd> + </dl> + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalCollision.html#normal" target="_self">normal</a></em> + : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalCollision.html#points" target="_self">points</a></em> + : <a href="" target="contentFrame" class="scala/Iterable">scala.Iterable</a>[<a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>] + + + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="../../graphyx/graphics/Drawable.html" target="_self">Drawable</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../graphyx/graphics/Drawable.html#g" target="_self">g</a>, <a href="../../graphyx/graphics/Drawable.html#ppm" target="_self">ppm</a>, <a href="../../graphyx/graphics/Drawable.html#scale" target="_self">scale</a>, <a href="../../graphyx/graphics/Drawable.html#windowHeight" target="_self">windowHeight</a> + </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/GraphicalCollision.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>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalCollision.html#equals%28Any%29" target="_self">equals</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalCollision.html#hashCode%28%29" target="_self">hashCode</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + <div>Returns a hash code value for the object.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalCollision.html#productArity" target="_self">productArity</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalCollision.html#productElement%28Int%29" target="_self">productElement</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalCollision.html#productPrefix" target="_self">productPrefix</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalCollision.html#toString%28%29" target="_self">toString</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + <div>Returns a string representation of the object.</div> + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="../../graphyx/graphics/Drawable.html" target="_self">Drawable</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../graphyx/graphics/Drawable.html#correctY%28Double%29" target="_self">correctY</a>, <a href="../../graphyx/graphics/Drawable.html#drawLine%28sims.geometry.Vector2D%2Csims.geometry.Vector2D%29" target="_self">drawLine</a>, <a href="../../graphyx/graphics/Drawable.html#fillPolygon%28Seq%5Bsims.geometry.Vector2D%5D%29" target="_self">fillPolygon</a>, <a href="../../graphyx/graphics/Drawable.html#drawPolygon%28Seq%5Bsims.geometry.Vector2D%5D%29" target="_self">drawPolygon</a>, <a href="../../graphyx/graphics/Drawable.html#fillCircle%28sims.geometry.Vector2D%2CDouble%29" target="_self">fillCircle</a>, <a href="../../graphyx/graphics/Drawable.html#drawCircle%28sims.geometry.Vector2D%2CDouble%29" target="_self">drawCircle</a>, <a href="../../graphyx/graphics/Drawable.html#drawPoint%28sims.geometry.Vector2D%29" target="_self">drawPoint</a>, <a href="../../graphyx/graphics/Drawable.html#drawVector%28sims.geometry.Vector2D%2Csims.geometry.Vector2D%29" target="_self">drawVector</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Value Details</td></tr> + </table><div><a name="points"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>points</em> : <a href="" target="contentFrame" class="scala/Iterable">scala.Iterable</a>[<a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>] + </dt> + <dd></dd> + </dl><hr></hr> +<a name="normal"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>normal</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl><hr></hr></div> +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="draw%28%29"></a><dl> + <dt> + + <code></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> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../graphyx/graphics/GraphicalObject.html" target="_self">GraphicalObject</a>.<a href="../../graphyx/graphics/GraphicalObject.html#draw%28%29" target="_self">draw</a> + </dd> + </dl><hr></hr> +<a name="hashCode%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>hashCode</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a hash code value for the object.
+ <p>
+ The default hashing algorithm is platform dependent.
+ Note that it is allowed for two objects to have identical hash
+ codes (<code>o1.hashCode.equals(o2.hashCode)</code>) yet not be
+ equal (<code>o1.equals(o2)</code> returns <code>false</code>). A
+ degenerate implementation could always return <code>0</code>.
+ However, it is required that if two objects are equal
+ (<code>o1.equals(o2)</code> returns <code>true</code>) that they
+ have identical hash codes
+ (<code>o1.hashCode.equals(o2.hashCode)</code>). Therefore, when
+ overriding this method, be sure to verify that the behavior is
+ consistent with the <code>equals</code> method.
+ </p>
+ <p></dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>the hash code value for the object. </p></dd></dl> + <hr></hr> +<a name="toString%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>toString</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a string representation of the object.
+ <p>
+ The default representation is platform dependent.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>a string representation of the object. </p></dd></dl> + <hr></hr> +<a name="equals%28Any%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>equals</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.
+
+ <p>
+ The default implementations of this method is an <a
+ href="http://en.wikipedia.org/wiki/Equivalence_relation">equivalence
+ relation</a>:
+ <ul>
+ <li>It is reflexive: for any instance <code>x</code> of type <code>Any</code>,
+ <code>x.equals(x)</code> should return <code>true</code>.</li>
+ <li>It is symmetric: for any instances <code>x</code> and <code>y</code> of type
+ <code>Any</code>, <code>x.equals(y)</code> should return <code>true</code> if and only
+ if <code>y.equals(x)</code> returns <code>true</code>.</li>
+ <li>It is transitive: for any instances
+ <code>x</code>, <code>y</code>, and <code>z</code> of type <code>AnyRef</code>
+ if <code>x.equals(y)</code> returns <code>true</code> and
+ <code>y.equals(z)</code> returns
+ <code>true</code>, then <code>x.equals(z)</code> should return <code>true</code>.</li>
+ </ul>
+ </p>
+ <p>
+ If you override this method, you should verify that
+ your implementation remains an equivalence relation.
+ Additionally, when overriding this method it is often necessary to
+ override <code>hashCode</code> to ensure that objects that are
+ "equal" (<code>o1.equals(o2)</code> returns <code>true</code>)
+ hash to the same <a href="Int.html"><code>Int</code></a>
+ (<code>o1.hashCode.equals(o2.hashCode)</code>).</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>arg0 - </code>the object to compare against this object for equality.</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise. </p></dd></dl> + <hr></hr> +<a name="productPrefix"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productPrefix</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productPrefix" target="contentFrame" class="scala/Product">scala.Product.productPrefix</a> + </dd> + </dl><hr></hr> +<a name="productArity"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productArity</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productArity" target="contentFrame" class="scala/Product">scala.Product.productArity</a> + </dd> + </dl><hr></hr> +<a name="productElement%28Int%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productElement</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productElement" target="contentFrame" class="scala/Product">scala.Product.productElement</a> + </dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/graphics/GraphicalDistanceJoint$object.html b/doc/graphyx/graphics/GraphicalDistanceJoint$object.html new file mode 100644 index 0000000..709089b --- /dev/null +++ b/doc/graphyx/graphics/GraphicalDistanceJoint$object.html @@ -0,0 +1,82 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object GraphicalDistanceJoint 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">object GraphicalDistanceJoint</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/graphics/GraphicalDistanceJoint"><code>graphyx/graphics/GraphicalDistanceJoint.scala</code></a>] + </div><hr></hr> + <a name="GraphicalDistanceJoint"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>GraphicalDistanceJoint</em> + </dt> + <dd><code> extends </code>(<a href="../../sims/dynamics/joints/DistanceJoint.html" target="_self">DistanceJoint</a>) => <a href="../../graphyx/graphics/GraphicalDistanceJoint.html" target="_self">GraphicalDistanceJoint</a></dd> + </dl> + + + +<table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/Function1">scala.Function1</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#toString" target="contentFrame" class="scala/Function1">scala.Function1.toString</a>, <a href="#compose" target="contentFrame" class="scala/Function1">scala.Function1.compose</a>, <a href="#andThen" target="contentFrame" class="scala/Function1">scala.Function1.andThen</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + + + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/graphics/GraphicalDistanceJoint.html b/doc/graphyx/graphics/GraphicalDistanceJoint.html new file mode 100644 index 0000000..bb001e3 --- /dev/null +++ b/doc/graphyx/graphics/GraphicalDistanceJoint.html @@ -0,0 +1,356 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class GraphicalDistanceJoint 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">class GraphicalDistanceJoint</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/graphics/GraphicalDistanceJoint"><code>graphyx/graphics/GraphicalDistanceJoint.scala</code></a>] + </div><hr></hr> + <a name="GraphicalDistanceJoint"></a><dl> + <dt> + + <code>case</code> + <code>class</code> + <em>GraphicalDistanceJoint</em>(<code>val </code><em>real</em> : <a href="../../sims/dynamics/joints/DistanceJoint.html" target="_self">DistanceJoint</a>) + </dt> + <dd><code> extends </code><a href="../../graphyx/graphics/GraphicalJoint.html" target="_self">GraphicalJoint</a><code> with </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a></dd> + </dl> + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalDistanceJoint.html#connection1" target="_self">connection1</a></em> + : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalDistanceJoint.html#connection2" target="_self">connection2</a></em> + : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="../../graphyx/graphics/Drawable.html" target="_self">Drawable</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../graphyx/graphics/Drawable.html#g" target="_self">g</a>, <a href="../../graphyx/graphics/Drawable.html#ppm" target="_self">ppm</a>, <a href="../../graphyx/graphics/Drawable.html#scale" target="_self">scale</a>, <a href="../../graphyx/graphics/Drawable.html#windowHeight" target="_self">windowHeight</a> + </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/GraphicalDistanceJoint.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>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalDistanceJoint.html#equals%28Any%29" target="_self">equals</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalDistanceJoint.html#hashCode%28%29" target="_self">hashCode</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + <div>Returns a hash code value for the object.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalDistanceJoint.html#productArity" target="_self">productArity</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalDistanceJoint.html#productElement%28Int%29" target="_self">productElement</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalDistanceJoint.html#productPrefix" target="_self">productPrefix</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalDistanceJoint.html#toString%28%29" target="_self">toString</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + <div>Returns a string representation of the object.</div> + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="../../graphyx/graphics/Drawable.html" target="_self">Drawable</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../graphyx/graphics/Drawable.html#correctY%28Double%29" target="_self">correctY</a>, <a href="../../graphyx/graphics/Drawable.html#drawLine%28sims.geometry.Vector2D%2Csims.geometry.Vector2D%29" target="_self">drawLine</a>, <a href="../../graphyx/graphics/Drawable.html#fillPolygon%28Seq%5Bsims.geometry.Vector2D%5D%29" target="_self">fillPolygon</a>, <a href="../../graphyx/graphics/Drawable.html#drawPolygon%28Seq%5Bsims.geometry.Vector2D%5D%29" target="_self">drawPolygon</a>, <a href="../../graphyx/graphics/Drawable.html#fillCircle%28sims.geometry.Vector2D%2CDouble%29" target="_self">fillCircle</a>, <a href="../../graphyx/graphics/Drawable.html#drawCircle%28sims.geometry.Vector2D%2CDouble%29" target="_self">drawCircle</a>, <a href="../../graphyx/graphics/Drawable.html#drawPoint%28sims.geometry.Vector2D%29" target="_self">drawPoint</a>, <a href="../../graphyx/graphics/Drawable.html#drawVector%28sims.geometry.Vector2D%2Csims.geometry.Vector2D%29" target="_self">drawVector</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Value Details</td></tr> + </table><div><a name="connection1"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>connection1</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="connection2"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>connection2</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl><hr></hr></div> +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="draw%28%29"></a><dl> + <dt> + + <code></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> +<a name="hashCode%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>hashCode</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a hash code value for the object.
+ <p>
+ The default hashing algorithm is platform dependent.
+ Note that it is allowed for two objects to have identical hash
+ codes (<code>o1.hashCode.equals(o2.hashCode)</code>) yet not be
+ equal (<code>o1.equals(o2)</code> returns <code>false</code>). A
+ degenerate implementation could always return <code>0</code>.
+ However, it is required that if two objects are equal
+ (<code>o1.equals(o2)</code> returns <code>true</code>) that they
+ have identical hash codes
+ (<code>o1.hashCode.equals(o2.hashCode)</code>). Therefore, when
+ overriding this method, be sure to verify that the behavior is
+ consistent with the <code>equals</code> method.
+ </p>
+ <p></dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>the hash code value for the object. </p></dd></dl> + <hr></hr> +<a name="toString%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>toString</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a string representation of the object.
+ <p>
+ The default representation is platform dependent.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>a string representation of the object. </p></dd></dl> + <hr></hr> +<a name="equals%28Any%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>equals</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.
+
+ <p>
+ The default implementations of this method is an <a
+ href="http://en.wikipedia.org/wiki/Equivalence_relation">equivalence
+ relation</a>:
+ <ul>
+ <li>It is reflexive: for any instance <code>x</code> of type <code>Any</code>,
+ <code>x.equals(x)</code> should return <code>true</code>.</li>
+ <li>It is symmetric: for any instances <code>x</code> and <code>y</code> of type
+ <code>Any</code>, <code>x.equals(y)</code> should return <code>true</code> if and only
+ if <code>y.equals(x)</code> returns <code>true</code>.</li>
+ <li>It is transitive: for any instances
+ <code>x</code>, <code>y</code>, and <code>z</code> of type <code>AnyRef</code>
+ if <code>x.equals(y)</code> returns <code>true</code> and
+ <code>y.equals(z)</code> returns
+ <code>true</code>, then <code>x.equals(z)</code> should return <code>true</code>.</li>
+ </ul>
+ </p>
+ <p>
+ If you override this method, you should verify that
+ your implementation remains an equivalence relation.
+ Additionally, when overriding this method it is often necessary to
+ override <code>hashCode</code> to ensure that objects that are
+ "equal" (<code>o1.equals(o2)</code> returns <code>true</code>)
+ hash to the same <a href="Int.html"><code>Int</code></a>
+ (<code>o1.hashCode.equals(o2.hashCode)</code>).</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>arg0 - </code>the object to compare against this object for equality.</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise. </p></dd></dl> + <hr></hr> +<a name="productPrefix"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productPrefix</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productPrefix" target="contentFrame" class="scala/Product">scala.Product.productPrefix</a> + </dd> + </dl><hr></hr> +<a name="productArity"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productArity</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productArity" target="contentFrame" class="scala/Product">scala.Product.productArity</a> + </dd> + </dl><hr></hr> +<a name="productElement%28Int%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productElement</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productElement" target="contentFrame" class="scala/Product">scala.Product.productElement</a> + </dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/graphics/GraphicalJoint.html b/doc/graphyx/graphics/GraphicalJoint.html new file mode 100644 index 0000000..69c1c32 --- /dev/null +++ b/doc/graphyx/graphics/GraphicalJoint.html @@ -0,0 +1,132 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>trait GraphicalJoint 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 GraphicalJoint</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/graphics/GraphicalJoint"><code>graphyx/graphics/GraphicalJoint.scala</code></a>] + </div><hr></hr> + <a name="GraphicalJoint"></a><dl> + <dt> + + <code></code> + <code>trait</code> + <em>GraphicalJoint</em> + </dt> + <dd><code> extends </code><a href="../../graphyx/graphics/GraphicalObject.html" target="_self">GraphicalObject</a></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"><b>Direct Known Subclasses:</b></dt> + <dd><a href="../../graphyx/graphics/GraphicalDistanceJoint.html" target="_self">GraphicalDistanceJoint</a>, <a href="../../graphyx/graphics/GraphicalRevoluteJoint.html" target="_self">GraphicalRevoluteJoint</a>, <a href="../../graphyx/graphics/GraphicalSpringJoint.html" target="_self">GraphicalSpringJoint</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>abstract val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalJoint.html#real" target="_self">real</a></em> + : <a href="../../sims/dynamics/joints/Joint.html" target="_self">Joint</a> + + <div>Pointer to real object.</div> + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="../../graphyx/graphics/Drawable.html" target="_self">Drawable</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../graphyx/graphics/Drawable.html#g" target="_self">g</a>, <a href="../../graphyx/graphics/Drawable.html#ppm" target="_self">ppm</a>, <a href="../../graphyx/graphics/Drawable.html#scale" target="_self">scale</a>, <a href="../../graphyx/graphics/Drawable.html#windowHeight" target="_self">windowHeight</a> + </td></tr> + </table> +<table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="../../graphyx/graphics/Drawable.html" target="_self">Drawable</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../graphyx/graphics/Drawable.html#correctY%28Double%29" target="_self">correctY</a>, <a href="../../graphyx/graphics/Drawable.html#drawLine%28sims.geometry.Vector2D%2Csims.geometry.Vector2D%29" target="_self">drawLine</a>, <a href="../../graphyx/graphics/Drawable.html#fillPolygon%28Seq%5Bsims.geometry.Vector2D%5D%29" target="_self">fillPolygon</a>, <a href="../../graphyx/graphics/Drawable.html#drawPolygon%28Seq%5Bsims.geometry.Vector2D%5D%29" target="_self">drawPolygon</a>, <a href="../../graphyx/graphics/Drawable.html#fillCircle%28sims.geometry.Vector2D%2CDouble%29" target="_self">fillCircle</a>, <a href="../../graphyx/graphics/Drawable.html#drawCircle%28sims.geometry.Vector2D%2CDouble%29" target="_self">drawCircle</a>, <a href="../../graphyx/graphics/Drawable.html#drawPoint%28sims.geometry.Vector2D%29" target="_self">drawPoint</a>, <a href="../../graphyx/graphics/Drawable.html#drawVector%28sims.geometry.Vector2D%2Csims.geometry.Vector2D%29" target="_self">drawVector</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#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="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="../../graphyx/graphics/GraphicalObject.html" target="_self">GraphicalObject</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../graphyx/graphics/GraphicalObject.html#draw%28%29" target="_self">draw</a> (abstract) + </td></tr> + </table> + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Value Details</td></tr> + </table><div><a name="real"></a><dl> + <dt> + + <code>abstract</code> + <code>val</code> + <em>real</em> : <a href="../../sims/dynamics/joints/Joint.html" target="_self">Joint</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Pointer to real object.</dd></dl> + <dl></dl> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../graphyx/graphics/GraphicalObject.html" target="_self">GraphicalObject</a>.<a href="../../graphyx/graphics/GraphicalObject.html#real" target="_self">real</a> + </dd> + </dl><hr></hr></div> + + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/graphics/GraphicalObject.html b/doc/graphyx/graphics/GraphicalObject.html new file mode 100644 index 0000000..4add644 --- /dev/null +++ b/doc/graphyx/graphics/GraphicalObject.html @@ -0,0 +1,154 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>trait GraphicalObject 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 GraphicalObject</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/graphics/GraphicalObject"><code>graphyx/graphics/GraphicalObject.scala</code></a>] + </div><hr></hr> + <a name="GraphicalObject"></a><dl> + <dt> + + <code></code> + <code>trait</code> + <em>GraphicalObject</em> + </dt> + <dd><code> extends </code><a href="../../graphyx/graphics/Drawable.html" target="_self">Drawable</a></dd> + </dl> + <dl><dd>Only copies functional info! (e.g. Graphical world does not include shapes, bodies).</dd></dl> + <dl></dl> + <dl> + <dt style="margin:10px 0 0 20px;"><b>Direct Known Subclasses:</b></dt> + <dd><a href="../../graphyx/graphics/GraphicalAABB.html" target="_self">GraphicalAABB</a>, <a href="../../graphyx/graphics/GraphicalBody.html" target="_self">GraphicalBody</a>, <a href="../../graphyx/graphics/GraphicalCollision.html" target="_self">GraphicalCollision</a>, <a href="../../graphyx/graphics/GraphicalJoint.html" target="_self">GraphicalJoint</a>, <a href="../../graphyx/graphics/GraphicalPair.html" target="_self">GraphicalPair</a>, <a href="../../graphyx/graphics/GraphicalShape.html" target="_self">GraphicalShape</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>abstract val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalObject.html#real" target="_self">real</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + + <div>Pointer to real object.</div> + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="../../graphyx/graphics/Drawable.html" target="_self">Drawable</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../graphyx/graphics/Drawable.html#g" target="_self">g</a>, <a href="../../graphyx/graphics/Drawable.html#ppm" target="_self">ppm</a>, <a href="../../graphyx/graphics/Drawable.html#scale" target="_self">scale</a>, <a href="../../graphyx/graphics/Drawable.html#windowHeight" target="_self">windowHeight</a> + </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>abstract def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalObject.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> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="../../graphyx/graphics/Drawable.html" target="_self">Drawable</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../graphyx/graphics/Drawable.html#correctY%28Double%29" target="_self">correctY</a>, <a href="../../graphyx/graphics/Drawable.html#drawLine%28sims.geometry.Vector2D%2Csims.geometry.Vector2D%29" target="_self">drawLine</a>, <a href="../../graphyx/graphics/Drawable.html#fillPolygon%28Seq%5Bsims.geometry.Vector2D%5D%29" target="_self">fillPolygon</a>, <a href="../../graphyx/graphics/Drawable.html#drawPolygon%28Seq%5Bsims.geometry.Vector2D%5D%29" target="_self">drawPolygon</a>, <a href="../../graphyx/graphics/Drawable.html#fillCircle%28sims.geometry.Vector2D%2CDouble%29" target="_self">fillCircle</a>, <a href="../../graphyx/graphics/Drawable.html#drawCircle%28sims.geometry.Vector2D%2CDouble%29" target="_self">drawCircle</a>, <a href="../../graphyx/graphics/Drawable.html#drawPoint%28sims.geometry.Vector2D%29" target="_self">drawPoint</a>, <a href="../../graphyx/graphics/Drawable.html#drawVector%28sims.geometry.Vector2D%2Csims.geometry.Vector2D%29" target="_self">drawVector</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#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="real"></a><dl> + <dt> + + <code>abstract</code> + <code>val</code> + <em>real</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Pointer to real object.</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="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> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../graphyx/graphics/Drawable.html" target="_self">Drawable</a>.<a href="../../graphyx/graphics/Drawable.html#draw%28%29" target="_self">draw</a> + </dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/graphics/GraphicalPair$object.html b/doc/graphyx/graphics/GraphicalPair$object.html new file mode 100644 index 0000000..7b37b60 --- /dev/null +++ b/doc/graphyx/graphics/GraphicalPair$object.html @@ -0,0 +1,82 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object GraphicalPair 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">object GraphicalPair</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/graphics/GraphicalPair"><code>graphyx/graphics/GraphicalPair.scala</code></a>] + </div><hr></hr> + <a name="GraphicalPair"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>GraphicalPair</em> + </dt> + <dd><code> extends </code>(<a href="../../sims/collision/Pair.html" target="_self">Pair</a>) => <a href="../../graphyx/graphics/GraphicalPair.html" target="_self">GraphicalPair</a></dd> + </dl> + + + +<table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/Function1">scala.Function1</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#toString" target="contentFrame" class="scala/Function1">scala.Function1.toString</a>, <a href="#compose" target="contentFrame" class="scala/Function1">scala.Function1.compose</a>, <a href="#andThen" target="contentFrame" class="scala/Function1">scala.Function1.andThen</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + + + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/graphics/GraphicalPair.html b/doc/graphyx/graphics/GraphicalPair.html new file mode 100644 index 0000000..27ad098 --- /dev/null +++ b/doc/graphyx/graphics/GraphicalPair.html @@ -0,0 +1,363 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class GraphicalPair 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">class GraphicalPair</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/graphics/GraphicalPair"><code>graphyx/graphics/GraphicalPair.scala</code></a>] + </div><hr></hr> + <a name="GraphicalPair"></a><dl> + <dt> + + <code>case</code> + <code>class</code> + <em>GraphicalPair</em>(<code>val </code><em>real</em> : <a href="../../sims/collision/Pair.html" target="_self">Pair</a>) + </dt> + <dd><code> extends </code><a href="../../graphyx/graphics/GraphicalObject.html" target="_self">GraphicalObject</a><code> with </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a></dd> + </dl> + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalPair.html#pos1" target="_self">pos1</a></em> + : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalPair.html#pos2" target="_self">pos2</a></em> + : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="../../graphyx/graphics/Drawable.html" target="_self">Drawable</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../graphyx/graphics/Drawable.html#g" target="_self">g</a>, <a href="../../graphyx/graphics/Drawable.html#ppm" target="_self">ppm</a>, <a href="../../graphyx/graphics/Drawable.html#scale" target="_self">scale</a>, <a href="../../graphyx/graphics/Drawable.html#windowHeight" target="_self">windowHeight</a> + </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/GraphicalPair.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>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalPair.html#equals%28Any%29" target="_self">equals</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalPair.html#hashCode%28%29" target="_self">hashCode</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + <div>Returns a hash code value for the object.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalPair.html#productArity" target="_self">productArity</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalPair.html#productElement%28Int%29" target="_self">productElement</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalPair.html#productPrefix" target="_self">productPrefix</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalPair.html#toString%28%29" target="_self">toString</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + <div>Returns a string representation of the object.</div> + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="../../graphyx/graphics/Drawable.html" target="_self">Drawable</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../graphyx/graphics/Drawable.html#correctY%28Double%29" target="_self">correctY</a>, <a href="../../graphyx/graphics/Drawable.html#drawLine%28sims.geometry.Vector2D%2Csims.geometry.Vector2D%29" target="_self">drawLine</a>, <a href="../../graphyx/graphics/Drawable.html#fillPolygon%28Seq%5Bsims.geometry.Vector2D%5D%29" target="_self">fillPolygon</a>, <a href="../../graphyx/graphics/Drawable.html#drawPolygon%28Seq%5Bsims.geometry.Vector2D%5D%29" target="_self">drawPolygon</a>, <a href="../../graphyx/graphics/Drawable.html#fillCircle%28sims.geometry.Vector2D%2CDouble%29" target="_self">fillCircle</a>, <a href="../../graphyx/graphics/Drawable.html#drawCircle%28sims.geometry.Vector2D%2CDouble%29" target="_self">drawCircle</a>, <a href="../../graphyx/graphics/Drawable.html#drawPoint%28sims.geometry.Vector2D%29" target="_self">drawPoint</a>, <a href="../../graphyx/graphics/Drawable.html#drawVector%28sims.geometry.Vector2D%2Csims.geometry.Vector2D%29" target="_self">drawVector</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Value Details</td></tr> + </table><div><a name="pos1"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>pos1</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="pos2"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>pos2</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl><hr></hr></div> +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="draw%28%29"></a><dl> + <dt> + + <code></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> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../graphyx/graphics/GraphicalObject.html" target="_self">GraphicalObject</a>.<a href="../../graphyx/graphics/GraphicalObject.html#draw%28%29" target="_self">draw</a> + </dd> + </dl><hr></hr> +<a name="hashCode%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>hashCode</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a hash code value for the object.
+ <p>
+ The default hashing algorithm is platform dependent.
+ Note that it is allowed for two objects to have identical hash
+ codes (<code>o1.hashCode.equals(o2.hashCode)</code>) yet not be
+ equal (<code>o1.equals(o2)</code> returns <code>false</code>). A
+ degenerate implementation could always return <code>0</code>.
+ However, it is required that if two objects are equal
+ (<code>o1.equals(o2)</code> returns <code>true</code>) that they
+ have identical hash codes
+ (<code>o1.hashCode.equals(o2.hashCode)</code>). Therefore, when
+ overriding this method, be sure to verify that the behavior is
+ consistent with the <code>equals</code> method.
+ </p>
+ <p></dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>the hash code value for the object. </p></dd></dl> + <hr></hr> +<a name="toString%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>toString</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a string representation of the object.
+ <p>
+ The default representation is platform dependent.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>a string representation of the object. </p></dd></dl> + <hr></hr> +<a name="equals%28Any%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>equals</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.
+
+ <p>
+ The default implementations of this method is an <a
+ href="http://en.wikipedia.org/wiki/Equivalence_relation">equivalence
+ relation</a>:
+ <ul>
+ <li>It is reflexive: for any instance <code>x</code> of type <code>Any</code>,
+ <code>x.equals(x)</code> should return <code>true</code>.</li>
+ <li>It is symmetric: for any instances <code>x</code> and <code>y</code> of type
+ <code>Any</code>, <code>x.equals(y)</code> should return <code>true</code> if and only
+ if <code>y.equals(x)</code> returns <code>true</code>.</li>
+ <li>It is transitive: for any instances
+ <code>x</code>, <code>y</code>, and <code>z</code> of type <code>AnyRef</code>
+ if <code>x.equals(y)</code> returns <code>true</code> and
+ <code>y.equals(z)</code> returns
+ <code>true</code>, then <code>x.equals(z)</code> should return <code>true</code>.</li>
+ </ul>
+ </p>
+ <p>
+ If you override this method, you should verify that
+ your implementation remains an equivalence relation.
+ Additionally, when overriding this method it is often necessary to
+ override <code>hashCode</code> to ensure that objects that are
+ "equal" (<code>o1.equals(o2)</code> returns <code>true</code>)
+ hash to the same <a href="Int.html"><code>Int</code></a>
+ (<code>o1.hashCode.equals(o2.hashCode)</code>).</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>arg0 - </code>the object to compare against this object for equality.</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise. </p></dd></dl> + <hr></hr> +<a name="productPrefix"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productPrefix</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productPrefix" target="contentFrame" class="scala/Product">scala.Product.productPrefix</a> + </dd> + </dl><hr></hr> +<a name="productArity"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productArity</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productArity" target="contentFrame" class="scala/Product">scala.Product.productArity</a> + </dd> + </dl><hr></hr> +<a name="productElement%28Int%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productElement</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productElement" target="contentFrame" class="scala/Product">scala.Product.productElement</a> + </dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/graphics/GraphicalRectangle$object.html b/doc/graphyx/graphics/GraphicalRectangle$object.html new file mode 100644 index 0000000..cb18cac --- /dev/null +++ b/doc/graphyx/graphics/GraphicalRectangle$object.html @@ -0,0 +1,82 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object GraphicalRectangle 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">object GraphicalRectangle</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/graphics/GraphicalRectangle"><code>graphyx/graphics/GraphicalRectangle.scala</code></a>] + </div><hr></hr> + <a name="GraphicalRectangle"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>GraphicalRectangle</em> + </dt> + <dd><code> extends </code>(<a href="../../sims/dynamics/Rectangle.html" target="_self">Rectangle</a>) => <a href="../../graphyx/graphics/GraphicalRectangle.html" target="_self">GraphicalRectangle</a></dd> + </dl> + + + +<table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/Function1">scala.Function1</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#toString" target="contentFrame" class="scala/Function1">scala.Function1.toString</a>, <a href="#compose" target="contentFrame" class="scala/Function1">scala.Function1.compose</a>, <a href="#andThen" target="contentFrame" class="scala/Function1">scala.Function1.andThen</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + + + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/graphics/GraphicalRectangle.html b/doc/graphyx/graphics/GraphicalRectangle.html new file mode 100644 index 0000000..264601b --- /dev/null +++ b/doc/graphyx/graphics/GraphicalRectangle.html @@ -0,0 +1,376 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class GraphicalRectangle 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">class GraphicalRectangle</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/graphics/GraphicalRectangle"><code>graphyx/graphics/GraphicalRectangle.scala</code></a>] + </div><hr></hr> + <a name="GraphicalRectangle"></a><dl> + <dt> + + <code>case</code> + <code>class</code> + <em>GraphicalRectangle</em>(<code>val </code><em>real</em> : <a href="../../sims/dynamics/Rectangle.html" target="_self">Rectangle</a>) + </dt> + <dd><code> extends </code><a href="../../sims/dynamics/Rectangle.html" target="_self">Rectangle</a><code> with </code><a href="../../graphyx/graphics/GraphicalShape.html" target="_self">GraphicalShape</a></dd> + </dl> + + +<table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="../../graphyx/graphics/GraphicalShape.html" target="_self">GraphicalShape</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../graphyx/graphics/GraphicalShape.html#uid" target="_self">uid</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="../../graphyx/graphics/Drawable.html" target="_self">Drawable</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../graphyx/graphics/Drawable.html#g" target="_self">g</a>, <a href="../../graphyx/graphics/Drawable.html#ppm" target="_self">ppm</a>, <a href="../../graphyx/graphics/Drawable.html#scale" target="_self">scale</a>, <a href="../../graphyx/graphics/Drawable.html#windowHeight" target="_self">windowHeight</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="../../sims/dynamics/Rectangle.html" target="_self">Rectangle</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../sims/dynamics/Rectangle.html#halfWidth" target="_self">halfWidth</a>, <a href="../../sims/dynamics/Rectangle.html#halfHeight" target="_self">halfHeight</a>, <a href="../../sims/dynamics/Rectangle.html#density" target="_self">density</a>, <a href="../../sims/dynamics/Rectangle.html#volume" target="_self">volume</a>, <a href="../../sims/dynamics/Rectangle.html#I" target="_self">I</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../sims/dynamics/Shape.html#collidable" target="_self">collidable</a>, <a href="../../sims/dynamics/Shape.html#restitution" target="_self">restitution</a>, <a href="../../sims/dynamics/Shape.html#friction" target="_self">friction</a>, <a href="../../sims/dynamics/Shape.html#pos" target="_self">pos</a>, <a href="../../sims/dynamics/Shape.html#rotation" target="_self">rotation</a>, <a href="../../sims/dynamics/Shape.html#rotation0" target="_self">rotation0</a>, <a href="../../sims/dynamics/Shape.html#refLocalPos" target="_self">refLocalPos</a>, <a href="../../sims/dynamics/Shape.html#body" target="_self">body</a>, <a href="../../sims/dynamics/Shape.html#transientShapes" target="_self">transientShapes</a> + </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>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalRectangle.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>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalRectangle.html#equals%28Any%29" target="_self">equals</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalRectangle.html#hashCode%28%29" target="_self">hashCode</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + <div>Returns a hash code value for the object.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalRectangle.html#productArity" target="_self">productArity</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalRectangle.html#productElement%28Int%29" target="_self">productElement</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalRectangle.html#productPrefix" target="_self">productPrefix</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalRectangle.html#toString%28%29" target="_self">toString</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + <div>Returns a string representation of the object.</div> + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="../../graphyx/graphics/Drawable.html" target="_self">Drawable</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../graphyx/graphics/Drawable.html#correctY%28Double%29" target="_self">correctY</a>, <a href="../../graphyx/graphics/Drawable.html#drawLine%28sims.geometry.Vector2D%2Csims.geometry.Vector2D%29" target="_self">drawLine</a>, <a href="../../graphyx/graphics/Drawable.html#fillPolygon%28Seq%5Bsims.geometry.Vector2D%5D%29" target="_self">fillPolygon</a>, <a href="../../graphyx/graphics/Drawable.html#drawPolygon%28Seq%5Bsims.geometry.Vector2D%5D%29" target="_self">drawPolygon</a>, <a href="../../graphyx/graphics/Drawable.html#fillCircle%28sims.geometry.Vector2D%2CDouble%29" target="_self">fillCircle</a>, <a href="../../graphyx/graphics/Drawable.html#drawCircle%28sims.geometry.Vector2D%2CDouble%29" target="_self">drawCircle</a>, <a href="../../graphyx/graphics/Drawable.html#drawPoint%28sims.geometry.Vector2D%29" target="_self">drawPoint</a>, <a href="../../graphyx/graphics/Drawable.html#drawVector%28sims.geometry.Vector2D%2Csims.geometry.Vector2D%29" target="_self">drawVector</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="../../sims/dynamics/Rectangle.html" target="_self">Rectangle</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../sims/dynamics/Rectangle.html#halfDiags" target="_self">halfDiags</a>, <a href="../../sims/dynamics/Rectangle.html#vertices" target="_self">vertices</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="../../sims/geometry/ConvexPolygon.html" target="_self">ConvexPolygon</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../sims/geometry/ConvexPolygon.html#sides" target="_self">sides</a>, <a href="../../sims/geometry/ConvexPolygon.html#project%28sims.geometry.Vector2D%29" target="_self">project</a>, <a href="../../sims/geometry/ConvexPolygon.html#AABB" target="_self">AABB</a>, <a href="../../sims/geometry/ConvexPolygon.html#contains%28sims.geometry.Vector2D%29" target="_self">contains</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../sims/dynamics/Shape.html#mass" target="_self">mass</a>, <a href="../../sims/dynamics/Shape.html#asBody" target="_self">asBody</a>, <a href="../../sims/dynamics/Shape.html#%5E%28sims.dynamics.Shape%29" target="_self">^</a>, <a href="../../sims/dynamics/Shape.html#%5E%28sims.dynamics.Body%29" target="_self">^</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="draw%28%29"></a><dl> + <dt> + + <code>override</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> +<a name="hashCode%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>hashCode</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a hash code value for the object.
+ <p>
+ The default hashing algorithm is platform dependent.
+ Note that it is allowed for two objects to have identical hash
+ codes (<code>o1.hashCode.equals(o2.hashCode)</code>) yet not be
+ equal (<code>o1.equals(o2)</code> returns <code>false</code>). A
+ degenerate implementation could always return <code>0</code>.
+ However, it is required that if two objects are equal
+ (<code>o1.equals(o2)</code> returns <code>true</code>) that they
+ have identical hash codes
+ (<code>o1.hashCode.equals(o2.hashCode)</code>). Therefore, when
+ overriding this method, be sure to verify that the behavior is
+ consistent with the <code>equals</code> method.
+ </p>
+ <p></dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>the hash code value for the object. </p></dd></dl> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/dynamics/Rectangle.html" target="_self">Rectangle</a>.<a href="../../sims/dynamics/Rectangle.html#hashCode%28%29" target="_self">hashCode</a> + </dd> + </dl><hr></hr> +<a name="toString%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>toString</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a string representation of the object.
+ <p>
+ The default representation is platform dependent.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>a string representation of the object. </p></dd></dl> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/dynamics/Rectangle.html" target="_self">Rectangle</a>.<a href="../../sims/dynamics/Rectangle.html#toString%28%29" target="_self">toString</a> + </dd> + </dl><hr></hr> +<a name="equals%28Any%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>equals</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.
+
+ <p>
+ The default implementations of this method is an <a
+ href="http://en.wikipedia.org/wiki/Equivalence_relation">equivalence
+ relation</a>:
+ <ul>
+ <li>It is reflexive: for any instance <code>x</code> of type <code>Any</code>,
+ <code>x.equals(x)</code> should return <code>true</code>.</li>
+ <li>It is symmetric: for any instances <code>x</code> and <code>y</code> of type
+ <code>Any</code>, <code>x.equals(y)</code> should return <code>true</code> if and only
+ if <code>y.equals(x)</code> returns <code>true</code>.</li>
+ <li>It is transitive: for any instances
+ <code>x</code>, <code>y</code>, and <code>z</code> of type <code>AnyRef</code>
+ if <code>x.equals(y)</code> returns <code>true</code> and
+ <code>y.equals(z)</code> returns
+ <code>true</code>, then <code>x.equals(z)</code> should return <code>true</code>.</li>
+ </ul>
+ </p>
+ <p>
+ If you override this method, you should verify that
+ your implementation remains an equivalence relation.
+ Additionally, when overriding this method it is often necessary to
+ override <code>hashCode</code> to ensure that objects that are
+ "equal" (<code>o1.equals(o2)</code> returns <code>true</code>)
+ hash to the same <a href="Int.html"><code>Int</code></a>
+ (<code>o1.hashCode.equals(o2.hashCode)</code>).</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>arg0 - </code>the object to compare against this object for equality.</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise. </p></dd></dl> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/dynamics/Rectangle.html" target="_self">Rectangle</a>.<a href="../../sims/dynamics/Rectangle.html#equals%28Any%29" target="_self">equals</a> + </dd> + </dl><hr></hr> +<a name="productPrefix"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productPrefix</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/dynamics/Rectangle.html" target="_self">Rectangle</a>.<a href="../../sims/dynamics/Rectangle.html#productPrefix" target="_self">productPrefix</a> + </dd> + </dl><hr></hr> +<a name="productArity"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productArity</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/dynamics/Rectangle.html" target="_self">Rectangle</a>.<a href="../../sims/dynamics/Rectangle.html#productArity" target="_self">productArity</a> + </dd> + </dl><hr></hr> +<a name="productElement%28Int%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productElement</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/dynamics/Rectangle.html" target="_self">Rectangle</a>.<a href="../../sims/dynamics/Rectangle.html#productElement%28Int%29" target="_self">productElement</a> + </dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/graphics/GraphicalRegularPolygon$object.html b/doc/graphyx/graphics/GraphicalRegularPolygon$object.html new file mode 100644 index 0000000..65d69bc --- /dev/null +++ b/doc/graphyx/graphics/GraphicalRegularPolygon$object.html @@ -0,0 +1,82 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object GraphicalRegularPolygon 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">object GraphicalRegularPolygon</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/graphics/GraphicalRegularPolygon"><code>graphyx/graphics/GraphicalRegularPolygon.scala</code></a>] + </div><hr></hr> + <a name="GraphicalRegularPolygon"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>GraphicalRegularPolygon</em> + </dt> + <dd><code> extends </code>(<a href="../../sims/dynamics/RegularPolygon.html" target="_self">RegularPolygon</a>) => <a href="../../graphyx/graphics/GraphicalRegularPolygon.html" target="_self">GraphicalRegularPolygon</a></dd> + </dl> + + + +<table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/Function1">scala.Function1</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#toString" target="contentFrame" class="scala/Function1">scala.Function1.toString</a>, <a href="#compose" target="contentFrame" class="scala/Function1">scala.Function1.compose</a>, <a href="#andThen" target="contentFrame" class="scala/Function1">scala.Function1.andThen</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + + + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/graphics/GraphicalRegularPolygon.html b/doc/graphyx/graphics/GraphicalRegularPolygon.html new file mode 100644 index 0000000..a86cedf --- /dev/null +++ b/doc/graphyx/graphics/GraphicalRegularPolygon.html @@ -0,0 +1,376 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class GraphicalRegularPolygon 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">class GraphicalRegularPolygon</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/graphics/GraphicalRegularPolygon"><code>graphyx/graphics/GraphicalRegularPolygon.scala</code></a>] + </div><hr></hr> + <a name="GraphicalRegularPolygon"></a><dl> + <dt> + + <code>case</code> + <code>class</code> + <em>GraphicalRegularPolygon</em>(<code>val </code><em>real</em> : <a href="../../sims/dynamics/RegularPolygon.html" target="_self">RegularPolygon</a>) + </dt> + <dd><code> extends </code><a href="../../sims/dynamics/RegularPolygon.html" target="_self">RegularPolygon</a><code> with </code><a href="../../graphyx/graphics/GraphicalShape.html" target="_self">GraphicalShape</a></dd> + </dl> + + +<table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="../../graphyx/graphics/GraphicalShape.html" target="_self">GraphicalShape</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../graphyx/graphics/GraphicalShape.html#uid" target="_self">uid</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="../../graphyx/graphics/Drawable.html" target="_self">Drawable</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../graphyx/graphics/Drawable.html#g" target="_self">g</a>, <a href="../../graphyx/graphics/Drawable.html#ppm" target="_self">ppm</a>, <a href="../../graphyx/graphics/Drawable.html#scale" target="_self">scale</a>, <a href="../../graphyx/graphics/Drawable.html#windowHeight" target="_self">windowHeight</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="../../sims/dynamics/RegularPolygon.html" target="_self">RegularPolygon</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../sims/dynamics/RegularPolygon.html#n" target="_self">n</a>, <a href="../../sims/dynamics/RegularPolygon.html#radius" target="_self">radius</a>, <a href="../../sims/dynamics/RegularPolygon.html#density" target="_self">density</a>, <a href="../../sims/dynamics/RegularPolygon.html#volume" target="_self">volume</a>, <a href="../../sims/dynamics/RegularPolygon.html#I" target="_self">I</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../sims/dynamics/Shape.html#collidable" target="_self">collidable</a>, <a href="../../sims/dynamics/Shape.html#restitution" target="_self">restitution</a>, <a href="../../sims/dynamics/Shape.html#friction" target="_self">friction</a>, <a href="../../sims/dynamics/Shape.html#pos" target="_self">pos</a>, <a href="../../sims/dynamics/Shape.html#rotation" target="_self">rotation</a>, <a href="../../sims/dynamics/Shape.html#rotation0" target="_self">rotation0</a>, <a href="../../sims/dynamics/Shape.html#refLocalPos" target="_self">refLocalPos</a>, <a href="../../sims/dynamics/Shape.html#body" target="_self">body</a>, <a href="../../sims/dynamics/Shape.html#transientShapes" target="_self">transientShapes</a> + </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>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalRegularPolygon.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>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalRegularPolygon.html#equals%28Any%29" target="_self">equals</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalRegularPolygon.html#hashCode%28%29" target="_self">hashCode</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + <div>Returns a hash code value for the object.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalRegularPolygon.html#productArity" target="_self">productArity</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalRegularPolygon.html#productElement%28Int%29" target="_self">productElement</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalRegularPolygon.html#productPrefix" target="_self">productPrefix</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalRegularPolygon.html#toString%28%29" target="_self">toString</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + <div>Returns a string representation of the object.</div> + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="../../graphyx/graphics/Drawable.html" target="_self">Drawable</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../graphyx/graphics/Drawable.html#correctY%28Double%29" target="_self">correctY</a>, <a href="../../graphyx/graphics/Drawable.html#drawLine%28sims.geometry.Vector2D%2Csims.geometry.Vector2D%29" target="_self">drawLine</a>, <a href="../../graphyx/graphics/Drawable.html#fillPolygon%28Seq%5Bsims.geometry.Vector2D%5D%29" target="_self">fillPolygon</a>, <a href="../../graphyx/graphics/Drawable.html#drawPolygon%28Seq%5Bsims.geometry.Vector2D%5D%29" target="_self">drawPolygon</a>, <a href="../../graphyx/graphics/Drawable.html#fillCircle%28sims.geometry.Vector2D%2CDouble%29" target="_self">fillCircle</a>, <a href="../../graphyx/graphics/Drawable.html#drawCircle%28sims.geometry.Vector2D%2CDouble%29" target="_self">drawCircle</a>, <a href="../../graphyx/graphics/Drawable.html#drawPoint%28sims.geometry.Vector2D%29" target="_self">drawPoint</a>, <a href="../../graphyx/graphics/Drawable.html#drawVector%28sims.geometry.Vector2D%2Csims.geometry.Vector2D%29" target="_self">drawVector</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="../../sims/dynamics/RegularPolygon.html" target="_self">RegularPolygon</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../sims/dynamics/RegularPolygon.html#halfDiags" target="_self">halfDiags</a>, <a href="../../sims/dynamics/RegularPolygon.html#vertices" target="_self">vertices</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="../../sims/geometry/ConvexPolygon.html" target="_self">ConvexPolygon</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../sims/geometry/ConvexPolygon.html#sides" target="_self">sides</a>, <a href="../../sims/geometry/ConvexPolygon.html#project%28sims.geometry.Vector2D%29" target="_self">project</a>, <a href="../../sims/geometry/ConvexPolygon.html#AABB" target="_self">AABB</a>, <a href="../../sims/geometry/ConvexPolygon.html#contains%28sims.geometry.Vector2D%29" target="_self">contains</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../sims/dynamics/Shape.html#mass" target="_self">mass</a>, <a href="../../sims/dynamics/Shape.html#asBody" target="_self">asBody</a>, <a href="../../sims/dynamics/Shape.html#%5E%28sims.dynamics.Shape%29" target="_self">^</a>, <a href="../../sims/dynamics/Shape.html#%5E%28sims.dynamics.Body%29" target="_self">^</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="draw%28%29"></a><dl> + <dt> + + <code>override</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> +<a name="hashCode%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>hashCode</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a hash code value for the object.
+ <p>
+ The default hashing algorithm is platform dependent.
+ Note that it is allowed for two objects to have identical hash
+ codes (<code>o1.hashCode.equals(o2.hashCode)</code>) yet not be
+ equal (<code>o1.equals(o2)</code> returns <code>false</code>). A
+ degenerate implementation could always return <code>0</code>.
+ However, it is required that if two objects are equal
+ (<code>o1.equals(o2)</code> returns <code>true</code>) that they
+ have identical hash codes
+ (<code>o1.hashCode.equals(o2.hashCode)</code>). Therefore, when
+ overriding this method, be sure to verify that the behavior is
+ consistent with the <code>equals</code> method.
+ </p>
+ <p></dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>the hash code value for the object. </p></dd></dl> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/dynamics/RegularPolygon.html" target="_self">RegularPolygon</a>.<a href="../../sims/dynamics/RegularPolygon.html#hashCode%28%29" target="_self">hashCode</a> + </dd> + </dl><hr></hr> +<a name="toString%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>toString</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a string representation of the object.
+ <p>
+ The default representation is platform dependent.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>a string representation of the object. </p></dd></dl> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/dynamics/RegularPolygon.html" target="_self">RegularPolygon</a>.<a href="../../sims/dynamics/RegularPolygon.html#toString%28%29" target="_self">toString</a> + </dd> + </dl><hr></hr> +<a name="equals%28Any%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>equals</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.
+
+ <p>
+ The default implementations of this method is an <a
+ href="http://en.wikipedia.org/wiki/Equivalence_relation">equivalence
+ relation</a>:
+ <ul>
+ <li>It is reflexive: for any instance <code>x</code> of type <code>Any</code>,
+ <code>x.equals(x)</code> should return <code>true</code>.</li>
+ <li>It is symmetric: for any instances <code>x</code> and <code>y</code> of type
+ <code>Any</code>, <code>x.equals(y)</code> should return <code>true</code> if and only
+ if <code>y.equals(x)</code> returns <code>true</code>.</li>
+ <li>It is transitive: for any instances
+ <code>x</code>, <code>y</code>, and <code>z</code> of type <code>AnyRef</code>
+ if <code>x.equals(y)</code> returns <code>true</code> and
+ <code>y.equals(z)</code> returns
+ <code>true</code>, then <code>x.equals(z)</code> should return <code>true</code>.</li>
+ </ul>
+ </p>
+ <p>
+ If you override this method, you should verify that
+ your implementation remains an equivalence relation.
+ Additionally, when overriding this method it is often necessary to
+ override <code>hashCode</code> to ensure that objects that are
+ "equal" (<code>o1.equals(o2)</code> returns <code>true</code>)
+ hash to the same <a href="Int.html"><code>Int</code></a>
+ (<code>o1.hashCode.equals(o2.hashCode)</code>).</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>arg0 - </code>the object to compare against this object for equality.</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise. </p></dd></dl> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/dynamics/RegularPolygon.html" target="_self">RegularPolygon</a>.<a href="../../sims/dynamics/RegularPolygon.html#equals%28Any%29" target="_self">equals</a> + </dd> + </dl><hr></hr> +<a name="productPrefix"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productPrefix</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/dynamics/RegularPolygon.html" target="_self">RegularPolygon</a>.<a href="../../sims/dynamics/RegularPolygon.html#productPrefix" target="_self">productPrefix</a> + </dd> + </dl><hr></hr> +<a name="productArity"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productArity</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/dynamics/RegularPolygon.html" target="_self">RegularPolygon</a>.<a href="../../sims/dynamics/RegularPolygon.html#productArity" target="_self">productArity</a> + </dd> + </dl><hr></hr> +<a name="productElement%28Int%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productElement</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/dynamics/RegularPolygon.html" target="_self">RegularPolygon</a>.<a href="../../sims/dynamics/RegularPolygon.html#productElement%28Int%29" target="_self">productElement</a> + </dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/graphics/GraphicalRevoluteJoint$object.html b/doc/graphyx/graphics/GraphicalRevoluteJoint$object.html new file mode 100644 index 0000000..ad110a2 --- /dev/null +++ b/doc/graphyx/graphics/GraphicalRevoluteJoint$object.html @@ -0,0 +1,82 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object GraphicalRevoluteJoint 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">object GraphicalRevoluteJoint</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/graphics/GraphicalRevoluteJoint"><code>graphyx/graphics/GraphicalRevoluteJoint.scala</code></a>] + </div><hr></hr> + <a name="GraphicalRevoluteJoint"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>GraphicalRevoluteJoint</em> + </dt> + <dd><code> extends </code>(<a href="../../sims/dynamics/joints/RevoluteJoint.html" target="_self">RevoluteJoint</a>) => <a href="../../graphyx/graphics/GraphicalRevoluteJoint.html" target="_self">GraphicalRevoluteJoint</a></dd> + </dl> + + + +<table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/Function1">scala.Function1</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#toString" target="contentFrame" class="scala/Function1">scala.Function1.toString</a>, <a href="#compose" target="contentFrame" class="scala/Function1">scala.Function1.compose</a>, <a href="#andThen" target="contentFrame" class="scala/Function1">scala.Function1.andThen</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + + + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/graphics/GraphicalRevoluteJoint.html b/doc/graphyx/graphics/GraphicalRevoluteJoint.html new file mode 100644 index 0000000..3d0ab61 --- /dev/null +++ b/doc/graphyx/graphics/GraphicalRevoluteJoint.html @@ -0,0 +1,336 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class GraphicalRevoluteJoint 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">class GraphicalRevoluteJoint</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/graphics/GraphicalRevoluteJoint"><code>graphyx/graphics/GraphicalRevoluteJoint.scala</code></a>] + </div><hr></hr> + <a name="GraphicalRevoluteJoint"></a><dl> + <dt> + + <code>case</code> + <code>class</code> + <em>GraphicalRevoluteJoint</em>(<code>val </code><em>real</em> : <a href="../../sims/dynamics/joints/RevoluteJoint.html" target="_self">RevoluteJoint</a>) + </dt> + <dd><code> extends </code><a href="../../graphyx/graphics/GraphicalJoint.html" target="_self">GraphicalJoint</a><code> with </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a></dd> + </dl> + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalRevoluteJoint.html#connection1" target="_self">connection1</a></em> + : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="../../graphyx/graphics/Drawable.html" target="_self">Drawable</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../graphyx/graphics/Drawable.html#g" target="_self">g</a>, <a href="../../graphyx/graphics/Drawable.html#ppm" target="_self">ppm</a>, <a href="../../graphyx/graphics/Drawable.html#scale" target="_self">scale</a>, <a href="../../graphyx/graphics/Drawable.html#windowHeight" target="_self">windowHeight</a> + </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/GraphicalRevoluteJoint.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>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalRevoluteJoint.html#equals%28Any%29" target="_self">equals</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalRevoluteJoint.html#hashCode%28%29" target="_self">hashCode</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + <div>Returns a hash code value for the object.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalRevoluteJoint.html#productArity" target="_self">productArity</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalRevoluteJoint.html#productElement%28Int%29" target="_self">productElement</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalRevoluteJoint.html#productPrefix" target="_self">productPrefix</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalRevoluteJoint.html#toString%28%29" target="_self">toString</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + <div>Returns a string representation of the object.</div> + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="../../graphyx/graphics/Drawable.html" target="_self">Drawable</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../graphyx/graphics/Drawable.html#correctY%28Double%29" target="_self">correctY</a>, <a href="../../graphyx/graphics/Drawable.html#drawLine%28sims.geometry.Vector2D%2Csims.geometry.Vector2D%29" target="_self">drawLine</a>, <a href="../../graphyx/graphics/Drawable.html#fillPolygon%28Seq%5Bsims.geometry.Vector2D%5D%29" target="_self">fillPolygon</a>, <a href="../../graphyx/graphics/Drawable.html#drawPolygon%28Seq%5Bsims.geometry.Vector2D%5D%29" target="_self">drawPolygon</a>, <a href="../../graphyx/graphics/Drawable.html#fillCircle%28sims.geometry.Vector2D%2CDouble%29" target="_self">fillCircle</a>, <a href="../../graphyx/graphics/Drawable.html#drawCircle%28sims.geometry.Vector2D%2CDouble%29" target="_self">drawCircle</a>, <a href="../../graphyx/graphics/Drawable.html#drawPoint%28sims.geometry.Vector2D%29" target="_self">drawPoint</a>, <a href="../../graphyx/graphics/Drawable.html#drawVector%28sims.geometry.Vector2D%2Csims.geometry.Vector2D%29" target="_self">drawVector</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Value Details</td></tr> + </table><div><a name="connection1"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>connection1</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl><hr></hr></div> +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="draw%28%29"></a><dl> + <dt> + + <code></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> +<a name="hashCode%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>hashCode</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a hash code value for the object.
+ <p>
+ The default hashing algorithm is platform dependent.
+ Note that it is allowed for two objects to have identical hash
+ codes (<code>o1.hashCode.equals(o2.hashCode)</code>) yet not be
+ equal (<code>o1.equals(o2)</code> returns <code>false</code>). A
+ degenerate implementation could always return <code>0</code>.
+ However, it is required that if two objects are equal
+ (<code>o1.equals(o2)</code> returns <code>true</code>) that they
+ have identical hash codes
+ (<code>o1.hashCode.equals(o2.hashCode)</code>). Therefore, when
+ overriding this method, be sure to verify that the behavior is
+ consistent with the <code>equals</code> method.
+ </p>
+ <p></dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>the hash code value for the object. </p></dd></dl> + <hr></hr> +<a name="toString%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>toString</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a string representation of the object.
+ <p>
+ The default representation is platform dependent.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>a string representation of the object. </p></dd></dl> + <hr></hr> +<a name="equals%28Any%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>equals</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.
+
+ <p>
+ The default implementations of this method is an <a
+ href="http://en.wikipedia.org/wiki/Equivalence_relation">equivalence
+ relation</a>:
+ <ul>
+ <li>It is reflexive: for any instance <code>x</code> of type <code>Any</code>,
+ <code>x.equals(x)</code> should return <code>true</code>.</li>
+ <li>It is symmetric: for any instances <code>x</code> and <code>y</code> of type
+ <code>Any</code>, <code>x.equals(y)</code> should return <code>true</code> if and only
+ if <code>y.equals(x)</code> returns <code>true</code>.</li>
+ <li>It is transitive: for any instances
+ <code>x</code>, <code>y</code>, and <code>z</code> of type <code>AnyRef</code>
+ if <code>x.equals(y)</code> returns <code>true</code> and
+ <code>y.equals(z)</code> returns
+ <code>true</code>, then <code>x.equals(z)</code> should return <code>true</code>.</li>
+ </ul>
+ </p>
+ <p>
+ If you override this method, you should verify that
+ your implementation remains an equivalence relation.
+ Additionally, when overriding this method it is often necessary to
+ override <code>hashCode</code> to ensure that objects that are
+ "equal" (<code>o1.equals(o2)</code> returns <code>true</code>)
+ hash to the same <a href="Int.html"><code>Int</code></a>
+ (<code>o1.hashCode.equals(o2.hashCode)</code>).</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>arg0 - </code>the object to compare against this object for equality.</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise. </p></dd></dl> + <hr></hr> +<a name="productPrefix"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productPrefix</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productPrefix" target="contentFrame" class="scala/Product">scala.Product.productPrefix</a> + </dd> + </dl><hr></hr> +<a name="productArity"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productArity</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productArity" target="contentFrame" class="scala/Product">scala.Product.productArity</a> + </dd> + </dl><hr></hr> +<a name="productElement%28Int%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productElement</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productElement" target="contentFrame" class="scala/Product">scala.Product.productElement</a> + </dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/graphics/GraphicalShape.html b/doc/graphyx/graphics/GraphicalShape.html new file mode 100644 index 0000000..5f45529 --- /dev/null +++ b/doc/graphyx/graphics/GraphicalShape.html @@ -0,0 +1,176 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>trait GraphicalShape 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 GraphicalShape</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/graphics/GraphicalShape"><code>graphyx/graphics/GraphicalShape.scala</code></a>] + </div><hr></hr> + <a name="GraphicalShape"></a><dl> + <dt> + + <code></code> + <code>trait</code> + <em>GraphicalShape</em> + </dt> + <dd><code> extends </code><a href="../../sims/dynamics/Shape.html" target="_self">Shape</a><code> with </code><a href="../../graphyx/graphics/GraphicalObject.html" target="_self">GraphicalObject</a></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"><b>Direct Known Subclasses:</b></dt> + <dd><a href="../../graphyx/graphics/GraphicalCircle.html" target="_self">GraphicalCircle</a>, <a href="../../graphyx/graphics/GraphicalRectangle.html" target="_self">GraphicalRectangle</a>, <a href="../../graphyx/graphics/GraphicalRegularPolygon.html" target="_self">GraphicalRegularPolygon</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>abstract val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalShape.html#real" target="_self">real</a></em> + : <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a> + + <div>Pointer to real object.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalShape.html#uid" target="_self">uid</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + <div>Einzigartige Identifikationsnummer.</div> + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="../../graphyx/graphics/Drawable.html" target="_self">Drawable</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../graphyx/graphics/Drawable.html#g" target="_self">g</a>, <a href="../../graphyx/graphics/Drawable.html#ppm" target="_self">ppm</a>, <a href="../../graphyx/graphics/Drawable.html#scale" target="_self">scale</a>, <a href="../../graphyx/graphics/Drawable.html#windowHeight" target="_self">windowHeight</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../sims/dynamics/Shape.html#density" target="_self">density</a> (abstract), <a href="../../sims/dynamics/Shape.html#volume" target="_self">volume</a> (abstract), <a href="../../sims/dynamics/Shape.html#I" target="_self">I</a> (abstract), <a href="../../sims/dynamics/Shape.html#collidable" target="_self">collidable</a>, <a href="../../sims/dynamics/Shape.html#restitution" target="_self">restitution</a>, <a href="../../sims/dynamics/Shape.html#friction" target="_self">friction</a>, <a href="../../sims/dynamics/Shape.html#pos" target="_self">pos</a>, <a href="../../sims/dynamics/Shape.html#rotation" target="_self">rotation</a>, <a href="../../sims/dynamics/Shape.html#rotation0" target="_self">rotation0</a>, <a href="../../sims/dynamics/Shape.html#refLocalPos" target="_self">refLocalPos</a>, <a href="../../sims/dynamics/Shape.html#body" target="_self">body</a>, <a href="../../sims/dynamics/Shape.html#transientShapes" target="_self">transientShapes</a> + </td></tr> + </table> +<table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="../../graphyx/graphics/Drawable.html" target="_self">Drawable</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../graphyx/graphics/Drawable.html#correctY%28Double%29" target="_self">correctY</a>, <a href="../../graphyx/graphics/Drawable.html#drawLine%28sims.geometry.Vector2D%2Csims.geometry.Vector2D%29" target="_self">drawLine</a>, <a href="../../graphyx/graphics/Drawable.html#fillPolygon%28Seq%5Bsims.geometry.Vector2D%5D%29" target="_self">fillPolygon</a>, <a href="../../graphyx/graphics/Drawable.html#drawPolygon%28Seq%5Bsims.geometry.Vector2D%5D%29" target="_self">drawPolygon</a>, <a href="../../graphyx/graphics/Drawable.html#fillCircle%28sims.geometry.Vector2D%2CDouble%29" target="_self">fillCircle</a>, <a href="../../graphyx/graphics/Drawable.html#drawCircle%28sims.geometry.Vector2D%2CDouble%29" target="_self">drawCircle</a>, <a href="../../graphyx/graphics/Drawable.html#drawPoint%28sims.geometry.Vector2D%29" target="_self">drawPoint</a>, <a href="../../graphyx/graphics/Drawable.html#drawVector%28sims.geometry.Vector2D%2Csims.geometry.Vector2D%29" target="_self">drawVector</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../sims/dynamics/Shape.html#AABB" target="_self">AABB</a> (abstract), <a href="../../sims/dynamics/Shape.html#project%28sims.geometry.Vector2D%29" target="_self">project</a> (abstract), <a href="../../sims/dynamics/Shape.html#contains%28sims.geometry.Vector2D%29" target="_self">contains</a> (abstract), <a href="../../sims/dynamics/Shape.html#mass" target="_self">mass</a>, <a href="../../sims/dynamics/Shape.html#asBody" target="_self">asBody</a>, <a href="../../sims/dynamics/Shape.html#%5E%28sims.dynamics.Shape%29" target="_self">^</a>, <a href="../../sims/dynamics/Shape.html#%5E%28sims.dynamics.Body%29" target="_self">^</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#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="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="../../graphyx/graphics/GraphicalObject.html" target="_self">GraphicalObject</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../graphyx/graphics/GraphicalObject.html#draw%28%29" target="_self">draw</a> (abstract) + </td></tr> + </table> + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Value Details</td></tr> + </table><div><a name="real"></a><dl> + <dt> + + <code>abstract</code> + <code>val</code> + <em>real</em> : <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Pointer to real object.</dd></dl> + <dl></dl> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../graphyx/graphics/GraphicalObject.html" target="_self">GraphicalObject</a>.<a href="../../graphyx/graphics/GraphicalObject.html#real" target="_self">real</a> + </dd> + </dl><hr></hr> +<a name="uid"></a><dl> + <dt> + + <code>override</code> + <code>val</code> + <em>uid</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Einzigartige Identifikationsnummer.</dd></dl> + <dl></dl> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a>.<a href="../../sims/dynamics/Shape.html#uid" target="_self">uid</a> + </dd> + </dl><hr></hr></div> + + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/graphics/GraphicalSpringJoint$object.html b/doc/graphyx/graphics/GraphicalSpringJoint$object.html new file mode 100644 index 0000000..0c4853f --- /dev/null +++ b/doc/graphyx/graphics/GraphicalSpringJoint$object.html @@ -0,0 +1,82 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object GraphicalSpringJoint 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">object GraphicalSpringJoint</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/graphics/GraphicalSpringJoint"><code>graphyx/graphics/GraphicalSpringJoint.scala</code></a>] + </div><hr></hr> + <a name="GraphicalSpringJoint"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>GraphicalSpringJoint</em> + </dt> + <dd><code> extends </code>(<a href="../../sims/dynamics/joints/SpringJoint.html" target="_self">SpringJoint</a>) => <a href="../../graphyx/graphics/GraphicalSpringJoint.html" target="_self">GraphicalSpringJoint</a></dd> + </dl> + + + +<table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/Function1">scala.Function1</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#toString" target="contentFrame" class="scala/Function1">scala.Function1.toString</a>, <a href="#compose" target="contentFrame" class="scala/Function1">scala.Function1.compose</a>, <a href="#andThen" target="contentFrame" class="scala/Function1">scala.Function1.andThen</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + + + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/graphics/GraphicalSpringJoint.html b/doc/graphyx/graphics/GraphicalSpringJoint.html new file mode 100644 index 0000000..5cf80cf --- /dev/null +++ b/doc/graphyx/graphics/GraphicalSpringJoint.html @@ -0,0 +1,356 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class GraphicalSpringJoint 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">class GraphicalSpringJoint</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/graphics/GraphicalSpringJoint"><code>graphyx/graphics/GraphicalSpringJoint.scala</code></a>] + </div><hr></hr> + <a name="GraphicalSpringJoint"></a><dl> + <dt> + + <code>case</code> + <code>class</code> + <em>GraphicalSpringJoint</em>(<code>val </code><em>real</em> : <a href="../../sims/dynamics/joints/SpringJoint.html" target="_self">SpringJoint</a>) + </dt> + <dd><code> extends </code><a href="../../graphyx/graphics/GraphicalJoint.html" target="_self">GraphicalJoint</a><code> with </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a></dd> + </dl> + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalSpringJoint.html#connection1" target="_self">connection1</a></em> + : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalSpringJoint.html#connection2" target="_self">connection2</a></em> + : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="../../graphyx/graphics/Drawable.html" target="_self">Drawable</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../graphyx/graphics/Drawable.html#g" target="_self">g</a>, <a href="../../graphyx/graphics/Drawable.html#ppm" target="_self">ppm</a>, <a href="../../graphyx/graphics/Drawable.html#scale" target="_self">scale</a>, <a href="../../graphyx/graphics/Drawable.html#windowHeight" target="_self">windowHeight</a> + </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/GraphicalSpringJoint.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>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalSpringJoint.html#equals%28Any%29" target="_self">equals</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalSpringJoint.html#hashCode%28%29" target="_self">hashCode</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + <div>Returns a hash code value for the object.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalSpringJoint.html#productArity" target="_self">productArity</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalSpringJoint.html#productElement%28Int%29" target="_self">productElement</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalSpringJoint.html#productPrefix" target="_self">productPrefix</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalSpringJoint.html#toString%28%29" target="_self">toString</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + <div>Returns a string representation of the object.</div> + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="../../graphyx/graphics/Drawable.html" target="_self">Drawable</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../graphyx/graphics/Drawable.html#correctY%28Double%29" target="_self">correctY</a>, <a href="../../graphyx/graphics/Drawable.html#drawLine%28sims.geometry.Vector2D%2Csims.geometry.Vector2D%29" target="_self">drawLine</a>, <a href="../../graphyx/graphics/Drawable.html#fillPolygon%28Seq%5Bsims.geometry.Vector2D%5D%29" target="_self">fillPolygon</a>, <a href="../../graphyx/graphics/Drawable.html#drawPolygon%28Seq%5Bsims.geometry.Vector2D%5D%29" target="_self">drawPolygon</a>, <a href="../../graphyx/graphics/Drawable.html#fillCircle%28sims.geometry.Vector2D%2CDouble%29" target="_self">fillCircle</a>, <a href="../../graphyx/graphics/Drawable.html#drawCircle%28sims.geometry.Vector2D%2CDouble%29" target="_self">drawCircle</a>, <a href="../../graphyx/graphics/Drawable.html#drawPoint%28sims.geometry.Vector2D%29" target="_self">drawPoint</a>, <a href="../../graphyx/graphics/Drawable.html#drawVector%28sims.geometry.Vector2D%2Csims.geometry.Vector2D%29" target="_self">drawVector</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Value Details</td></tr> + </table><div><a name="connection1"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>connection1</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="connection2"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>connection2</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl><hr></hr></div> +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="draw%28%29"></a><dl> + <dt> + + <code></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> +<a name="hashCode%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>hashCode</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a hash code value for the object.
+ <p>
+ The default hashing algorithm is platform dependent.
+ Note that it is allowed for two objects to have identical hash
+ codes (<code>o1.hashCode.equals(o2.hashCode)</code>) yet not be
+ equal (<code>o1.equals(o2)</code> returns <code>false</code>). A
+ degenerate implementation could always return <code>0</code>.
+ However, it is required that if two objects are equal
+ (<code>o1.equals(o2)</code> returns <code>true</code>) that they
+ have identical hash codes
+ (<code>o1.hashCode.equals(o2.hashCode)</code>). Therefore, when
+ overriding this method, be sure to verify that the behavior is
+ consistent with the <code>equals</code> method.
+ </p>
+ <p></dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>the hash code value for the object. </p></dd></dl> + <hr></hr> +<a name="toString%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>toString</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a string representation of the object.
+ <p>
+ The default representation is platform dependent.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>a string representation of the object. </p></dd></dl> + <hr></hr> +<a name="equals%28Any%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>equals</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.
+
+ <p>
+ The default implementations of this method is an <a
+ href="http://en.wikipedia.org/wiki/Equivalence_relation">equivalence
+ relation</a>:
+ <ul>
+ <li>It is reflexive: for any instance <code>x</code> of type <code>Any</code>,
+ <code>x.equals(x)</code> should return <code>true</code>.</li>
+ <li>It is symmetric: for any instances <code>x</code> and <code>y</code> of type
+ <code>Any</code>, <code>x.equals(y)</code> should return <code>true</code> if and only
+ if <code>y.equals(x)</code> returns <code>true</code>.</li>
+ <li>It is transitive: for any instances
+ <code>x</code>, <code>y</code>, and <code>z</code> of type <code>AnyRef</code>
+ if <code>x.equals(y)</code> returns <code>true</code> and
+ <code>y.equals(z)</code> returns
+ <code>true</code>, then <code>x.equals(z)</code> should return <code>true</code>.</li>
+ </ul>
+ </p>
+ <p>
+ If you override this method, you should verify that
+ your implementation remains an equivalence relation.
+ Additionally, when overriding this method it is often necessary to
+ override <code>hashCode</code> to ensure that objects that are
+ "equal" (<code>o1.equals(o2)</code> returns <code>true</code>)
+ hash to the same <a href="Int.html"><code>Int</code></a>
+ (<code>o1.hashCode.equals(o2.hashCode)</code>).</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>arg0 - </code>the object to compare against this object for equality.</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise. </p></dd></dl> + <hr></hr> +<a name="productPrefix"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productPrefix</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productPrefix" target="contentFrame" class="scala/Product">scala.Product.productPrefix</a> + </dd> + </dl><hr></hr> +<a name="productArity"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productArity</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productArity" target="contentFrame" class="scala/Product">scala.Product.productArity</a> + </dd> + </dl><hr></hr> +<a name="productElement%28Int%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productElement</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productElement" target="contentFrame" class="scala/Product">scala.Product.productElement</a> + </dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/graphics/GraphicalWorld$object.html b/doc/graphyx/graphics/GraphicalWorld$object.html new file mode 100644 index 0000000..2b29226 --- /dev/null +++ b/doc/graphyx/graphics/GraphicalWorld$object.html @@ -0,0 +1,82 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object GraphicalWorld 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">object GraphicalWorld</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/graphics/GraphicalWorld"><code>graphyx/graphics/GraphicalWorld.scala</code></a>] + </div><hr></hr> + <a name="GraphicalWorld"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>GraphicalWorld</em> + </dt> + <dd><code> extends </code>(<a href="../../sims/dynamics/World.html" target="_self">World</a>) => <a href="../../graphyx/graphics/GraphicalWorld.html" target="_self">GraphicalWorld</a></dd> + </dl> + + + +<table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/Function1">scala.Function1</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#toString" target="contentFrame" class="scala/Function1">scala.Function1.toString</a>, <a href="#compose" target="contentFrame" class="scala/Function1">scala.Function1.compose</a>, <a href="#andThen" target="contentFrame" class="scala/Function1">scala.Function1.andThen</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + + + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/graphics/GraphicalWorld.html b/doc/graphyx/graphics/GraphicalWorld.html new file mode 100644 index 0000000..d04da4e --- /dev/null +++ b/doc/graphyx/graphics/GraphicalWorld.html @@ -0,0 +1,439 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class GraphicalWorld 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">class GraphicalWorld</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/graphics/GraphicalWorld"><code>graphyx/graphics/GraphicalWorld.scala</code></a>] + </div><hr></hr> + <a name="GraphicalWorld"></a><dl> + <dt> + + <code>case</code> + <code>class</code> + <em>GraphicalWorld</em>(<code>val </code><em>real</em> : <a href="../../sims/dynamics/World.html" target="_self">World</a>) + </dt> + <dd><code> extends </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a></dd> + </dl> + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalWorld.html#enableCollisionDetection" target="_self">enableCollisionDetection</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalWorld.html#enablePositionCorrection" target="_self">enablePositionCorrection</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalWorld.html#gravity" target="_self">gravity</a></em> + : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalWorld.html#iterations" target="_self">iterations</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalWorld.html#monitorResults" target="_self">monitorResults</a></em> + : <a href="" target="contentFrame" class="scala/Seq">scala.Seq</a>[<a href="" target="contentFrame" class="java/lang/String">java.lang.String</a>] + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalWorld.html#overCWarning" target="_self">overCWarning</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalWorld.html#time" target="_self">time</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalWorld.html#timeStep" target="_self">timeStep</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + + + </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>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalWorld.html#equals%28Any%29" target="_self">equals</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalWorld.html#hashCode%28%29" target="_self">hashCode</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + <div>Returns a hash code value for the object.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalWorld.html#productArity" target="_self">productArity</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalWorld.html#productElement%28Int%29" target="_self">productElement</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalWorld.html#productPrefix" target="_self">productPrefix</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/GraphicalWorld.html#toString%28%29" target="_self">toString</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + <div>Returns a string representation of the object.</div> + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Value Details</td></tr> + </table><div><a name="time"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>time</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="timeStep"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>timeStep</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="iterations"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>iterations</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="overCWarning"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>overCWarning</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="gravity"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>gravity</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="monitorResults"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>monitorResults</em> : <a href="" target="contentFrame" class="scala/Seq">scala.Seq</a>[<a href="" target="contentFrame" class="java/lang/String">java.lang.String</a>] + </dt> + <dd></dd> + </dl><hr></hr> +<a name="enableCollisionDetection"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>enableCollisionDetection</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="enablePositionCorrection"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>enablePositionCorrection</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl><hr></hr></div> +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="hashCode%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>hashCode</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a hash code value for the object.
+ <p>
+ The default hashing algorithm is platform dependent.
+ Note that it is allowed for two objects to have identical hash
+ codes (<code>o1.hashCode.equals(o2.hashCode)</code>) yet not be
+ equal (<code>o1.equals(o2)</code> returns <code>false</code>). A
+ degenerate implementation could always return <code>0</code>.
+ However, it is required that if two objects are equal
+ (<code>o1.equals(o2)</code> returns <code>true</code>) that they
+ have identical hash codes
+ (<code>o1.hashCode.equals(o2.hashCode)</code>). Therefore, when
+ overriding this method, be sure to verify that the behavior is
+ consistent with the <code>equals</code> method.
+ </p>
+ <p></dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>the hash code value for the object. </p></dd></dl> + <hr></hr> +<a name="toString%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>toString</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a string representation of the object.
+ <p>
+ The default representation is platform dependent.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>a string representation of the object. </p></dd></dl> + <hr></hr> +<a name="equals%28Any%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>equals</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.
+
+ <p>
+ The default implementations of this method is an <a
+ href="http://en.wikipedia.org/wiki/Equivalence_relation">equivalence
+ relation</a>:
+ <ul>
+ <li>It is reflexive: for any instance <code>x</code> of type <code>Any</code>,
+ <code>x.equals(x)</code> should return <code>true</code>.</li>
+ <li>It is symmetric: for any instances <code>x</code> and <code>y</code> of type
+ <code>Any</code>, <code>x.equals(y)</code> should return <code>true</code> if and only
+ if <code>y.equals(x)</code> returns <code>true</code>.</li>
+ <li>It is transitive: for any instances
+ <code>x</code>, <code>y</code>, and <code>z</code> of type <code>AnyRef</code>
+ if <code>x.equals(y)</code> returns <code>true</code> and
+ <code>y.equals(z)</code> returns
+ <code>true</code>, then <code>x.equals(z)</code> should return <code>true</code>.</li>
+ </ul>
+ </p>
+ <p>
+ If you override this method, you should verify that
+ your implementation remains an equivalence relation.
+ Additionally, when overriding this method it is often necessary to
+ override <code>hashCode</code> to ensure that objects that are
+ "equal" (<code>o1.equals(o2)</code> returns <code>true</code>)
+ hash to the same <a href="Int.html"><code>Int</code></a>
+ (<code>o1.hashCode.equals(o2.hashCode)</code>).</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>arg0 - </code>the object to compare against this object for equality.</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise. </p></dd></dl> + <hr></hr> +<a name="productPrefix"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productPrefix</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productPrefix" target="contentFrame" class="scala/Product">scala.Product.productPrefix</a> + </dd> + </dl><hr></hr> +<a name="productArity"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productArity</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productArity" target="contentFrame" class="scala/Product">scala.Product.productArity</a> + </dd> + </dl><hr></hr> +<a name="productElement%28Int%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productElement</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productElement" target="contentFrame" class="scala/Product">scala.Product.productElement</a> + </dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/graphics/Parser$object.html b/doc/graphyx/graphics/Parser$object.html new file mode 100644 index 0000000..ae47866 --- /dev/null +++ b/doc/graphyx/graphics/Parser$object.html @@ -0,0 +1,221 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object Parser 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">object Parser</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/graphics/Parser"><code>graphyx/graphics/Parser.scala</code></a>] + </div><hr></hr> + <a name="Parser"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>Parser</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> + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/Parser$object.html#throwOnUnknown" target="_self">throwOnUnknown</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + + </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/Parser$object.html#toGraphical%28sims.collision.AABB%29" target="_self">toGraphical</a></em> + (<em>real</em> : <a href="../../sims/collision/AABB.html" target="_self">AABB</a>) : <a href="../../graphyx/graphics/GraphicalAABB.html" target="_self">GraphicalAABB</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/Parser$object.html#toGraphical%28sims.collision.Pair%29" target="_self">toGraphical</a></em> + (<em>real</em> : <a href="../../sims/collision/Pair.html" target="_self">Pair</a>) : <a href="../../graphyx/graphics/GraphicalPair.html" target="_self">GraphicalPair</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/Parser$object.html#toGraphical%28sims.dynamics.Shape%29" target="_self">toGraphical</a></em> + (<em>real</em> : <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a>) : <a href="../../graphyx/graphics/GraphicalShape.html" target="_self">GraphicalShape</a><code> with </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/Parser$object.html#toGraphical%28sims.dynamics.joints.Joint%29" target="_self">toGraphical</a></em> + (<em>real</em> : <a href="../../sims/dynamics/joints/Joint.html" target="_self">Joint</a>) : <a href="../../graphyx/graphics/GraphicalJoint.html" target="_self">GraphicalJoint</a><code> with </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/Parser$object.html#toGraphical%28sims.collision.Collision%29" target="_self">toGraphical</a></em> + (<em>real</em> : <a href="../../sims/collision/Collision.html" target="_self">Collision</a>) : <a href="../../graphyx/graphics/GraphicalCollision.html" target="_self">GraphicalCollision</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/Parser$object.html#toGraphical%28sims.dynamics.Body%29" target="_self">toGraphical</a></em> + (<em>real</em> : <a href="../../sims/dynamics/Body.html" target="_self">Body</a>) : <a href="../../graphyx/graphics/GraphicalBody.html" target="_self">GraphicalBody</a> + + + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#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="throwOnUnknown"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>throwOnUnknown</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl><hr></hr></div> +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="toGraphical%28sims.dynamics.Shape%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>toGraphical</em>(<em>real</em> : <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a>) : <a href="../../graphyx/graphics/GraphicalShape.html" target="_self">GraphicalShape</a><code> with </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="toGraphical%28sims.dynamics.joints.Joint%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>toGraphical</em>(<em>real</em> : <a href="../../sims/dynamics/joints/Joint.html" target="_self">Joint</a>) : <a href="../../graphyx/graphics/GraphicalJoint.html" target="_self">GraphicalJoint</a><code> with </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="toGraphical%28sims.collision.Collision%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>toGraphical</em>(<em>real</em> : <a href="../../sims/collision/Collision.html" target="_self">Collision</a>) : <a href="../../graphyx/graphics/GraphicalCollision.html" target="_self">GraphicalCollision</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="toGraphical%28sims.collision.Pair%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>toGraphical</em>(<em>real</em> : <a href="../../sims/collision/Pair.html" target="_self">Pair</a>) : <a href="../../graphyx/graphics/GraphicalPair.html" target="_self">GraphicalPair</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="toGraphical%28sims.collision.AABB%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>toGraphical</em>(<em>real</em> : <a href="../../sims/collision/AABB.html" target="_self">AABB</a>) : <a href="../../graphyx/graphics/GraphicalAABB.html" target="_self">GraphicalAABB</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="toGraphical%28sims.dynamics.Body%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>toGraphical</em>(<em>real</em> : <a href="../../sims/dynamics/Body.html" target="_self">Body</a>) : <a href="../../graphyx/graphics/GraphicalBody.html" target="_self">GraphicalBody</a> + </dt> + <dd></dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/graphics/Scene$object.html b/doc/graphyx/graphics/Scene$object.html new file mode 100644 index 0000000..e884f9f --- /dev/null +++ b/doc/graphyx/graphics/Scene$object.html @@ -0,0 +1,82 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object Scene 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">object Scene</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/graphics/Scene"><code>graphyx/graphics/Scene.scala</code></a>] + </div><hr></hr> + <a name="Scene"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>Scene</em> + </dt> + <dd><code> extends </code>(<a href="../../sims/dynamics/World.html" target="_self">World</a>) => <a href="../../graphyx/graphics/Scene.html" target="_self">Scene</a></dd> + </dl> + + + +<table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/Function1">scala.Function1</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#toString" target="contentFrame" class="scala/Function1">scala.Function1.toString</a>, <a href="#compose" target="contentFrame" class="scala/Function1">scala.Function1.compose</a>, <a href="#andThen" target="contentFrame" class="scala/Function1">scala.Function1.andThen</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + + + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/graphics/Scene.html b/doc/graphyx/graphics/Scene.html new file mode 100644 index 0000000..06bbfe1 --- /dev/null +++ b/doc/graphyx/graphics/Scene.html @@ -0,0 +1,439 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class Scene 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">class Scene</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/graphics/Scene"><code>graphyx/graphics/Scene.scala</code></a>] + </div><hr></hr> + <a name="Scene"></a><dl> + <dt> + + <code>case</code> + <code>class</code> + <em>Scene</em>(<code>val </code><em>real</em> : <a href="../../sims/dynamics/World.html" target="_self">World</a>) + </dt> + <dd><code> extends </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a></dd> + </dl> + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/Scene.html#aabbs" target="_self">aabbs</a></em> + : <a href="" target="contentFrame" class="scala/Seq">scala.Seq</a>[<a href="../../graphyx/graphics/GraphicalAABB.html" target="_self">GraphicalAABB</a>] + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/Scene.html#bodies" target="_self">bodies</a></em> + : <a href="" target="contentFrame" class="scala/Seq">scala.Seq</a>[<a href="../../graphyx/graphics/GraphicalBody.html" target="_self">GraphicalBody</a>] + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/Scene.html#collisions" target="_self">collisions</a></em> + : <a href="" target="contentFrame" class="scala/Seq">scala.Seq</a>[<a href="../../graphyx/graphics/GraphicalCollision.html" target="_self">GraphicalCollision</a>] + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/Scene.html#fps" target="_self">fps</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/Scene.html#joints" target="_self">joints</a></em> + : <a href="" target="contentFrame" class="scala/Seq">scala.Seq</a>[<a href="../../graphyx/graphics/GraphicalJoint.html" target="_self">GraphicalJoint</a><code> with </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a>] + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/Scene.html#pairs" target="_self">pairs</a></em> + : <a href="" target="contentFrame" class="scala/Seq">scala.Seq</a>[<a href="../../graphyx/graphics/GraphicalPair.html" target="_self">GraphicalPair</a>] + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/Scene.html#shapes" target="_self">shapes</a></em> + : <a href="" target="contentFrame" class="scala/Seq">scala.Seq</a>[<a href="../../graphyx/graphics/GraphicalShape.html" target="_self">GraphicalShape</a><code> with </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a>] + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/Scene.html#world" target="_self">world</a></em> + : <a href="../../graphyx/graphics/GraphicalWorld.html" target="_self">GraphicalWorld</a> + + + </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>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/Scene.html#equals%28Any%29" target="_self">equals</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/Scene.html#hashCode%28%29" target="_self">hashCode</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + <div>Returns a hash code value for the object.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/Scene.html#productArity" target="_self">productArity</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/Scene.html#productElement%28Int%29" target="_self">productElement</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/Scene.html#productPrefix" target="_self">productPrefix</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/graphics/Scene.html#toString%28%29" target="_self">toString</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + <div>Returns a string representation of the object.</div> + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Value Details</td></tr> + </table><div><a name="world"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>world</em> : <a href="../../graphyx/graphics/GraphicalWorld.html" target="_self">GraphicalWorld</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="shapes"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>shapes</em> : <a href="" target="contentFrame" class="scala/Seq">scala.Seq</a>[<a href="../../graphyx/graphics/GraphicalShape.html" target="_self">GraphicalShape</a><code> with </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a>] + </dt> + <dd></dd> + </dl><hr></hr> +<a name="joints"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>joints</em> : <a href="" target="contentFrame" class="scala/Seq">scala.Seq</a>[<a href="../../graphyx/graphics/GraphicalJoint.html" target="_self">GraphicalJoint</a><code> with </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a>] + </dt> + <dd></dd> + </dl><hr></hr> +<a name="bodies"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>bodies</em> : <a href="" target="contentFrame" class="scala/Seq">scala.Seq</a>[<a href="../../graphyx/graphics/GraphicalBody.html" target="_self">GraphicalBody</a>] + </dt> + <dd></dd> + </dl><hr></hr> +<a name="collisions"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>collisions</em> : <a href="" target="contentFrame" class="scala/Seq">scala.Seq</a>[<a href="../../graphyx/graphics/GraphicalCollision.html" target="_self">GraphicalCollision</a>] + </dt> + <dd></dd> + </dl><hr></hr> +<a name="pairs"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>pairs</em> : <a href="" target="contentFrame" class="scala/Seq">scala.Seq</a>[<a href="../../graphyx/graphics/GraphicalPair.html" target="_self">GraphicalPair</a>] + </dt> + <dd></dd> + </dl><hr></hr> +<a name="aabbs"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>aabbs</em> : <a href="" target="contentFrame" class="scala/Seq">scala.Seq</a>[<a href="../../graphyx/graphics/GraphicalAABB.html" target="_self">GraphicalAABB</a>] + </dt> + <dd></dd> + </dl><hr></hr> +<a name="fps"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>fps</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl><hr></hr></div> +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="hashCode%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>hashCode</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a hash code value for the object.
+ <p>
+ The default hashing algorithm is platform dependent.
+ Note that it is allowed for two objects to have identical hash
+ codes (<code>o1.hashCode.equals(o2.hashCode)</code>) yet not be
+ equal (<code>o1.equals(o2)</code> returns <code>false</code>). A
+ degenerate implementation could always return <code>0</code>.
+ However, it is required that if two objects are equal
+ (<code>o1.equals(o2)</code> returns <code>true</code>) that they
+ have identical hash codes
+ (<code>o1.hashCode.equals(o2.hashCode)</code>). Therefore, when
+ overriding this method, be sure to verify that the behavior is
+ consistent with the <code>equals</code> method.
+ </p>
+ <p></dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>the hash code value for the object. </p></dd></dl> + <hr></hr> +<a name="toString%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>toString</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a string representation of the object.
+ <p>
+ The default representation is platform dependent.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>a string representation of the object. </p></dd></dl> + <hr></hr> +<a name="equals%28Any%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>equals</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.
+
+ <p>
+ The default implementations of this method is an <a
+ href="http://en.wikipedia.org/wiki/Equivalence_relation">equivalence
+ relation</a>:
+ <ul>
+ <li>It is reflexive: for any instance <code>x</code> of type <code>Any</code>,
+ <code>x.equals(x)</code> should return <code>true</code>.</li>
+ <li>It is symmetric: for any instances <code>x</code> and <code>y</code> of type
+ <code>Any</code>, <code>x.equals(y)</code> should return <code>true</code> if and only
+ if <code>y.equals(x)</code> returns <code>true</code>.</li>
+ <li>It is transitive: for any instances
+ <code>x</code>, <code>y</code>, and <code>z</code> of type <code>AnyRef</code>
+ if <code>x.equals(y)</code> returns <code>true</code> and
+ <code>y.equals(z)</code> returns
+ <code>true</code>, then <code>x.equals(z)</code> should return <code>true</code>.</li>
+ </ul>
+ </p>
+ <p>
+ If you override this method, you should verify that
+ your implementation remains an equivalence relation.
+ Additionally, when overriding this method it is often necessary to
+ override <code>hashCode</code> to ensure that objects that are
+ "equal" (<code>o1.equals(o2)</code> returns <code>true</code>)
+ hash to the same <a href="Int.html"><code>Int</code></a>
+ (<code>o1.hashCode.equals(o2.hashCode)</code>).</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>arg0 - </code>the object to compare against this object for equality.</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise. </p></dd></dl> + <hr></hr> +<a name="productPrefix"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productPrefix</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productPrefix" target="contentFrame" class="scala/Product">scala.Product.productPrefix</a> + </dd> + </dl><hr></hr> +<a name="productArity"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productArity</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productArity" target="contentFrame" class="scala/Product">scala.Product.productArity</a> + </dd> + </dl><hr></hr> +<a name="productElement%28Int%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productElement</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productElement" target="contentFrame" class="scala/Product">scala.Product.productElement</a> + </dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/gui$content.html b/doc/graphyx/gui$content.html new file mode 100644 index 0000000..b402d3b --- /dev/null +++ b/doc/graphyx/gui$content.html @@ -0,0 +1,142 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>All classes and objects in graphyx.gui</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()"><div class="page-title"><div>Simple Mechanics Simulator (SiMS) API</div></div><p><div>This document is the API specification for SiMS</div></p><table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Class Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> class</code> + </td> + <td class="signature"> + <em><a href="../graphyx/gui/BodyPopup.html" target="_self">BodyPopup</a></em> + <code> extends </code><a href="../graphyx/gui/PopupMenu.html" target="_self">PopupMenu</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> class</code> + </td> + <td class="signature"> + <em><a href="../graphyx/gui/Container.html" target="_self">Container</a></em> + <code> extends </code><a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> class</code> + </td> + <td class="signature"> + <em><a href="../graphyx/gui/ControlPanel.html" target="_self">ControlPanel</a></em> + (<em>container</em> : <a href="../graphyx/gui/Container.html" target="_self">Container</a>)<code> extends </code><a href="" target="contentFrame" class="scala/swing/BoxPanel">scala.swing.BoxPanel</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> class</code> + </td> + <td class="signature"> + <em><a href="../graphyx/gui/GrabbedBody.html" target="_self">GrabbedBody</a></em> + (<em>b</em> : <a href="../sims/dynamics/Body.html" target="_self">Body</a>, <em>point</em> : <a href="../sims/geometry/Vector2D.html" target="_self">Vector2D</a>)<code> extends </code><a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> class</code> + </td> + <td class="signature"> + <em><a href="../graphyx/gui/GravityPanel.html" target="_self">GravityPanel</a></em> + (<em>container</em> : <a href="../graphyx/gui/Container.html" target="_self">Container</a>)<code> extends </code><a href="" target="contentFrame" class="scala/swing/GridBagPanel">scala.swing.GridBagPanel</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> class</code> + </td> + <td class="signature"> + <em><a href="../graphyx/gui/InfoPanel.html" target="_self">InfoPanel</a></em> + (<em>container</em> : <a href="../graphyx/gui/Container.html" target="_self">Container</a>)<code> extends </code><a href="" target="contentFrame" class="scala/swing/BoxPanel">scala.swing.BoxPanel</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> class</code> + </td> + <td class="signature"> + <em><a href="../graphyx/gui/MainFrame.html" target="_self">MainFrame</a></em> + (<em>container</em> : <a href="../graphyx/gui/Container.html" target="_self">Container</a>)<code> extends </code><a href="" target="contentFrame" class="scala/swing/Frame">scala.swing.Frame</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> class</code> + </td> + <td class="signature"> + <em><a href="../graphyx/gui/MainPanel.html" target="_self">MainPanel</a></em> + (<em>container</em> : <a href="../graphyx/gui/Container.html" target="_self">Container</a>)<code> extends </code><a href="" target="contentFrame" class="scala/swing/GridBagPanel">scala.swing.GridBagPanel</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> class</code> + </td> + <td class="signature"> + <em><a href="../graphyx/gui/OptionsPanel.html" target="_self">OptionsPanel</a></em> + (<em>container</em> : <a href="../graphyx/gui/Container.html" target="_self">Container</a>)<code> extends </code><a href="" target="contentFrame" class="scala/swing/GridPanel">scala.swing.GridPanel</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> class</code> + </td> + <td class="signature"> + <em><a href="../graphyx/gui/PopupMenu.html" target="_self">PopupMenu</a></em> + <code> extends </code><a href="" target="contentFrame" class="scala/swing/Component">scala.swing.Component</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> class</code> + </td> + <td class="signature"> + <em><a href="../graphyx/gui/ShapeInfoPanel.html" target="_self">ShapeInfoPanel</a></em> + (<em>container</em> : <a href="../graphyx/gui/Container.html" target="_self">Container</a>)<code> extends </code><a href="" target="contentFrame" class="scala/swing/GridPanel">scala.swing.GridPanel</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> class</code> + </td> + <td class="signature"> + <em><a href="../graphyx/gui/WorldPanel.html" target="_self">WorldPanel</a></em> + (<em>container</em> : <a href="../graphyx/gui/Container.html" target="_self">Container</a>)<code> extends </code><a href="" target="contentFrame" class="scala/swing/BoxPanel">scala.swing.BoxPanel</a> + + + </td> + </tr> + </table> +</body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/gui$package.html b/doc/graphyx/gui$package.html new file mode 100644 index 0000000..d822a38 --- /dev/null +++ b/doc/graphyx/gui$package.html @@ -0,0 +1,25 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>List of classes and objects in package graphyx.gui</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"> + <a href="../graphyx/gui$content.html" target="contentFrame">graphyx.gui</a> + </td></tr> + </table><div><div class="kinds" id="Classes">Classes</div><ul class="list"> + <li id="Classes_B"><a href="../graphyx/gui/BodyPopup.html" target="contentFrame">BodyPopup</a></li> +<li id="Classes_C"><a href="../graphyx/gui/Container.html" target="contentFrame">Container</a></li> +<li><a href="../graphyx/gui/ControlPanel.html" target="contentFrame">ControlPanel</a></li> +<li id="Classes_G"><a href="../graphyx/gui/GrabbedBody.html" target="contentFrame">GrabbedBody</a></li> +<li><a href="../graphyx/gui/GravityPanel.html" target="contentFrame">GravityPanel</a></li> +<li id="Classes_I"><a href="../graphyx/gui/InfoPanel.html" target="contentFrame">InfoPanel</a></li> +<li id="Classes_M"><a href="../graphyx/gui/MainFrame.html" target="contentFrame">MainFrame</a></li> +<li><a href="../graphyx/gui/MainPanel.html" target="contentFrame">MainPanel</a></li> +<li id="Classes_O"><a href="../graphyx/gui/OptionsPanel.html" target="contentFrame">OptionsPanel</a></li> +<li id="Classes_P"><a href="../graphyx/gui/PopupMenu.html" target="contentFrame">PopupMenu</a></li> +<li id="Classes_S"><a href="../graphyx/gui/ShapeInfoPanel.html" target="contentFrame">ShapeInfoPanel</a></li> +<li id="Classes_W"><a href="../graphyx/gui/WorldPanel.html" target="contentFrame">WorldPanel</a></li> + </ul> +</div></body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/gui/BodyPopup.html b/doc/graphyx/gui/BodyPopup.html new file mode 100644 index 0000000..d8fb284 --- /dev/null +++ b/doc/graphyx/gui/BodyPopup.html @@ -0,0 +1,251 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class BodyPopup in graphyx.gui</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/gui$package.html" target="_self">graphyx.gui</a> + <br></br> + <span class="entity">class BodyPopup</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/gui/BodyPopup"><code>graphyx/gui/BodyPopup.scala</code></a>] + </div><hr></hr> + <a name="BodyPopup"></a><dl> + <dt> + + <code></code> + <code>class</code> + <em>BodyPopup</em> + </dt> + <dd><code> extends </code><a href="../../graphyx/gui/PopupMenu.html" target="_self">PopupMenu</a></dd> + </dl> + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/BodyPopup.html#btnClose" target="_self">btnClose</a></em> + : <a href="" target="contentFrame" class="scala/swing/MenuItem">scala.swing.MenuItem</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/BodyPopup.html#chckFixed" target="_self">chckFixed</a></em> + : <a href="" target="contentFrame" class="scala/swing/CheckMenuItem">scala.swing.CheckMenuItem</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/BodyPopup.html#chckMonitor" target="_self">chckMonitor</a></em> + : <a href="" target="contentFrame" class="scala/swing/CheckMenuItem">scala.swing.CheckMenuItem</a> + + + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="../../graphyx/gui/PopupMenu.html" target="_self">PopupMenu</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../graphyx/gui/PopupMenu.html#peer" target="_self">peer</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="" target="contentFrame" class="scala/swing/Component">scala.swing.Component</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#initP" target="contentFrame" class="scala/swing/Component">scala.swing.Component.initP</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#listeners" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher.listeners</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="" target="contentFrame" class="scala/swing/Reactor">scala.swing.Reactor</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#reactions" target="contentFrame" class="scala/swing/Reactor">scala.swing.Reactor.reactions</a> + </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/gui/BodyPopup.html#body" target="_self">body</a></em> + : <a href="../../sims/dynamics/Body.html" target="_self">Body</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/BodyPopup.html#body_%3D%28sims.dynamics.Body%29" target="_self">body_=</a></em> + (<em>newBody</em> : <a href="../../sims/dynamics/Body.html" target="_self">Body</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + + + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="../../graphyx/gui/PopupMenu.html" target="_self">PopupMenu</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../graphyx/gui/PopupMenu.html#add%28scala.swing.MenuItem%29" target="_self">add</a>, <a href="../../graphyx/gui/PopupMenu.html#setVisible%28Boolean%29" target="_self">setVisible</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/swing/Component">scala.swing.Component</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#xLayoutAlignment" target="contentFrame" class="scala/swing/Component">scala.swing.Component.xLayoutAlignment</a>, <a href="#xLayoutAlignment_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.xLayoutAlignment_=</a>, <a href="#yLayoutAlignment" target="contentFrame" class="scala/swing/Component">scala.swing.Component.yLayoutAlignment</a>, <a href="#yLayoutAlignment_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.yLayoutAlignment_=</a>, <a href="#border" target="contentFrame" class="scala/swing/Component">scala.swing.Component.border</a>, <a href="#border_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.border_=</a>, <a href="#opaque" target="contentFrame" class="scala/swing/Component">scala.swing.Component.opaque</a>, <a href="#opaque_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.opaque_=</a>, <a href="#enabled" target="contentFrame" class="scala/swing/Component">scala.swing.Component.enabled</a>, <a href="#enabled_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.enabled_=</a>, <a href="#tooltip" target="contentFrame" class="scala/swing/Component">scala.swing.Component.tooltip</a>, <a href="#tooltip_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.tooltip_=</a>, <a href="#inputVerifier" target="contentFrame" class="scala/swing/Component">scala.swing.Component.inputVerifier</a>, <a href="#inputVerifier_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.inputVerifier_=</a>, <a href="#revalidate" target="contentFrame" class="scala/swing/Component">scala.swing.Component.revalidate</a>, <a href="#requestFocus" target="contentFrame" class="scala/swing/Component">scala.swing.Component.requestFocus</a>, <a href="#paintComponent" target="contentFrame" class="scala/swing/Component">scala.swing.Component.paintComponent</a>, <a href="#paint" target="contentFrame" class="scala/swing/Component">scala.swing.Component.paint</a>, <a href="#toString" target="contentFrame" class="scala/swing/Component">scala.swing.Component.toString</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#subscribe" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher.subscribe</a>, <a href="#unsubscribe" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher.unsubscribe</a>, <a href="#publish" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher.publish</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/swing/Reactor">scala.swing.Reactor</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#listenTo" target="contentFrame" class="scala/swing/Reactor">scala.swing.Reactor.listenTo</a>, <a href="#deafTo" target="contentFrame" class="scala/swing/Reactor">scala.swing.Reactor.deafTo</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#self" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.self</a>, <a href="#foreground" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.foreground</a>, <a href="#foreground_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.foreground_=</a>, <a href="#background" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.background</a>, <a href="#background_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.background_=</a>, <a href="#minimumSize" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.minimumSize</a>, <a href="#minimumSize_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.minimumSize_=</a>, <a href="#maximumSize" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.maximumSize</a>, <a href="#maximumSize_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.maximumSize_=</a>, <a href="#preferredSize" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.preferredSize</a>, <a href="#preferredSize_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.preferredSize_=</a>, <a href="#preferredSize_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.preferredSize_=</a>, <a href="#font" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.font</a>, <a href="#font_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.font_=</a>, <a href="#locationOnScreen" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.locationOnScreen</a>, <a href="#location" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.location</a>, <a href="#bounds" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.bounds</a>, <a href="#size" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.size</a>, <a href="#size_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.size_=</a>, <a href="#size_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.size_=</a>, <a href="#locale" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.locale</a>, <a href="#toolkit" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.toolkit</a>, <a href="#cursor" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.cursor</a>, <a href="#cursor_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.cursor_=</a>, <a href="#visible" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.visible</a>, <a href="#visible_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.visible_=</a>, <a href="#showing" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.showing</a>, <a href="#repaint" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.repaint</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/Proxy">scala.Proxy</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#hashCode" target="contentFrame" class="scala/Proxy">scala.Proxy.hashCode</a>, <a href="#equals" target="contentFrame" class="scala/Proxy">scala.Proxy.equals</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Value Details</td></tr> + </table><div><a name="chckMonitor"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>chckMonitor</em> : <a href="" target="contentFrame" class="scala/swing/CheckMenuItem">scala.swing.CheckMenuItem</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="chckFixed"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>chckFixed</em> : <a href="" target="contentFrame" class="scala/swing/CheckMenuItem">scala.swing.CheckMenuItem</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="btnClose"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>btnClose</em> : <a href="" target="contentFrame" class="scala/swing/MenuItem">scala.swing.MenuItem</a> + </dt> + <dd></dd> + </dl><hr></hr></div> +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="body"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>body</em> : <a href="../../sims/dynamics/Body.html" target="_self">Body</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="body_%3D%28sims.dynamics.Body%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>body_=</em>(<em>newBody</em> : <a href="../../sims/dynamics/Body.html" target="_self">Body</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + </dt> + <dd></dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/gui/Container.html b/doc/graphyx/gui/Container.html new file mode 100644 index 0000000..aeb0e25 --- /dev/null +++ b/doc/graphyx/gui/Container.html @@ -0,0 +1,181 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class Container in graphyx.gui</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/gui$package.html" target="_self">graphyx.gui</a> + <br></br> + <span class="entity">class Container</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/gui/Container"><code>graphyx/gui/Container.scala</code></a>] + </div><hr></hr> + <a name="Container"></a><dl> + <dt> + + <code></code> + <code>class</code> + <em>Container</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> + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/Container.html#mainFrame" target="_self">mainFrame</a></em> + : <a href="../../graphyx/gui/MainFrame.html" target="_self">MainFrame</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> var</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/Container.html#scene" target="_self">scene</a></em> + : <a href="../../graphyx/graphics/Scene.html" target="_self">Scene</a> + + + </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/gui/Container.html#exitGUI%28%29" target="_self">exitGUI</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/Container.html#show%28%29" target="_self">show</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/Container.html#update%28graphyx.graphics.Scene%29" target="_self">update</a></em> + (<em>s</em> : <a href="../../graphyx/graphics/Scene.html" target="_self">Scene</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + + + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#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="mainFrame"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>mainFrame</em> : <a href="../../graphyx/gui/MainFrame.html" target="_self">MainFrame</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="scene"></a><dl> + <dt> + + <code></code> + <code>var</code> + <em>scene</em> : <a href="../../graphyx/graphics/Scene.html" target="_self">Scene</a> + </dt> + <dd></dd> + </dl><hr></hr></div> +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="show%28%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>show</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="update%28graphyx.graphics.Scene%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>update</em>(<em>s</em> : <a href="../../graphyx/graphics/Scene.html" target="_self">Scene</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="exitGUI%28%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>exitGUI</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + </dt> + <dd></dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/gui/ControlPanel.html b/doc/graphyx/gui/ControlPanel.html new file mode 100644 index 0000000..5352ba1 --- /dev/null +++ b/doc/graphyx/gui/ControlPanel.html @@ -0,0 +1,295 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class ControlPanel in graphyx.gui</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/gui$package.html" target="_self">graphyx.gui</a> + <br></br> + <span class="entity">class ControlPanel</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/gui/ControlPanel"><code>graphyx/gui/ControlPanel.scala</code></a>] + </div><hr></hr> + <a name="ControlPanel"></a><dl> + <dt> + + <code></code> + <code>class</code> + <em>ControlPanel</em>(<em>container</em> : <a href="../../graphyx/gui/Container.html" target="_self">Container</a>) + </dt> + <dd><code> extends </code><a href="" target="contentFrame" class="scala/swing/BoxPanel">scala.swing.BoxPanel</a></dd> + </dl> + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/ControlPanel.html#btnExit" target="_self">btnExit</a></em> + : <a href="" target="contentFrame" class="scala/swing/Button">scala.swing.Button</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/ControlPanel.html#btnFire" target="_self">btnFire</a></em> + : <a href="" target="contentFrame" class="scala/swing/Button">scala.swing.Button</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/ControlPanel.html#btnReset" target="_self">btnReset</a></em> + : <a href="" target="contentFrame" class="scala/swing/Button">scala.swing.Button</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/ControlPanel.html#btnStart" target="_self">btnStart</a></em> + : <a href="" target="contentFrame" class="scala/swing/Button">scala.swing.Button</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/ControlPanel.html#btnStep" target="_self">btnStep</a></em> + : <a href="" target="contentFrame" class="scala/swing/Button">scala.swing.Button</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/ControlPanel.html#btnStop" target="_self">btnStop</a></em> + : <a href="" target="contentFrame" class="scala/swing/Button">scala.swing.Button</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/ControlPanel.html#cboTest" target="_self">cboTest</a></em> + : <a href="" target="contentFrame" class="scala/swing/ComboBox">scala.swing.ComboBox</a>[<a href="../../graphyx/tests/Test.html" target="_self">Test</a>] + + + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="" target="contentFrame" class="scala/swing/BoxPanel">scala.swing.BoxPanel</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#peer" target="contentFrame" class="scala/swing/BoxPanel">scala.swing.BoxPanel.peer</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="" target="contentFrame" class="scala/swing/SequentialContainer/Wrapper">scala.swing.SequentialContainer.Wrapper</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#contents" target="contentFrame" class="scala/swing/SequentialContainer/Wrapper">scala.swing.SequentialContainer.Wrapper.contents</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="" target="contentFrame" class="scala/swing/Container/Wrapper">scala.swing.Container.Wrapper</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#_contents" target="contentFrame" class="scala/swing/Container/Wrapper">scala.swing.Container.Wrapper._contents</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="" target="contentFrame" class="scala/swing/Component">scala.swing.Component</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#initP" target="contentFrame" class="scala/swing/Component">scala.swing.Component.initP</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#listeners" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher.listeners</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="" target="contentFrame" class="scala/swing/Reactor">scala.swing.Reactor</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#reactions" target="contentFrame" class="scala/swing/Reactor">scala.swing.Reactor.reactions</a> + </td></tr> + </table> +<table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/swing/Component">scala.swing.Component</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#xLayoutAlignment" target="contentFrame" class="scala/swing/Component">scala.swing.Component.xLayoutAlignment</a>, <a href="#xLayoutAlignment_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.xLayoutAlignment_=</a>, <a href="#yLayoutAlignment" target="contentFrame" class="scala/swing/Component">scala.swing.Component.yLayoutAlignment</a>, <a href="#yLayoutAlignment_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.yLayoutAlignment_=</a>, <a href="#border" target="contentFrame" class="scala/swing/Component">scala.swing.Component.border</a>, <a href="#border_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.border_=</a>, <a href="#opaque" target="contentFrame" class="scala/swing/Component">scala.swing.Component.opaque</a>, <a href="#opaque_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.opaque_=</a>, <a href="#enabled" target="contentFrame" class="scala/swing/Component">scala.swing.Component.enabled</a>, <a href="#enabled_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.enabled_=</a>, <a href="#tooltip" target="contentFrame" class="scala/swing/Component">scala.swing.Component.tooltip</a>, <a href="#tooltip_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.tooltip_=</a>, <a href="#inputVerifier" target="contentFrame" class="scala/swing/Component">scala.swing.Component.inputVerifier</a>, <a href="#inputVerifier_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.inputVerifier_=</a>, <a href="#revalidate" target="contentFrame" class="scala/swing/Component">scala.swing.Component.revalidate</a>, <a href="#requestFocus" target="contentFrame" class="scala/swing/Component">scala.swing.Component.requestFocus</a>, <a href="#paintComponent" target="contentFrame" class="scala/swing/Component">scala.swing.Component.paintComponent</a>, <a href="#paint" target="contentFrame" class="scala/swing/Component">scala.swing.Component.paint</a>, <a href="#toString" target="contentFrame" class="scala/swing/Component">scala.swing.Component.toString</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#subscribe" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher.subscribe</a>, <a href="#unsubscribe" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher.unsubscribe</a>, <a href="#publish" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher.publish</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/swing/Reactor">scala.swing.Reactor</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#listenTo" target="contentFrame" class="scala/swing/Reactor">scala.swing.Reactor.listenTo</a>, <a href="#deafTo" target="contentFrame" class="scala/swing/Reactor">scala.swing.Reactor.deafTo</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#self" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.self</a>, <a href="#foreground" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.foreground</a>, <a href="#foreground_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.foreground_=</a>, <a href="#background" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.background</a>, <a href="#background_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.background_=</a>, <a href="#minimumSize" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.minimumSize</a>, <a href="#minimumSize_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.minimumSize_=</a>, <a href="#maximumSize" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.maximumSize</a>, <a href="#maximumSize_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.maximumSize_=</a>, <a href="#preferredSize" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.preferredSize</a>, <a href="#preferredSize_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.preferredSize_=</a>, <a href="#preferredSize_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.preferredSize_=</a>, <a href="#font" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.font</a>, <a href="#font_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.font_=</a>, <a href="#locationOnScreen" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.locationOnScreen</a>, <a href="#location" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.location</a>, <a href="#bounds" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.bounds</a>, <a href="#size" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.size</a>, <a href="#size_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.size_=</a>, <a href="#size_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.size_=</a>, <a href="#locale" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.locale</a>, <a href="#toolkit" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.toolkit</a>, <a href="#cursor" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.cursor</a>, <a href="#cursor_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.cursor_=</a>, <a href="#visible" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.visible</a>, <a href="#visible_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.visible_=</a>, <a href="#showing" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.showing</a>, <a href="#repaint" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.repaint</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/Proxy">scala.Proxy</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#hashCode" target="contentFrame" class="scala/Proxy">scala.Proxy.hashCode</a>, <a href="#equals" target="contentFrame" class="scala/Proxy">scala.Proxy.equals</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Value Details</td></tr> + </table><div><a name="btnStart"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>btnStart</em> : <a href="" target="contentFrame" class="scala/swing/Button">scala.swing.Button</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="btnStep"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>btnStep</em> : <a href="" target="contentFrame" class="scala/swing/Button">scala.swing.Button</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="btnStop"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>btnStop</em> : <a href="" target="contentFrame" class="scala/swing/Button">scala.swing.Button</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="btnExit"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>btnExit</em> : <a href="" target="contentFrame" class="scala/swing/Button">scala.swing.Button</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="btnFire"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>btnFire</em> : <a href="" target="contentFrame" class="scala/swing/Button">scala.swing.Button</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="btnReset"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>btnReset</em> : <a href="" target="contentFrame" class="scala/swing/Button">scala.swing.Button</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="cboTest"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>cboTest</em> : <a href="" target="contentFrame" class="scala/swing/ComboBox">scala.swing.ComboBox</a>[<a href="../../graphyx/tests/Test.html" target="_self">Test</a>] + </dt> + <dd></dd> + </dl><hr></hr></div> + + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/gui/GrabbedBody.html b/doc/graphyx/gui/GrabbedBody.html new file mode 100644 index 0000000..4d9f028 --- /dev/null +++ b/doc/graphyx/gui/GrabbedBody.html @@ -0,0 +1,141 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class GrabbedBody in graphyx.gui</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/gui$package.html" target="_self">graphyx.gui</a> + <br></br> + <span class="entity">class GrabbedBody</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/gui/GrabbedBody"><code>graphyx/gui/GrabbedBody.scala</code></a>] + </div><hr></hr> + <a name="GrabbedBody"></a><dl> + <dt> + + <code></code> + <code>class</code> + <em>GrabbedBody</em>(<em>b</em> : <a href="../../sims/dynamics/Body.html" target="_self">Body</a>, <em>point</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) + </dt> + <dd><code> extends </code><a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a></dd> + </dl> + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/GrabbedBody.html#r" target="_self">r</a></em> + : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/GrabbedBody.html#wasFixed" target="_self">wasFixed</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + + </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/gui/GrabbedBody.html#body" target="_self">body</a></em> + : <a href="../../sims/dynamics/Body.html" target="_self">Body</a> + + + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#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="r"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>r</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="wasFixed"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>wasFixed</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl><hr></hr></div> +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="body"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>body</em> : <a href="../../sims/dynamics/Body.html" target="_self">Body</a> + </dt> + <dd></dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/gui/GravityPanel.html b/doc/graphyx/gui/GravityPanel.html new file mode 100644 index 0000000..ca9b299 --- /dev/null +++ b/doc/graphyx/gui/GravityPanel.html @@ -0,0 +1,292 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class GravityPanel in graphyx.gui</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/gui$package.html" target="_self">graphyx.gui</a> + <br></br> + <span class="entity">class GravityPanel</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/gui/GravityPanel"><code>graphyx/gui/GravityPanel.scala</code></a>] + </div><hr></hr> + <a name="GravityPanel"></a><dl> + <dt> + + <code></code> + <code>class</code> + <em>GravityPanel</em>(<em>container</em> : <a href="../../graphyx/gui/Container.html" target="_self">Container</a>) + </dt> + <dd><code> extends </code><a href="" target="contentFrame" class="scala/swing/GridBagPanel">scala.swing.GridBagPanel</a></dd> + </dl> + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/GravityPanel.html#c" target="_self">c</a></em> + : <a href="" target="contentFrame" class="scala/swing/GridBagPanel/Constraints">scala.swing.GridBagPanel.Constraints</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/GravityPanel.html#lblX" target="_self">lblX</a></em> + : <a href="" target="contentFrame" class="scala/swing/Label">scala.swing.Label</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/GravityPanel.html#lblY" target="_self">lblY</a></em> + : <a href="" target="contentFrame" class="scala/swing/Label">scala.swing.Label</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/GravityPanel.html#sldX" target="_self">sldX</a></em> + : <a href="" target="contentFrame" class="scala/swing/Slider">scala.swing.Slider</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/GravityPanel.html#sldY" target="_self">sldY</a></em> + : <a href="" target="contentFrame" class="scala/swing/Slider">scala.swing.Slider</a> + + + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="" target="contentFrame" class="scala/swing/GridBagPanel">scala.swing.GridBagPanel</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#peer" target="contentFrame" class="scala/swing/GridBagPanel">scala.swing.GridBagPanel.peer</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="" target="contentFrame" class="scala/swing/Container/Wrapper">scala.swing.Container.Wrapper</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#_contents" target="contentFrame" class="scala/swing/Container/Wrapper">scala.swing.Container.Wrapper._contents</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="" target="contentFrame" class="scala/swing/Component">scala.swing.Component</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#initP" target="contentFrame" class="scala/swing/Component">scala.swing.Component.initP</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#listeners" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher.listeners</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="" target="contentFrame" class="scala/swing/Reactor">scala.swing.Reactor</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#reactions" target="contentFrame" class="scala/swing/Reactor">scala.swing.Reactor.reactions</a> + </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/gui/GravityPanel.html#update%28%29" target="_self">update</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + + + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/swing/GridBagPanel">scala.swing.GridBagPanel</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#pair2Constraints" target="contentFrame" class="scala/swing/GridBagPanel">scala.swing.GridBagPanel.pair2Constraints</a>, <a href="#constraintsFor" target="contentFrame" class="scala/swing/GridBagPanel">scala.swing.GridBagPanel.constraintsFor</a>, <a href="#areValid" target="contentFrame" class="scala/swing/GridBagPanel">scala.swing.GridBagPanel.areValid</a>, <a href="#add" target="contentFrame" class="scala/swing/GridBagPanel">scala.swing.GridBagPanel.add</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/swing/LayoutContainer">scala.swing.LayoutContainer</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#layout" target="contentFrame" class="scala/swing/LayoutContainer">scala.swing.LayoutContainer.layout</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/swing/Container/Wrapper">scala.swing.Container.Wrapper</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#contents" target="contentFrame" class="scala/swing/Container/Wrapper">scala.swing.Container.Wrapper.contents</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/swing/Component">scala.swing.Component</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#xLayoutAlignment" target="contentFrame" class="scala/swing/Component">scala.swing.Component.xLayoutAlignment</a>, <a href="#xLayoutAlignment_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.xLayoutAlignment_=</a>, <a href="#yLayoutAlignment" target="contentFrame" class="scala/swing/Component">scala.swing.Component.yLayoutAlignment</a>, <a href="#yLayoutAlignment_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.yLayoutAlignment_=</a>, <a href="#border" target="contentFrame" class="scala/swing/Component">scala.swing.Component.border</a>, <a href="#border_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.border_=</a>, <a href="#opaque" target="contentFrame" class="scala/swing/Component">scala.swing.Component.opaque</a>, <a href="#opaque_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.opaque_=</a>, <a href="#enabled" target="contentFrame" class="scala/swing/Component">scala.swing.Component.enabled</a>, <a href="#enabled_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.enabled_=</a>, <a href="#tooltip" target="contentFrame" class="scala/swing/Component">scala.swing.Component.tooltip</a>, <a href="#tooltip_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.tooltip_=</a>, <a href="#inputVerifier" target="contentFrame" class="scala/swing/Component">scala.swing.Component.inputVerifier</a>, <a href="#inputVerifier_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.inputVerifier_=</a>, <a href="#revalidate" target="contentFrame" class="scala/swing/Component">scala.swing.Component.revalidate</a>, <a href="#requestFocus" target="contentFrame" class="scala/swing/Component">scala.swing.Component.requestFocus</a>, <a href="#paintComponent" target="contentFrame" class="scala/swing/Component">scala.swing.Component.paintComponent</a>, <a href="#paint" target="contentFrame" class="scala/swing/Component">scala.swing.Component.paint</a>, <a href="#toString" target="contentFrame" class="scala/swing/Component">scala.swing.Component.toString</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#subscribe" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher.subscribe</a>, <a href="#unsubscribe" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher.unsubscribe</a>, <a href="#publish" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher.publish</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/swing/Reactor">scala.swing.Reactor</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#listenTo" target="contentFrame" class="scala/swing/Reactor">scala.swing.Reactor.listenTo</a>, <a href="#deafTo" target="contentFrame" class="scala/swing/Reactor">scala.swing.Reactor.deafTo</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#self" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.self</a>, <a href="#foreground" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.foreground</a>, <a href="#foreground_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.foreground_=</a>, <a href="#background" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.background</a>, <a href="#background_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.background_=</a>, <a href="#minimumSize" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.minimumSize</a>, <a href="#minimumSize_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.minimumSize_=</a>, <a href="#maximumSize" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.maximumSize</a>, <a href="#maximumSize_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.maximumSize_=</a>, <a href="#preferredSize" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.preferredSize</a>, <a href="#preferredSize_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.preferredSize_=</a>, <a href="#preferredSize_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.preferredSize_=</a>, <a href="#font" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.font</a>, <a href="#font_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.font_=</a>, <a href="#locationOnScreen" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.locationOnScreen</a>, <a href="#location" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.location</a>, <a href="#bounds" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.bounds</a>, <a href="#size" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.size</a>, <a href="#size_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.size_=</a>, <a href="#size_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.size_=</a>, <a href="#locale" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.locale</a>, <a href="#toolkit" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.toolkit</a>, <a href="#cursor" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.cursor</a>, <a href="#cursor_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.cursor_=</a>, <a href="#visible" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.visible</a>, <a href="#visible_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.visible_=</a>, <a href="#showing" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.showing</a>, <a href="#repaint" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.repaint</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/Proxy">scala.Proxy</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#hashCode" target="contentFrame" class="scala/Proxy">scala.Proxy.hashCode</a>, <a href="#equals" target="contentFrame" class="scala/Proxy">scala.Proxy.equals</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Value Details</td></tr> + </table><div><a name="c"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>c</em> : <a href="" target="contentFrame" class="scala/swing/GridBagPanel/Constraints">scala.swing.GridBagPanel.Constraints</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="sldX"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>sldX</em> : <a href="" target="contentFrame" class="scala/swing/Slider">scala.swing.Slider</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="lblX"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>lblX</em> : <a href="" target="contentFrame" class="scala/swing/Label">scala.swing.Label</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="sldY"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>sldY</em> : <a href="" target="contentFrame" class="scala/swing/Slider">scala.swing.Slider</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="lblY"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>lblY</em> : <a href="" target="contentFrame" class="scala/swing/Label">scala.swing.Label</a> + </dt> + <dd></dd> + </dl><hr></hr></div> +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="update%28%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>update</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + </dt> + <dd></dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/gui/InfoPanel.html b/doc/graphyx/gui/InfoPanel.html new file mode 100644 index 0000000..94dd11f --- /dev/null +++ b/doc/graphyx/gui/InfoPanel.html @@ -0,0 +1,198 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class InfoPanel in graphyx.gui</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/gui$package.html" target="_self">graphyx.gui</a> + <br></br> + <span class="entity">class InfoPanel</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/gui/InfoPanel"><code>graphyx/gui/InfoPanel.scala</code></a>] + </div><hr></hr> + <a name="InfoPanel"></a><dl> + <dt> + + <code></code> + <code>class</code> + <em>InfoPanel</em>(<em>container</em> : <a href="../../graphyx/gui/Container.html" target="_self">Container</a>) + </dt> + <dd><code> extends </code><a href="" target="contentFrame" class="scala/swing/BoxPanel">scala.swing.BoxPanel</a></dd> + </dl> + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/InfoPanel.html#out" target="_self">out</a></em> + : <a href="" target="contentFrame" class="scala/swing/TextArea">scala.swing.TextArea</a> + + + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="" target="contentFrame" class="scala/swing/BoxPanel">scala.swing.BoxPanel</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#peer" target="contentFrame" class="scala/swing/BoxPanel">scala.swing.BoxPanel.peer</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="" target="contentFrame" class="scala/swing/SequentialContainer/Wrapper">scala.swing.SequentialContainer.Wrapper</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#contents" target="contentFrame" class="scala/swing/SequentialContainer/Wrapper">scala.swing.SequentialContainer.Wrapper.contents</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="" target="contentFrame" class="scala/swing/Container/Wrapper">scala.swing.Container.Wrapper</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#_contents" target="contentFrame" class="scala/swing/Container/Wrapper">scala.swing.Container.Wrapper._contents</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="" target="contentFrame" class="scala/swing/Component">scala.swing.Component</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#initP" target="contentFrame" class="scala/swing/Component">scala.swing.Component.initP</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#listeners" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher.listeners</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="" target="contentFrame" class="scala/swing/Reactor">scala.swing.Reactor</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#reactions" target="contentFrame" class="scala/swing/Reactor">scala.swing.Reactor.reactions</a> + </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/gui/InfoPanel.html#update%28%29" target="_self">update</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + + + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/swing/Component">scala.swing.Component</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#xLayoutAlignment" target="contentFrame" class="scala/swing/Component">scala.swing.Component.xLayoutAlignment</a>, <a href="#xLayoutAlignment_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.xLayoutAlignment_=</a>, <a href="#yLayoutAlignment" target="contentFrame" class="scala/swing/Component">scala.swing.Component.yLayoutAlignment</a>, <a href="#yLayoutAlignment_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.yLayoutAlignment_=</a>, <a href="#border" target="contentFrame" class="scala/swing/Component">scala.swing.Component.border</a>, <a href="#border_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.border_=</a>, <a href="#opaque" target="contentFrame" class="scala/swing/Component">scala.swing.Component.opaque</a>, <a href="#opaque_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.opaque_=</a>, <a href="#enabled" target="contentFrame" class="scala/swing/Component">scala.swing.Component.enabled</a>, <a href="#enabled_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.enabled_=</a>, <a href="#tooltip" target="contentFrame" class="scala/swing/Component">scala.swing.Component.tooltip</a>, <a href="#tooltip_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.tooltip_=</a>, <a href="#inputVerifier" target="contentFrame" class="scala/swing/Component">scala.swing.Component.inputVerifier</a>, <a href="#inputVerifier_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.inputVerifier_=</a>, <a href="#revalidate" target="contentFrame" class="scala/swing/Component">scala.swing.Component.revalidate</a>, <a href="#requestFocus" target="contentFrame" class="scala/swing/Component">scala.swing.Component.requestFocus</a>, <a href="#paintComponent" target="contentFrame" class="scala/swing/Component">scala.swing.Component.paintComponent</a>, <a href="#paint" target="contentFrame" class="scala/swing/Component">scala.swing.Component.paint</a>, <a href="#toString" target="contentFrame" class="scala/swing/Component">scala.swing.Component.toString</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#subscribe" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher.subscribe</a>, <a href="#unsubscribe" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher.unsubscribe</a>, <a href="#publish" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher.publish</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/swing/Reactor">scala.swing.Reactor</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#listenTo" target="contentFrame" class="scala/swing/Reactor">scala.swing.Reactor.listenTo</a>, <a href="#deafTo" target="contentFrame" class="scala/swing/Reactor">scala.swing.Reactor.deafTo</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#self" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.self</a>, <a href="#foreground" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.foreground</a>, <a href="#foreground_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.foreground_=</a>, <a href="#background" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.background</a>, <a href="#background_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.background_=</a>, <a href="#minimumSize" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.minimumSize</a>, <a href="#minimumSize_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.minimumSize_=</a>, <a href="#maximumSize" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.maximumSize</a>, <a href="#maximumSize_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.maximumSize_=</a>, <a href="#preferredSize" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.preferredSize</a>, <a href="#preferredSize_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.preferredSize_=</a>, <a href="#preferredSize_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.preferredSize_=</a>, <a href="#font" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.font</a>, <a href="#font_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.font_=</a>, <a href="#locationOnScreen" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.locationOnScreen</a>, <a href="#location" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.location</a>, <a href="#bounds" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.bounds</a>, <a href="#size" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.size</a>, <a href="#size_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.size_=</a>, <a href="#size_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.size_=</a>, <a href="#locale" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.locale</a>, <a href="#toolkit" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.toolkit</a>, <a href="#cursor" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.cursor</a>, <a href="#cursor_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.cursor_=</a>, <a href="#visible" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.visible</a>, <a href="#visible_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.visible_=</a>, <a href="#showing" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.showing</a>, <a href="#repaint" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.repaint</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/Proxy">scala.Proxy</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#hashCode" target="contentFrame" class="scala/Proxy">scala.Proxy.hashCode</a>, <a href="#equals" target="contentFrame" class="scala/Proxy">scala.Proxy.equals</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Value Details</td></tr> + </table><div><a name="out"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>out</em> : <a href="" target="contentFrame" class="scala/swing/TextArea">scala.swing.TextArea</a> + </dt> + <dd></dd> + </dl><hr></hr></div> +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="update%28%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>update</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + </dt> + <dd></dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/gui/MainFrame.html b/doc/graphyx/gui/MainFrame.html new file mode 100644 index 0000000..fbc978a --- /dev/null +++ b/doc/graphyx/gui/MainFrame.html @@ -0,0 +1,161 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class MainFrame in graphyx.gui</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/gui$package.html" target="_self">graphyx.gui</a> + <br></br> + <span class="entity">class MainFrame</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/gui/MainFrame"><code>graphyx/gui/MainFrame.scala</code></a>] + </div><hr></hr> + <a name="MainFrame"></a><dl> + <dt> + + <code></code> + <code>class</code> + <em>MainFrame</em>(<em>container</em> : <a href="../../graphyx/gui/Container.html" target="_self">Container</a>) + </dt> + <dd><code> extends </code><a href="" target="contentFrame" class="scala/swing/Frame">scala.swing.Frame</a></dd> + </dl> + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/MainFrame.html#mainPanel" target="_self">mainPanel</a></em> + : <a href="../../graphyx/gui/MainPanel.html" target="_self">MainPanel</a> + + + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="" target="contentFrame" class="scala/swing/Frame">scala.swing.Frame</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#peer" target="contentFrame" class="scala/swing/Frame">scala.swing.Frame.peer</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#listeners" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher.listeners</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="" target="contentFrame" class="scala/swing/Reactor">scala.swing.Reactor</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#reactions" target="contentFrame" class="scala/swing/Reactor">scala.swing.Reactor.reactions</a> + </td></tr> + </table> +<table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/swing/Frame">scala.swing.Frame</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#title" target="contentFrame" class="scala/swing/Frame">scala.swing.Frame.title</a>, <a href="#title_=" target="contentFrame" class="scala/swing/Frame">scala.swing.Frame.title_=</a>, <a href="#contents_=" target="contentFrame" class="scala/swing/Frame">scala.swing.Frame.contents_=</a>, <a href="#defaultButton" target="contentFrame" class="scala/swing/Frame">scala.swing.Frame.defaultButton</a>, <a href="#defaultButton_=" target="contentFrame" class="scala/swing/Frame">scala.swing.Frame.defaultButton_=</a>, <a href="#defaultButton_=" target="contentFrame" class="scala/swing/Frame">scala.swing.Frame.defaultButton_=</a>, <a href="#dispose" target="contentFrame" class="scala/swing/Frame">scala.swing.Frame.dispose</a>, <a href="#pack" target="contentFrame" class="scala/swing/Frame">scala.swing.Frame.pack</a>, <a href="#menuBar" target="contentFrame" class="scala/swing/Frame">scala.swing.Frame.menuBar</a>, <a href="#menuBar_=" target="contentFrame" class="scala/swing/Frame">scala.swing.Frame.menuBar_=</a>, <a href="#setLocationRelativeTo" target="contentFrame" class="scala/swing/Frame">scala.swing.Frame.setLocationRelativeTo</a>, <a href="#location_=" target="contentFrame" class="scala/swing/Frame">scala.swing.Frame.location_=</a>, <a href="#iconImage" target="contentFrame" class="scala/swing/Frame">scala.swing.Frame.iconImage</a>, <a href="#iconImage_=" target="contentFrame" class="scala/swing/Frame">scala.swing.Frame.iconImage_=</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#subscribe" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher.subscribe</a>, <a href="#unsubscribe" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher.unsubscribe</a>, <a href="#publish" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher.publish</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/swing/Reactor">scala.swing.Reactor</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#listenTo" target="contentFrame" class="scala/swing/Reactor">scala.swing.Reactor.listenTo</a>, <a href="#deafTo" target="contentFrame" class="scala/swing/Reactor">scala.swing.Reactor.deafTo</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/swing/RootPanel">scala.swing.RootPanel</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#contents" target="contentFrame" class="scala/swing/RootPanel">scala.swing.RootPanel.contents</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#self" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.self</a>, <a href="#foreground" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.foreground</a>, <a href="#foreground_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.foreground_=</a>, <a href="#background" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.background</a>, <a href="#background_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.background_=</a>, <a href="#minimumSize" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.minimumSize</a>, <a href="#minimumSize_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.minimumSize_=</a>, <a href="#maximumSize" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.maximumSize</a>, <a href="#maximumSize_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.maximumSize_=</a>, <a href="#preferredSize" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.preferredSize</a>, <a href="#preferredSize_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.preferredSize_=</a>, <a href="#preferredSize_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.preferredSize_=</a>, <a href="#font" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.font</a>, <a href="#font_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.font_=</a>, <a href="#locationOnScreen" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.locationOnScreen</a>, <a href="#location" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.location</a>, <a href="#bounds" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.bounds</a>, <a href="#size" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.size</a>, <a href="#size_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.size_=</a>, <a href="#size_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.size_=</a>, <a href="#locale" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.locale</a>, <a href="#toolkit" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.toolkit</a>, <a href="#cursor" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.cursor</a>, <a href="#cursor_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.cursor_=</a>, <a href="#visible" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.visible</a>, <a href="#visible_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.visible_=</a>, <a href="#showing" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.showing</a>, <a href="#repaint" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.repaint</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/Proxy">scala.Proxy</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#hashCode" target="contentFrame" class="scala/Proxy">scala.Proxy.hashCode</a>, <a href="#equals" target="contentFrame" class="scala/Proxy">scala.Proxy.equals</a>, <a href="#toString" target="contentFrame" class="scala/Proxy">scala.Proxy.toString</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Value Details</td></tr> + </table><div><a name="mainPanel"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>mainPanel</em> : <a href="../../graphyx/gui/MainPanel.html" target="_self">MainPanel</a> + </dt> + <dd></dd> + </dl><hr></hr></div> + + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/gui/MainPanel.html b/doc/graphyx/gui/MainPanel.html new file mode 100644 index 0000000..a02c4c1 --- /dev/null +++ b/doc/graphyx/gui/MainPanel.html @@ -0,0 +1,329 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class MainPanel in graphyx.gui</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/gui$package.html" target="_self">graphyx.gui</a> + <br></br> + <span class="entity">class MainPanel</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/gui/MainPanel"><code>graphyx/gui/MainPanel.scala</code></a>] + </div><hr></hr> + <a name="MainPanel"></a><dl> + <dt> + + <code></code> + <code>class</code> + <em>MainPanel</em>(<em>container</em> : <a href="../../graphyx/gui/Container.html" target="_self">Container</a>) + </dt> + <dd><code> extends </code><a href="" target="contentFrame" class="scala/swing/GridBagPanel">scala.swing.GridBagPanel</a></dd> + </dl> + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/MainPanel.html#c" target="_self">c</a></em> + : <a href="" target="contentFrame" class="scala/swing/GridBagPanel/Constraints">scala.swing.GridBagPanel.Constraints</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/MainPanel.html#controlPanel" target="_self">controlPanel</a></em> + : <a href="../../graphyx/gui/ControlPanel.html" target="_self">ControlPanel</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/MainPanel.html#gravityPanel" target="_self">gravityPanel</a></em> + : <a href="../../graphyx/gui/GravityPanel.html" target="_self">GravityPanel</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/MainPanel.html#infoPanel" target="_self">infoPanel</a></em> + : <a href="../../graphyx/gui/InfoPanel.html" target="_self">InfoPanel</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/MainPanel.html#optionsPanel" target="_self">optionsPanel</a></em> + : <a href="../../graphyx/gui/OptionsPanel.html" target="_self">OptionsPanel</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/MainPanel.html#shapeInfoPanel" target="_self">shapeInfoPanel</a></em> + : <a href="../../graphyx/gui/ShapeInfoPanel.html" target="_self">ShapeInfoPanel</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/MainPanel.html#splitter" target="_self">splitter</a></em> + : <a href="" target="contentFrame" class="scala/swing/SplitPane">scala.swing.SplitPane</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/MainPanel.html#worldPanel" target="_self">worldPanel</a></em> + : <a href="../../graphyx/gui/WorldPanel.html" target="_self">WorldPanel</a> + + + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="" target="contentFrame" class="scala/swing/GridBagPanel">scala.swing.GridBagPanel</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#peer" target="contentFrame" class="scala/swing/GridBagPanel">scala.swing.GridBagPanel.peer</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="" target="contentFrame" class="scala/swing/Container/Wrapper">scala.swing.Container.Wrapper</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#_contents" target="contentFrame" class="scala/swing/Container/Wrapper">scala.swing.Container.Wrapper._contents</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="" target="contentFrame" class="scala/swing/Component">scala.swing.Component</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#initP" target="contentFrame" class="scala/swing/Component">scala.swing.Component.initP</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#listeners" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher.listeners</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="" target="contentFrame" class="scala/swing/Reactor">scala.swing.Reactor</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#reactions" target="contentFrame" class="scala/swing/Reactor">scala.swing.Reactor.reactions</a> + </td></tr> + </table> +<table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/swing/GridBagPanel">scala.swing.GridBagPanel</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#pair2Constraints" target="contentFrame" class="scala/swing/GridBagPanel">scala.swing.GridBagPanel.pair2Constraints</a>, <a href="#constraintsFor" target="contentFrame" class="scala/swing/GridBagPanel">scala.swing.GridBagPanel.constraintsFor</a>, <a href="#areValid" target="contentFrame" class="scala/swing/GridBagPanel">scala.swing.GridBagPanel.areValid</a>, <a href="#add" target="contentFrame" class="scala/swing/GridBagPanel">scala.swing.GridBagPanel.add</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/swing/LayoutContainer">scala.swing.LayoutContainer</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#layout" target="contentFrame" class="scala/swing/LayoutContainer">scala.swing.LayoutContainer.layout</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/swing/Container/Wrapper">scala.swing.Container.Wrapper</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#contents" target="contentFrame" class="scala/swing/Container/Wrapper">scala.swing.Container.Wrapper.contents</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/swing/Component">scala.swing.Component</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#xLayoutAlignment" target="contentFrame" class="scala/swing/Component">scala.swing.Component.xLayoutAlignment</a>, <a href="#xLayoutAlignment_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.xLayoutAlignment_=</a>, <a href="#yLayoutAlignment" target="contentFrame" class="scala/swing/Component">scala.swing.Component.yLayoutAlignment</a>, <a href="#yLayoutAlignment_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.yLayoutAlignment_=</a>, <a href="#border" target="contentFrame" class="scala/swing/Component">scala.swing.Component.border</a>, <a href="#border_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.border_=</a>, <a href="#opaque" target="contentFrame" class="scala/swing/Component">scala.swing.Component.opaque</a>, <a href="#opaque_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.opaque_=</a>, <a href="#enabled" target="contentFrame" class="scala/swing/Component">scala.swing.Component.enabled</a>, <a href="#enabled_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.enabled_=</a>, <a href="#tooltip" target="contentFrame" class="scala/swing/Component">scala.swing.Component.tooltip</a>, <a href="#tooltip_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.tooltip_=</a>, <a href="#inputVerifier" target="contentFrame" class="scala/swing/Component">scala.swing.Component.inputVerifier</a>, <a href="#inputVerifier_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.inputVerifier_=</a>, <a href="#revalidate" target="contentFrame" class="scala/swing/Component">scala.swing.Component.revalidate</a>, <a href="#requestFocus" target="contentFrame" class="scala/swing/Component">scala.swing.Component.requestFocus</a>, <a href="#paintComponent" target="contentFrame" class="scala/swing/Component">scala.swing.Component.paintComponent</a>, <a href="#paint" target="contentFrame" class="scala/swing/Component">scala.swing.Component.paint</a>, <a href="#toString" target="contentFrame" class="scala/swing/Component">scala.swing.Component.toString</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#subscribe" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher.subscribe</a>, <a href="#unsubscribe" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher.unsubscribe</a>, <a href="#publish" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher.publish</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/swing/Reactor">scala.swing.Reactor</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#listenTo" target="contentFrame" class="scala/swing/Reactor">scala.swing.Reactor.listenTo</a>, <a href="#deafTo" target="contentFrame" class="scala/swing/Reactor">scala.swing.Reactor.deafTo</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#self" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.self</a>, <a href="#foreground" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.foreground</a>, <a href="#foreground_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.foreground_=</a>, <a href="#background" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.background</a>, <a href="#background_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.background_=</a>, <a href="#minimumSize" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.minimumSize</a>, <a href="#minimumSize_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.minimumSize_=</a>, <a href="#maximumSize" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.maximumSize</a>, <a href="#maximumSize_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.maximumSize_=</a>, <a href="#preferredSize" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.preferredSize</a>, <a href="#preferredSize_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.preferredSize_=</a>, <a href="#preferredSize_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.preferredSize_=</a>, <a href="#font" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.font</a>, <a href="#font_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.font_=</a>, <a href="#locationOnScreen" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.locationOnScreen</a>, <a href="#location" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.location</a>, <a href="#bounds" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.bounds</a>, <a href="#size" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.size</a>, <a href="#size_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.size_=</a>, <a href="#size_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.size_=</a>, <a href="#locale" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.locale</a>, <a href="#toolkit" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.toolkit</a>, <a href="#cursor" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.cursor</a>, <a href="#cursor_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.cursor_=</a>, <a href="#visible" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.visible</a>, <a href="#visible_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.visible_=</a>, <a href="#showing" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.showing</a>, <a href="#repaint" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.repaint</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/Proxy">scala.Proxy</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#hashCode" target="contentFrame" class="scala/Proxy">scala.Proxy.hashCode</a>, <a href="#equals" target="contentFrame" class="scala/Proxy">scala.Proxy.equals</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Value Details</td></tr> + </table><div><a name="c"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>c</em> : <a href="" target="contentFrame" class="scala/swing/GridBagPanel/Constraints">scala.swing.GridBagPanel.Constraints</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="worldPanel"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>worldPanel</em> : <a href="../../graphyx/gui/WorldPanel.html" target="_self">WorldPanel</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="controlPanel"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>controlPanel</em> : <a href="../../graphyx/gui/ControlPanel.html" target="_self">ControlPanel</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="infoPanel"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>infoPanel</em> : <a href="../../graphyx/gui/InfoPanel.html" target="_self">InfoPanel</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="optionsPanel"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>optionsPanel</em> : <a href="../../graphyx/gui/OptionsPanel.html" target="_self">OptionsPanel</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="shapeInfoPanel"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>shapeInfoPanel</em> : <a href="../../graphyx/gui/ShapeInfoPanel.html" target="_self">ShapeInfoPanel</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="gravityPanel"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>gravityPanel</em> : <a href="../../graphyx/gui/GravityPanel.html" target="_self">GravityPanel</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="splitter"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>splitter</em> : <a href="" target="contentFrame" class="scala/swing/SplitPane">scala.swing.SplitPane</a> + </dt> + <dd></dd> + </dl><hr></hr></div> + + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/gui/OptionsPanel.html b/doc/graphyx/gui/OptionsPanel.html new file mode 100644 index 0000000..b4f3ec6 --- /dev/null +++ b/doc/graphyx/gui/OptionsPanel.html @@ -0,0 +1,625 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class OptionsPanel in graphyx.gui</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/gui$package.html" target="_self">graphyx.gui</a> + <br></br> + <span class="entity">class OptionsPanel</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/gui/OptionsPanel"><code>graphyx/gui/OptionsPanel.scala</code></a>] + </div><hr></hr> + <a name="OptionsPanel"></a><dl> + <dt> + + <code></code> + <code>class</code> + <em>OptionsPanel</em>(<em>container</em> : <a href="../../graphyx/gui/Container.html" target="_self">Container</a>) + </dt> + <dd><code> extends </code><a href="" target="contentFrame" class="scala/swing/GridPanel">scala.swing.GridPanel</a></dd> + </dl> + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/OptionsPanel.html#chckCD" target="_self">chckCD</a></em> + : <a href="" target="contentFrame" class="scala/swing/CheckBox">scala.swing.CheckBox</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/OptionsPanel.html#chckDrawAABBs" target="_self">chckDrawAABBs</a></em> + : <a href="" target="contentFrame" class="scala/swing/CheckBox">scala.swing.CheckBox</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/OptionsPanel.html#chckDrawBodies" target="_self">chckDrawBodies</a></em> + : <a href="" target="contentFrame" class="scala/swing/CheckBox">scala.swing.CheckBox</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/OptionsPanel.html#chckDrawCollisions" target="_self">chckDrawCollisions</a></em> + : <a href="" target="contentFrame" class="scala/swing/CheckBox">scala.swing.CheckBox</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/OptionsPanel.html#chckDrawJoints" target="_self">chckDrawJoints</a></em> + : <a href="" target="contentFrame" class="scala/swing/CheckBox">scala.swing.CheckBox</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/OptionsPanel.html#chckDrawPairs" target="_self">chckDrawPairs</a></em> + : <a href="" target="contentFrame" class="scala/swing/CheckBox">scala.swing.CheckBox</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/OptionsPanel.html#chckDrawShapes" target="_self">chckDrawShapes</a></em> + : <a href="" target="contentFrame" class="scala/swing/CheckBox">scala.swing.CheckBox</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/OptionsPanel.html#chckPC" target="_self">chckPC</a></em> + : <a href="" target="contentFrame" class="scala/swing/CheckBox">scala.swing.CheckBox</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/OptionsPanel.html#components" target="_self">components</a></em> + : <a href="" target="contentFrame" class="scala/List">scala.List</a>[<a href="" target="contentFrame" class="scala/swing/Component">scala.swing.Component</a>] + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/OptionsPanel.html#lblCD" target="_self">lblCD</a></em> + : <a href="" target="contentFrame" class="scala/swing/Label">scala.swing.Label</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/OptionsPanel.html#lblDraw" target="_self">lblDraw</a></em> + : <a href="" target="contentFrame" class="scala/swing/Label">scala.swing.Label</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/OptionsPanel.html#lblDrawAABBs" target="_self">lblDrawAABBs</a></em> + : <a href="" target="contentFrame" class="scala/swing/Label">scala.swing.Label</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/OptionsPanel.html#lblDrawBodies" target="_self">lblDrawBodies</a></em> + : <a href="" target="contentFrame" class="scala/swing/Label">scala.swing.Label</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/OptionsPanel.html#lblDrawCollisions" target="_self">lblDrawCollisions</a></em> + : <a href="" target="contentFrame" class="scala/swing/Label">scala.swing.Label</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/OptionsPanel.html#lblDrawJoints" target="_self">lblDrawJoints</a></em> + : <a href="" target="contentFrame" class="scala/swing/Label">scala.swing.Label</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/OptionsPanel.html#lblDrawPairs" target="_self">lblDrawPairs</a></em> + : <a href="" target="contentFrame" class="scala/swing/Label">scala.swing.Label</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/OptionsPanel.html#lblDrawShapes" target="_self">lblDrawShapes</a></em> + : <a href="" target="contentFrame" class="scala/swing/Label">scala.swing.Label</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/OptionsPanel.html#lblIterations" target="_self">lblIterations</a></em> + : <a href="" target="contentFrame" class="scala/swing/Label">scala.swing.Label</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/OptionsPanel.html#lblPC" target="_self">lblPC</a></em> + : <a href="" target="contentFrame" class="scala/swing/Label">scala.swing.Label</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/OptionsPanel.html#lblTimeStep" target="_self">lblTimeStep</a></em> + : <a href="" target="contentFrame" class="scala/swing/Label">scala.swing.Label</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/OptionsPanel.html#txtIterations" target="_self">txtIterations</a></em> + : <a href="" target="contentFrame" class="scala/swing/TextField">scala.swing.TextField</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/OptionsPanel.html#txtTimeStep" target="_self">txtTimeStep</a></em> + : <a href="" target="contentFrame" class="scala/swing/TextField">scala.swing.TextField</a> + + + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="" target="contentFrame" class="scala/swing/GridPanel">scala.swing.GridPanel</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#peer" target="contentFrame" class="scala/swing/GridPanel">scala.swing.GridPanel.peer</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="" target="contentFrame" class="scala/swing/SequentialContainer/Wrapper">scala.swing.SequentialContainer.Wrapper</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#contents" target="contentFrame" class="scala/swing/SequentialContainer/Wrapper">scala.swing.SequentialContainer.Wrapper.contents</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="" target="contentFrame" class="scala/swing/Container/Wrapper">scala.swing.Container.Wrapper</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#_contents" target="contentFrame" class="scala/swing/Container/Wrapper">scala.swing.Container.Wrapper._contents</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="" target="contentFrame" class="scala/swing/Component">scala.swing.Component</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#initP" target="contentFrame" class="scala/swing/Component">scala.swing.Component.initP</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#listeners" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher.listeners</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="" target="contentFrame" class="scala/swing/Reactor">scala.swing.Reactor</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#reactions" target="contentFrame" class="scala/swing/Reactor">scala.swing.Reactor.reactions</a> + </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/gui/OptionsPanel.html#update%28%29" target="_self">update</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + + + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/swing/GridPanel">scala.swing.GridPanel</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#rows" target="contentFrame" class="scala/swing/GridPanel">scala.swing.GridPanel.rows</a>, <a href="#rows_=" target="contentFrame" class="scala/swing/GridPanel">scala.swing.GridPanel.rows_=</a>, <a href="#columns" target="contentFrame" class="scala/swing/GridPanel">scala.swing.GridPanel.columns</a>, <a href="#columns_=" target="contentFrame" class="scala/swing/GridPanel">scala.swing.GridPanel.columns_=</a>, <a href="#vGap" target="contentFrame" class="scala/swing/GridPanel">scala.swing.GridPanel.vGap</a>, <a href="#vGap_=" target="contentFrame" class="scala/swing/GridPanel">scala.swing.GridPanel.vGap_=</a>, <a href="#hGap" target="contentFrame" class="scala/swing/GridPanel">scala.swing.GridPanel.hGap</a>, <a href="#hGap_=" target="contentFrame" class="scala/swing/GridPanel">scala.swing.GridPanel.hGap_=</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/swing/Component">scala.swing.Component</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#xLayoutAlignment" target="contentFrame" class="scala/swing/Component">scala.swing.Component.xLayoutAlignment</a>, <a href="#xLayoutAlignment_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.xLayoutAlignment_=</a>, <a href="#yLayoutAlignment" target="contentFrame" class="scala/swing/Component">scala.swing.Component.yLayoutAlignment</a>, <a href="#yLayoutAlignment_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.yLayoutAlignment_=</a>, <a href="#border" target="contentFrame" class="scala/swing/Component">scala.swing.Component.border</a>, <a href="#border_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.border_=</a>, <a href="#opaque" target="contentFrame" class="scala/swing/Component">scala.swing.Component.opaque</a>, <a href="#opaque_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.opaque_=</a>, <a href="#enabled" target="contentFrame" class="scala/swing/Component">scala.swing.Component.enabled</a>, <a href="#enabled_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.enabled_=</a>, <a href="#tooltip" target="contentFrame" class="scala/swing/Component">scala.swing.Component.tooltip</a>, <a href="#tooltip_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.tooltip_=</a>, <a href="#inputVerifier" target="contentFrame" class="scala/swing/Component">scala.swing.Component.inputVerifier</a>, <a href="#inputVerifier_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.inputVerifier_=</a>, <a href="#revalidate" target="contentFrame" class="scala/swing/Component">scala.swing.Component.revalidate</a>, <a href="#requestFocus" target="contentFrame" class="scala/swing/Component">scala.swing.Component.requestFocus</a>, <a href="#paintComponent" target="contentFrame" class="scala/swing/Component">scala.swing.Component.paintComponent</a>, <a href="#paint" target="contentFrame" class="scala/swing/Component">scala.swing.Component.paint</a>, <a href="#toString" target="contentFrame" class="scala/swing/Component">scala.swing.Component.toString</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#subscribe" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher.subscribe</a>, <a href="#unsubscribe" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher.unsubscribe</a>, <a href="#publish" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher.publish</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/swing/Reactor">scala.swing.Reactor</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#listenTo" target="contentFrame" class="scala/swing/Reactor">scala.swing.Reactor.listenTo</a>, <a href="#deafTo" target="contentFrame" class="scala/swing/Reactor">scala.swing.Reactor.deafTo</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#self" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.self</a>, <a href="#foreground" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.foreground</a>, <a href="#foreground_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.foreground_=</a>, <a href="#background" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.background</a>, <a href="#background_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.background_=</a>, <a href="#minimumSize" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.minimumSize</a>, <a href="#minimumSize_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.minimumSize_=</a>, <a href="#maximumSize" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.maximumSize</a>, <a href="#maximumSize_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.maximumSize_=</a>, <a href="#preferredSize" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.preferredSize</a>, <a href="#preferredSize_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.preferredSize_=</a>, <a href="#preferredSize_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.preferredSize_=</a>, <a href="#font" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.font</a>, <a href="#font_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.font_=</a>, <a href="#locationOnScreen" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.locationOnScreen</a>, <a href="#location" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.location</a>, <a href="#bounds" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.bounds</a>, <a href="#size" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.size</a>, <a href="#size_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.size_=</a>, <a href="#size_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.size_=</a>, <a href="#locale" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.locale</a>, <a href="#toolkit" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.toolkit</a>, <a href="#cursor" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.cursor</a>, <a href="#cursor_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.cursor_=</a>, <a href="#visible" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.visible</a>, <a href="#visible_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.visible_=</a>, <a href="#showing" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.showing</a>, <a href="#repaint" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.repaint</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/Proxy">scala.Proxy</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#hashCode" target="contentFrame" class="scala/Proxy">scala.Proxy.hashCode</a>, <a href="#equals" target="contentFrame" class="scala/Proxy">scala.Proxy.equals</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Value Details</td></tr> + </table><div><a name="lblTimeStep"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>lblTimeStep</em> : <a href="" target="contentFrame" class="scala/swing/Label">scala.swing.Label</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="txtTimeStep"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>txtTimeStep</em> : <a href="" target="contentFrame" class="scala/swing/TextField">scala.swing.TextField</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="lblIterations"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>lblIterations</em> : <a href="" target="contentFrame" class="scala/swing/Label">scala.swing.Label</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="txtIterations"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>txtIterations</em> : <a href="" target="contentFrame" class="scala/swing/TextField">scala.swing.TextField</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="lblCD"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>lblCD</em> : <a href="" target="contentFrame" class="scala/swing/Label">scala.swing.Label</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="chckCD"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>chckCD</em> : <a href="" target="contentFrame" class="scala/swing/CheckBox">scala.swing.CheckBox</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="lblPC"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>lblPC</em> : <a href="" target="contentFrame" class="scala/swing/Label">scala.swing.Label</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="chckPC"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>chckPC</em> : <a href="" target="contentFrame" class="scala/swing/CheckBox">scala.swing.CheckBox</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="lblDraw"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>lblDraw</em> : <a href="" target="contentFrame" class="scala/swing/Label">scala.swing.Label</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="lblDrawBodies"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>lblDrawBodies</em> : <a href="" target="contentFrame" class="scala/swing/Label">scala.swing.Label</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="chckDrawBodies"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>chckDrawBodies</em> : <a href="" target="contentFrame" class="scala/swing/CheckBox">scala.swing.CheckBox</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="lblDrawShapes"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>lblDrawShapes</em> : <a href="" target="contentFrame" class="scala/swing/Label">scala.swing.Label</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="chckDrawShapes"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>chckDrawShapes</em> : <a href="" target="contentFrame" class="scala/swing/CheckBox">scala.swing.CheckBox</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="lblDrawJoints"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>lblDrawJoints</em> : <a href="" target="contentFrame" class="scala/swing/Label">scala.swing.Label</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="chckDrawJoints"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>chckDrawJoints</em> : <a href="" target="contentFrame" class="scala/swing/CheckBox">scala.swing.CheckBox</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="lblDrawAABBs"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>lblDrawAABBs</em> : <a href="" target="contentFrame" class="scala/swing/Label">scala.swing.Label</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="chckDrawAABBs"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>chckDrawAABBs</em> : <a href="" target="contentFrame" class="scala/swing/CheckBox">scala.swing.CheckBox</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="lblDrawPairs"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>lblDrawPairs</em> : <a href="" target="contentFrame" class="scala/swing/Label">scala.swing.Label</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="chckDrawPairs"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>chckDrawPairs</em> : <a href="" target="contentFrame" class="scala/swing/CheckBox">scala.swing.CheckBox</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="lblDrawCollisions"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>lblDrawCollisions</em> : <a href="" target="contentFrame" class="scala/swing/Label">scala.swing.Label</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="chckDrawCollisions"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>chckDrawCollisions</em> : <a href="" target="contentFrame" class="scala/swing/CheckBox">scala.swing.CheckBox</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="components"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>components</em> : <a href="" target="contentFrame" class="scala/List">scala.List</a>[<a href="" target="contentFrame" class="scala/swing/Component">scala.swing.Component</a>] + </dt> + <dd></dd> + </dl><hr></hr></div> +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="update%28%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>update</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + </dt> + <dd></dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/gui/PopupMenu.html b/doc/graphyx/gui/PopupMenu.html new file mode 100644 index 0000000..96c8a2e --- /dev/null +++ b/doc/graphyx/gui/PopupMenu.html @@ -0,0 +1,207 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class PopupMenu in graphyx.gui</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/gui$package.html" target="_self">graphyx.gui</a> + <br></br> + <span class="entity">class PopupMenu</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/gui/PopupMenu"><code>graphyx/gui/PopupMenu.scala</code></a>] + </div><hr></hr> + <a name="PopupMenu"></a><dl> + <dt> + + <code></code> + <code>class</code> + <em>PopupMenu</em> + </dt> + <dd><code> extends </code><a href="" target="contentFrame" class="scala/swing/Component">scala.swing.Component</a></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"><b>Direct Known Subclasses:</b></dt> + <dd><a href="../../graphyx/gui/BodyPopup.html" target="_self">BodyPopup</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>override lazy val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/PopupMenu.html#peer" target="_self">peer</a></em> + : <a href="" target="contentFrame" class="javax/swing/JPopupMenu">javax.swing.JPopupMenu</a> + + + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="" target="contentFrame" class="scala/swing/Component">scala.swing.Component</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#initP" target="contentFrame" class="scala/swing/Component">scala.swing.Component.initP</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#listeners" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher.listeners</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="" target="contentFrame" class="scala/swing/Reactor">scala.swing.Reactor</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#reactions" target="contentFrame" class="scala/swing/Reactor">scala.swing.Reactor.reactions</a> + </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/gui/PopupMenu.html#add%28scala.swing.MenuItem%29" target="_self">add</a></em> + (<em>item</em> : <a href="" target="contentFrame" class="scala/swing/MenuItem">scala.swing.MenuItem</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/PopupMenu.html#setVisible%28Boolean%29" target="_self">setVisible</a></em> + (<em>visible</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + + + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/swing/Component">scala.swing.Component</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#xLayoutAlignment" target="contentFrame" class="scala/swing/Component">scala.swing.Component.xLayoutAlignment</a>, <a href="#xLayoutAlignment_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.xLayoutAlignment_=</a>, <a href="#yLayoutAlignment" target="contentFrame" class="scala/swing/Component">scala.swing.Component.yLayoutAlignment</a>, <a href="#yLayoutAlignment_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.yLayoutAlignment_=</a>, <a href="#border" target="contentFrame" class="scala/swing/Component">scala.swing.Component.border</a>, <a href="#border_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.border_=</a>, <a href="#opaque" target="contentFrame" class="scala/swing/Component">scala.swing.Component.opaque</a>, <a href="#opaque_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.opaque_=</a>, <a href="#enabled" target="contentFrame" class="scala/swing/Component">scala.swing.Component.enabled</a>, <a href="#enabled_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.enabled_=</a>, <a href="#tooltip" target="contentFrame" class="scala/swing/Component">scala.swing.Component.tooltip</a>, <a href="#tooltip_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.tooltip_=</a>, <a href="#inputVerifier" target="contentFrame" class="scala/swing/Component">scala.swing.Component.inputVerifier</a>, <a href="#inputVerifier_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.inputVerifier_=</a>, <a href="#revalidate" target="contentFrame" class="scala/swing/Component">scala.swing.Component.revalidate</a>, <a href="#requestFocus" target="contentFrame" class="scala/swing/Component">scala.swing.Component.requestFocus</a>, <a href="#paintComponent" target="contentFrame" class="scala/swing/Component">scala.swing.Component.paintComponent</a>, <a href="#paint" target="contentFrame" class="scala/swing/Component">scala.swing.Component.paint</a>, <a href="#toString" target="contentFrame" class="scala/swing/Component">scala.swing.Component.toString</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#subscribe" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher.subscribe</a>, <a href="#unsubscribe" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher.unsubscribe</a>, <a href="#publish" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher.publish</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/swing/Reactor">scala.swing.Reactor</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#listenTo" target="contentFrame" class="scala/swing/Reactor">scala.swing.Reactor.listenTo</a>, <a href="#deafTo" target="contentFrame" class="scala/swing/Reactor">scala.swing.Reactor.deafTo</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#self" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.self</a>, <a href="#foreground" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.foreground</a>, <a href="#foreground_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.foreground_=</a>, <a href="#background" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.background</a>, <a href="#background_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.background_=</a>, <a href="#minimumSize" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.minimumSize</a>, <a href="#minimumSize_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.minimumSize_=</a>, <a href="#maximumSize" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.maximumSize</a>, <a href="#maximumSize_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.maximumSize_=</a>, <a href="#preferredSize" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.preferredSize</a>, <a href="#preferredSize_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.preferredSize_=</a>, <a href="#preferredSize_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.preferredSize_=</a>, <a href="#font" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.font</a>, <a href="#font_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.font_=</a>, <a href="#locationOnScreen" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.locationOnScreen</a>, <a href="#location" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.location</a>, <a href="#bounds" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.bounds</a>, <a href="#size" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.size</a>, <a href="#size_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.size_=</a>, <a href="#size_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.size_=</a>, <a href="#locale" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.locale</a>, <a href="#toolkit" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.toolkit</a>, <a href="#cursor" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.cursor</a>, <a href="#cursor_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.cursor_=</a>, <a href="#visible" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.visible</a>, <a href="#visible_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.visible_=</a>, <a href="#showing" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.showing</a>, <a href="#repaint" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.repaint</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/Proxy">scala.Proxy</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#hashCode" target="contentFrame" class="scala/Proxy">scala.Proxy.hashCode</a>, <a href="#equals" target="contentFrame" class="scala/Proxy">scala.Proxy.equals</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Value Details</td></tr> + </table><div><a name="peer"></a><dl> + <dt> + + <code>override</code> + <code>lazy val</code> + <em>peer</em> : <a href="" target="contentFrame" class="javax/swing/JPopupMenu">javax.swing.JPopupMenu</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/swing/Component">scala.swing.Component</a>.<a href="#peer" target="contentFrame" class="scala/swing/Component">scala.swing.Component.peer</a> + </dd> + </dl><hr></hr></div> +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="add%28scala.swing.MenuItem%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>add</em>(<em>item</em> : <a href="" target="contentFrame" class="scala/swing/MenuItem">scala.swing.MenuItem</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="setVisible%28Boolean%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>setVisible</em>(<em>visible</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + </dt> + <dd></dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/gui/ShapeInfoPanel.html b/doc/graphyx/gui/ShapeInfoPanel.html new file mode 100644 index 0000000..452968a --- /dev/null +++ b/doc/graphyx/gui/ShapeInfoPanel.html @@ -0,0 +1,262 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class ShapeInfoPanel in graphyx.gui</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/gui$package.html" target="_self">graphyx.gui</a> + <br></br> + <span class="entity">class ShapeInfoPanel</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/gui/ShapeInfoPanel"><code>graphyx/gui/ShapeInfoPanel.scala</code></a>] + </div><hr></hr> + <a name="ShapeInfoPanel"></a><dl> + <dt> + + <code></code> + <code>class</code> + <em>ShapeInfoPanel</em>(<em>container</em> : <a href="../../graphyx/gui/Container.html" target="_self">Container</a>) + </dt> + <dd><code> extends </code><a href="" target="contentFrame" class="scala/swing/GridPanel">scala.swing.GridPanel</a></dd> + </dl> + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/ShapeInfoPanel.html#components" target="_self">components</a></em> + : <a href="" target="contentFrame" class="scala/List">scala.List</a>[<a href="" target="contentFrame" class="scala/swing/Label">scala.swing.Label</a>] + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/ShapeInfoPanel.html#lblBody" target="_self">lblBody</a></em> + : <a href="" target="contentFrame" class="scala/swing/Label">scala.swing.Label</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/ShapeInfoPanel.html#lblShape" target="_self">lblShape</a></em> + : <a href="" target="contentFrame" class="scala/swing/Label">scala.swing.Label</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/ShapeInfoPanel.html#lblValBody" target="_self">lblValBody</a></em> + : <a href="" target="contentFrame" class="scala/swing/Label">scala.swing.Label</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/ShapeInfoPanel.html#lblValShape" target="_self">lblValShape</a></em> + : <a href="" target="contentFrame" class="scala/swing/Label">scala.swing.Label</a> + + + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="" target="contentFrame" class="scala/swing/GridPanel">scala.swing.GridPanel</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#peer" target="contentFrame" class="scala/swing/GridPanel">scala.swing.GridPanel.peer</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="" target="contentFrame" class="scala/swing/SequentialContainer/Wrapper">scala.swing.SequentialContainer.Wrapper</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#contents" target="contentFrame" class="scala/swing/SequentialContainer/Wrapper">scala.swing.SequentialContainer.Wrapper.contents</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="" target="contentFrame" class="scala/swing/Container/Wrapper">scala.swing.Container.Wrapper</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#_contents" target="contentFrame" class="scala/swing/Container/Wrapper">scala.swing.Container.Wrapper._contents</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="" target="contentFrame" class="scala/swing/Component">scala.swing.Component</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#initP" target="contentFrame" class="scala/swing/Component">scala.swing.Component.initP</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#listeners" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher.listeners</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="" target="contentFrame" class="scala/swing/Reactor">scala.swing.Reactor</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#reactions" target="contentFrame" class="scala/swing/Reactor">scala.swing.Reactor.reactions</a> + </td></tr> + </table> +<table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/swing/GridPanel">scala.swing.GridPanel</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#rows" target="contentFrame" class="scala/swing/GridPanel">scala.swing.GridPanel.rows</a>, <a href="#rows_=" target="contentFrame" class="scala/swing/GridPanel">scala.swing.GridPanel.rows_=</a>, <a href="#columns" target="contentFrame" class="scala/swing/GridPanel">scala.swing.GridPanel.columns</a>, <a href="#columns_=" target="contentFrame" class="scala/swing/GridPanel">scala.swing.GridPanel.columns_=</a>, <a href="#vGap" target="contentFrame" class="scala/swing/GridPanel">scala.swing.GridPanel.vGap</a>, <a href="#vGap_=" target="contentFrame" class="scala/swing/GridPanel">scala.swing.GridPanel.vGap_=</a>, <a href="#hGap" target="contentFrame" class="scala/swing/GridPanel">scala.swing.GridPanel.hGap</a>, <a href="#hGap_=" target="contentFrame" class="scala/swing/GridPanel">scala.swing.GridPanel.hGap_=</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/swing/Component">scala.swing.Component</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#xLayoutAlignment" target="contentFrame" class="scala/swing/Component">scala.swing.Component.xLayoutAlignment</a>, <a href="#xLayoutAlignment_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.xLayoutAlignment_=</a>, <a href="#yLayoutAlignment" target="contentFrame" class="scala/swing/Component">scala.swing.Component.yLayoutAlignment</a>, <a href="#yLayoutAlignment_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.yLayoutAlignment_=</a>, <a href="#border" target="contentFrame" class="scala/swing/Component">scala.swing.Component.border</a>, <a href="#border_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.border_=</a>, <a href="#opaque" target="contentFrame" class="scala/swing/Component">scala.swing.Component.opaque</a>, <a href="#opaque_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.opaque_=</a>, <a href="#enabled" target="contentFrame" class="scala/swing/Component">scala.swing.Component.enabled</a>, <a href="#enabled_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.enabled_=</a>, <a href="#tooltip" target="contentFrame" class="scala/swing/Component">scala.swing.Component.tooltip</a>, <a href="#tooltip_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.tooltip_=</a>, <a href="#inputVerifier" target="contentFrame" class="scala/swing/Component">scala.swing.Component.inputVerifier</a>, <a href="#inputVerifier_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.inputVerifier_=</a>, <a href="#revalidate" target="contentFrame" class="scala/swing/Component">scala.swing.Component.revalidate</a>, <a href="#requestFocus" target="contentFrame" class="scala/swing/Component">scala.swing.Component.requestFocus</a>, <a href="#paintComponent" target="contentFrame" class="scala/swing/Component">scala.swing.Component.paintComponent</a>, <a href="#paint" target="contentFrame" class="scala/swing/Component">scala.swing.Component.paint</a>, <a href="#toString" target="contentFrame" class="scala/swing/Component">scala.swing.Component.toString</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#subscribe" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher.subscribe</a>, <a href="#unsubscribe" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher.unsubscribe</a>, <a href="#publish" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher.publish</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/swing/Reactor">scala.swing.Reactor</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#listenTo" target="contentFrame" class="scala/swing/Reactor">scala.swing.Reactor.listenTo</a>, <a href="#deafTo" target="contentFrame" class="scala/swing/Reactor">scala.swing.Reactor.deafTo</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#self" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.self</a>, <a href="#foreground" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.foreground</a>, <a href="#foreground_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.foreground_=</a>, <a href="#background" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.background</a>, <a href="#background_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.background_=</a>, <a href="#minimumSize" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.minimumSize</a>, <a href="#minimumSize_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.minimumSize_=</a>, <a href="#maximumSize" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.maximumSize</a>, <a href="#maximumSize_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.maximumSize_=</a>, <a href="#preferredSize" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.preferredSize</a>, <a href="#preferredSize_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.preferredSize_=</a>, <a href="#preferredSize_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.preferredSize_=</a>, <a href="#font" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.font</a>, <a href="#font_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.font_=</a>, <a href="#locationOnScreen" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.locationOnScreen</a>, <a href="#location" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.location</a>, <a href="#bounds" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.bounds</a>, <a href="#size" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.size</a>, <a href="#size_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.size_=</a>, <a href="#size_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.size_=</a>, <a href="#locale" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.locale</a>, <a href="#toolkit" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.toolkit</a>, <a href="#cursor" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.cursor</a>, <a href="#cursor_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.cursor_=</a>, <a href="#visible" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.visible</a>, <a href="#visible_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.visible_=</a>, <a href="#showing" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.showing</a>, <a href="#repaint" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.repaint</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/Proxy">scala.Proxy</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#hashCode" target="contentFrame" class="scala/Proxy">scala.Proxy.hashCode</a>, <a href="#equals" target="contentFrame" class="scala/Proxy">scala.Proxy.equals</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Value Details</td></tr> + </table><div><a name="lblBody"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>lblBody</em> : <a href="" target="contentFrame" class="scala/swing/Label">scala.swing.Label</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="lblValBody"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>lblValBody</em> : <a href="" target="contentFrame" class="scala/swing/Label">scala.swing.Label</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="lblShape"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>lblShape</em> : <a href="" target="contentFrame" class="scala/swing/Label">scala.swing.Label</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="lblValShape"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>lblValShape</em> : <a href="" target="contentFrame" class="scala/swing/Label">scala.swing.Label</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="components"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>components</em> : <a href="" target="contentFrame" class="scala/List">scala.List</a>[<a href="" target="contentFrame" class="scala/swing/Label">scala.swing.Label</a>] + </dt> + <dd></dd> + </dl><hr></hr></div> + + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/gui/WorldPanel.html b/doc/graphyx/gui/WorldPanel.html new file mode 100644 index 0000000..959812e --- /dev/null +++ b/doc/graphyx/gui/WorldPanel.html @@ -0,0 +1,638 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class WorldPanel in graphyx.gui</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/gui$package.html" target="_self">graphyx.gui</a> + <br></br> + <span class="entity">class WorldPanel</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/gui/WorldPanel"><code>graphyx/gui/WorldPanel.scala</code></a>] + </div><hr></hr> + <a name="WorldPanel"></a><dl> + <dt> + + <code></code> + <code>class</code> + <em>WorldPanel</em>(<em>container</em> : <a href="../../graphyx/gui/Container.html" target="_self">Container</a>) + </dt> + <dd><code> extends </code><a href="" target="contentFrame" class="scala/swing/BoxPanel">scala.swing.BoxPanel</a></dd> + </dl> + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> var</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/WorldPanel.html#drawAABBs" target="_self">drawAABBs</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> var</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/WorldPanel.html#drawBodies" target="_self">drawBodies</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> var</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/WorldPanel.html#drawCollisions" target="_self">drawCollisions</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> var</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/WorldPanel.html#drawJoints" target="_self">drawJoints</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> var</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/WorldPanel.html#drawPairs" target="_self">drawPairs</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> var</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/WorldPanel.html#drawShapes" target="_self">drawShapes</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> var</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/WorldPanel.html#endPoint" target="_self">endPoint</a></em> + : <a href="" target="contentFrame" class="java/awt/Point">java.awt.Point</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> var</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/WorldPanel.html#grabbedBody" target="_self">grabbedBody</a></em> + : <a href="" target="contentFrame" class="scala/Option">scala.Option</a>[<a href="../../graphyx/gui/GrabbedBody.html" target="_self">GrabbedBody</a>] + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/WorldPanel.html#lblBody" target="_self">lblBody</a></em> + : <a href="" target="contentFrame" class="scala/swing/Label">scala.swing.Label</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> var</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/WorldPanel.html#mousePressed" target="_self">mousePressed</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> var</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/WorldPanel.html#offset" target="_self">offset</a></em> + : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/WorldPanel.html#popup" target="_self">popup</a></em> + : <a href="../../graphyx/gui/BodyPopup.html" target="_self">BodyPopup</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/WorldPanel.html#ppm" target="_self">ppm</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> var</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/WorldPanel.html#scale" target="_self">scale</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> var</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/WorldPanel.html#startPoint" target="_self">startPoint</a></em> + : <a href="" target="contentFrame" class="java/awt/Point">java.awt.Point</a> + + + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="" target="contentFrame" class="scala/swing/BoxPanel">scala.swing.BoxPanel</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#peer" target="contentFrame" class="scala/swing/BoxPanel">scala.swing.BoxPanel.peer</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="" target="contentFrame" class="scala/swing/SequentialContainer/Wrapper">scala.swing.SequentialContainer.Wrapper</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#contents" target="contentFrame" class="scala/swing/SequentialContainer/Wrapper">scala.swing.SequentialContainer.Wrapper.contents</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="" target="contentFrame" class="scala/swing/Container/Wrapper">scala.swing.Container.Wrapper</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#_contents" target="contentFrame" class="scala/swing/Container/Wrapper">scala.swing.Container.Wrapper._contents</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="" target="contentFrame" class="scala/swing/Component">scala.swing.Component</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#initP" target="contentFrame" class="scala/swing/Component">scala.swing.Component.initP</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#listeners" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher.listeners</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="" target="contentFrame" class="scala/swing/Reactor">scala.swing.Reactor</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#reactions" target="contentFrame" class="scala/swing/Reactor">scala.swing.Reactor.reactions</a> + </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/gui/WorldPanel.html#drawAxes%28java.awt.Graphics%29" target="_self">drawAxes</a></em> + (<em>g</em> : <a href="" target="contentFrame" class="java/awt/Graphics">java.awt.Graphics</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/WorldPanel.html#drawParts%28Iterable%5Bgraphyx.graphics.Drawable%5D%2Cjava.awt.Graphics%29" target="_self">drawParts</a></em> + (<em>parts</em> : <a href="" target="contentFrame" class="scala/Iterable">scala.Iterable</a>[<a href="../../graphyx/graphics/Drawable.html" target="_self">Drawable</a>], <em>g</em> : <a href="" target="contentFrame" class="java/awt/Graphics">java.awt.Graphics</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/WorldPanel.html#getBody%28sims.geometry.Vector2D%29" target="_self">getBody</a></em> + (<em>p</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="" target="contentFrame" class="scala/Option">scala.Option</a>[<a href="../../sims/dynamics/Body.html" target="_self">Body</a>] + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/WorldPanel.html#grab%28sims.dynamics.Body%2Csims.geometry.Vector2D%29" target="_self">grab</a></em> + (<em>b</em> : <a href="../../sims/dynamics/Body.html" target="_self">Body</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> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/WorldPanel.html#paintComponent%28java.awt.Graphics%29" target="_self">paintComponent</a></em> + (<em>g</em> : <a href="" target="contentFrame" class="java/awt/Graphics">java.awt.Graphics</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>implicit def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/WorldPanel.html#point2Vector%28java.awt.Point%29" target="_self">point2Vector</a></em> + (<em>p</em> : <a href="" target="contentFrame" class="java/awt/Point">java.awt.Point</a>) : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/WorldPanel.html#release%28%29" target="_self">release</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/WorldPanel.html#scene" target="_self">scene</a></em> + : <a href="../../graphyx/graphics/Scene.html" target="_self">Scene</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/gui/WorldPanel.html#update%28%29" target="_self">update</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + + + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/swing/Component">scala.swing.Component</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#xLayoutAlignment" target="contentFrame" class="scala/swing/Component">scala.swing.Component.xLayoutAlignment</a>, <a href="#xLayoutAlignment_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.xLayoutAlignment_=</a>, <a href="#yLayoutAlignment" target="contentFrame" class="scala/swing/Component">scala.swing.Component.yLayoutAlignment</a>, <a href="#yLayoutAlignment_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.yLayoutAlignment_=</a>, <a href="#border" target="contentFrame" class="scala/swing/Component">scala.swing.Component.border</a>, <a href="#border_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.border_=</a>, <a href="#opaque" target="contentFrame" class="scala/swing/Component">scala.swing.Component.opaque</a>, <a href="#opaque_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.opaque_=</a>, <a href="#enabled" target="contentFrame" class="scala/swing/Component">scala.swing.Component.enabled</a>, <a href="#enabled_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.enabled_=</a>, <a href="#tooltip" target="contentFrame" class="scala/swing/Component">scala.swing.Component.tooltip</a>, <a href="#tooltip_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.tooltip_=</a>, <a href="#inputVerifier" target="contentFrame" class="scala/swing/Component">scala.swing.Component.inputVerifier</a>, <a href="#inputVerifier_=" target="contentFrame" class="scala/swing/Component">scala.swing.Component.inputVerifier_=</a>, <a href="#revalidate" target="contentFrame" class="scala/swing/Component">scala.swing.Component.revalidate</a>, <a href="#requestFocus" target="contentFrame" class="scala/swing/Component">scala.swing.Component.requestFocus</a>, <a href="#paint" target="contentFrame" class="scala/swing/Component">scala.swing.Component.paint</a>, <a href="#toString" target="contentFrame" class="scala/swing/Component">scala.swing.Component.toString</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#subscribe" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher.subscribe</a>, <a href="#unsubscribe" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher.unsubscribe</a>, <a href="#publish" target="contentFrame" class="scala/swing/Publisher">scala.swing.Publisher.publish</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/swing/Reactor">scala.swing.Reactor</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#listenTo" target="contentFrame" class="scala/swing/Reactor">scala.swing.Reactor.listenTo</a>, <a href="#deafTo" target="contentFrame" class="scala/swing/Reactor">scala.swing.Reactor.deafTo</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#self" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.self</a>, <a href="#foreground" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.foreground</a>, <a href="#foreground_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.foreground_=</a>, <a href="#background" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.background</a>, <a href="#background_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.background_=</a>, <a href="#minimumSize" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.minimumSize</a>, <a href="#minimumSize_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.minimumSize_=</a>, <a href="#maximumSize" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.maximumSize</a>, <a href="#maximumSize_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.maximumSize_=</a>, <a href="#preferredSize" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.preferredSize</a>, <a href="#preferredSize_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.preferredSize_=</a>, <a href="#preferredSize_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.preferredSize_=</a>, <a href="#font" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.font</a>, <a href="#font_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.font_=</a>, <a href="#locationOnScreen" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.locationOnScreen</a>, <a href="#location" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.location</a>, <a href="#bounds" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.bounds</a>, <a href="#size" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.size</a>, <a href="#size_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.size_=</a>, <a href="#size_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.size_=</a>, <a href="#locale" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.locale</a>, <a href="#toolkit" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.toolkit</a>, <a href="#cursor" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.cursor</a>, <a href="#cursor_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.cursor_=</a>, <a href="#visible" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.visible</a>, <a href="#visible_=" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.visible_=</a>, <a href="#showing" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.showing</a>, <a href="#repaint" target="contentFrame" class="scala/swing/UIElement">scala.swing.UIElement.repaint</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/Proxy">scala.Proxy</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#hashCode" target="contentFrame" class="scala/Proxy">scala.Proxy.hashCode</a>, <a href="#equals" target="contentFrame" class="scala/Proxy">scala.Proxy.equals</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Value Details</td></tr> + </table><div><a name="lblBody"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>lblBody</em> : <a href="" target="contentFrame" class="scala/swing/Label">scala.swing.Label</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="popup"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>popup</em> : <a href="../../graphyx/gui/BodyPopup.html" target="_self">BodyPopup</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="ppm"></a><dl> + <dt> + + <code></code> + <code>val</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><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><hr></hr> +<a name="offset"></a><dl> + <dt> + + <code></code> + <code>var</code> + <em>offset</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="drawBodies"></a><dl> + <dt> + + <code></code> + <code>var</code> + <em>drawBodies</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="drawShapes"></a><dl> + <dt> + + <code></code> + <code>var</code> + <em>drawShapes</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="drawJoints"></a><dl> + <dt> + + <code></code> + <code>var</code> + <em>drawJoints</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="drawAABBs"></a><dl> + <dt> + + <code></code> + <code>var</code> + <em>drawAABBs</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="drawPairs"></a><dl> + <dt> + + <code></code> + <code>var</code> + <em>drawPairs</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="drawCollisions"></a><dl> + <dt> + + <code></code> + <code>var</code> + <em>drawCollisions</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="mousePressed"></a><dl> + <dt> + + <code></code> + <code>var</code> + <em>mousePressed</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="startPoint"></a><dl> + <dt> + + <code></code> + <code>var</code> + <em>startPoint</em> : <a href="" target="contentFrame" class="java/awt/Point">java.awt.Point</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="endPoint"></a><dl> + <dt> + + <code></code> + <code>var</code> + <em>endPoint</em> : <a href="" target="contentFrame" class="java/awt/Point">java.awt.Point</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="grabbedBody"></a><dl> + <dt> + + <code></code> + <code>var</code> + <em>grabbedBody</em> : <a href="" target="contentFrame" class="scala/Option">scala.Option</a>[<a href="../../graphyx/gui/GrabbedBody.html" target="_self">GrabbedBody</a>] + </dt> + <dd></dd> + </dl><hr></hr></div> +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="point2Vector%28java.awt.Point%29"></a><dl> + <dt> + + <code>implicit</code> + <code>def</code> + <em>point2Vector</em>(<em>p</em> : <a href="" target="contentFrame" class="java/awt/Point">java.awt.Point</a>) : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="scene"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>scene</em> : <a href="../../graphyx/graphics/Scene.html" target="_self">Scene</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="update%28%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>update</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="paintComponent%28java.awt.Graphics%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>paintComponent</em>(<em>g</em> : <a href="" target="contentFrame" class="java/awt/Graphics">java.awt.Graphics</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="drawAxes%28java.awt.Graphics%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>drawAxes</em>(<em>g</em> : <a href="" target="contentFrame" class="java/awt/Graphics">java.awt.Graphics</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="drawParts%28Iterable%5Bgraphyx.graphics.Drawable%5D%2Cjava.awt.Graphics%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>drawParts</em>(<em>parts</em> : <a href="" target="contentFrame" class="scala/Iterable">scala.Iterable</a>[<a href="../../graphyx/graphics/Drawable.html" target="_self">Drawable</a>], <em>g</em> : <a href="" target="contentFrame" class="java/awt/Graphics">java.awt.Graphics</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="getBody%28sims.geometry.Vector2D%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>getBody</em>(<em>p</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="" target="contentFrame" class="scala/Option">scala.Option</a>[<a href="../../sims/dynamics/Body.html" target="_self">Body</a>] + </dt> + <dd></dd> + </dl><hr></hr> +<a name="grab%28sims.dynamics.Body%2Csims.geometry.Vector2D%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>grab</em>(<em>b</em> : <a href="../../sims/dynamics/Body.html" target="_self">Body</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><hr></hr> +<a name="release%28%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>release</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + </dt> + <dd></dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/tests$content.html b/doc/graphyx/tests$content.html new file mode 100644 index 0000000..c136e55 --- /dev/null +++ b/doc/graphyx/tests$content.html @@ -0,0 +1,188 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>All classes and objects in graphyx.tests</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()"><div class="page-title"><div>Simple Mechanics Simulator (SiMS) API</div></div><p><div>This document is the API specification for SiMS</div></p><table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Class Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> trait</code> + </td> + <td class="signature"> + <em><a href="../graphyx/tests/Test.html" target="_self">Test</a></em> + <code> extends </code><a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + + + </td> + </tr> + </table> +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Object Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> object</code> + </td> + <td class="signature"> + <em><a href="../graphyx/tests/BallStack$object.html" target="_self">BallStack</a></em> + <code> extends </code><a href="../graphyx/tests/Test.html" target="_self">Test</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> object</code> + </td> + <td class="signature"> + <em><a href="../graphyx/tests/Chain$object.html" target="_self">Chain</a></em> + <code> extends </code><a href="../graphyx/tests/Test.html" target="_self">Test</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> object</code> + </td> + <td class="signature"> + <em><a href="../graphyx/tests/CompositeShape$object.html" target="_self">CompositeShape</a></em> + <code> extends </code><a href="../graphyx/tests/Test.html" target="_self">Test</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> object</code> + </td> + <td class="signature"> + <em><a href="../graphyx/tests/Cup$object.html" target="_self">Cup</a></em> + <code> extends </code><a href="../graphyx/tests/Test.html" target="_self">Test</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> object</code> + </td> + <td class="signature"> + <em><a href="../graphyx/tests/EmptyTest$object.html" target="_self">EmptyTest</a></em> + <code> extends </code><a href="../graphyx/tests/Test.html" target="_self">Test</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> object</code> + </td> + <td class="signature"> + <em><a href="../graphyx/tests/Friction$object.html" target="_self">Friction</a></em> + <code> extends </code><a href="../graphyx/tests/Test.html" target="_self">Test</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> object</code> + </td> + <td class="signature"> + <em><a href="../graphyx/tests/Friction2$object.html" target="_self">Friction2</a></em> + <code> extends </code><a href="../graphyx/tests/Test.html" target="_self">Test</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> object</code> + </td> + <td class="signature"> + <em><a href="../graphyx/tests/General1$object.html" target="_self">General1</a></em> + <code> extends </code><a href="../graphyx/tests/Test.html" target="_self">Test</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> object</code> + </td> + <td class="signature"> + <em><a href="../graphyx/tests/General2$object.html" target="_self">General2</a></em> + <code> extends </code><a href="../graphyx/tests/Test.html" target="_self">Test</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> object</code> + </td> + <td class="signature"> + <em><a href="../graphyx/tests/Joints1$object.html" target="_self">Joints1</a></em> + <code> extends </code><a href="../graphyx/tests/Test.html" target="_self">Test</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> object</code> + </td> + <td class="signature"> + <em><a href="../graphyx/tests/Joints2$object.html" target="_self">Joints2</a></em> + <code> extends </code><a href="../graphyx/tests/Test.html" target="_self">Test</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> object</code> + </td> + <td class="signature"> + <em><a href="../graphyx/tests/Net$object.html" target="_self">Net</a></em> + <code> extends </code><a href="../graphyx/tests/Test.html" target="_self">Test</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> object</code> + </td> + <td class="signature"> + <em><a href="../graphyx/tests/RagdollTest$object.html" target="_self">RagdollTest</a></em> + <code> extends </code><a href="../graphyx/tests/Test.html" target="_self">Test</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> object</code> + </td> + <td class="signature"> + <em><a href="../graphyx/tests/Restitution$object.html" target="_self">Restitution</a></em> + <code> extends </code><a href="../graphyx/tests/Test.html" target="_self">Test</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> object</code> + </td> + <td class="signature"> + <em><a href="../graphyx/tests/Stacking$object.html" target="_self">Stacking</a></em> + <code> extends </code><a href="../graphyx/tests/Test.html" target="_self">Test</a> + + + </td> + </tr> + </table></body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/tests$package.html b/doc/graphyx/tests$package.html new file mode 100644 index 0000000..b3a9adc --- /dev/null +++ b/doc/graphyx/tests$package.html @@ -0,0 +1,30 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>List of classes and objects in package graphyx.tests</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"> + <a href="../graphyx/tests$content.html" target="contentFrame">graphyx.tests</a> + </td></tr> + </table><div><div class="kinds" id="Classes">Classes</div><ul class="list"> + <li id="Classes_T"><a href="../graphyx/tests/Test.html" target="contentFrame">Test</a></li> + </ul> +<div class="kinds" id="Objects">Objects</div><ul class="list"> + <li id="Objects_B"><a href="../graphyx/tests/BallStack$object.html" target="contentFrame">BallStack</a></li> +<li id="Objects_C"><a href="../graphyx/tests/Chain$object.html" target="contentFrame">Chain</a></li> +<li><a href="../graphyx/tests/CompositeShape$object.html" target="contentFrame">CompositeShape</a></li> +<li><a href="../graphyx/tests/Cup$object.html" target="contentFrame">Cup</a></li> +<li id="Objects_E"><a href="../graphyx/tests/EmptyTest$object.html" target="contentFrame">EmptyTest</a></li> +<li id="Objects_F"><a href="../graphyx/tests/Friction$object.html" target="contentFrame">Friction</a></li> +<li><a href="../graphyx/tests/Friction2$object.html" target="contentFrame">Friction2</a></li> +<li id="Objects_G"><a href="../graphyx/tests/General1$object.html" target="contentFrame">General1</a></li> +<li><a href="../graphyx/tests/General2$object.html" target="contentFrame">General2</a></li> +<li id="Objects_J"><a href="../graphyx/tests/Joints1$object.html" target="contentFrame">Joints1</a></li> +<li><a href="../graphyx/tests/Joints2$object.html" target="contentFrame">Joints2</a></li> +<li id="Objects_N"><a href="../graphyx/tests/Net$object.html" target="contentFrame">Net</a></li> +<li id="Objects_R"><a href="../graphyx/tests/RagdollTest$object.html" target="contentFrame">RagdollTest</a></li> +<li><a href="../graphyx/tests/Restitution$object.html" target="contentFrame">Restitution</a></li> +<li id="Objects_S"><a href="../graphyx/tests/Stacking$object.html" target="contentFrame">Stacking</a></li> + </ul></div></body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/tests/BallStack$object.html b/doc/graphyx/tests/BallStack$object.html new file mode 100644 index 0000000..092ce96 --- /dev/null +++ b/doc/graphyx/tests/BallStack$object.html @@ -0,0 +1,169 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object BallStack in graphyx.tests</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/tests$package.html" target="_self">graphyx.tests</a> + <br></br> + <span class="entity">object BallStack</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/tests/BallStack"><code>graphyx/tests/BallStack.scala</code></a>] + </div><hr></hr> + <a name="BallStack"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>BallStack</em> + </dt> + <dd><code> extends </code><a href="../../graphyx/tests/Test.html" target="_self">Test</a></dd> + </dl> + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/tests/BallStack$object.html#title" target="_self">title</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/tests/BallStack$object.html#world" target="_self">world</a></em> + : <a href="../../sims/dynamics/World.html" target="_self">World</a> + + + </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/tests/BallStack$object.html#init%28%29" target="_self">init</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + + + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="../../graphyx/tests/Test.html" target="_self">Test</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../graphyx/tests/Test.html#fireEvent%28%29" target="_self">fireEvent</a>, <a href="../../graphyx/tests/Test.html#toString%28%29" target="_self">toString</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Value Details</td></tr> + </table><div><a name="world"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>world</em> : <a href="../../sims/dynamics/World.html" target="_self">World</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../graphyx/tests/Test.html" target="_self">Test</a>.<a href="../../graphyx/tests/Test.html#world" target="_self">world</a> + </dd> + </dl><hr></hr> +<a name="title"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>title</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../graphyx/tests/Test.html" target="_self">Test</a>.<a href="../../graphyx/tests/Test.html#title" target="_self">title</a> + </dd> + </dl><hr></hr></div> +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="init%28%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>init</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../graphyx/tests/Test.html" target="_self">Test</a>.<a href="../../graphyx/tests/Test.html#init%28%29" target="_self">init</a> + </dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/tests/Chain$object.html b/doc/graphyx/tests/Chain$object.html new file mode 100644 index 0000000..0818b71 --- /dev/null +++ b/doc/graphyx/tests/Chain$object.html @@ -0,0 +1,169 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object Chain in graphyx.tests</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/tests$package.html" target="_self">graphyx.tests</a> + <br></br> + <span class="entity">object Chain</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/tests/Chain"><code>graphyx/tests/Chain.scala</code></a>] + </div><hr></hr> + <a name="Chain"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>Chain</em> + </dt> + <dd><code> extends </code><a href="../../graphyx/tests/Test.html" target="_self">Test</a></dd> + </dl> + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code>override val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/tests/Chain$object.html#title" target="_self">title</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/tests/Chain$object.html#world" target="_self">world</a></em> + : <a href="../../sims/dynamics/World.html" target="_self">World</a> + + + </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/tests/Chain$object.html#init%28%29" target="_self">init</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + + + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="../../graphyx/tests/Test.html" target="_self">Test</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../graphyx/tests/Test.html#fireEvent%28%29" target="_self">fireEvent</a>, <a href="../../graphyx/tests/Test.html#toString%28%29" target="_self">toString</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Value Details</td></tr> + </table><div><a name="title"></a><dl> + <dt> + + <code>override</code> + <code>val</code> + <em>title</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../graphyx/tests/Test.html" target="_self">Test</a>.<a href="../../graphyx/tests/Test.html#title" target="_self">title</a> + </dd> + </dl><hr></hr> +<a name="world"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>world</em> : <a href="../../sims/dynamics/World.html" target="_self">World</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../graphyx/tests/Test.html" target="_self">Test</a>.<a href="../../graphyx/tests/Test.html#world" target="_self">world</a> + </dd> + </dl><hr></hr></div> +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="init%28%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>init</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../graphyx/tests/Test.html" target="_self">Test</a>.<a href="../../graphyx/tests/Test.html#init%28%29" target="_self">init</a> + </dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/tests/CompositeShape$object.html b/doc/graphyx/tests/CompositeShape$object.html new file mode 100644 index 0000000..2eb9a85 --- /dev/null +++ b/doc/graphyx/tests/CompositeShape$object.html @@ -0,0 +1,169 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object CompositeShape in graphyx.tests</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/tests$package.html" target="_self">graphyx.tests</a> + <br></br> + <span class="entity">object CompositeShape</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/tests/CompositeShape"><code>graphyx/tests/CompositeShape.scala</code></a>] + </div><hr></hr> + <a name="CompositeShape"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>CompositeShape</em> + </dt> + <dd><code> extends </code><a href="../../graphyx/tests/Test.html" target="_self">Test</a></dd> + </dl> + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/tests/CompositeShape$object.html#title" target="_self">title</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/tests/CompositeShape$object.html#world" target="_self">world</a></em> + : <a href="../../sims/dynamics/World.html" target="_self">World</a> + + + </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/tests/CompositeShape$object.html#init%28%29" target="_self">init</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + + + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="../../graphyx/tests/Test.html" target="_self">Test</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../graphyx/tests/Test.html#fireEvent%28%29" target="_self">fireEvent</a>, <a href="../../graphyx/tests/Test.html#toString%28%29" target="_self">toString</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Value Details</td></tr> + </table><div><a name="title"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>title</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../graphyx/tests/Test.html" target="_self">Test</a>.<a href="../../graphyx/tests/Test.html#title" target="_self">title</a> + </dd> + </dl><hr></hr> +<a name="world"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>world</em> : <a href="../../sims/dynamics/World.html" target="_self">World</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../graphyx/tests/Test.html" target="_self">Test</a>.<a href="../../graphyx/tests/Test.html#world" target="_self">world</a> + </dd> + </dl><hr></hr></div> +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="init%28%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>init</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../graphyx/tests/Test.html" target="_self">Test</a>.<a href="../../graphyx/tests/Test.html#init%28%29" target="_self">init</a> + </dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/tests/Cup$object.html b/doc/graphyx/tests/Cup$object.html new file mode 100644 index 0000000..b3c46a8 --- /dev/null +++ b/doc/graphyx/tests/Cup$object.html @@ -0,0 +1,169 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object Cup in graphyx.tests</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/tests$package.html" target="_self">graphyx.tests</a> + <br></br> + <span class="entity">object Cup</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/tests/Cup"><code>graphyx/tests/Cup.scala</code></a>] + </div><hr></hr> + <a name="Cup"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>Cup</em> + </dt> + <dd><code> extends </code><a href="../../graphyx/tests/Test.html" target="_self">Test</a></dd> + </dl> + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/tests/Cup$object.html#title" target="_self">title</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/tests/Cup$object.html#world" target="_self">world</a></em> + : <a href="../../sims/dynamics/World.html" target="_self">World</a> + + + </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/tests/Cup$object.html#init%28%29" target="_self">init</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + + + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="../../graphyx/tests/Test.html" target="_self">Test</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../graphyx/tests/Test.html#fireEvent%28%29" target="_self">fireEvent</a>, <a href="../../graphyx/tests/Test.html#toString%28%29" target="_self">toString</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Value Details</td></tr> + </table><div><a name="title"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>title</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../graphyx/tests/Test.html" target="_self">Test</a>.<a href="../../graphyx/tests/Test.html#title" target="_self">title</a> + </dd> + </dl><hr></hr> +<a name="world"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>world</em> : <a href="../../sims/dynamics/World.html" target="_self">World</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../graphyx/tests/Test.html" target="_self">Test</a>.<a href="../../graphyx/tests/Test.html#world" target="_self">world</a> + </dd> + </dl><hr></hr></div> +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="init%28%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>init</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../graphyx/tests/Test.html" target="_self">Test</a>.<a href="../../graphyx/tests/Test.html#init%28%29" target="_self">init</a> + </dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/tests/EmptyTest$object.html b/doc/graphyx/tests/EmptyTest$object.html new file mode 100644 index 0000000..ff540a7 --- /dev/null +++ b/doc/graphyx/tests/EmptyTest$object.html @@ -0,0 +1,169 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object EmptyTest in graphyx.tests</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/tests$package.html" target="_self">graphyx.tests</a> + <br></br> + <span class="entity">object EmptyTest</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/tests/EmptyTest"><code>graphyx/tests/EmptyTest.scala</code></a>] + </div><hr></hr> + <a name="EmptyTest"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>EmptyTest</em> + </dt> + <dd><code> extends </code><a href="../../graphyx/tests/Test.html" target="_self">Test</a></dd> + </dl> + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code>override val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/tests/EmptyTest$object.html#title" target="_self">title</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/tests/EmptyTest$object.html#world" target="_self">world</a></em> + : <a href="../../sims/dynamics/World.html" target="_self">World</a> + + + </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/tests/EmptyTest$object.html#init%28%29" target="_self">init</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + + + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="../../graphyx/tests/Test.html" target="_self">Test</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../graphyx/tests/Test.html#fireEvent%28%29" target="_self">fireEvent</a>, <a href="../../graphyx/tests/Test.html#toString%28%29" target="_self">toString</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Value Details</td></tr> + </table><div><a name="title"></a><dl> + <dt> + + <code>override</code> + <code>val</code> + <em>title</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../graphyx/tests/Test.html" target="_self">Test</a>.<a href="../../graphyx/tests/Test.html#title" target="_self">title</a> + </dd> + </dl><hr></hr> +<a name="world"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>world</em> : <a href="../../sims/dynamics/World.html" target="_self">World</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../graphyx/tests/Test.html" target="_self">Test</a>.<a href="../../graphyx/tests/Test.html#world" target="_self">world</a> + </dd> + </dl><hr></hr></div> +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="init%28%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>init</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../graphyx/tests/Test.html" target="_self">Test</a>.<a href="../../graphyx/tests/Test.html#init%28%29" target="_self">init</a> + </dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/tests/Friction$object.html b/doc/graphyx/tests/Friction$object.html new file mode 100644 index 0000000..7b3b691 --- /dev/null +++ b/doc/graphyx/tests/Friction$object.html @@ -0,0 +1,256 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object Friction in graphyx.tests</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/tests$package.html" target="_self">graphyx.tests</a> + <br></br> + <span class="entity">object Friction</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/tests/Friction"><code>graphyx/tests/Friction.scala</code></a>] + </div><hr></hr> + <a name="Friction"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>Friction</em> + </dt> + <dd><code> extends </code><a href="../../graphyx/tests/Test.html" target="_self">Test</a></dd> + </dl> + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> var</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/tests/Friction$object.html#r1" target="_self">r1</a></em> + : <a href="../../sims/dynamics/joints/RevoluteJoint.html" target="_self">RevoluteJoint</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> var</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/tests/Friction$object.html#r2" target="_self">r2</a></em> + : <a href="../../sims/dynamics/joints/RevoluteJoint.html" target="_self">RevoluteJoint</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> var</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/tests/Friction$object.html#r3" target="_self">r3</a></em> + : <a href="../../sims/dynamics/joints/RevoluteJoint.html" target="_self">RevoluteJoint</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/tests/Friction$object.html#title" target="_self">title</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/tests/Friction$object.html#world" target="_self">world</a></em> + : <a href="../../sims/dynamics/World.html" target="_self">World</a> + + + </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>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/tests/Friction$object.html#fireEvent%28%29" target="_self">fireEvent</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/tests/Friction$object.html#init%28%29" target="_self">init</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + + + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="../../graphyx/tests/Test.html" target="_self">Test</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../graphyx/tests/Test.html#toString%28%29" target="_self">toString</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Value Details</td></tr> + </table><div><a name="title"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>title</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../graphyx/tests/Test.html" target="_self">Test</a>.<a href="../../graphyx/tests/Test.html#title" target="_self">title</a> + </dd> + </dl><hr></hr> +<a name="world"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>world</em> : <a href="../../sims/dynamics/World.html" target="_self">World</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../graphyx/tests/Test.html" target="_self">Test</a>.<a href="../../graphyx/tests/Test.html#world" target="_self">world</a> + </dd> + </dl><hr></hr> +<a name="r1"></a><dl> + <dt> + + <code></code> + <code>var</code> + <em>r1</em> : <a href="../../sims/dynamics/joints/RevoluteJoint.html" target="_self">RevoluteJoint</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="r2"></a><dl> + <dt> + + <code></code> + <code>var</code> + <em>r2</em> : <a href="../../sims/dynamics/joints/RevoluteJoint.html" target="_self">RevoluteJoint</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="r3"></a><dl> + <dt> + + <code></code> + <code>var</code> + <em>r3</em> : <a href="../../sims/dynamics/joints/RevoluteJoint.html" target="_self">RevoluteJoint</a> + </dt> + <dd></dd> + </dl><hr></hr></div> +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="init%28%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>init</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../graphyx/tests/Test.html" target="_self">Test</a>.<a href="../../graphyx/tests/Test.html#init%28%29" target="_self">init</a> + </dd> + </dl><hr></hr> +<a name="fireEvent%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>fireEvent</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../graphyx/tests/Test.html" target="_self">Test</a>.<a href="../../graphyx/tests/Test.html#fireEvent%28%29" target="_self">fireEvent</a> + </dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/tests/Friction2$object.html b/doc/graphyx/tests/Friction2$object.html new file mode 100644 index 0000000..427e527 --- /dev/null +++ b/doc/graphyx/tests/Friction2$object.html @@ -0,0 +1,169 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object Friction2 in graphyx.tests</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/tests$package.html" target="_self">graphyx.tests</a> + <br></br> + <span class="entity">object Friction2</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/tests/Friction2"><code>graphyx/tests/Friction2.scala</code></a>] + </div><hr></hr> + <a name="Friction2"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>Friction2</em> + </dt> + <dd><code> extends </code><a href="../../graphyx/tests/Test.html" target="_self">Test</a></dd> + </dl> + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/tests/Friction2$object.html#title" target="_self">title</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/tests/Friction2$object.html#world" target="_self">world</a></em> + : <a href="../../sims/dynamics/World.html" target="_self">World</a> + + + </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/tests/Friction2$object.html#init%28%29" target="_self">init</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + + + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="../../graphyx/tests/Test.html" target="_self">Test</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../graphyx/tests/Test.html#fireEvent%28%29" target="_self">fireEvent</a>, <a href="../../graphyx/tests/Test.html#toString%28%29" target="_self">toString</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Value Details</td></tr> + </table><div><a name="title"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>title</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../graphyx/tests/Test.html" target="_self">Test</a>.<a href="../../graphyx/tests/Test.html#title" target="_self">title</a> + </dd> + </dl><hr></hr> +<a name="world"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>world</em> : <a href="../../sims/dynamics/World.html" target="_self">World</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../graphyx/tests/Test.html" target="_self">Test</a>.<a href="../../graphyx/tests/Test.html#world" target="_self">world</a> + </dd> + </dl><hr></hr></div> +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="init%28%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>init</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../graphyx/tests/Test.html" target="_self">Test</a>.<a href="../../graphyx/tests/Test.html#init%28%29" target="_self">init</a> + </dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/tests/General1$object.html b/doc/graphyx/tests/General1$object.html new file mode 100644 index 0000000..2484144 --- /dev/null +++ b/doc/graphyx/tests/General1$object.html @@ -0,0 +1,216 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object General1 in graphyx.tests</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/tests$package.html" target="_self">graphyx.tests</a> + <br></br> + <span class="entity">object General1</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/tests/General1"><code>graphyx/tests/General1.scala</code></a>] + </div><hr></hr> + <a name="General1"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>General1</em> + </dt> + <dd><code> extends </code><a href="../../graphyx/tests/Test.html" target="_self">Test</a></dd> + </dl> + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code>override val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/tests/General1$object.html#title" target="_self">title</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/tests/General1$object.html#world" target="_self">world</a></em> + : <a href="../../sims/dynamics/World.html" target="_self">World</a> + + + </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/tests/General1$object.html#blastBomb%28%29" target="_self">blastBomb</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/tests/General1$object.html#fireEvent%28%29" target="_self">fireEvent</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/tests/General1$object.html#init%28%29" target="_self">init</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + + + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="../../graphyx/tests/Test.html" target="_self">Test</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../graphyx/tests/Test.html#toString%28%29" target="_self">toString</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Value Details</td></tr> + </table><div><a name="title"></a><dl> + <dt> + + <code>override</code> + <code>val</code> + <em>title</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../graphyx/tests/Test.html" target="_self">Test</a>.<a href="../../graphyx/tests/Test.html#title" target="_self">title</a> + </dd> + </dl><hr></hr> +<a name="world"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>world</em> : <a href="../../sims/dynamics/World.html" target="_self">World</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../graphyx/tests/Test.html" target="_self">Test</a>.<a href="../../graphyx/tests/Test.html#world" target="_self">world</a> + </dd> + </dl><hr></hr></div> +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="init%28%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>init</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../graphyx/tests/Test.html" target="_self">Test</a>.<a href="../../graphyx/tests/Test.html#init%28%29" target="_self">init</a> + </dd> + </dl><hr></hr> +<a name="fireEvent%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>fireEvent</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../graphyx/tests/Test.html" target="_self">Test</a>.<a href="../../graphyx/tests/Test.html#fireEvent%28%29" target="_self">fireEvent</a> + </dd> + </dl><hr></hr> +<a name="blastBomb%28%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>blastBomb</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + </dt> + <dd></dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/tests/General2$object.html b/doc/graphyx/tests/General2$object.html new file mode 100644 index 0000000..099672b --- /dev/null +++ b/doc/graphyx/tests/General2$object.html @@ -0,0 +1,169 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object General2 in graphyx.tests</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/tests$package.html" target="_self">graphyx.tests</a> + <br></br> + <span class="entity">object General2</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/tests/General2"><code>graphyx/tests/General2.scala</code></a>] + </div><hr></hr> + <a name="General2"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>General2</em> + </dt> + <dd><code> extends </code><a href="../../graphyx/tests/Test.html" target="_self">Test</a></dd> + </dl> + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/tests/General2$object.html#title" target="_self">title</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/tests/General2$object.html#world" target="_self">world</a></em> + : <a href="../../sims/dynamics/World.html" target="_self">World</a> + + + </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/tests/General2$object.html#init%28%29" target="_self">init</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + + + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="../../graphyx/tests/Test.html" target="_self">Test</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../graphyx/tests/Test.html#fireEvent%28%29" target="_self">fireEvent</a>, <a href="../../graphyx/tests/Test.html#toString%28%29" target="_self">toString</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Value Details</td></tr> + </table><div><a name="title"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>title</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../graphyx/tests/Test.html" target="_self">Test</a>.<a href="../../graphyx/tests/Test.html#title" target="_self">title</a> + </dd> + </dl><hr></hr> +<a name="world"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>world</em> : <a href="../../sims/dynamics/World.html" target="_self">World</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../graphyx/tests/Test.html" target="_self">Test</a>.<a href="../../graphyx/tests/Test.html#world" target="_self">world</a> + </dd> + </dl><hr></hr></div> +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="init%28%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>init</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../graphyx/tests/Test.html" target="_self">Test</a>.<a href="../../graphyx/tests/Test.html#init%28%29" target="_self">init</a> + </dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/tests/Joints1$object.html b/doc/graphyx/tests/Joints1$object.html new file mode 100644 index 0000000..808acb0 --- /dev/null +++ b/doc/graphyx/tests/Joints1$object.html @@ -0,0 +1,169 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object Joints1 in graphyx.tests</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/tests$package.html" target="_self">graphyx.tests</a> + <br></br> + <span class="entity">object Joints1</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/tests/Joints1"><code>graphyx/tests/Joints1.scala</code></a>] + </div><hr></hr> + <a name="Joints1"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>Joints1</em> + </dt> + <dd><code> extends </code><a href="../../graphyx/tests/Test.html" target="_self">Test</a></dd> + </dl> + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code>override val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/tests/Joints1$object.html#title" target="_self">title</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/tests/Joints1$object.html#world" target="_self">world</a></em> + : <a href="../../sims/dynamics/World.html" target="_self">World</a> + + + </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/tests/Joints1$object.html#init%28%29" target="_self">init</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + + + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="../../graphyx/tests/Test.html" target="_self">Test</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../graphyx/tests/Test.html#fireEvent%28%29" target="_self">fireEvent</a>, <a href="../../graphyx/tests/Test.html#toString%28%29" target="_self">toString</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Value Details</td></tr> + </table><div><a name="title"></a><dl> + <dt> + + <code>override</code> + <code>val</code> + <em>title</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../graphyx/tests/Test.html" target="_self">Test</a>.<a href="../../graphyx/tests/Test.html#title" target="_self">title</a> + </dd> + </dl><hr></hr> +<a name="world"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>world</em> : <a href="../../sims/dynamics/World.html" target="_self">World</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../graphyx/tests/Test.html" target="_self">Test</a>.<a href="../../graphyx/tests/Test.html#world" target="_self">world</a> + </dd> + </dl><hr></hr></div> +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="init%28%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>init</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../graphyx/tests/Test.html" target="_self">Test</a>.<a href="../../graphyx/tests/Test.html#init%28%29" target="_self">init</a> + </dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/tests/Joints2$object.html b/doc/graphyx/tests/Joints2$object.html new file mode 100644 index 0000000..b141a42 --- /dev/null +++ b/doc/graphyx/tests/Joints2$object.html @@ -0,0 +1,169 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object Joints2 in graphyx.tests</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/tests$package.html" target="_self">graphyx.tests</a> + <br></br> + <span class="entity">object Joints2</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/tests/Joints2"><code>graphyx/tests/Joints2.scala</code></a>] + </div><hr></hr> + <a name="Joints2"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>Joints2</em> + </dt> + <dd><code> extends </code><a href="../../graphyx/tests/Test.html" target="_self">Test</a></dd> + </dl> + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code>override val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/tests/Joints2$object.html#title" target="_self">title</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/tests/Joints2$object.html#world" target="_self">world</a></em> + : <a href="../../sims/dynamics/World.html" target="_self">World</a> + + + </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/tests/Joints2$object.html#init%28%29" target="_self">init</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + + + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="../../graphyx/tests/Test.html" target="_self">Test</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../graphyx/tests/Test.html#fireEvent%28%29" target="_self">fireEvent</a>, <a href="../../graphyx/tests/Test.html#toString%28%29" target="_self">toString</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Value Details</td></tr> + </table><div><a name="title"></a><dl> + <dt> + + <code>override</code> + <code>val</code> + <em>title</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../graphyx/tests/Test.html" target="_self">Test</a>.<a href="../../graphyx/tests/Test.html#title" target="_self">title</a> + </dd> + </dl><hr></hr> +<a name="world"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>world</em> : <a href="../../sims/dynamics/World.html" target="_self">World</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../graphyx/tests/Test.html" target="_self">Test</a>.<a href="../../graphyx/tests/Test.html#world" target="_self">world</a> + </dd> + </dl><hr></hr></div> +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="init%28%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>init</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../graphyx/tests/Test.html" target="_self">Test</a>.<a href="../../graphyx/tests/Test.html#init%28%29" target="_self">init</a> + </dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/tests/Net$object.html b/doc/graphyx/tests/Net$object.html new file mode 100644 index 0000000..3bf8f69 --- /dev/null +++ b/doc/graphyx/tests/Net$object.html @@ -0,0 +1,169 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object Net in graphyx.tests</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/tests$package.html" target="_self">graphyx.tests</a> + <br></br> + <span class="entity">object Net</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/tests/Net"><code>graphyx/tests/Net.scala</code></a>] + </div><hr></hr> + <a name="Net"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>Net</em> + </dt> + <dd><code> extends </code><a href="../../graphyx/tests/Test.html" target="_self">Test</a></dd> + </dl> + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/tests/Net$object.html#title" target="_self">title</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/tests/Net$object.html#world" target="_self">world</a></em> + : <a href="../../sims/dynamics/World.html" target="_self">World</a> + + + </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/tests/Net$object.html#init%28%29" target="_self">init</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + + + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="../../graphyx/tests/Test.html" target="_self">Test</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../graphyx/tests/Test.html#fireEvent%28%29" target="_self">fireEvent</a>, <a href="../../graphyx/tests/Test.html#toString%28%29" target="_self">toString</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Value Details</td></tr> + </table><div><a name="title"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>title</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../graphyx/tests/Test.html" target="_self">Test</a>.<a href="../../graphyx/tests/Test.html#title" target="_self">title</a> + </dd> + </dl><hr></hr> +<a name="world"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>world</em> : <a href="../../sims/dynamics/World.html" target="_self">World</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../graphyx/tests/Test.html" target="_self">Test</a>.<a href="../../graphyx/tests/Test.html#world" target="_self">world</a> + </dd> + </dl><hr></hr></div> +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="init%28%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>init</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../graphyx/tests/Test.html" target="_self">Test</a>.<a href="../../graphyx/tests/Test.html#init%28%29" target="_self">init</a> + </dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/tests/RagdollTest$object.html b/doc/graphyx/tests/RagdollTest$object.html new file mode 100644 index 0000000..6457166 --- /dev/null +++ b/doc/graphyx/tests/RagdollTest$object.html @@ -0,0 +1,169 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object RagdollTest in graphyx.tests</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/tests$package.html" target="_self">graphyx.tests</a> + <br></br> + <span class="entity">object RagdollTest</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/tests/RagdollTest"><code>graphyx/tests/RagdollTest.scala</code></a>] + </div><hr></hr> + <a name="RagdollTest"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>RagdollTest</em> + </dt> + <dd><code> extends </code><a href="../../graphyx/tests/Test.html" target="_self">Test</a></dd> + </dl> + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/tests/RagdollTest$object.html#title" target="_self">title</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/tests/RagdollTest$object.html#world" target="_self">world</a></em> + : <a href="../../sims/dynamics/World.html" target="_self">World</a> + + + </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/tests/RagdollTest$object.html#init%28%29" target="_self">init</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + + + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="../../graphyx/tests/Test.html" target="_self">Test</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../graphyx/tests/Test.html#fireEvent%28%29" target="_self">fireEvent</a>, <a href="../../graphyx/tests/Test.html#toString%28%29" target="_self">toString</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Value Details</td></tr> + </table><div><a name="title"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>title</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../graphyx/tests/Test.html" target="_self">Test</a>.<a href="../../graphyx/tests/Test.html#title" target="_self">title</a> + </dd> + </dl><hr></hr> +<a name="world"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>world</em> : <a href="../../sims/dynamics/World.html" target="_self">World</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../graphyx/tests/Test.html" target="_self">Test</a>.<a href="../../graphyx/tests/Test.html#world" target="_self">world</a> + </dd> + </dl><hr></hr></div> +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="init%28%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>init</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../graphyx/tests/Test.html" target="_self">Test</a>.<a href="../../graphyx/tests/Test.html#init%28%29" target="_self">init</a> + </dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/tests/Restitution$object.html b/doc/graphyx/tests/Restitution$object.html new file mode 100644 index 0000000..29c62a6 --- /dev/null +++ b/doc/graphyx/tests/Restitution$object.html @@ -0,0 +1,169 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object Restitution in graphyx.tests</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/tests$package.html" target="_self">graphyx.tests</a> + <br></br> + <span class="entity">object Restitution</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/tests/Restitution"><code>graphyx/tests/Restitution.scala</code></a>] + </div><hr></hr> + <a name="Restitution"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>Restitution</em> + </dt> + <dd><code> extends </code><a href="../../graphyx/tests/Test.html" target="_self">Test</a></dd> + </dl> + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/tests/Restitution$object.html#title" target="_self">title</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/tests/Restitution$object.html#world" target="_self">world</a></em> + : <a href="../../sims/dynamics/World.html" target="_self">World</a> + + + </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/tests/Restitution$object.html#init%28%29" target="_self">init</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + + + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="../../graphyx/tests/Test.html" target="_self">Test</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../graphyx/tests/Test.html#fireEvent%28%29" target="_self">fireEvent</a>, <a href="../../graphyx/tests/Test.html#toString%28%29" target="_self">toString</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Value Details</td></tr> + </table><div><a name="title"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>title</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../graphyx/tests/Test.html" target="_self">Test</a>.<a href="../../graphyx/tests/Test.html#title" target="_self">title</a> + </dd> + </dl><hr></hr> +<a name="world"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>world</em> : <a href="../../sims/dynamics/World.html" target="_self">World</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../graphyx/tests/Test.html" target="_self">Test</a>.<a href="../../graphyx/tests/Test.html#world" target="_self">world</a> + </dd> + </dl><hr></hr></div> +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="init%28%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>init</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../graphyx/tests/Test.html" target="_self">Test</a>.<a href="../../graphyx/tests/Test.html#init%28%29" target="_self">init</a> + </dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/tests/Stacking$object.html b/doc/graphyx/tests/Stacking$object.html new file mode 100644 index 0000000..c84e2c0 --- /dev/null +++ b/doc/graphyx/tests/Stacking$object.html @@ -0,0 +1,169 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object Stacking in graphyx.tests</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/tests$package.html" target="_self">graphyx.tests</a> + <br></br> + <span class="entity">object Stacking</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/tests/Stacking"><code>graphyx/tests/Stacking.scala</code></a>] + </div><hr></hr> + <a name="Stacking"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>Stacking</em> + </dt> + <dd><code> extends </code><a href="../../graphyx/tests/Test.html" target="_self">Test</a></dd> + </dl> + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/tests/Stacking$object.html#title" target="_self">title</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/tests/Stacking$object.html#world" target="_self">world</a></em> + : <a href="../../sims/dynamics/World.html" target="_self">World</a> + + + </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/tests/Stacking$object.html#init%28%29" target="_self">init</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + + + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="../../graphyx/tests/Test.html" target="_self">Test</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../graphyx/tests/Test.html#fireEvent%28%29" target="_self">fireEvent</a>, <a href="../../graphyx/tests/Test.html#toString%28%29" target="_self">toString</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Value Details</td></tr> + </table><div><a name="world"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>world</em> : <a href="../../sims/dynamics/World.html" target="_self">World</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../graphyx/tests/Test.html" target="_self">Test</a>.<a href="../../graphyx/tests/Test.html#world" target="_self">world</a> + </dd> + </dl><hr></hr> +<a name="title"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>title</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../graphyx/tests/Test.html" target="_self">Test</a>.<a href="../../graphyx/tests/Test.html#title" target="_self">title</a> + </dd> + </dl><hr></hr></div> +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="init%28%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>init</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../graphyx/tests/Test.html" target="_self">Test</a>.<a href="../../graphyx/tests/Test.html#init%28%29" target="_self">init</a> + </dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/graphyx/tests/Test.html b/doc/graphyx/tests/Test.html new file mode 100644 index 0000000..78cec07 --- /dev/null +++ b/doc/graphyx/tests/Test.html @@ -0,0 +1,190 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>trait Test in graphyx.tests</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/tests$package.html" target="_self">graphyx.tests</a> + <br></br> + <span class="entity">trait Test</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="graphyx/tests/Test"><code>graphyx/tests/Test.scala</code></a>] + </div><hr></hr> + <a name="Test"></a><dl> + <dt> + + <code></code> + <code>trait</code> + <em>Test</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> + <dt style="margin:10px 0 0 20px;"><b>Direct Known Subclasses:</b></dt> + <dd><a href="../../graphyx/tests/BallStack$object.html" target="_self">BallStack</a>, <a href="../../graphyx/tests/Chain$object.html" target="_self">Chain</a>, <a href="../../graphyx/tests/CompositeShape$object.html" target="_self">CompositeShape</a>, <a href="../../graphyx/tests/Cup$object.html" target="_self">Cup</a>, <a href="../../graphyx/tests/EmptyTest$object.html" target="_self">EmptyTest</a>, <a href="../../graphyx/tests/Friction$object.html" target="_self">Friction</a>, <a href="../../graphyx/tests/Friction2$object.html" target="_self">Friction2</a>, <a href="../../graphyx/tests/General1$object.html" target="_self">General1</a>, <a href="../../graphyx/tests/General2$object.html" target="_self">General2</a>, <a href="../../graphyx/tests/Joints1$object.html" target="_self">Joints1</a>, <a href="../../graphyx/tests/Joints2$object.html" target="_self">Joints2</a>, <a href="../../graphyx/tests/Net$object.html" target="_self">Net</a>, <a href="../../graphyx/tests/RagdollTest$object.html" target="_self">RagdollTest</a>, <a href="../../graphyx/tests/Restitution$object.html" target="_self">Restitution</a>, <a href="../../graphyx/tests/Stacking$object.html" target="_self">Stacking</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>abstract val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/tests/Test.html#title" target="_self">title</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>abstract val</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/tests/Test.html#world" target="_self">world</a></em> + : <a href="../../sims/dynamics/World.html" target="_self">World</a> + + + </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/tests/Test.html#fireEvent%28%29" target="_self">fireEvent</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>abstract def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/tests/Test.html#init%28%29" target="_self">init</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../graphyx/tests/Test.html#toString%28%29" target="_self">toString</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + <div>Returns a string representation of the object.</div> + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Value Details</td></tr> + </table><div><a name="world"></a><dl> + <dt> + + <code>abstract</code> + <code>val</code> + <em>world</em> : <a href="../../sims/dynamics/World.html" target="_self">World</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="title"></a><dl> + <dt> + + <code>abstract</code> + <code>val</code> + <em>title</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl><hr></hr></div> +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="init%28%29"></a><dl> + <dt> + + <code>abstract</code> + <code>def</code> + <em>init</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="fireEvent%28%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>fireEvent</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="toString%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>toString</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a string representation of the object.
+ <p>
+ The default representation is platform dependent.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>a string representation of the object. </p></dd></dl> + <hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/index.html b/doc/index.html new file mode 100644 index 0000000..33257d7 --- /dev/null +++ b/doc/index.html @@ -0,0 +1,14 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>SiMS</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> + <frameset cols="25%, 75%"> + <frameset rows="50%, 28, 50%"> + <frame src="modules.html" name="modulesFrame"></frame> + <frame src="nav-classes.html" name="navigationFrame"></frame> + <frame src="all-classes.html" name="classesFrame"></frame> + </frameset> + <frame src="root-content.html" name="contentFrame"></frame> + </frameset> + </html>
\ No newline at end of file diff --git a/doc/modules.html b/doc/modules.html new file mode 100644 index 0000000..8edb9c7 --- /dev/null +++ b/doc/modules.html @@ -0,0 +1,34 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>List of all packages</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()"><div> + <div class="doctitle-larger">SiMS</div> + <a href="all-classes.html" target="classesFrame" onclick="resetKind();">All objects and classes</a> + </div><div class="kinds">Packages</div><ul class="list"><li><a href="graphyx$package.html" target="classesFrame" onclick="resetKind();"> + graphyx</a></li> +<li><a href="graphyx/actors$package.html" target="classesFrame" onclick="resetKind();"> + graphyx.actors</a></li> +<li><a href="graphyx/graphics$package.html" target="classesFrame" onclick="resetKind();"> + graphyx.graphics</a></li> +<li><a href="graphyx/gui$package.html" target="classesFrame" onclick="resetKind();"> + graphyx.gui</a></li> +<li><a href="graphyx/tests$package.html" target="classesFrame" onclick="resetKind();"> + graphyx.tests</a></li> +<li><a href="sims/collision$package.html" target="classesFrame" onclick="resetKind();"> + sims.collision</a></li> +<li><a href="sims/dynamics$package.html" target="classesFrame" onclick="resetKind();"> + sims.dynamics</a></li> +<li><a href="sims/dynamics/joints$package.html" target="classesFrame" onclick="resetKind();"> + sims.dynamics.joints</a></li> +<li><a href="sims/geometry$package.html" target="classesFrame" onclick="resetKind();"> + sims.geometry</a></li> +<li><a href="sims/math$package.html" target="classesFrame" onclick="resetKind();"> + sims.math</a></li> +<li><a href="sims/prefabs$package.html" target="classesFrame" onclick="resetKind();"> + sims.prefabs</a></li> +<li><a href="sims/util$package.html" target="classesFrame" onclick="resetKind();"> + sims.util</a></li> + </ul></body> + </html>
\ No newline at end of file diff --git a/doc/nav-classes.html b/doc/nav-classes.html new file mode 100644 index 0000000..505f7c6 --- /dev/null +++ b/doc/nav-classes.html @@ -0,0 +1,27 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>navigation</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 style="margin:1px 0 0 1px; padding:1px 0 0 1px;"><form> + <select onchange="gotoKind()" id="kinds"> + <option value="#Classes" selected="selected">Classes</option> + <option value="#Objects">Objects</option> + </select> + <span style="font-family:Courier;word-spacing:-8px;" id="alphabet"><a href="javascript:gotoName('A')">A</a> +<a href="javascript:gotoName('B')">B</a> +<a href="javascript:gotoName('C')">C</a> +<a href="javascript:gotoName('D')">D</a> +<a href="javascript:gotoName('E')">E</a> +<a href="javascript:gotoName('G')">G</a> +<a href="javascript:gotoName('I')">I</a> +<a href="javascript:gotoName('L')">L</a> +<a href="javascript:gotoName('M')">M</a> +<a href="javascript:gotoName('P')">P</a> +<a href="javascript:gotoName('R')">R</a> +<a href="javascript:gotoName('T')">T</a> +<a href="javascript:gotoName('V')">V</a> +<a href="javascript:gotoName('X')">X</a> + </span> + </form></body> + </html>
\ No newline at end of file diff --git a/doc/root-content.html b/doc/root-content.html new file mode 100644 index 0000000..e5c8a85 --- /dev/null +++ b/doc/root-content.html @@ -0,0 +1,69 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>All Packages</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()"><div class="page-title"><div>Simple Mechanics Simulator (SiMS) API</div></div><p><div>This document is the API specification for SiMS</div></p><hr></hr><table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Package Summary</td></tr> + <tr><td class="signature"> + <code>package + <a href="graphyx$content.html" target="_self">graphyx</a> + </code> + </td></tr> +<tr><td class="signature"> + <code>package + <a href="graphyx/actors$content.html" target="_self">graphyx.actors</a> + </code> + </td></tr> +<tr><td class="signature"> + <code>package + <a href="graphyx/graphics$content.html" target="_self">graphyx.graphics</a> + </code> + </td></tr> +<tr><td class="signature"> + <code>package + <a href="graphyx/gui$content.html" target="_self">graphyx.gui</a> + </code> + </td></tr> +<tr><td class="signature"> + <code>package + <a href="graphyx/tests$content.html" target="_self">graphyx.tests</a> + </code> + </td></tr> +<tr><td class="signature"> + <code>package + <a href="sims/collision$content.html" target="_self">sims.collision</a> + </code> + </td></tr> +<tr><td class="signature"> + <code>package + <a href="sims/dynamics$content.html" target="_self">sims.dynamics</a> + </code> + </td></tr> +<tr><td class="signature"> + <code>package + <a href="sims/dynamics/joints$content.html" target="_self">sims.dynamics.joints</a> + </code> + </td></tr> +<tr><td class="signature"> + <code>package + <a href="sims/geometry$content.html" target="_self">sims.geometry</a> + </code> + </td></tr> +<tr><td class="signature"> + <code>package + <a href="sims/math$content.html" target="_self">sims.math</a> + </code> + </td></tr> +<tr><td class="signature"> + <code>package + <a href="sims/prefabs$content.html" target="_self">sims.prefabs</a> + </code> + </td></tr> +<tr><td class="signature"> + <code>package + <a href="sims/util$content.html" target="_self">sims.util</a> + </code> + </td></tr> + </table></body> + </html>
\ No newline at end of file diff --git a/doc/script.js b/doc/script.js new file mode 100644 index 0000000..9728804 --- /dev/null +++ b/doc/script.js @@ -0,0 +1,112 @@ +<!-- +// NSC -- new Scala compiler +// Copyright 2005-2009 LAMP/EPFL +// @author Stephane Micheloud + +// $Id: script.js 17936 2009-05-31 18:30:21Z cunei $ + +function setWindowTitle(title) { + parent.document.title = title; +} + +var java_api_root = 'http://java.sun.com/javase/6/docs/api/'; +//var java_api_root = 'http://java.sun.com/j2se/1.5.0/docs/api/'; +//var java_api_root = 'http://lamp.epfl.ch/~linuxsoft/java/jdk1.5/docs/api/'; + +var javax_servlet_api_root = 'http://java.sun.com/products/servlet/2.3/javadoc/'; + +var scala_doc_url = parent.document.URL; +var scala_api_root = scala_doc_url.substring(0, scala_doc_url.lastIndexOf("/")+1); + +var ant_api_root = 'http://lamp.epfl.ch/~linuxsoft/ant/manual/api/'; +//var ant_api_root = 'http://www.net-freaks.org/doc/ant-1.6.5/manual/api/'; + +var eclipse_api_root = 'http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/'; + +var fjbg_api_root = 'http://lamp.epfl.ch/~linuxsoft/fjbg/api/'; + +var liftweb_api_root = 'http://lamp.epfl.ch/~linuxsoft/liftweb/apidocs/'; + +function get_api_root(key) { + root = null; + if (key.indexOf("ch/epfl/lamp/fjbg/") == 0) { root = fjbg_api_root; } + else if (key.indexOf("java/" ) == 0) { root = java_api_root; } + else if (key.indexOf("javax/" ) == 0) { root = java_api_root; } + else if (key.indexOf("javax/servlet/" ) == 0) { root = javax_servlet_api_root; } + else if (key.indexOf("scala/" ) == 0) { root = scala_api_root; } + else if (key.indexOf("org/apache/tools/" ) == 0) { root = ant_api_root; } + else if (key.indexOf("org/eclipse/" ) == 0) { root = eclipse_api_root; } + else if (key.indexOf("net/liftweb/" ) == 0) { root = liftweb_api_root; } + return root; +} + +var scala_src_root = 'http://lampsvn.epfl.ch/trac/scala/browser/scala/tags/R_2_7_5_final/'; +var lib_src_root = scala_src_root + 'src/library/'; +var comp_src_root = scala_src_root + 'src/compiler/'; +var actors_src_root = scala_src_root + 'src/actors/'; +var dbc_src_root = scala_src_root + 'src/dbc/'; +var swing_src_root = scala_src_root + 'src/swing/'; + +//var liftweb_src_root = 'http://liftweb.googlecode.com/svn/trunk/liftweb/lift/src/main/scala/'; + +function get_src_root(key) { + root = null; + if (key.indexOf("scala/actors/") == 0) { root = actors_src_root; } + else if (key.indexOf("scala/dbc/" ) == 0) { root = dbc_src_root; } + else if (key.indexOf("scala/swing/" ) == 0) { root = swing_src_root; } + else if (key.indexOf("scala/tools/" ) == 0) { root = comp_src_root; } + else if (key.indexOf("scala/" ) == 0) { root = lib_src_root; } + //else if (key.indexOf("net/liftweb/" ) == 0) { root = liftweb_src_root; } + return root; +} + +function init() { + elems = document.getElementsByTagName('a'); + for (i = 0; i < elems.length; i++) { + try { + key = elems[i].getAttribute('class'); + href = elems[i].getAttribute('href'); + api_root = get_api_root(key); + if (api_root != null) { + href1 = href.substring(href.lastIndexOf("#")) + value = api_root + key + ".html" + href1; + elems[i].setAttribute('href', value); + } + src_root = get_src_root(key); + if (src_root != null) { + value = src_root + key + '.scala?view=markup'; + elems[i].setAttribute('href', value); + elems[i].setAttribute('target' , '_top'); + } + } + catch (e) { + // do nothing + } + } +} + +function getLocation() { + kinds = parent.navigationFrame.document.getElementById("kinds"); + oldLocation = parent.classesFrame.window.location.href; + //alert("oldLocation="+oldLocation); + pos = oldLocation.lastIndexOf("#"); + classesURL = (pos > 0) ? oldLocation.substring(0, pos) : oldLocation; + newLocation = classesURL + kinds.options[kinds.selectedIndex].value; + //alert("newLocation="+newLocation); + return newLocation; +} + +function gotoKind() { + parent.classesFrame.window.location = getLocation(); +} + +function resetKind() { + kinds = parent.navigationFrame.document.getElementById("kinds"); + kinds.selectedIndex = 0; +} + +function gotoName(letter) { + parent.classesFrame.window.location = getLocation() + "_" + letter; +} +--> + diff --git a/doc/sims/collision$content.html b/doc/sims/collision$content.html new file mode 100644 index 0000000..d34c535 --- /dev/null +++ b/doc/sims/collision$content.html @@ -0,0 +1,191 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>All classes and objects in sims.collision</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()"><div class="page-title"><div>Simple Mechanics Simulator (SiMS) API</div></div><p><div>This document is the API specification for SiMS</div></p><table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Class Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code>case class</code> + </td> + <td class="signature"> + <em><a href="../sims/collision/AABB.html" target="_self">AABB</a></em> + (<code>val </code><em>minVertex</em> : <a href="../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <code>val </code><em>maxVertex</em> : <a href="../sims/geometry/Vector2D.html" target="_self">Vector2D</a>)<code> extends </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a> + + <div>Axis Aligned Bounding Boxes, kurz AABBs, sind Rechtecke die eine bestimmte Form umhuellen.
+ Da AABBs nach den X- und Y-Achsen orientiert sind, ermoeglichen sie eine schnelle
+ und einfache Feststellung ob zwei AABBs sich ueberschneiden.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>case class</code> + </td> + <td class="signature"> + <em><a href="../sims/collision/CircleCollision.html" target="_self">CircleCollision</a></em> + (<code>val </code><em>c1</em> : <a href="../sims/dynamics/Circle.html" target="_self">Circle</a>, <code>val </code><em>c2</em> : <a href="../sims/dynamics/Circle.html" target="_self">Circle</a>)<code> extends </code><a href="../sims/collision/Collision.html" target="_self">Collision</a><code> with </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a> + + <div>Kollision zwischen zwei Kreisen.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>abstract class</code> + </td> + <td class="signature"> + <em><a href="../sims/collision/Collision.html" target="_self">Collision</a></em> + <code> extends </code><a href="../sims/dynamics/Constraint.html" target="_self">Constraint</a><code> with </code><a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + + <div>Kollisionen zwischen zwei Formen enthalten Methoden zur Berrechnen der Kollisionsreaktion.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>abstract class</code> + </td> + <td class="signature"> + <em><a href="../sims/collision/Detector.html" target="_self">Detector</a></em> + <code> extends </code><a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + + <div>Eine Welt ermittelt ihre Kollisionen durch konkrete Implementierungen dieser Klasse.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> class</code> + </td> + <td class="signature"> + <em><a href="../sims/collision/GridDetector.html" target="_self">GridDetector</a></em> + (<code>val override </code><em>world</em> : <a href="../sims/dynamics/World.html" target="_self">World</a>)<code> extends </code><a href="../sims/collision/Detector.html" target="_self">Detector</a> + + <div>Eine konkrete Implementierung von <code>Detector</code>. <code>GridDetector</code> ermittelt
+ alle Kollisionen mit einem Gittersystem.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>case class</code> + </td> + <td class="signature"> + <em><a href="../sims/collision/Overlap.html" target="_self">Overlap</a></em> + (<code>val </code><em>poly</em> : <a href="../sims/geometry/ConvexPolygon.html" target="_self">ConvexPolygon</a>, <code>val </code><em>sideNum</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>, <code>val </code><em>overlap</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>)<code> extends </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>case class</code> + </td> + <td class="signature"> + <em><a href="../sims/collision/Pair.html" target="_self">Pair</a></em> + (<code>val </code><em>s1</em> : <a href="../sims/dynamics/Shape.html" target="_self">Shape</a>, <code>val </code><em>s2</em> : <a href="../sims/dynamics/Shape.html" target="_self">Shape</a>)<code> extends </code>(<a href="../sims/dynamics/Shape.html" target="_self">Shape</a>, <a href="../sims/dynamics/Shape.html" target="_self">Shape</a>) + + <div>Formenpaar.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>case class</code> + </td> + <td class="signature"> + <em><a href="../sims/collision/PolyCircleCollision.html" target="_self">PolyCircleCollision</a></em> + (<code>val </code><em>p</em> : <a href="../sims/geometry/ConvexPolygon.html" target="_self">ConvexPolygon</a>, <code>val </code><em>c</em> : <a href="../sims/dynamics/Circle.html" target="_self">Circle</a>)<code> extends </code><a href="../sims/collision/Collision.html" target="_self">Collision</a><code> with </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a> + + <div>Kollision zwischen einem konvexen Polygon und einem Kreis.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>case class</code> + </td> + <td class="signature"> + <em><a href="../sims/collision/PolyCollision.html" target="_self">PolyCollision</a></em> + (<code>val </code><em>p1</em> : <a href="../sims/geometry/ConvexPolygon.html" target="_self">ConvexPolygon</a>, <code>val </code><em>p2</em> : <a href="../sims/geometry/ConvexPolygon.html" target="_self">ConvexPolygon</a>)<code> extends </code><a href="../sims/collision/Collision.html" target="_self">Collision</a><code> with </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a> + + <div>Kollision zwischen zwei konvexen Polygonen.</div> + </td> + </tr> + </table> +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Object Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> object</code> + </td> + <td class="signature"> + <em><a href="../sims/collision/AABB$object.html" target="_self">AABB</a></em> + <code> extends </code>(<a href="../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <a href="../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) => <a href="../sims/collision/AABB.html" target="_self">AABB</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> object</code> + </td> + <td class="signature"> + <em><a href="../sims/collision/CircleCollision$object.html" target="_self">CircleCollision</a></em> + <code> extends </code>(<a href="../sims/dynamics/Circle.html" target="_self">Circle</a>, <a href="../sims/dynamics/Circle.html" target="_self">Circle</a>) => <a href="../sims/collision/CircleCollision.html" target="_self">CircleCollision</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> object</code> + </td> + <td class="signature"> + <em><a href="../sims/collision/Collision$object.html" target="_self">Collision</a></em> + <code> extends </code><a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> object</code> + </td> + <td class="signature"> + <em><a href="../sims/collision/Overlap$object.html" target="_self">Overlap</a></em> + <code> extends </code>(<a href="../sims/geometry/ConvexPolygon.html" target="_self">ConvexPolygon</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) => <a href="../sims/collision/Overlap.html" target="_self">Overlap</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> object</code> + </td> + <td class="signature"> + <em><a href="../sims/collision/Pair$object.html" target="_self">Pair</a></em> + <code> extends </code>(<a href="../sims/dynamics/Shape.html" target="_self">Shape</a>, <a href="../sims/dynamics/Shape.html" target="_self">Shape</a>) => <a href="../sims/collision/Pair.html" target="_self">Pair</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> object</code> + </td> + <td class="signature"> + <em><a href="../sims/collision/PolyCircleCollision$object.html" target="_self">PolyCircleCollision</a></em> + <code> extends </code>(<a href="../sims/geometry/ConvexPolygon.html" target="_self">ConvexPolygon</a>, <a href="../sims/dynamics/Circle.html" target="_self">Circle</a>) => <a href="../sims/collision/PolyCircleCollision.html" target="_self">PolyCircleCollision</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> object</code> + </td> + <td class="signature"> + <em><a href="../sims/collision/PolyCollision$object.html" target="_self">PolyCollision</a></em> + <code> extends </code>(<a href="../sims/geometry/ConvexPolygon.html" target="_self">ConvexPolygon</a>, <a href="../sims/geometry/ConvexPolygon.html" target="_self">ConvexPolygon</a>) => <a href="../sims/collision/PolyCollision.html" target="_self">PolyCollision</a> + + + </td> + </tr> + </table></body> + </html>
\ No newline at end of file diff --git a/doc/sims/collision$package.html b/doc/sims/collision$package.html new file mode 100644 index 0000000..0871d60 --- /dev/null +++ b/doc/sims/collision$package.html @@ -0,0 +1,30 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>List of classes and objects in package sims.collision</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"> + <a href="../sims/collision$content.html" target="contentFrame">sims.collision</a> + </td></tr> + </table><div><div class="kinds" id="Classes">Classes</div><ul class="list"> + <li id="Classes_A"><a href="../sims/collision/AABB.html" target="contentFrame">AABB</a></li> +<li id="Classes_C"><a href="../sims/collision/CircleCollision.html" target="contentFrame">CircleCollision</a></li> +<li><a href="../sims/collision/Collision.html" target="contentFrame">Collision</a></li> +<li id="Classes_D"><a href="../sims/collision/Detector.html" target="contentFrame">Detector</a></li> +<li id="Classes_G"><a href="../sims/collision/GridDetector.html" target="contentFrame">GridDetector</a></li> +<li id="Classes_O"><a href="../sims/collision/Overlap.html" target="contentFrame">Overlap</a></li> +<li id="Classes_P"><a href="../sims/collision/Pair.html" target="contentFrame">Pair</a></li> +<li><a href="../sims/collision/PolyCircleCollision.html" target="contentFrame">PolyCircleCollision</a></li> +<li><a href="../sims/collision/PolyCollision.html" target="contentFrame">PolyCollision</a></li> + </ul> +<div class="kinds" id="Objects">Objects</div><ul class="list"> + <li id="Objects_A"><a href="../sims/collision/AABB$object.html" target="contentFrame">AABB</a></li> +<li id="Objects_C"><a href="../sims/collision/CircleCollision$object.html" target="contentFrame">CircleCollision</a></li> +<li><a href="../sims/collision/Collision$object.html" target="contentFrame">Collision</a></li> +<li id="Objects_O"><a href="../sims/collision/Overlap$object.html" target="contentFrame">Overlap</a></li> +<li id="Objects_P"><a href="../sims/collision/Pair$object.html" target="contentFrame">Pair</a></li> +<li><a href="../sims/collision/PolyCircleCollision$object.html" target="contentFrame">PolyCircleCollision</a></li> +<li><a href="../sims/collision/PolyCollision$object.html" target="contentFrame">PolyCollision</a></li> + </ul></div></body> + </html>
\ No newline at end of file diff --git a/doc/sims/collision/AABB$object.html b/doc/sims/collision/AABB$object.html new file mode 100644 index 0000000..6d5d29d --- /dev/null +++ b/doc/sims/collision/AABB$object.html @@ -0,0 +1,82 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object AABB in sims.collision</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/collision$package.html" target="_self">sims.collision</a> + <br></br> + <span class="entity">object AABB</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/collision/AABB"><code>sims/collision/AABB.scala</code></a>] + </div><hr></hr> + <a name="AABB"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>AABB</em> + </dt> + <dd><code> extends </code>(<a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) => <a href="../../sims/collision/AABB.html" target="_self">AABB</a></dd> + </dl> + + + +<table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/Function2">scala.Function2</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#toString" target="contentFrame" class="scala/Function2">scala.Function2.toString</a>, <a href="#curry" target="contentFrame" class="scala/Function2">scala.Function2.curry</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + + + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/collision/AABB.html b/doc/sims/collision/AABB.html new file mode 100644 index 0000000..d4759f1 --- /dev/null +++ b/doc/sims/collision/AABB.html @@ -0,0 +1,309 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class AABB in sims.collision</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/collision$package.html" target="_self">sims.collision</a> + <br></br> + <span class="entity">class AABB</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/collision/AABB"><code>sims/collision/AABB.scala</code></a>] + </div><hr></hr> + <a name="AABB"></a><dl> + <dt> + + <code>case</code> + <code>class</code> + <em>AABB</em>(<code>val </code><em>minVertex</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <code>val </code><em>maxVertex</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) + </dt> + <dd><code> extends </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a></dd> + </dl> + <dl><dd>Axis Aligned Bounding Boxes, kurz AABBs, sind Rechtecke die eine bestimmte Form umhuellen.
+ Da AABBs nach den X- und Y-Achsen orientiert sind, ermoeglichen sie eine schnelle
+ und einfache Feststellung ob zwei AABBs sich ueberschneiden.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>minVertex - </code>Ortsvektor der minimalen Ecke des AABBs</dd><dd><code>maxVertex - </code>Ortsvektor der maximalen Ecke des AABBs</dd></dl> + <dl> + <dt style="margin:10px 0 0 20px;"><b>Direct Known Subclasses:</b></dt> + <dd><a href="../../graphyx/graphics/GraphicalAABB.html" target="_self">GraphicalAABB</a></dd> + </dl><hr></hr> + + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Method Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/AABB.html#equals%28Any%29" target="_self">equals</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/AABB.html#hashCode%28%29" target="_self">hashCode</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + <div>Returns a hash code value for the object.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/AABB.html#overlaps%28sims.collision.AABB%29" target="_self">overlaps</a></em> + (<em>box</em> : <a href="../../sims/collision/AABB.html" target="_self">AABB</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>Ueberprueft ob dieses AABB sich mit dem AABB <code>box</code> ueberschneidet.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/AABB.html#productArity" target="_self">productArity</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/AABB.html#productElement%28Int%29" target="_self">productElement</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/AABB.html#productPrefix" target="_self">productPrefix</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/AABB.html#toString%28%29" target="_self">toString</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + <div>Returns a string representation of the object.</div> + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="overlaps%28sims.collision.AABB%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>overlaps</em>(<em>box</em> : <a href="../../sims/collision/AABB.html" target="_self">AABB</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Ueberprueft ob dieses AABB sich mit dem AABB <code>box</code> ueberschneidet.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>box - </code>das mit diesem auf Ueberschneidung zu ueberpruefende AABB</dd></dl> + <hr></hr> +<a name="hashCode%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>hashCode</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a hash code value for the object.
+ <p>
+ The default hashing algorithm is platform dependent.
+ Note that it is allowed for two objects to have identical hash
+ codes (<code>o1.hashCode.equals(o2.hashCode)</code>) yet not be
+ equal (<code>o1.equals(o2)</code> returns <code>false</code>). A
+ degenerate implementation could always return <code>0</code>.
+ However, it is required that if two objects are equal
+ (<code>o1.equals(o2)</code> returns <code>true</code>) that they
+ have identical hash codes
+ (<code>o1.hashCode.equals(o2.hashCode)</code>). Therefore, when
+ overriding this method, be sure to verify that the behavior is
+ consistent with the <code>equals</code> method.
+ </p>
+ <p></dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>the hash code value for the object. </p></dd></dl> + <hr></hr> +<a name="toString%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>toString</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a string representation of the object.
+ <p>
+ The default representation is platform dependent.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>a string representation of the object. </p></dd></dl> + <hr></hr> +<a name="equals%28Any%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>equals</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.
+
+ <p>
+ The default implementations of this method is an <a
+ href="http://en.wikipedia.org/wiki/Equivalence_relation">equivalence
+ relation</a>:
+ <ul>
+ <li>It is reflexive: for any instance <code>x</code> of type <code>Any</code>,
+ <code>x.equals(x)</code> should return <code>true</code>.</li>
+ <li>It is symmetric: for any instances <code>x</code> and <code>y</code> of type
+ <code>Any</code>, <code>x.equals(y)</code> should return <code>true</code> if and only
+ if <code>y.equals(x)</code> returns <code>true</code>.</li>
+ <li>It is transitive: for any instances
+ <code>x</code>, <code>y</code>, and <code>z</code> of type <code>AnyRef</code>
+ if <code>x.equals(y)</code> returns <code>true</code> and
+ <code>y.equals(z)</code> returns
+ <code>true</code>, then <code>x.equals(z)</code> should return <code>true</code>.</li>
+ </ul>
+ </p>
+ <p>
+ If you override this method, you should verify that
+ your implementation remains an equivalence relation.
+ Additionally, when overriding this method it is often necessary to
+ override <code>hashCode</code> to ensure that objects that are
+ "equal" (<code>o1.equals(o2)</code> returns <code>true</code>)
+ hash to the same <a href="Int.html"><code>Int</code></a>
+ (<code>o1.hashCode.equals(o2.hashCode)</code>).</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>arg0 - </code>the object to compare against this object for equality.</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise. </p></dd></dl> + <hr></hr> +<a name="productPrefix"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productPrefix</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productPrefix" target="contentFrame" class="scala/Product">scala.Product.productPrefix</a> + </dd> + </dl><hr></hr> +<a name="productArity"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productArity</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productArity" target="contentFrame" class="scala/Product">scala.Product.productArity</a> + </dd> + </dl><hr></hr> +<a name="productElement%28Int%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productElement</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productElement" target="contentFrame" class="scala/Product">scala.Product.productElement</a> + </dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/collision/CircleCollision$object.html b/doc/sims/collision/CircleCollision$object.html new file mode 100644 index 0000000..c175c15 --- /dev/null +++ b/doc/sims/collision/CircleCollision$object.html @@ -0,0 +1,82 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object CircleCollision in sims.collision</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/collision$package.html" target="_self">sims.collision</a> + <br></br> + <span class="entity">object CircleCollision</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/collision/CircleCollision"><code>sims/collision/CircleCollision.scala</code></a>] + </div><hr></hr> + <a name="CircleCollision"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>CircleCollision</em> + </dt> + <dd><code> extends </code>(<a href="../../sims/dynamics/Circle.html" target="_self">Circle</a>, <a href="../../sims/dynamics/Circle.html" target="_self">Circle</a>) => <a href="../../sims/collision/CircleCollision.html" target="_self">CircleCollision</a></dd> + </dl> + + + +<table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/Function2">scala.Function2</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#toString" target="contentFrame" class="scala/Function2">scala.Function2.toString</a>, <a href="#curry" target="contentFrame" class="scala/Function2">scala.Function2.curry</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + + + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/collision/CircleCollision.html b/doc/sims/collision/CircleCollision.html new file mode 100644 index 0000000..d305be6 --- /dev/null +++ b/doc/sims/collision/CircleCollision.html @@ -0,0 +1,409 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class CircleCollision in sims.collision</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/collision$package.html" target="_self">sims.collision</a> + <br></br> + <span class="entity">class CircleCollision</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/collision/CircleCollision"><code>sims/collision/CircleCollision.scala</code></a>] + </div><hr></hr> + <a name="CircleCollision"></a><dl> + <dt> + + <code>case</code> + <code>class</code> + <em>CircleCollision</em>(<code>val </code><em>c1</em> : <a href="../../sims/dynamics/Circle.html" target="_self">Circle</a>, <code>val </code><em>c2</em> : <a href="../../sims/dynamics/Circle.html" target="_self">Circle</a>) + </dt> + <dd><code> extends </code><a href="../../sims/collision/Collision.html" target="_self">Collision</a><code> with </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a></dd> + </dl> + <dl><dd>Kollision zwischen zwei Kreisen.</dd></dl> + <dl></dl> + + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/CircleCollision.html#normal" target="_self">normal</a></em> + : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + <div>Normalenvektor zu der Kollisionsebene.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/CircleCollision.html#points" target="_self">points</a></em> + : <a href="" target="contentFrame" class="scala/List">scala.List</a>[<a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>] + + <div>Kollisionspunkte.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/CircleCollision.html#shape1" target="_self">shape1</a></em> + : <a href="../../sims/dynamics/Circle.html" target="_self">Circle</a> + + <div>Erste Kollisionsform (Referenz).</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/CircleCollision.html#shape2" target="_self">shape2</a></em> + : <a href="../../sims/dynamics/Circle.html" target="_self">Circle</a> + + <div>Zweite Kollisionsform (eindringend).</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>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/CircleCollision.html#equals%28Any%29" target="_self">equals</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/CircleCollision.html#hashCode%28%29" target="_self">hashCode</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + <div>Returns a hash code value for the object.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/CircleCollision.html#productArity" target="_self">productArity</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/CircleCollision.html#productElement%28Int%29" target="_self">productElement</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/CircleCollision.html#productPrefix" target="_self">productPrefix</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/CircleCollision.html#toString%28%29" target="_self">toString</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + <div>Returns a string representation of the object.</div> + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="../../sims/collision/Collision.html" target="_self">Collision</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../sims/collision/Collision.html#correctVelocity%28Double%29" target="_self">correctVelocity</a>, <a href="../../sims/collision/Collision.html#correctFriction%28sims.geometry.Vector2D%2CDouble%2CDouble%29" target="_self">correctFriction</a>, <a href="../../sims/collision/Collision.html#correctPosition%28Double%29" target="_self">correctPosition</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Value Details</td></tr> + </table><div><a name="shape1"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>shape1</em> : <a href="../../sims/dynamics/Circle.html" target="_self">Circle</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Erste Kollisionsform (Referenz).</dd></dl> + <dl></dl> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/collision/Collision.html" target="_self">Collision</a>.<a href="../../sims/collision/Collision.html#shape1" target="_self">shape1</a> + </dd> + </dl><hr></hr> +<a name="shape2"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>shape2</em> : <a href="../../sims/dynamics/Circle.html" target="_self">Circle</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Zweite Kollisionsform (eindringend).</dd></dl> + <dl></dl> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/collision/Collision.html" target="_self">Collision</a>.<a href="../../sims/collision/Collision.html#shape2" target="_self">shape2</a> + </dd> + </dl><hr></hr> +<a name="normal"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>normal</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Normalenvektor zu der Kollisionsebene.</dd></dl> + <dl></dl> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/collision/Collision.html" target="_self">Collision</a>.<a href="../../sims/collision/Collision.html#normal" target="_self">normal</a> + </dd> + </dl><hr></hr> +<a name="points"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>points</em> : <a href="" target="contentFrame" class="scala/List">scala.List</a>[<a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>] + </dt> + <dd></dd> + </dl> + <dl><dd>Kollisionspunkte.</dd></dl> + <dl></dl> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/collision/Collision.html" target="_self">Collision</a>.<a href="../../sims/collision/Collision.html#points" target="_self">points</a> + </dd> + </dl><hr></hr></div> +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="hashCode%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>hashCode</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a hash code value for the object.
+ <p>
+ The default hashing algorithm is platform dependent.
+ Note that it is allowed for two objects to have identical hash
+ codes (<code>o1.hashCode.equals(o2.hashCode)</code>) yet not be
+ equal (<code>o1.equals(o2)</code> returns <code>false</code>). A
+ degenerate implementation could always return <code>0</code>.
+ However, it is required that if two objects are equal
+ (<code>o1.equals(o2)</code> returns <code>true</code>) that they
+ have identical hash codes
+ (<code>o1.hashCode.equals(o2.hashCode)</code>). Therefore, when
+ overriding this method, be sure to verify that the behavior is
+ consistent with the <code>equals</code> method.
+ </p>
+ <p></dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>the hash code value for the object. </p></dd></dl> + <hr></hr> +<a name="toString%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>toString</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a string representation of the object.
+ <p>
+ The default representation is platform dependent.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>a string representation of the object. </p></dd></dl> + <hr></hr> +<a name="equals%28Any%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>equals</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.
+
+ <p>
+ The default implementations of this method is an <a
+ href="http://en.wikipedia.org/wiki/Equivalence_relation">equivalence
+ relation</a>:
+ <ul>
+ <li>It is reflexive: for any instance <code>x</code> of type <code>Any</code>,
+ <code>x.equals(x)</code> should return <code>true</code>.</li>
+ <li>It is symmetric: for any instances <code>x</code> and <code>y</code> of type
+ <code>Any</code>, <code>x.equals(y)</code> should return <code>true</code> if and only
+ if <code>y.equals(x)</code> returns <code>true</code>.</li>
+ <li>It is transitive: for any instances
+ <code>x</code>, <code>y</code>, and <code>z</code> of type <code>AnyRef</code>
+ if <code>x.equals(y)</code> returns <code>true</code> and
+ <code>y.equals(z)</code> returns
+ <code>true</code>, then <code>x.equals(z)</code> should return <code>true</code>.</li>
+ </ul>
+ </p>
+ <p>
+ If you override this method, you should verify that
+ your implementation remains an equivalence relation.
+ Additionally, when overriding this method it is often necessary to
+ override <code>hashCode</code> to ensure that objects that are
+ "equal" (<code>o1.equals(o2)</code> returns <code>true</code>)
+ hash to the same <a href="Int.html"><code>Int</code></a>
+ (<code>o1.hashCode.equals(o2.hashCode)</code>).</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>arg0 - </code>the object to compare against this object for equality.</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise. </p></dd></dl> + <hr></hr> +<a name="productPrefix"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productPrefix</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productPrefix" target="contentFrame" class="scala/Product">scala.Product.productPrefix</a> + </dd> + </dl><hr></hr> +<a name="productArity"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productArity</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productArity" target="contentFrame" class="scala/Product">scala.Product.productArity</a> + </dd> + </dl><hr></hr> +<a name="productElement%28Int%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productElement</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productElement" target="contentFrame" class="scala/Product">scala.Product.productElement</a> + </dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/collision/Collision$object.html b/doc/sims/collision/Collision$object.html new file mode 100644 index 0000000..de0b9de --- /dev/null +++ b/doc/sims/collision/Collision$object.html @@ -0,0 +1,101 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object Collision in sims.collision</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/collision$package.html" target="_self">sims.collision</a> + <br></br> + <span class="entity">object Collision</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/collision/Collision"><code>sims/collision/Collision.scala</code></a>] + </div><hr></hr> + <a name="Collision"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>Collision</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> + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/Collision$object.html#ToleratedOverlap" target="_self">ToleratedOverlap</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + + <div>Erlaubte Ueberlappung.</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="ToleratedOverlap"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>ToleratedOverlap</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Erlaubte Ueberlappung.</dd></dl> + <dl></dl> + <hr></hr></div> + + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/collision/Collision.html b/doc/sims/collision/Collision.html new file mode 100644 index 0000000..8b97de9 --- /dev/null +++ b/doc/sims/collision/Collision.html @@ -0,0 +1,259 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class Collision in sims.collision</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/collision$package.html" target="_self">sims.collision</a> + <br></br> + <span class="entity">class Collision</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/collision/Collision"><code>sims/collision/Collision.scala</code></a>] + </div><hr></hr> + <a name="Collision"></a><dl> + <dt> + + <code>abstract</code> + <code>class</code> + <em>Collision</em> + </dt> + <dd><code> extends </code><a href="../../sims/dynamics/Constraint.html" target="_self">Constraint</a><code> with </code><a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a></dd> + </dl> + <dl><dd>Kollisionen zwischen zwei Formen enthalten Methoden zur Berrechnen der Kollisionsreaktion.</dd></dl> + <dl></dl> + <dl> + <dt style="margin:10px 0 0 20px;"><b>Direct Known Subclasses:</b></dt> + <dd><a href="../../sims/collision/CircleCollision.html" target="_self">CircleCollision</a>, <a href="../../sims/collision/PolyCircleCollision.html" target="_self">PolyCircleCollision</a>, <a href="../../sims/collision/PolyCollision.html" target="_self">PolyCollision</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>abstract val</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/Collision.html#normal" target="_self">normal</a></em> + : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + <div>Normalenvektor zu der Kollisionsebene.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>abstract val</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/Collision.html#points" target="_self">points</a></em> + : <a href="" target="contentFrame" class="scala/Iterable">scala.Iterable</a>[<a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>] + + <div>Kollisionspunkte.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>abstract val</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/Collision.html#shape1" target="_self">shape1</a></em> + : <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a> + + <div>Erste Kollisionsform (Referenz).</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>abstract val</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/Collision.html#shape2" target="_self">shape2</a></em> + : <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a> + + <div>Zweite Kollisionsform (eindringend).</div> + </td> + </tr> + </table> +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Method Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/Collision.html#correctFriction%28sims.geometry.Vector2D%2CDouble%2CDouble%29" target="_self">correctFriction</a></em> + (<em>point</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <em>normalForce</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>, <em>h</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> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/Collision.html#correctPosition%28Double%29" target="_self">correctPosition</a></em> + (<em>h</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>Korrigiert die Position der Koerper damit diese den Randbedingungen entsprechen.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/Collision.html#correctVelocity%28Double%29" target="_self">correctVelocity</a></em> + (<em>h</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>Korrigiert die Geschwindigkeit der Koerper damit diese den Randbedingungen entsprechen.</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="shape1"></a><dl> + <dt> + + <code>abstract</code> + <code>val</code> + <em>shape1</em> : <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Erste Kollisionsform (Referenz).</dd></dl> + <dl></dl> + <hr></hr> +<a name="shape2"></a><dl> + <dt> + + <code>abstract</code> + <code>val</code> + <em>shape2</em> : <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Zweite Kollisionsform (eindringend).</dd></dl> + <dl></dl> + <hr></hr> +<a name="points"></a><dl> + <dt> + + <code>abstract</code> + <code>val</code> + <em>points</em> : <a href="" target="contentFrame" class="scala/Iterable">scala.Iterable</a>[<a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>] + </dt> + <dd></dd> + </dl> + <dl><dd>Kollisionspunkte.</dd></dl> + <dl></dl> + <hr></hr> +<a name="normal"></a><dl> + <dt> + + <code>abstract</code> + <code>val</code> + <em>normal</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Normalenvektor zu der Kollisionsebene.</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="correctVelocity%28Double%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>correctVelocity</em>(<em>h</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>Korrigiert die Geschwindigkeit der Koerper damit diese den Randbedingungen entsprechen.</dd></dl> + <dl></dl> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/dynamics/Constraint.html" target="_self">Constraint</a>.<a href="../../sims/dynamics/Constraint.html#correctVelocity%28Double%29" target="_self">correctVelocity</a> + </dd> + </dl><hr></hr> +<a name="correctFriction%28sims.geometry.Vector2D%2CDouble%2CDouble%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>correctFriction</em>(<em>point</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <em>normalForce</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>, <em>h</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><hr></hr> +<a name="correctPosition%28Double%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>correctPosition</em>(<em>h</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>Korrigiert die Position der Koerper damit diese den Randbedingungen entsprechen.</dd></dl> + <dl></dl> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/dynamics/Constraint.html" target="_self">Constraint</a>.<a href="../../sims/dynamics/Constraint.html#correctPosition%28Double%29" target="_self">correctPosition</a> + </dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/collision/Detector.html b/doc/sims/collision/Detector.html new file mode 100644 index 0000000..7aaa1e4 --- /dev/null +++ b/doc/sims/collision/Detector.html @@ -0,0 +1,133 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class Detector in sims.collision</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/collision$package.html" target="_self">sims.collision</a> + <br></br> + <span class="entity">class Detector</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/collision/Detector"><code>sims/collision/Detector.scala</code></a>] + </div><hr></hr> + <a name="Detector"></a><dl> + <dt> + + <code>abstract</code> + <code>class</code> + <em>Detector</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>Eine Welt ermittelt ihre Kollisionen durch konkrete Implementierungen dieser Klasse.</dd></dl> + <dl></dl> + <dl> + <dt style="margin:10px 0 0 20px;"><b>Direct Known Subclasses:</b></dt> + <dd><a href="../../sims/collision/GridDetector.html" target="_self">GridDetector</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>abstract val</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/Detector.html#world" target="_self">world</a></em> + : <a href="../../sims/dynamics/World.html" target="_self">World</a> + + <div>Die Welt dessen Formen auf Kollisionen ueberprueft werden sollen.</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>abstract def</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/Detector.html#collisions" target="_self">collisions</a></em> + : <a href="" target="contentFrame" class="scala/Seq">scala.Seq</a>[<a href="../../sims/collision/Collision.html" target="_self">Collision</a>] + + <div>Ergibt alle Kollisionen zwischen Formen der Welt <code>world</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="world"></a><dl> + <dt> + + <code>abstract</code> + <code>val</code> + <em>world</em> : <a href="../../sims/dynamics/World.html" target="_self">World</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Die Welt dessen Formen auf Kollisionen ueberprueft werden sollen.</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="collisions"></a><dl> + <dt> + + <code>abstract</code> + <code>def</code> + <em>collisions</em> : <a href="" target="contentFrame" class="scala/Seq">scala.Seq</a>[<a href="../../sims/collision/Collision.html" target="_self">Collision</a>] + </dt> + <dd></dd> + </dl> + <dl><dd>Ergibt alle Kollisionen zwischen Formen der Welt <code>world</code>.</dd></dl> + <dl></dl> + <hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/collision/GridDetector.html b/doc/sims/collision/GridDetector.html new file mode 100644 index 0000000..43dc1f6 --- /dev/null +++ b/doc/sims/collision/GridDetector.html @@ -0,0 +1,311 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class GridDetector in sims.collision</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/collision$package.html" target="_self">sims.collision</a> + <br></br> + <span class="entity">class GridDetector</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/collision/GridDetector"><code>sims/collision/GridDetector.scala</code></a>] + </div><hr></hr> + <a name="GridDetector"></a><dl> + <dt> + + <code></code> + <code>class</code> + <em>GridDetector</em>(<code>val override </code><em>world</em> : <a href="../../sims/dynamics/World.html" target="_self">World</a>) + </dt> + <dd><code> extends </code><a href="../../sims/collision/Detector.html" target="_self">Detector</a></dd> + </dl> + <dl><dd>Eine konkrete Implementierung von <code>Detector</code>. <code>GridDetector</code> ermittelt
+ alle Kollisionen mit einem Gittersystem.</dd></dl> + <dl></dl> + + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/GridDetector.html#collisionMethods" target="_self">collisionMethods</a></em> + : <a href="" target="contentFrame" class="scala/collection/mutable/ArrayBuffer">scala.collection.mutable.ArrayBuffer</a>[<a href="" target="contentFrame" class="scala/PartialFunction">scala.PartialFunction</a>[(<a href="../../sims/dynamics/Shape.html" target="_self">Shape</a>, <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a>), <a href="../../sims/collision/Collision.html" target="_self">Collision</a>]] + + <div>Array von Kollisionsmethoden fuer Formenpaare.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/GridDetector.html#detectionMethods" target="_self">detectionMethods</a></em> + : <a href="" target="contentFrame" class="scala/collection/mutable/ArrayBuffer">scala.collection.mutable.ArrayBuffer</a>[<a href="" target="contentFrame" class="scala/PartialFunction">scala.PartialFunction</a>[(<a href="../../sims/dynamics/Shape.html" target="_self">Shape</a>, <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a>), <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a>]] + + <div>Array von Kollisionserkennungsmethoden fuer Formenpaare.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> var</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/GridDetector.html#gridSide" target="_self">gridSide</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + + <div>Breite und Hoehe einer Gitterzelle.</div> + </td> + </tr> + </table> +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Method Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/GridDetector.html#colliding%28sims.collision.Pair%29" target="_self">colliding</a></em> + (<em>p</em> : <a href="../../sims/collision/Pair.html" target="_self">Pair</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>Gibt an, ob das Formenpaar <code>p</code> kollidiert.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/GridDetector.html#collidingPairs" target="_self">collidingPairs</a></em> + : <a href="" target="contentFrame" class="scala/Seq">scala.Seq</a>[<a href="../../sims/collision/Pair.html" target="_self">Pair</a>] + + <div>Ergibt alle kollidierenden Paare.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/GridDetector.html#collision%28sims.collision.Pair%29" target="_self">collision</a></em> + (<em>p</em> : <a href="../../sims/collision/Pair.html" target="_self">Pair</a>) : <a href="../../sims/collision/Collision.html" target="_self">Collision</a> + + <div>Gibt die Kollision des Formenpaares <code>p</code> zurueck.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/GridDetector.html#collisions" target="_self">collisions</a></em> + : <a href="" target="contentFrame" class="scala/Seq">scala.Seq</a>[<a href="../../sims/collision/Collision.html" target="_self">Collision</a>] + + <div>Ergibt alle Kollisionen.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/GridDetector.html#getPairs" target="_self">getPairs</a></em> + : <a href="" target="contentFrame" class="scala/Seq">scala.Seq</a>[<a href="../../sims/collision/Pair.html" target="_self">Pair</a>] + + <div>Ergibt potenzielle Kollisionspaare der Welt <code>world</code>.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/GridDetector.html#pairs" target="_self">pairs</a></em> + : <a href="" target="contentFrame" class="scala/Seq">scala.Seq</a>[<a href="../../sims/collision/Pair.html" target="_self">Pair</a>] + + <div>Alle potentiellen Kollisionspaare der Welt.</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="detectionMethods"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>detectionMethods</em> : <a href="" target="contentFrame" class="scala/collection/mutable/ArrayBuffer">scala.collection.mutable.ArrayBuffer</a>[<a href="" target="contentFrame" class="scala/PartialFunction">scala.PartialFunction</a>[(<a href="../../sims/dynamics/Shape.html" target="_self">Shape</a>, <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a>), <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a>]] + </dt> + <dd></dd> + </dl> + <dl><dd>Array von Kollisionserkennungsmethoden fuer Formenpaare.</dd></dl> + <dl></dl> + <hr></hr> +<a name="collisionMethods"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>collisionMethods</em> : <a href="" target="contentFrame" class="scala/collection/mutable/ArrayBuffer">scala.collection.mutable.ArrayBuffer</a>[<a href="" target="contentFrame" class="scala/PartialFunction">scala.PartialFunction</a>[(<a href="../../sims/dynamics/Shape.html" target="_self">Shape</a>, <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a>), <a href="../../sims/collision/Collision.html" target="_self">Collision</a>]] + </dt> + <dd></dd> + </dl> + <dl><dd>Array von Kollisionsmethoden fuer Formenpaare.</dd></dl> + <dl></dl> + <hr></hr> +<a name="gridSide"></a><dl> + <dt> + + <code></code> + <code>var</code> + <em>gridSide</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Breite und Hoehe einer Gitterzelle.</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="colliding%28sims.collision.Pair%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>colliding</em>(<em>p</em> : <a href="../../sims/collision/Pair.html" target="_self">Pair</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Gibt an, ob das Formenpaar <code>p</code> kollidiert.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>p - </code>Formenpaar.</dd></dl> + <hr></hr> +<a name="collision%28sims.collision.Pair%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>collision</em>(<em>p</em> : <a href="../../sims/collision/Pair.html" target="_self">Pair</a>) : <a href="../../sims/collision/Collision.html" target="_self">Collision</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Gibt die Kollision des Formenpaares <code>p</code> zurueck.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>p - </code>Formenpaar.</dd></dl> + <hr></hr> +<a name="getPairs"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>getPairs</em> : <a href="" target="contentFrame" class="scala/Seq">scala.Seq</a>[<a href="../../sims/collision/Pair.html" target="_self">Pair</a>] + </dt> + <dd></dd> + </dl> + <dl><dd>Ergibt potenzielle Kollisionspaare der Welt <code>world</code>.
+ <p>
+ Ein Kollisionspaar ist ein Paar aus zwei verschiedenen Formen, das folgenden Bedingungen unterliegt:
+ <ul>
+ <li>Die Formen muessen sich in der gleichen Gitterzelle befinden.</li>
+ <li>Ihre AABBs muessen sich ueberlappen.</li>
+ <li>Die Formen duerfen nicht von dem gleichen Koerper sein.</li>
+ <li>Mindestens eine Form darf nicht Fixiert sein.</li>
+ <li>Beide muessen {@link dynamics.Shape#collidable collidierbar} sein.</li>
+ </ul></dd></dl> + <dl></dl> + <hr></hr> +<a name="pairs"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>pairs</em> : <a href="" target="contentFrame" class="scala/Seq">scala.Seq</a>[<a href="../../sims/collision/Pair.html" target="_self">Pair</a>] + </dt> + <dd></dd> + </dl> + <dl><dd>Alle potentiellen Kollisionspaare der Welt.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>See Also</b></dt><dd>getPairs</dd></dl> + <hr></hr> +<a name="collidingPairs"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>collidingPairs</em> : <a href="" target="contentFrame" class="scala/Seq">scala.Seq</a>[<a href="../../sims/collision/Pair.html" target="_self">Pair</a>] + </dt> + <dd></dd> + </dl> + <dl><dd>Ergibt alle kollidierenden Paare.</dd></dl> + <dl></dl> + <hr></hr> +<a name="collisions"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>collisions</em> : <a href="" target="contentFrame" class="scala/Seq">scala.Seq</a>[<a href="../../sims/collision/Collision.html" target="_self">Collision</a>] + </dt> + <dd></dd> + </dl> + <dl><dd>Ergibt alle Kollisionen.</dd></dl> + <dl></dl> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/collision/Detector.html" target="_self">Detector</a>.<a href="../../sims/collision/Detector.html#collisions" target="_self">collisions</a> + </dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/collision/Overlap$object.html b/doc/sims/collision/Overlap$object.html new file mode 100644 index 0000000..0989c48 --- /dev/null +++ b/doc/sims/collision/Overlap$object.html @@ -0,0 +1,82 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object Overlap in sims.collision</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/collision$package.html" target="_self">sims.collision</a> + <br></br> + <span class="entity">object Overlap</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/collision/Overlap"><code>sims/collision/Overlap.scala</code></a>] + </div><hr></hr> + <a name="Overlap"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>Overlap</em> + </dt> + <dd><code> extends </code>(<a href="../../sims/geometry/ConvexPolygon.html" target="_self">ConvexPolygon</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) => <a href="../../sims/collision/Overlap.html" target="_self">Overlap</a></dd> + </dl> + + + +<table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/Function3">scala.Function3</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#toString" target="contentFrame" class="scala/Function3">scala.Function3.toString</a>, <a href="#curry" target="contentFrame" class="scala/Function3">scala.Function3.curry</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + + + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/collision/Overlap.html b/doc/sims/collision/Overlap.html new file mode 100644 index 0000000..f76df7e --- /dev/null +++ b/doc/sims/collision/Overlap.html @@ -0,0 +1,276 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class Overlap in sims.collision</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/collision$package.html" target="_self">sims.collision</a> + <br></br> + <span class="entity">class Overlap</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/collision/Overlap"><code>sims/collision/Overlap.scala</code></a>] + </div><hr></hr> + <a name="Overlap"></a><dl> + <dt> + + <code>case</code> + <code>class</code> + <em>Overlap</em>(<code>val </code><em>poly</em> : <a href="../../sims/geometry/ConvexPolygon.html" target="_self">ConvexPolygon</a>, <code>val </code><em>sideNum</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>, <code>val </code><em>overlap</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) + </dt> + <dd><code> extends </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a></dd> + </dl> + + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Method Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/Overlap.html#equals%28Any%29" target="_self">equals</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/Overlap.html#hashCode%28%29" target="_self">hashCode</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + <div>Returns a hash code value for the object.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/Overlap.html#productArity" target="_self">productArity</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/Overlap.html#productElement%28Int%29" target="_self">productElement</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/Overlap.html#productPrefix" target="_self">productPrefix</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/Overlap.html#toString%28%29" target="_self">toString</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + <div>Returns a string representation of the object.</div> + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="hashCode%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>hashCode</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a hash code value for the object.
+ <p>
+ The default hashing algorithm is platform dependent.
+ Note that it is allowed for two objects to have identical hash
+ codes (<code>o1.hashCode.equals(o2.hashCode)</code>) yet not be
+ equal (<code>o1.equals(o2)</code> returns <code>false</code>). A
+ degenerate implementation could always return <code>0</code>.
+ However, it is required that if two objects are equal
+ (<code>o1.equals(o2)</code> returns <code>true</code>) that they
+ have identical hash codes
+ (<code>o1.hashCode.equals(o2.hashCode)</code>). Therefore, when
+ overriding this method, be sure to verify that the behavior is
+ consistent with the <code>equals</code> method.
+ </p>
+ <p></dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>the hash code value for the object. </p></dd></dl> + <hr></hr> +<a name="toString%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>toString</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a string representation of the object.
+ <p>
+ The default representation is platform dependent.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>a string representation of the object. </p></dd></dl> + <hr></hr> +<a name="equals%28Any%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>equals</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.
+
+ <p>
+ The default implementations of this method is an <a
+ href="http://en.wikipedia.org/wiki/Equivalence_relation">equivalence
+ relation</a>:
+ <ul>
+ <li>It is reflexive: for any instance <code>x</code> of type <code>Any</code>,
+ <code>x.equals(x)</code> should return <code>true</code>.</li>
+ <li>It is symmetric: for any instances <code>x</code> and <code>y</code> of type
+ <code>Any</code>, <code>x.equals(y)</code> should return <code>true</code> if and only
+ if <code>y.equals(x)</code> returns <code>true</code>.</li>
+ <li>It is transitive: for any instances
+ <code>x</code>, <code>y</code>, and <code>z</code> of type <code>AnyRef</code>
+ if <code>x.equals(y)</code> returns <code>true</code> and
+ <code>y.equals(z)</code> returns
+ <code>true</code>, then <code>x.equals(z)</code> should return <code>true</code>.</li>
+ </ul>
+ </p>
+ <p>
+ If you override this method, you should verify that
+ your implementation remains an equivalence relation.
+ Additionally, when overriding this method it is often necessary to
+ override <code>hashCode</code> to ensure that objects that are
+ "equal" (<code>o1.equals(o2)</code> returns <code>true</code>)
+ hash to the same <a href="Int.html"><code>Int</code></a>
+ (<code>o1.hashCode.equals(o2.hashCode)</code>).</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>arg0 - </code>the object to compare against this object for equality.</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise. </p></dd></dl> + <hr></hr> +<a name="productPrefix"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productPrefix</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productPrefix" target="contentFrame" class="scala/Product">scala.Product.productPrefix</a> + </dd> + </dl><hr></hr> +<a name="productArity"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productArity</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productArity" target="contentFrame" class="scala/Product">scala.Product.productArity</a> + </dd> + </dl><hr></hr> +<a name="productElement%28Int%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productElement</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productElement" target="contentFrame" class="scala/Product">scala.Product.productElement</a> + </dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/collision/Pair$object.html b/doc/sims/collision/Pair$object.html new file mode 100644 index 0000000..fab5d78 --- /dev/null +++ b/doc/sims/collision/Pair$object.html @@ -0,0 +1,82 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object Pair in sims.collision</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/collision$package.html" target="_self">sims.collision</a> + <br></br> + <span class="entity">object Pair</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/collision/Pair"><code>sims/collision/Pair.scala</code></a>] + </div><hr></hr> + <a name="Pair"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>Pair</em> + </dt> + <dd><code> extends </code>(<a href="../../sims/dynamics/Shape.html" target="_self">Shape</a>, <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a>) => <a href="../../sims/collision/Pair.html" target="_self">Pair</a></dd> + </dl> + + + +<table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/Function2">scala.Function2</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#toString" target="contentFrame" class="scala/Function2">scala.Function2.toString</a>, <a href="#curry" target="contentFrame" class="scala/Function2">scala.Function2.curry</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + + + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/collision/Pair.html b/doc/sims/collision/Pair.html new file mode 100644 index 0000000..15b53bf --- /dev/null +++ b/doc/sims/collision/Pair.html @@ -0,0 +1,257 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class Pair in sims.collision</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/collision$package.html" target="_self">sims.collision</a> + <br></br> + <span class="entity">class Pair</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/collision/Pair"><code>sims/collision/Pair.scala</code></a>] + </div><hr></hr> + <a name="Pair"></a><dl> + <dt> + + <code>case</code> + <code>class</code> + <em>Pair</em>(<code>val </code><em>s1</em> : <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a>, <code>val </code><em>s2</em> : <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a>) + </dt> + <dd><code> extends </code>(<a href="../../sims/dynamics/Shape.html" target="_self">Shape</a>, <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a>)</dd> + </dl> + <dl><dd>Formenpaar.</dd></dl> + <dl></dl> + + <table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Additional Constructor Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/Pair.html#this%28%28sims.dynamics.Shape%2Csims.dynamics.Shape%29%29" target="_self">this</a></em> + (<em>t</em> : (<a href="../../sims/dynamics/Shape.html" target="_self">Shape</a>, <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a>)) : <a href="../../sims/collision/Pair.html" target="_self">Pair</a> + + + </td> + </tr> + </table> + +<table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="" target="contentFrame" class="scala/Tuple2">scala.Tuple2</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#_1" target="contentFrame" class="scala/Tuple2">scala.Tuple2._1</a>, <a href="#_2" target="contentFrame" class="scala/Tuple2">scala.Tuple2._2</a> + </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>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/Pair.html#equals%28Any%29" target="_self">equals</a></em> + (<em>other</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/Pair.html#hashCode%28%29" target="_self">hashCode</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + <div>Returns a hash code value for the object.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/Pair.html#productPrefix" target="_self">productPrefix</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/Tuple2">scala.Tuple2</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#toString" target="contentFrame" class="scala/Tuple2">scala.Tuple2.toString</a>, <a href="#swap" target="contentFrame" class="scala/Tuple2">scala.Tuple2.swap</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/Product2">scala.Product2</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#productArity" target="contentFrame" class="scala/Product2">scala.Product2.productArity</a>, <a href="#productElement" target="contentFrame" class="scala/Product2">scala.Product2.productElement</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + <table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Additional Constructor Details</td></tr> + </table><div><a name="this%28%28sims.dynamics.Shape%2Csims.dynamics.Shape%29%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>this</em>(<em>t</em> : (<a href="../../sims/dynamics/Shape.html" target="_self">Shape</a>, <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a>)) : <a href="../../sims/collision/Pair.html" target="_self">Pair</a> + </dt> + <dd></dd> + </dl><hr></hr></div> + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="equals%28Any%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>equals</em>(<em>other</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.
+
+ <p>
+ The default implementations of this method is an <a
+ href="http://en.wikipedia.org/wiki/Equivalence_relation">equivalence
+ relation</a>:
+ <ul>
+ <li>It is reflexive: for any instance <code>x</code> of type <code>Any</code>,
+ <code>x.equals(x)</code> should return <code>true</code>.</li>
+ <li>It is symmetric: for any instances <code>x</code> and <code>y</code> of type
+ <code>Any</code>, <code>x.equals(y)</code> should return <code>true</code> if and only
+ if <code>y.equals(x)</code> returns <code>true</code>.</li>
+ <li>It is transitive: for any instances
+ <code>x</code>, <code>y</code>, and <code>z</code> of type <code>AnyRef</code>
+ if <code>x.equals(y)</code> returns <code>true</code> and
+ <code>y.equals(z)</code> returns
+ <code>true</code>, then <code>x.equals(z)</code> should return <code>true</code>.</li>
+ </ul>
+ </p>
+ <p>
+ If you override this method, you should verify that
+ your implementation remains an equivalence relation.
+ Additionally, when overriding this method it is often necessary to
+ override <code>hashCode</code> to ensure that objects that are
+ "equal" (<code>o1.equals(o2)</code> returns <code>true</code>)
+ hash to the same <a href="Int.html"><code>Int</code></a>
+ (<code>o1.hashCode.equals(o2.hashCode)</code>).</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>arg0 - </code>the object to compare against this object for equality.</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise. </p></dd></dl> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Tuple2">scala.Tuple2</a>.<a href="#equals" target="contentFrame" class="scala/Tuple2">scala.Tuple2.equals</a> + </dd> + </dl><hr></hr> +<a name="hashCode%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>hashCode</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a hash code value for the object.
+ <p>
+ The default hashing algorithm is platform dependent.
+ Note that it is allowed for two objects to have identical hash
+ codes (<code>o1.hashCode.equals(o2.hashCode)</code>) yet not be
+ equal (<code>o1.equals(o2)</code> returns <code>false</code>). A
+ degenerate implementation could always return <code>0</code>.
+ However, it is required that if two objects are equal
+ (<code>o1.equals(o2)</code> returns <code>true</code>) that they
+ have identical hash codes
+ (<code>o1.hashCode.equals(o2.hashCode)</code>). Therefore, when
+ overriding this method, be sure to verify that the behavior is
+ consistent with the <code>equals</code> method.
+ </p>
+ <p></dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>the hash code value for the object. </p></dd></dl> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Tuple2">scala.Tuple2</a>.<a href="#hashCode" target="contentFrame" class="scala/Tuple2">scala.Tuple2.hashCode</a> + </dd> + </dl><hr></hr> +<a name="productPrefix"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productPrefix</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Tuple2">scala.Tuple2</a>.<a href="#productPrefix" target="contentFrame" class="scala/Tuple2">scala.Tuple2.productPrefix</a> + </dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/collision/PolyCircleCollision$object.html b/doc/sims/collision/PolyCircleCollision$object.html new file mode 100644 index 0000000..7ccdcf3 --- /dev/null +++ b/doc/sims/collision/PolyCircleCollision$object.html @@ -0,0 +1,82 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object PolyCircleCollision in sims.collision</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/collision$package.html" target="_self">sims.collision</a> + <br></br> + <span class="entity">object PolyCircleCollision</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/collision/PolyCircleCollision"><code>sims/collision/PolyCircleCollision.scala</code></a>] + </div><hr></hr> + <a name="PolyCircleCollision"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>PolyCircleCollision</em> + </dt> + <dd><code> extends </code>(<a href="../../sims/geometry/ConvexPolygon.html" target="_self">ConvexPolygon</a>, <a href="../../sims/dynamics/Circle.html" target="_self">Circle</a>) => <a href="../../sims/collision/PolyCircleCollision.html" target="_self">PolyCircleCollision</a></dd> + </dl> + + + +<table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/Function2">scala.Function2</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#toString" target="contentFrame" class="scala/Function2">scala.Function2.toString</a>, <a href="#curry" target="contentFrame" class="scala/Function2">scala.Function2.curry</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + + + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/collision/PolyCircleCollision.html b/doc/sims/collision/PolyCircleCollision.html new file mode 100644 index 0000000..eb30399 --- /dev/null +++ b/doc/sims/collision/PolyCircleCollision.html @@ -0,0 +1,409 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class PolyCircleCollision in sims.collision</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/collision$package.html" target="_self">sims.collision</a> + <br></br> + <span class="entity">class PolyCircleCollision</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/collision/PolyCircleCollision"><code>sims/collision/PolyCircleCollision.scala</code></a>] + </div><hr></hr> + <a name="PolyCircleCollision"></a><dl> + <dt> + + <code>case</code> + <code>class</code> + <em>PolyCircleCollision</em>(<code>val </code><em>p</em> : <a href="../../sims/geometry/ConvexPolygon.html" target="_self">ConvexPolygon</a>, <code>val </code><em>c</em> : <a href="../../sims/dynamics/Circle.html" target="_self">Circle</a>) + </dt> + <dd><code> extends </code><a href="../../sims/collision/Collision.html" target="_self">Collision</a><code> with </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a></dd> + </dl> + <dl><dd>Kollision zwischen einem konvexen Polygon und einem Kreis.</dd></dl> + <dl></dl> + + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/PolyCircleCollision.html#normal" target="_self">normal</a></em> + : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + <div>Normalenvektor zu der Kollisionsebene.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/PolyCircleCollision.html#points" target="_self">points</a></em> + : <a href="" target="contentFrame" class="scala/List">scala.List</a>[<a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>] + + <div>Kollisionspunkte.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/PolyCircleCollision.html#shape1" target="_self">shape1</a></em> + : <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a> + + <div>Erste Kollisionsform (Referenz).</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/PolyCircleCollision.html#shape2" target="_self">shape2</a></em> + : <a href="../../sims/dynamics/Circle.html" target="_self">Circle</a> + + <div>Zweite Kollisionsform (eindringend).</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>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/PolyCircleCollision.html#equals%28Any%29" target="_self">equals</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/PolyCircleCollision.html#hashCode%28%29" target="_self">hashCode</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + <div>Returns a hash code value for the object.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/PolyCircleCollision.html#productArity" target="_self">productArity</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/PolyCircleCollision.html#productElement%28Int%29" target="_self">productElement</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/PolyCircleCollision.html#productPrefix" target="_self">productPrefix</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/PolyCircleCollision.html#toString%28%29" target="_self">toString</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + <div>Returns a string representation of the object.</div> + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="../../sims/collision/Collision.html" target="_self">Collision</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../sims/collision/Collision.html#correctVelocity%28Double%29" target="_self">correctVelocity</a>, <a href="../../sims/collision/Collision.html#correctFriction%28sims.geometry.Vector2D%2CDouble%2CDouble%29" target="_self">correctFriction</a>, <a href="../../sims/collision/Collision.html#correctPosition%28Double%29" target="_self">correctPosition</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Value Details</td></tr> + </table><div><a name="shape1"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>shape1</em> : <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Erste Kollisionsform (Referenz).</dd></dl> + <dl></dl> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/collision/Collision.html" target="_self">Collision</a>.<a href="../../sims/collision/Collision.html#shape1" target="_self">shape1</a> + </dd> + </dl><hr></hr> +<a name="shape2"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>shape2</em> : <a href="../../sims/dynamics/Circle.html" target="_self">Circle</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Zweite Kollisionsform (eindringend).</dd></dl> + <dl></dl> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/collision/Collision.html" target="_self">Collision</a>.<a href="../../sims/collision/Collision.html#shape2" target="_self">shape2</a> + </dd> + </dl><hr></hr> +<a name="normal"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>normal</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Normalenvektor zu der Kollisionsebene.</dd></dl> + <dl></dl> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/collision/Collision.html" target="_self">Collision</a>.<a href="../../sims/collision/Collision.html#normal" target="_self">normal</a> + </dd> + </dl><hr></hr> +<a name="points"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>points</em> : <a href="" target="contentFrame" class="scala/List">scala.List</a>[<a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>] + </dt> + <dd></dd> + </dl> + <dl><dd>Kollisionspunkte.</dd></dl> + <dl></dl> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/collision/Collision.html" target="_self">Collision</a>.<a href="../../sims/collision/Collision.html#points" target="_self">points</a> + </dd> + </dl><hr></hr></div> +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="hashCode%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>hashCode</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a hash code value for the object.
+ <p>
+ The default hashing algorithm is platform dependent.
+ Note that it is allowed for two objects to have identical hash
+ codes (<code>o1.hashCode.equals(o2.hashCode)</code>) yet not be
+ equal (<code>o1.equals(o2)</code> returns <code>false</code>). A
+ degenerate implementation could always return <code>0</code>.
+ However, it is required that if two objects are equal
+ (<code>o1.equals(o2)</code> returns <code>true</code>) that they
+ have identical hash codes
+ (<code>o1.hashCode.equals(o2.hashCode)</code>). Therefore, when
+ overriding this method, be sure to verify that the behavior is
+ consistent with the <code>equals</code> method.
+ </p>
+ <p></dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>the hash code value for the object. </p></dd></dl> + <hr></hr> +<a name="toString%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>toString</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a string representation of the object.
+ <p>
+ The default representation is platform dependent.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>a string representation of the object. </p></dd></dl> + <hr></hr> +<a name="equals%28Any%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>equals</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.
+
+ <p>
+ The default implementations of this method is an <a
+ href="http://en.wikipedia.org/wiki/Equivalence_relation">equivalence
+ relation</a>:
+ <ul>
+ <li>It is reflexive: for any instance <code>x</code> of type <code>Any</code>,
+ <code>x.equals(x)</code> should return <code>true</code>.</li>
+ <li>It is symmetric: for any instances <code>x</code> and <code>y</code> of type
+ <code>Any</code>, <code>x.equals(y)</code> should return <code>true</code> if and only
+ if <code>y.equals(x)</code> returns <code>true</code>.</li>
+ <li>It is transitive: for any instances
+ <code>x</code>, <code>y</code>, and <code>z</code> of type <code>AnyRef</code>
+ if <code>x.equals(y)</code> returns <code>true</code> and
+ <code>y.equals(z)</code> returns
+ <code>true</code>, then <code>x.equals(z)</code> should return <code>true</code>.</li>
+ </ul>
+ </p>
+ <p>
+ If you override this method, you should verify that
+ your implementation remains an equivalence relation.
+ Additionally, when overriding this method it is often necessary to
+ override <code>hashCode</code> to ensure that objects that are
+ "equal" (<code>o1.equals(o2)</code> returns <code>true</code>)
+ hash to the same <a href="Int.html"><code>Int</code></a>
+ (<code>o1.hashCode.equals(o2.hashCode)</code>).</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>arg0 - </code>the object to compare against this object for equality.</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise. </p></dd></dl> + <hr></hr> +<a name="productPrefix"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productPrefix</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productPrefix" target="contentFrame" class="scala/Product">scala.Product.productPrefix</a> + </dd> + </dl><hr></hr> +<a name="productArity"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productArity</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productArity" target="contentFrame" class="scala/Product">scala.Product.productArity</a> + </dd> + </dl><hr></hr> +<a name="productElement%28Int%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productElement</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productElement" target="contentFrame" class="scala/Product">scala.Product.productElement</a> + </dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/collision/PolyCollision$object.html b/doc/sims/collision/PolyCollision$object.html new file mode 100644 index 0000000..a9642ae --- /dev/null +++ b/doc/sims/collision/PolyCollision$object.html @@ -0,0 +1,82 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object PolyCollision in sims.collision</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/collision$package.html" target="_self">sims.collision</a> + <br></br> + <span class="entity">object PolyCollision</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/collision/PolyCollision"><code>sims/collision/PolyCollision.scala</code></a>] + </div><hr></hr> + <a name="PolyCollision"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>PolyCollision</em> + </dt> + <dd><code> extends </code>(<a href="../../sims/geometry/ConvexPolygon.html" target="_self">ConvexPolygon</a>, <a href="../../sims/geometry/ConvexPolygon.html" target="_self">ConvexPolygon</a>) => <a href="../../sims/collision/PolyCollision.html" target="_self">PolyCollision</a></dd> + </dl> + + + +<table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/Function2">scala.Function2</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#toString" target="contentFrame" class="scala/Function2">scala.Function2.toString</a>, <a href="#curry" target="contentFrame" class="scala/Function2">scala.Function2.curry</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + + + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/collision/PolyCollision.html b/doc/sims/collision/PolyCollision.html new file mode 100644 index 0000000..dbfe30b --- /dev/null +++ b/doc/sims/collision/PolyCollision.html @@ -0,0 +1,469 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class PolyCollision in sims.collision</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/collision$package.html" target="_self">sims.collision</a> + <br></br> + <span class="entity">class PolyCollision</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/collision/PolyCollision"><code>sims/collision/PolyCollision.scala</code></a>] + </div><hr></hr> + <a name="PolyCollision"></a><dl> + <dt> + + <code>case</code> + <code>class</code> + <em>PolyCollision</em>(<code>val </code><em>p1</em> : <a href="../../sims/geometry/ConvexPolygon.html" target="_self">ConvexPolygon</a>, <code>val </code><em>p2</em> : <a href="../../sims/geometry/ConvexPolygon.html" target="_self">ConvexPolygon</a>) + </dt> + <dd><code> extends </code><a href="../../sims/collision/Collision.html" target="_self">Collision</a><code> with </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a></dd> + </dl> + <dl><dd>Kollision zwischen zwei konvexen Polygonen.</dd></dl> + <dl></dl> + + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> var</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/PolyCollision.html#minOverlap" target="_self">minOverlap</a></em> + : <a href="../../sims/collision/Overlap.html" target="_self">Overlap</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> lazy val</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/PolyCollision.html#normal" target="_self">normal</a></em> + : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + <div>Normalenvektor zu der Kollisionsebene.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> lazy val</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/PolyCollision.html#overlaps" target="_self">overlaps</a></em> + : <a href="" target="contentFrame" class="scala/RandomAccessSeq">scala.RandomAccessSeq</a>[<a href="../../sims/collision/Overlap.html" target="_self">Overlap</a>] + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> lazy val</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/PolyCollision.html#points" target="_self">points</a></em> + : <a href="" target="contentFrame" class="scala/Seq">scala.Seq</a>[<a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>] + + <div>Kollisionspunkte.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> lazy val</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/PolyCollision.html#shape1" target="_self">shape1</a></em> + : <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a> + + <div>Erste Kollisionsform (Referenz).</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> lazy val</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/PolyCollision.html#shape2" target="_self">shape2</a></em> + : <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a> + + <div>Zweite Kollisionsform (eindringend).</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>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/PolyCollision.html#equals%28Any%29" target="_self">equals</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/PolyCollision.html#hashCode%28%29" target="_self">hashCode</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + <div>Returns a hash code value for the object.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/PolyCollision.html#overlap%28sims.geometry.Vector2D%29" target="_self">overlap</a></em> + (<em>axis</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/PolyCollision.html#productArity" target="_self">productArity</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/PolyCollision.html#productElement%28Int%29" target="_self">productElement</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/PolyCollision.html#productPrefix" target="_self">productPrefix</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/collision/PolyCollision.html#toString%28%29" target="_self">toString</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + <div>Returns a string representation of the object.</div> + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="../../sims/collision/Collision.html" target="_self">Collision</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../sims/collision/Collision.html#correctVelocity%28Double%29" target="_self">correctVelocity</a>, <a href="../../sims/collision/Collision.html#correctFriction%28sims.geometry.Vector2D%2CDouble%2CDouble%29" target="_self">correctFriction</a>, <a href="../../sims/collision/Collision.html#correctPosition%28Double%29" target="_self">correctPosition</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Value Details</td></tr> + </table><div><a name="overlaps"></a><dl> + <dt> + + <code></code> + <code>lazy val</code> + <em>overlaps</em> : <a href="" target="contentFrame" class="scala/RandomAccessSeq">scala.RandomAccessSeq</a>[<a href="../../sims/collision/Overlap.html" target="_self">Overlap</a>] + </dt> + <dd></dd> + </dl><hr></hr> +<a name="minOverlap"></a><dl> + <dt> + + <code></code> + <code>var</code> + <em>minOverlap</em> : <a href="../../sims/collision/Overlap.html" target="_self">Overlap</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="shape1"></a><dl> + <dt> + + <code></code> + <code>lazy val</code> + <em>shape1</em> : <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Erste Kollisionsform (Referenz).</dd></dl> + <dl></dl> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/collision/Collision.html" target="_self">Collision</a>.<a href="../../sims/collision/Collision.html#shape1" target="_self">shape1</a> + </dd> + </dl><hr></hr> +<a name="shape2"></a><dl> + <dt> + + <code></code> + <code>lazy val</code> + <em>shape2</em> : <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Zweite Kollisionsform (eindringend).</dd></dl> + <dl></dl> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/collision/Collision.html" target="_self">Collision</a>.<a href="../../sims/collision/Collision.html#shape2" target="_self">shape2</a> + </dd> + </dl><hr></hr> +<a name="normal"></a><dl> + <dt> + + <code></code> + <code>lazy val</code> + <em>normal</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Normalenvektor zu der Kollisionsebene.</dd></dl> + <dl></dl> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/collision/Collision.html" target="_self">Collision</a>.<a href="../../sims/collision/Collision.html#normal" target="_self">normal</a> + </dd> + </dl><hr></hr> +<a name="points"></a><dl> + <dt> + + <code></code> + <code>lazy val</code> + <em>points</em> : <a href="" target="contentFrame" class="scala/Seq">scala.Seq</a>[<a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>] + </dt> + <dd></dd> + </dl> + <dl><dd>Kollisionspunkte.</dd></dl> + <dl></dl> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/collision/Collision.html" target="_self">Collision</a>.<a href="../../sims/collision/Collision.html#points" target="_self">points</a> + </dd> + </dl><hr></hr></div> +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="overlap%28sims.geometry.Vector2D%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>overlap</em>(<em>axis</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="hashCode%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>hashCode</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a hash code value for the object.
+ <p>
+ The default hashing algorithm is platform dependent.
+ Note that it is allowed for two objects to have identical hash
+ codes (<code>o1.hashCode.equals(o2.hashCode)</code>) yet not be
+ equal (<code>o1.equals(o2)</code> returns <code>false</code>). A
+ degenerate implementation could always return <code>0</code>.
+ However, it is required that if two objects are equal
+ (<code>o1.equals(o2)</code> returns <code>true</code>) that they
+ have identical hash codes
+ (<code>o1.hashCode.equals(o2.hashCode)</code>). Therefore, when
+ overriding this method, be sure to verify that the behavior is
+ consistent with the <code>equals</code> method.
+ </p>
+ <p></dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>the hash code value for the object. </p></dd></dl> + <hr></hr> +<a name="toString%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>toString</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a string representation of the object.
+ <p>
+ The default representation is platform dependent.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>a string representation of the object. </p></dd></dl> + <hr></hr> +<a name="equals%28Any%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>equals</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.
+
+ <p>
+ The default implementations of this method is an <a
+ href="http://en.wikipedia.org/wiki/Equivalence_relation">equivalence
+ relation</a>:
+ <ul>
+ <li>It is reflexive: for any instance <code>x</code> of type <code>Any</code>,
+ <code>x.equals(x)</code> should return <code>true</code>.</li>
+ <li>It is symmetric: for any instances <code>x</code> and <code>y</code> of type
+ <code>Any</code>, <code>x.equals(y)</code> should return <code>true</code> if and only
+ if <code>y.equals(x)</code> returns <code>true</code>.</li>
+ <li>It is transitive: for any instances
+ <code>x</code>, <code>y</code>, and <code>z</code> of type <code>AnyRef</code>
+ if <code>x.equals(y)</code> returns <code>true</code> and
+ <code>y.equals(z)</code> returns
+ <code>true</code>, then <code>x.equals(z)</code> should return <code>true</code>.</li>
+ </ul>
+ </p>
+ <p>
+ If you override this method, you should verify that
+ your implementation remains an equivalence relation.
+ Additionally, when overriding this method it is often necessary to
+ override <code>hashCode</code> to ensure that objects that are
+ "equal" (<code>o1.equals(o2)</code> returns <code>true</code>)
+ hash to the same <a href="Int.html"><code>Int</code></a>
+ (<code>o1.hashCode.equals(o2.hashCode)</code>).</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>arg0 - </code>the object to compare against this object for equality.</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise. </p></dd></dl> + <hr></hr> +<a name="productPrefix"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productPrefix</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productPrefix" target="contentFrame" class="scala/Product">scala.Product.productPrefix</a> + </dd> + </dl><hr></hr> +<a name="productArity"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productArity</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productArity" target="contentFrame" class="scala/Product">scala.Product.productArity</a> + </dd> + </dl><hr></hr> +<a name="productElement%28Int%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productElement</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productElement" target="contentFrame" class="scala/Product">scala.Product.productElement</a> + </dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/dynamics$content.html b/doc/sims/dynamics$content.html new file mode 100644 index 0000000..256ead8 --- /dev/null +++ b/doc/sims/dynamics$content.html @@ -0,0 +1,146 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>All classes and objects in sims.dynamics</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()"><div class="page-title"><div>Simple Mechanics Simulator (SiMS) API</div></div><p><div>This document is the API specification for SiMS</div></p><table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Class Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> class</code> + </td> + <td class="signature"> + <em><a href="../sims/dynamics/Body.html" target="_self">Body</a></em> + (<em>shps</em> : <a href="../sims/dynamics/Shape.html" target="_self">Shape</a>*)<code> extends </code><a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + + <div>Ein 2-Dimensionaler Koerper besteht aus mehreren Formen. Im gegensatz zu letzteren, enthaelt ein Koerper dynamische Informationen (v, F, etc...).</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>case class</code> + </td> + <td class="signature"> + <em><a href="../sims/dynamics/Circle.html" target="_self">Circle</a></em> + (<code>val </code><em>radius</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>, <code>val </code><em>density</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>)<code> extends </code><a href="../sims/dynamics/Shape.html" target="_self">Shape</a><code> with </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a> + + <div>Circle ist die Definition eines Kreises.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> trait</code> + </td> + <td class="signature"> + <em><a href="../sims/dynamics/Constraint.html" target="_self">Constraint</a></em> + <code> extends </code><a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + + <div>Randbedingungen erben von dem Trait <code>Constraint</code>.
+ Fuer jeden Constraint koennen Position und Geschwindigkeit korrigiert werden.
+ Ihre Implementierung wurde von Erin Catto's box2d inspiriert.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>case class</code> + </td> + <td class="signature"> + <em><a href="../sims/dynamics/Rectangle.html" target="_self">Rectangle</a></em> + (<code>val </code><em>halfWidth</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>, <code>val </code><em>halfHeight</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>, <code>val </code><em>density</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>)<code> extends </code><a href="../sims/dynamics/Shape.html" target="_self">Shape</a><code> with </code><a href="../sims/geometry/ConvexPolygon.html" target="_self">ConvexPolygon</a><code> with </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a> + + <div>Rechteck ist eine Art Polygon.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>case class</code> + </td> + <td class="signature"> + <em><a href="../sims/dynamics/RegularPolygon.html" target="_self">RegularPolygon</a></em> + (<code>val </code><em>n</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>, <code>val </code><em>radius</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>, <code>val </code><em>density</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>)<code> extends </code><a href="../sims/dynamics/Shape.html" target="_self">Shape</a><code> with </code><a href="../sims/geometry/ConvexPolygon.html" target="_self">ConvexPolygon</a><code> with </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a> + + <div>Ein regelmaessiges Polygon mit <code>n</code> Seiten, dass der Kreis mit radius <code>radius</code> umschreibt.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>abstract class</code> + </td> + <td class="signature"> + <em><a href="../sims/dynamics/Shape.html" target="_self">Shape</a></em> + <code> extends </code><a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + + <div>Eine abstrakte Form.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> class</code> + </td> + <td class="signature"> + <em><a href="../sims/dynamics/World.html" target="_self">World</a></em> + <code> extends </code><a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + + <div>Eine Welt enthaelt und Simuliert ein System aus Koerpern und Verbindungen.</div> + </td> + </tr> + </table> +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Object Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> object</code> + </td> + <td class="signature"> + <em><a href="../sims/dynamics/Body$object.html" target="_self">Body</a></em> + <code> extends </code><a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> object</code> + </td> + <td class="signature"> + <em><a href="../sims/dynamics/Circle$object.html" target="_self">Circle</a></em> + <code> extends </code>(<a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) => <a href="../sims/dynamics/Circle.html" target="_self">Circle</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> object</code> + </td> + <td class="signature"> + <em><a href="../sims/dynamics/Rectangle$object.html" target="_self">Rectangle</a></em> + <code> extends </code>(<a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) => <a href="../sims/dynamics/Rectangle.html" target="_self">Rectangle</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> object</code> + </td> + <td class="signature"> + <em><a href="../sims/dynamics/RegularPolygon$object.html" target="_self">RegularPolygon</a></em> + <code> extends </code>(<a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) => <a href="../sims/dynamics/RegularPolygon.html" target="_self">RegularPolygon</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> object</code> + </td> + <td class="signature"> + <em><a href="../sims/dynamics/Shape$object.html" target="_self">Shape</a></em> + <code> extends </code><a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + + + </td> + </tr> + </table></body> + </html>
\ No newline at end of file diff --git a/doc/sims/dynamics$package.html b/doc/sims/dynamics$package.html new file mode 100644 index 0000000..b2430c2 --- /dev/null +++ b/doc/sims/dynamics$package.html @@ -0,0 +1,26 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>List of classes and objects in package sims.dynamics</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"> + <a href="../sims/dynamics$content.html" target="contentFrame">sims.dynamics</a> + </td></tr> + </table><div><div class="kinds" id="Classes">Classes</div><ul class="list"> + <li id="Classes_B"><a href="../sims/dynamics/Body.html" target="contentFrame">Body</a></li> +<li id="Classes_C"><a href="../sims/dynamics/Circle.html" target="contentFrame">Circle</a></li> +<li><a href="../sims/dynamics/Constraint.html" target="contentFrame">Constraint</a></li> +<li id="Classes_R"><a href="../sims/dynamics/Rectangle.html" target="contentFrame">Rectangle</a></li> +<li><a href="../sims/dynamics/RegularPolygon.html" target="contentFrame">RegularPolygon</a></li> +<li id="Classes_S"><a href="../sims/dynamics/Shape.html" target="contentFrame">Shape</a></li> +<li id="Classes_W"><a href="../sims/dynamics/World.html" target="contentFrame">World</a></li> + </ul> +<div class="kinds" id="Objects">Objects</div><ul class="list"> + <li id="Objects_B"><a href="../sims/dynamics/Body$object.html" target="contentFrame">Body</a></li> +<li id="Objects_C"><a href="../sims/dynamics/Circle$object.html" target="contentFrame">Circle</a></li> +<li id="Objects_R"><a href="../sims/dynamics/Rectangle$object.html" target="contentFrame">Rectangle</a></li> +<li><a href="../sims/dynamics/RegularPolygon$object.html" target="contentFrame">RegularPolygon</a></li> +<li id="Objects_S"><a href="../sims/dynamics/Shape$object.html" target="contentFrame">Shape</a></li> + </ul></div></body> + </html>
\ No newline at end of file diff --git a/doc/sims/dynamics/Body$object.html b/doc/sims/dynamics/Body$object.html new file mode 100644 index 0000000..fe5fec2 --- /dev/null +++ b/doc/sims/dynamics/Body$object.html @@ -0,0 +1,75 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object Body in sims.dynamics</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/dynamics$package.html" target="_self">sims.dynamics</a> + <br></br> + <span class="entity">object Body</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/dynamics/Body"><code>sims/dynamics/Body.scala</code></a>] + </div><hr></hr> + <a name="Body"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>Body</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> + + + +<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> + + + + + + + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/dynamics/Body.html b/doc/sims/dynamics/Body.html new file mode 100644 index 0000000..20abf83 --- /dev/null +++ b/doc/sims/dynamics/Body.html @@ -0,0 +1,659 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class Body in sims.dynamics</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/dynamics$package.html" target="_self">sims.dynamics</a> + <br></br> + <span class="entity">class Body</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/dynamics/Body"><code>sims/dynamics/Body.scala</code></a>] + </div><hr></hr> + <a name="Body"></a><dl> + <dt> + + <code></code> + <code>class</code> + <em>Body</em>(<em>shps</em> : <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a>*) + </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>Ein 2-Dimensionaler Koerper besteht aus mehreren Formen. Im gegensatz zu letzteren, enthaelt ein Koerper dynamische Informationen (v, F, etc...).</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>shps - </code>zu dem Koerper gehoerende Formen.</dd></dl> + + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> var</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Body.html#angularVelocity" target="_self">angularVelocity</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + + <div>Winkelgeschwindigkeit dieses Koerpers.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> var</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Body.html#force" target="_self">force</a></em> + : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + <div>Resultierende Kraft auf den Schwerpunkt dieses Koerpers.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> var</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Body.html#linearVelocity" target="_self">linearVelocity</a></em> + : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + <div>Lineargeschwindigkeit dieses Koerpers.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> var</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Body.html#monitor" target="_self">monitor</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>Gibt an ob die Eigenschaften dieses Koerpers ueberwacht werden sollen.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Body.html#shapes" target="_self">shapes</a></em> + : <a href="" target="contentFrame" class="scala/List">scala.List</a>[<a href="../../sims/dynamics/Shape.html" target="_self">Shape</a>] + + <div>Formen aus denen dieser Koerper besteht.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> var</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Body.html#torque" target="_self">torque</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + + <div>Resultierender Drehmoment zu dem Schwerpunkt dieses Koerpers.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Body.html#uid" target="_self">uid</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + <div>Einzigartige Identifikationsnummer dieses Koerpers.</div> + </td> + </tr> + </table> +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Method Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Body.html#I" target="_self">I</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + + <div>Ergibt den Traegheitsmoment zu dem Schwerpunkt dieses Koerpers. Der Traegheitsmoment wird mit Hilfe des Steinerschen Satzes errechnet.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Body.html#%5E%28sims.dynamics.Shape%29" target="_self">^</a></em> + (<em>s</em> : <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a>) : <a href="../../sims/dynamics/Body.html" target="_self">Body</a> + + <div>Erstellt einen neuen Koerper der zusaetzlich die Form <code>s</code> enthaelt.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Body.html#%5E%28sims.dynamics.Body%29" target="_self">^</a></em> + (<em>b</em> : <a href="../../sims/dynamics/Body.html" target="_self">Body</a>) : <a href="../../sims/dynamics/Body.html" target="_self">Body</a> + + <div>Erstellt einen neuen Koerper der zusaetzlich die Formen von dem Koerper <code>b</code> enthaelt.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Body.html#applyForce%28sims.geometry.Vector2D%2Csims.geometry.Vector2D%29" target="_self">applyForce</a></em> + (<em>force</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <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>Wendet eine Kraft auf einen Punkt dieses Koerpers an. Achtung: der gegebene Punkt wird nicht auf angehoerigkeit dieses
+ Koerpers ueberprueft.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Body.html#applyForce%28sims.geometry.Vector2D%29" target="_self">applyForce</a></em> + (<em>force</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>Wendet eine Kraft auf den Schwerpunkt dieses Koerpers an.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Body.html#applyImpulse%28sims.geometry.Vector2D%2Csims.geometry.Vector2D%29" target="_self">applyImpulse</a></em> + (<em>impulse</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <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>Wendet einen Impuls auf einen Punkt dieses Koerpers an. Achtung: der gegebene Punkt wird nicht auf angehoerigkeit dieses
+ Koerpers ueberprueft.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Body.html#applyImpulse%28sims.geometry.Vector2D%29" target="_self">applyImpulse</a></em> + (<em>impulse</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>Wendet einen Impuls auf den Schwerpunkt dieses Koerpers an.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Body.html#contains%28sims.geometry.Vector2D%29" target="_self">contains</a></em> + (<em>point</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>Ueberprueft ob der gegebene Punkt <code>point</code> sich in diesem Koerper befindet.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Body.html#fixed" target="_self">fixed</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>Gibt an ob dieser Koerper fixiert ist.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Body.html#fixed_%3D%28Boolean%29" target="_self">fixed_=</a></em> + (<em>value</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + + <div>Fixiert oder unfixiert diesen Koerper.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Body.html#mass" target="_self">mass</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + + <div>Ergibt die Masse dieses Koerpers. Die Masse ist gleich die Summe aller Massen seiner Formen.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Body.html#pos" target="_self">pos</a></em> + : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + <div>Ermittelt die Position dieses Koerpers. Die Position entspricht dem Schwerpunkt.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Body.html#pos_%3D%28sims.geometry.Vector2D%29" target="_self">pos_=</a></em> + (<em>newPos</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>Setzt die Position dieses Koerpers und verschiebt dadurch die Positionen seiner Formen.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Body.html#rotation" target="_self">rotation</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + + <div>Ergibt die aktuelle Rotation dieses Koerpers.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Body.html#rotation_%3D%28Double%29" target="_self">rotation_=</a></em> + (<em>newRotation</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>Setzt die Rotation dieses Koerpers. Dazu werden auch die Positionen und Rotationen seiner Formen entsprechend veraendert.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Body.html#toString%28%29" target="_self">toString</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + <div>Returns a string representation of the object.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Body.html#velocityOfPoint%28sims.geometry.Vector2D%29" target="_self">velocityOfPoint</a></em> + (<em>point</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + <div>Lineargeschwindigkeit des gegebenen Punktes auf diesem Koerper. In Weltkoordinaten.</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#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="uid"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>uid</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Einzigartige Identifikationsnummer dieses Koerpers.</dd></dl> + <dl></dl> + <hr></hr> +<a name="shapes"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>shapes</em> : <a href="" target="contentFrame" class="scala/List">scala.List</a>[<a href="../../sims/dynamics/Shape.html" target="_self">Shape</a>] + </dt> + <dd></dd> + </dl> + <dl><dd>Formen aus denen dieser Koerper besteht.</dd></dl> + <dl></dl> + <hr></hr> +<a name="monitor"></a><dl> + <dt> + + <code></code> + <code>var</code> + <em>monitor</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Gibt an ob die Eigenschaften dieses Koerpers ueberwacht werden sollen.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>See Also</b></dt><dd><a href="../../sims/dynamics/World.html#monitors" target="_self">World#monitors</a></dd></dl> + <hr></hr> +<a name="linearVelocity"></a><dl> + <dt> + + <code></code> + <code>var</code> + <em>linearVelocity</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Lineargeschwindigkeit dieses Koerpers.</dd></dl> + <dl></dl> + <hr></hr> +<a name="angularVelocity"></a><dl> + <dt> + + <code></code> + <code>var</code> + <em>angularVelocity</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Winkelgeschwindigkeit dieses Koerpers.</dd></dl> + <dl></dl> + <hr></hr> +<a name="force"></a><dl> + <dt> + + <code></code> + <code>var</code> + <em>force</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Resultierende Kraft auf den Schwerpunkt dieses Koerpers.</dd></dl> + <dl></dl> + <hr></hr> +<a name="torque"></a><dl> + <dt> + + <code></code> + <code>var</code> + <em>torque</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Resultierender Drehmoment zu dem Schwerpunkt dieses Koerpers.</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="fixed"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>fixed</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Gibt an ob dieser Koerper fixiert ist.</dd></dl> + <dl></dl> + <hr></hr> +<a name="fixed_%3D%28Boolean%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>fixed_=</em>(<em>value</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Fixiert oder unfixiert diesen Koerper.</dd></dl> + <dl></dl> + <hr></hr> +<a name="pos"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>pos</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Ermittelt die Position dieses Koerpers. Die Position entspricht dem Schwerpunkt.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>Position dieses Koerpers</dd></dl> + <hr></hr> +<a name="pos_%3D%28sims.geometry.Vector2D%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>pos_=</em>(<em>newPos</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>Setzt die Position dieses Koerpers und verschiebt dadurch die Positionen seiner Formen.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>newPos - </code>neue Position</dd></dl> + <hr></hr> +<a name="rotation"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>rotation</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Ergibt die aktuelle Rotation dieses Koerpers.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>aktuelle Rotation dieses Koerpers</dd></dl> + <hr></hr> +<a name="rotation_%3D%28Double%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>rotation_=</em>(<em>newRotation</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>Setzt die Rotation dieses Koerpers. Dazu werden auch die Positionen und Rotationen seiner Formen entsprechend veraendert.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>r - </code>neue Rotation</dd></dl> + <hr></hr> +<a name="velocityOfPoint%28sims.geometry.Vector2D%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>velocityOfPoint</em>(<em>point</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Lineargeschwindigkeit des gegebenen Punktes auf diesem Koerper. In Weltkoordinaten.</dd></dl> + <dl></dl> + <hr></hr> +<a name="mass"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>mass</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Ergibt die Masse dieses Koerpers. Die Masse ist gleich die Summe aller Massen seiner Formen.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>Masse des Koerpers</dd></dl> + <hr></hr> +<a name="I"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>I</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Ergibt den Traegheitsmoment zu dem Schwerpunkt dieses Koerpers. Der Traegheitsmoment wird mit Hilfe des Steinerschen Satzes errechnet.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>Traegheitsmoment relativ zu dem Schwerpunkt dieses Koerpers</dd></dl> + <hr></hr> +<a name="applyForce%28sims.geometry.Vector2D%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>applyForce</em>(<em>force</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>Wendet eine Kraft auf den Schwerpunkt dieses Koerpers an.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>force - </code>anzuwendender Kraftvektor</dd></dl> + <hr></hr> +<a name="applyForce%28sims.geometry.Vector2D%2Csims.geometry.Vector2D%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>applyForce</em>(<em>force</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <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>Wendet eine Kraft auf einen Punkt dieses Koerpers an. Achtung: der gegebene Punkt wird nicht auf angehoerigkeit dieses
+ Koerpers ueberprueft.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>force - </code>anzuwendender Kraftvektor</dd><dd><code>point - </code>Ortsvektor des Punktes auf den die Kraft wirken soll (gegeben in Weltkoordinaten).</dd></dl> + <hr></hr> +<a name="applyImpulse%28sims.geometry.Vector2D%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>applyImpulse</em>(<em>impulse</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>Wendet einen Impuls auf den Schwerpunkt dieses Koerpers an.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>impulse - </code>anzuwendender Impulsvektor</dd></dl> + <hr></hr> +<a name="applyImpulse%28sims.geometry.Vector2D%2Csims.geometry.Vector2D%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>applyImpulse</em>(<em>impulse</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <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>Wendet einen Impuls auf einen Punkt dieses Koerpers an. Achtung: der gegebene Punkt wird nicht auf angehoerigkeit dieses
+ Koerpers ueberprueft.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>impulse - </code>anzuwendender Impulsvektor</dd><dd><code>point - </code>Ortsvektor des Punktes auf den der Impuls wirken soll (gegeben in Weltkoordinaten).</dd></dl> + <hr></hr> +<a name="contains%28sims.geometry.Vector2D%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>contains</em>(<em>point</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Ueberprueft ob der gegebene Punkt <code>point</code> sich in diesem Koerper befindet.</dd></dl> + <dl></dl> + <hr></hr> +<a name="toString%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>toString</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a string representation of the object.
+ <p>
+ The default representation is platform dependent.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>a string representation of the object. </p></dd></dl> + <hr></hr> +<a name="%5E%28sims.dynamics.Shape%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>^</em>(<em>s</em> : <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a>) : <a href="../../sims/dynamics/Body.html" target="_self">Body</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Erstellt einen neuen Koerper der zusaetzlich die Form <code>s</code> enthaelt.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>s - </code>zusaetzliche Form</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>neuer Koerper</dd></dl> + <hr></hr> +<a name="%5E%28sims.dynamics.Body%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>^</em>(<em>b</em> : <a href="../../sims/dynamics/Body.html" target="_self">Body</a>) : <a href="../../sims/dynamics/Body.html" target="_self">Body</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Erstellt einen neuen Koerper der zusaetzlich die Formen von dem Koerper <code>b</code> enthaelt.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>b - </code>Koerper mit zusaetzlichen Formen</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>neuer Koerper</dd></dl> + <hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/dynamics/Circle$object.html b/doc/sims/dynamics/Circle$object.html new file mode 100644 index 0000000..086b684 --- /dev/null +++ b/doc/sims/dynamics/Circle$object.html @@ -0,0 +1,82 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object Circle in sims.dynamics</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/dynamics$package.html" target="_self">sims.dynamics</a> + <br></br> + <span class="entity">object Circle</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/dynamics/Circle"><code>sims/dynamics/Circle.scala</code></a>] + </div><hr></hr> + <a name="Circle"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>Circle</em> + </dt> + <dd><code> extends </code>(<a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) => <a href="../../sims/dynamics/Circle.html" target="_self">Circle</a></dd> + </dl> + + + +<table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/Function2">scala.Function2</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#toString" target="contentFrame" class="scala/Function2">scala.Function2.toString</a>, <a href="#curry" target="contentFrame" class="scala/Function2">scala.Function2.curry</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + + + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/dynamics/Circle.html b/doc/sims/dynamics/Circle.html new file mode 100644 index 0000000..d6807a8 --- /dev/null +++ b/doc/sims/dynamics/Circle.html @@ -0,0 +1,456 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class Circle in sims.dynamics</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/dynamics$package.html" target="_self">sims.dynamics</a> + <br></br> + <span class="entity">class Circle</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/dynamics/Circle"><code>sims/dynamics/Circle.scala</code></a>] + </div><hr></hr> + <a name="Circle"></a><dl> + <dt> + + <code>case</code> + <code>class</code> + <em>Circle</em>(<code>val </code><em>radius</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>, <code>val </code><em>density</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) + </dt> + <dd><code> extends </code><a href="../../sims/dynamics/Shape.html" target="_self">Shape</a><code> with </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a></dd> + </dl> + <dl><dd>Circle ist die Definition eines Kreises.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>radius - </code>Radius dieses Kreises</dd><dd><code>density - </code>Dichte dieses Kreises</dd></dl> + <dl> + <dt style="margin:10px 0 0 20px;"><b>Direct Known Subclasses:</b></dt> + <dd><a href="../../graphyx/graphics/GraphicalCircle.html" target="_self">GraphicalCircle</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> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Circle.html#I" target="_self">I</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + + <div>Errechnet Traegheitsmoment zum Schwerpunkt dieser Form.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Circle.html#volume" target="_self">volume</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + + <div>Volumen. Entspricht eigentlich der Flaeche dieser Form (in 2D) wird aber zum Errechnen der Masse verwendet.</div> + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../sims/dynamics/Shape.html#uid" target="_self">uid</a>, <a href="../../sims/dynamics/Shape.html#collidable" target="_self">collidable</a>, <a href="../../sims/dynamics/Shape.html#restitution" target="_self">restitution</a>, <a href="../../sims/dynamics/Shape.html#friction" target="_self">friction</a>, <a href="../../sims/dynamics/Shape.html#pos" target="_self">pos</a>, <a href="../../sims/dynamics/Shape.html#rotation" target="_self">rotation</a>, <a href="../../sims/dynamics/Shape.html#rotation0" target="_self">rotation0</a>, <a href="../../sims/dynamics/Shape.html#refLocalPos" target="_self">refLocalPos</a>, <a href="../../sims/dynamics/Shape.html#body" target="_self">body</a>, <a href="../../sims/dynamics/Shape.html#transientShapes" target="_self">transientShapes</a> + </td></tr> + </table> +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Method Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Circle.html#AABB" target="_self">AABB</a></em> + : <a href="../../sims/collision/AABB.html" target="_self">AABB</a> + + <div>Gibt das umfassende AABB dieser Form zurueck.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Circle.html#contains%28sims.geometry.Vector2D%29" target="_self">contains</a></em> + (<em>point</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>Ermittelt ob der gebene Punkt <code>point</code> in dieser Form enthalten ist.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Circle.html#equals%28Any%29" target="_self">equals</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Circle.html#hashCode%28%29" target="_self">hashCode</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + <div>Returns a hash code value for the object.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Circle.html#productArity" target="_self">productArity</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Circle.html#productElement%28Int%29" target="_self">productElement</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Circle.html#productPrefix" target="_self">productPrefix</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Circle.html#project%28sims.geometry.Vector2D%29" target="_self">project</a></em> + (<em>axis</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="../../sims/geometry/Projection.html" target="_self">Projection</a> + + <div>Ergibt die Projektion dieser Form auf eine Gerade gegeben durch den
+ Richtungsvektor <code>axis</code>.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Circle.html#toString%28%29" target="_self">toString</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + <div>Returns a string representation of the object.</div> + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../sims/dynamics/Shape.html#mass" target="_self">mass</a>, <a href="../../sims/dynamics/Shape.html#asBody" target="_self">asBody</a>, <a href="../../sims/dynamics/Shape.html#%5E%28sims.dynamics.Shape%29" target="_self">^</a>, <a href="../../sims/dynamics/Shape.html#%5E%28sims.dynamics.Body%29" target="_self">^</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Value Details</td></tr> + </table><div><a name="volume"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>volume</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Volumen. Entspricht eigentlich der Flaeche dieser Form (in 2D) wird aber zum Errechnen der Masse verwendet.</dd></dl> + <dl></dl> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a>.<a href="../../sims/dynamics/Shape.html#volume" target="_self">volume</a> + </dd> + </dl><hr></hr> +<a name="I"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>I</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Errechnet Traegheitsmoment zum Schwerpunkt dieser Form.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>Traegheitsmoment zum Schwerpunkt</dd></dl> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a>.<a href="../../sims/dynamics/Shape.html#I" target="_self">I</a> + </dd> + </dl><hr></hr></div> +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="AABB"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>AABB</em> : <a href="../../sims/collision/AABB.html" target="_self">AABB</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Gibt das umfassende AABB dieser Form zurueck.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>umfassendes AABB</dd></dl> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a>.<a href="../../sims/dynamics/Shape.html#AABB" target="_self">AABB</a> + </dd> + </dl><hr></hr> +<a name="project%28sims.geometry.Vector2D%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>project</em>(<em>axis</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="../../sims/geometry/Projection.html" target="_self">Projection</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Ergibt die Projektion dieser Form auf eine Gerade gegeben durch den
+ Richtungsvektor <code>axis</code>.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>axis - </code>Richtungsvektor der Geraden</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>Projektion dieser Form</dd></dl> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a>.<a href="../../sims/dynamics/Shape.html#project%28sims.geometry.Vector2D%29" target="_self">project</a> + </dd> + </dl><hr></hr> +<a name="contains%28sims.geometry.Vector2D%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>contains</em>(<em>point</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Ermittelt ob der gebene Punkt <code>point</code> in dieser Form enthalten ist.</dd></dl> + <dl></dl> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a>.<a href="../../sims/dynamics/Shape.html#contains%28sims.geometry.Vector2D%29" target="_self">contains</a> + </dd> + </dl><hr></hr> +<a name="hashCode%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>hashCode</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a hash code value for the object.
+ <p>
+ The default hashing algorithm is platform dependent.
+ Note that it is allowed for two objects to have identical hash
+ codes (<code>o1.hashCode.equals(o2.hashCode)</code>) yet not be
+ equal (<code>o1.equals(o2)</code> returns <code>false</code>). A
+ degenerate implementation could always return <code>0</code>.
+ However, it is required that if two objects are equal
+ (<code>o1.equals(o2)</code> returns <code>true</code>) that they
+ have identical hash codes
+ (<code>o1.hashCode.equals(o2.hashCode)</code>). Therefore, when
+ overriding this method, be sure to verify that the behavior is
+ consistent with the <code>equals</code> method.
+ </p>
+ <p></dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>the hash code value for the object. </p></dd></dl> + <hr></hr> +<a name="toString%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>toString</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a string representation of the object.
+ <p>
+ The default representation is platform dependent.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>a string representation of the object. </p></dd></dl> + <hr></hr> +<a name="equals%28Any%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>equals</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.
+
+ <p>
+ The default implementations of this method is an <a
+ href="http://en.wikipedia.org/wiki/Equivalence_relation">equivalence
+ relation</a>:
+ <ul>
+ <li>It is reflexive: for any instance <code>x</code> of type <code>Any</code>,
+ <code>x.equals(x)</code> should return <code>true</code>.</li>
+ <li>It is symmetric: for any instances <code>x</code> and <code>y</code> of type
+ <code>Any</code>, <code>x.equals(y)</code> should return <code>true</code> if and only
+ if <code>y.equals(x)</code> returns <code>true</code>.</li>
+ <li>It is transitive: for any instances
+ <code>x</code>, <code>y</code>, and <code>z</code> of type <code>AnyRef</code>
+ if <code>x.equals(y)</code> returns <code>true</code> and
+ <code>y.equals(z)</code> returns
+ <code>true</code>, then <code>x.equals(z)</code> should return <code>true</code>.</li>
+ </ul>
+ </p>
+ <p>
+ If you override this method, you should verify that
+ your implementation remains an equivalence relation.
+ Additionally, when overriding this method it is often necessary to
+ override <code>hashCode</code> to ensure that objects that are
+ "equal" (<code>o1.equals(o2)</code> returns <code>true</code>)
+ hash to the same <a href="Int.html"><code>Int</code></a>
+ (<code>o1.hashCode.equals(o2.hashCode)</code>).</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>arg0 - </code>the object to compare against this object for equality.</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise. </p></dd></dl> + <hr></hr> +<a name="productPrefix"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productPrefix</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productPrefix" target="contentFrame" class="scala/Product">scala.Product.productPrefix</a> + </dd> + </dl><hr></hr> +<a name="productArity"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productArity</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productArity" target="contentFrame" class="scala/Product">scala.Product.productArity</a> + </dd> + </dl><hr></hr> +<a name="productElement%28Int%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productElement</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productElement" target="contentFrame" class="scala/Product">scala.Product.productElement</a> + </dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/dynamics/Constraint.html b/doc/sims/dynamics/Constraint.html new file mode 100644 index 0000000..556e5c3 --- /dev/null +++ b/doc/sims/dynamics/Constraint.html @@ -0,0 +1,132 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>trait Constraint in sims.dynamics</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/dynamics$package.html" target="_self">sims.dynamics</a> + <br></br> + <span class="entity">trait Constraint</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/dynamics/Constraint"><code>sims/dynamics/Constraint.scala</code></a>] + </div><hr></hr> + <a name="Constraint"></a><dl> + <dt> + + <code></code> + <code>trait</code> + <em>Constraint</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>Randbedingungen erben von dem Trait <code>Constraint</code>.
+ Fuer jeden Constraint koennen Position und Geschwindigkeit korrigiert werden.
+ Ihre Implementierung wurde von Erin Catto's box2d inspiriert.</dd></dl> + <dl></dl> + <dl> + <dt style="margin:10px 0 0 20px;"><b>Direct Known Subclasses:</b></dt> + <dd><a href="../../sims/collision/Collision.html" target="_self">Collision</a>, <a href="../../sims/dynamics/joints/Joint.html" target="_self">Joint</a></dd> + </dl><hr></hr> + + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Method Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code>abstract def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Constraint.html#correctPosition%28Double%29" target="_self">correctPosition</a></em> + (<em>h</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>Korrigiert die Position der Koerper damit diese den Randbedingungen entsprechen.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>abstract def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Constraint.html#correctVelocity%28Double%29" target="_self">correctVelocity</a></em> + (<em>h</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>Korrigiert die Geschwindigkeit der Koerper damit diese den Randbedingungen entsprechen.</div> + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#toString%28%29" target="_self">toString</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="correctVelocity%28Double%29"></a><dl> + <dt> + + <code>abstract</code> + <code>def</code> + <em>correctVelocity</em>(<em>h</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>Korrigiert die Geschwindigkeit der Koerper damit diese den Randbedingungen entsprechen.</dd></dl> + <dl></dl> + <hr></hr> +<a name="correctPosition%28Double%29"></a><dl> + <dt> + + <code>abstract</code> + <code>def</code> + <em>correctPosition</em>(<em>h</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>Korrigiert die Position der Koerper damit diese den Randbedingungen entsprechen.</dd></dl> + <dl></dl> + <hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/dynamics/Rectangle$object.html b/doc/sims/dynamics/Rectangle$object.html new file mode 100644 index 0000000..7c76345 --- /dev/null +++ b/doc/sims/dynamics/Rectangle$object.html @@ -0,0 +1,82 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object Rectangle in sims.dynamics</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/dynamics$package.html" target="_self">sims.dynamics</a> + <br></br> + <span class="entity">object Rectangle</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/dynamics/Rectangle"><code>sims/dynamics/Rectangle.scala</code></a>] + </div><hr></hr> + <a name="Rectangle"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>Rectangle</em> + </dt> + <dd><code> extends </code>(<a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) => <a href="../../sims/dynamics/Rectangle.html" target="_self">Rectangle</a></dd> + </dl> + + + +<table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/Function3">scala.Function3</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#toString" target="contentFrame" class="scala/Function3">scala.Function3.toString</a>, <a href="#curry" target="contentFrame" class="scala/Function3">scala.Function3.curry</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + + + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/dynamics/Rectangle.html b/doc/sims/dynamics/Rectangle.html new file mode 100644 index 0000000..a002d40 --- /dev/null +++ b/doc/sims/dynamics/Rectangle.html @@ -0,0 +1,431 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class Rectangle in sims.dynamics</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/dynamics$package.html" target="_self">sims.dynamics</a> + <br></br> + <span class="entity">class Rectangle</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/dynamics/Rectangle"><code>sims/dynamics/Rectangle.scala</code></a>] + </div><hr></hr> + <a name="Rectangle"></a><dl> + <dt> + + <code>case</code> + <code>class</code> + <em>Rectangle</em>(<code>val </code><em>halfWidth</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>, <code>val </code><em>halfHeight</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>, <code>val </code><em>density</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) + </dt> + <dd><code> extends </code><a href="../../sims/dynamics/Shape.html" target="_self">Shape</a><code> with </code><a href="../../sims/geometry/ConvexPolygon.html" target="_self">ConvexPolygon</a><code> with </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a></dd> + </dl> + <dl><dd>Rechteck ist eine Art Polygon.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>halfWidth - </code>halbe Breite dieses Rechtecks</dd><dd><code>halfHeight - </code>halbe Hoehe dieses Rechtecks</dd><dd><code>density - </code>dichte dieses Rechtecks</dd></dl> + <dl> + <dt style="margin:10px 0 0 20px;"><b>Direct Known Subclasses:</b></dt> + <dd><a href="../../graphyx/graphics/GraphicalRectangle.html" target="_self">GraphicalRectangle</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> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Rectangle.html#I" target="_self">I</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + + <div>Errechnet Traegheitsmoment zum Schwerpunkt dieser Form.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Rectangle.html#volume" target="_self">volume</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + + <div>Volumen. Entspricht eigentlich der Flaeche dieser Form (in 2D) wird aber zum Errechnen der Masse verwendet.</div> + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../sims/dynamics/Shape.html#uid" target="_self">uid</a>, <a href="../../sims/dynamics/Shape.html#collidable" target="_self">collidable</a>, <a href="../../sims/dynamics/Shape.html#restitution" target="_self">restitution</a>, <a href="../../sims/dynamics/Shape.html#friction" target="_self">friction</a>, <a href="../../sims/dynamics/Shape.html#pos" target="_self">pos</a>, <a href="../../sims/dynamics/Shape.html#rotation" target="_self">rotation</a>, <a href="../../sims/dynamics/Shape.html#rotation0" target="_self">rotation0</a>, <a href="../../sims/dynamics/Shape.html#refLocalPos" target="_self">refLocalPos</a>, <a href="../../sims/dynamics/Shape.html#body" target="_self">body</a>, <a href="../../sims/dynamics/Shape.html#transientShapes" target="_self">transientShapes</a> + </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>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Rectangle.html#equals%28Any%29" target="_self">equals</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Rectangle.html#halfDiags" target="_self">halfDiags</a></em> + : <a href="" target="contentFrame" class="scala/Array">scala.Array</a>[<a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>] + + <div>Ergibt Vektoren vom Zentrum dieses Rectecks bis zu den Ecken.
+ Erste Ecke entspricht der Ecke oben rechts bei einer Rotation von 0.
+ Folgende Ecken sind gegen den Uhrzeigersinn geordnet.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Rectangle.html#hashCode%28%29" target="_self">hashCode</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + <div>Returns a hash code value for the object.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Rectangle.html#productArity" target="_self">productArity</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Rectangle.html#productElement%28Int%29" target="_self">productElement</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Rectangle.html#productPrefix" target="_self">productPrefix</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Rectangle.html#toString%28%29" target="_self">toString</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + <div>Returns a string representation of the object.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Rectangle.html#vertices" target="_self">vertices</a></em> + : <a href="" target="contentFrame" class="scala/Array">scala.Array</a>[<a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>] + + <div>Ergibt die Ortsvektoren der Ecken dieses Rechtecks.
+ Erste Ecke entspricht der Ecke oben rechts bei einer Rotation von 0.
+ Folgende Ecken sind gegen den Uhrzeigersinn geordnet.</div> + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="../../sims/geometry/ConvexPolygon.html" target="_self">ConvexPolygon</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../sims/geometry/ConvexPolygon.html#sides" target="_self">sides</a>, <a href="../../sims/geometry/ConvexPolygon.html#project%28sims.geometry.Vector2D%29" target="_self">project</a>, <a href="../../sims/geometry/ConvexPolygon.html#AABB" target="_self">AABB</a>, <a href="../../sims/geometry/ConvexPolygon.html#contains%28sims.geometry.Vector2D%29" target="_self">contains</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../sims/dynamics/Shape.html#mass" target="_self">mass</a>, <a href="../../sims/dynamics/Shape.html#asBody" target="_self">asBody</a>, <a href="../../sims/dynamics/Shape.html#%5E%28sims.dynamics.Shape%29" target="_self">^</a>, <a href="../../sims/dynamics/Shape.html#%5E%28sims.dynamics.Body%29" target="_self">^</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Value Details</td></tr> + </table><div><a name="volume"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>volume</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Volumen. Entspricht eigentlich der Flaeche dieser Form (in 2D) wird aber zum Errechnen der Masse verwendet.</dd></dl> + <dl></dl> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a>.<a href="../../sims/dynamics/Shape.html#volume" target="_self">volume</a> + </dd> + </dl><hr></hr> +<a name="I"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>I</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Errechnet Traegheitsmoment zum Schwerpunkt dieser Form.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>Traegheitsmoment zum Schwerpunkt</dd></dl> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a>.<a href="../../sims/dynamics/Shape.html#I" target="_self">I</a> + </dd> + </dl><hr></hr></div> +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="halfDiags"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>halfDiags</em> : <a href="" target="contentFrame" class="scala/Array">scala.Array</a>[<a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>] + </dt> + <dd></dd> + </dl> + <dl><dd>Ergibt Vektoren vom Zentrum dieses Rectecks bis zu den Ecken.
+ Erste Ecke entspricht der Ecke oben rechts bei einer Rotation von 0.
+ Folgende Ecken sind gegen den Uhrzeigersinn geordnet.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>Vektoren vom Zentrum dieses Rectecks bis zu den Ecken</dd></dl> + <hr></hr> +<a name="vertices"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>vertices</em> : <a href="" target="contentFrame" class="scala/Array">scala.Array</a>[<a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>] + </dt> + <dd></dd> + </dl> + <dl><dd>Ergibt die Ortsvektoren der Ecken dieses Rechtecks.
+ Erste Ecke entspricht der Ecke oben rechts bei einer Rotation von 0.
+ Folgende Ecken sind gegen den Uhrzeigersinn geordnet.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>Ortsvektoren der Ecken dieses Rechtecks</dd></dl> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/geometry/ConvexPolygon.html" target="_self">ConvexPolygon</a>.<a href="../../sims/geometry/ConvexPolygon.html#vertices" target="_self">vertices</a> + </dd> + </dl><hr></hr> +<a name="hashCode%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>hashCode</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a hash code value for the object.
+ <p>
+ The default hashing algorithm is platform dependent.
+ Note that it is allowed for two objects to have identical hash
+ codes (<code>o1.hashCode.equals(o2.hashCode)</code>) yet not be
+ equal (<code>o1.equals(o2)</code> returns <code>false</code>). A
+ degenerate implementation could always return <code>0</code>.
+ However, it is required that if two objects are equal
+ (<code>o1.equals(o2)</code> returns <code>true</code>) that they
+ have identical hash codes
+ (<code>o1.hashCode.equals(o2.hashCode)</code>). Therefore, when
+ overriding this method, be sure to verify that the behavior is
+ consistent with the <code>equals</code> method.
+ </p>
+ <p></dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>the hash code value for the object. </p></dd></dl> + <hr></hr> +<a name="toString%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>toString</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a string representation of the object.
+ <p>
+ The default representation is platform dependent.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>a string representation of the object. </p></dd></dl> + <hr></hr> +<a name="equals%28Any%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>equals</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.
+
+ <p>
+ The default implementations of this method is an <a
+ href="http://en.wikipedia.org/wiki/Equivalence_relation">equivalence
+ relation</a>:
+ <ul>
+ <li>It is reflexive: for any instance <code>x</code> of type <code>Any</code>,
+ <code>x.equals(x)</code> should return <code>true</code>.</li>
+ <li>It is symmetric: for any instances <code>x</code> and <code>y</code> of type
+ <code>Any</code>, <code>x.equals(y)</code> should return <code>true</code> if and only
+ if <code>y.equals(x)</code> returns <code>true</code>.</li>
+ <li>It is transitive: for any instances
+ <code>x</code>, <code>y</code>, and <code>z</code> of type <code>AnyRef</code>
+ if <code>x.equals(y)</code> returns <code>true</code> and
+ <code>y.equals(z)</code> returns
+ <code>true</code>, then <code>x.equals(z)</code> should return <code>true</code>.</li>
+ </ul>
+ </p>
+ <p>
+ If you override this method, you should verify that
+ your implementation remains an equivalence relation.
+ Additionally, when overriding this method it is often necessary to
+ override <code>hashCode</code> to ensure that objects that are
+ "equal" (<code>o1.equals(o2)</code> returns <code>true</code>)
+ hash to the same <a href="Int.html"><code>Int</code></a>
+ (<code>o1.hashCode.equals(o2.hashCode)</code>).</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>arg0 - </code>the object to compare against this object for equality.</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise. </p></dd></dl> + <hr></hr> +<a name="productPrefix"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productPrefix</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productPrefix" target="contentFrame" class="scala/Product">scala.Product.productPrefix</a> + </dd> + </dl><hr></hr> +<a name="productArity"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productArity</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productArity" target="contentFrame" class="scala/Product">scala.Product.productArity</a> + </dd> + </dl><hr></hr> +<a name="productElement%28Int%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productElement</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productElement" target="contentFrame" class="scala/Product">scala.Product.productElement</a> + </dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/dynamics/RegularPolygon$object.html b/doc/sims/dynamics/RegularPolygon$object.html new file mode 100644 index 0000000..b2d8a0e --- /dev/null +++ b/doc/sims/dynamics/RegularPolygon$object.html @@ -0,0 +1,82 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object RegularPolygon in sims.dynamics</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/dynamics$package.html" target="_self">sims.dynamics</a> + <br></br> + <span class="entity">object RegularPolygon</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/dynamics/RegularPolygon"><code>sims/dynamics/RegularPolygon.scala</code></a>] + </div><hr></hr> + <a name="RegularPolygon"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>RegularPolygon</em> + </dt> + <dd><code> extends </code>(<a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) => <a href="../../sims/dynamics/RegularPolygon.html" target="_self">RegularPolygon</a></dd> + </dl> + + + +<table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/Function3">scala.Function3</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#toString" target="contentFrame" class="scala/Function3">scala.Function3.toString</a>, <a href="#curry" target="contentFrame" class="scala/Function3">scala.Function3.curry</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + + + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/dynamics/RegularPolygon.html b/doc/sims/dynamics/RegularPolygon.html new file mode 100644 index 0000000..764f13c --- /dev/null +++ b/doc/sims/dynamics/RegularPolygon.html @@ -0,0 +1,419 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class RegularPolygon in sims.dynamics</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/dynamics$package.html" target="_self">sims.dynamics</a> + <br></br> + <span class="entity">class RegularPolygon</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/dynamics/RegularPolygon"><code>sims/dynamics/RegularPolygon.scala</code></a>] + </div><hr></hr> + <a name="RegularPolygon"></a><dl> + <dt> + + <code>case</code> + <code>class</code> + <em>RegularPolygon</em>(<code>val </code><em>n</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>, <code>val </code><em>radius</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>, <code>val </code><em>density</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) + </dt> + <dd><code> extends </code><a href="../../sims/dynamics/Shape.html" target="_self">Shape</a><code> with </code><a href="../../sims/geometry/ConvexPolygon.html" target="_self">ConvexPolygon</a><code> with </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a></dd> + </dl> + <dl><dd>Ein regelmaessiges Polygon mit <code>n</code> Seiten, dass der Kreis mit radius <code>radius</code> umschreibt.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>n - </code>Anzahl der Seiten.</dd><dd><code>radius - </code>Radius des umschreibenden Kreises.</dd><dd><code>density - </code>Dichte.</dd></dl> + <dl> + <dt style="margin:10px 0 0 20px;"><b>Direct Known Subclasses:</b></dt> + <dd><a href="../../graphyx/graphics/GraphicalRegularPolygon.html" target="_self">GraphicalRegularPolygon</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> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/RegularPolygon.html#I" target="_self">I</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + + <div>Errechnet Traegheitsmoment zum Schwerpunkt dieser Form.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/RegularPolygon.html#volume" target="_self">volume</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + + <div>Volumen. Entspricht eigentlich der Flaeche dieser Form (in 2D) wird aber zum Errechnen der Masse verwendet.</div> + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Values and Variables inherited from <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../sims/dynamics/Shape.html#uid" target="_self">uid</a>, <a href="../../sims/dynamics/Shape.html#collidable" target="_self">collidable</a>, <a href="../../sims/dynamics/Shape.html#restitution" target="_self">restitution</a>, <a href="../../sims/dynamics/Shape.html#friction" target="_self">friction</a>, <a href="../../sims/dynamics/Shape.html#pos" target="_self">pos</a>, <a href="../../sims/dynamics/Shape.html#rotation" target="_self">rotation</a>, <a href="../../sims/dynamics/Shape.html#rotation0" target="_self">rotation0</a>, <a href="../../sims/dynamics/Shape.html#refLocalPos" target="_self">refLocalPos</a>, <a href="../../sims/dynamics/Shape.html#body" target="_self">body</a>, <a href="../../sims/dynamics/Shape.html#transientShapes" target="_self">transientShapes</a> + </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>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/RegularPolygon.html#equals%28Any%29" target="_self">equals</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/RegularPolygon.html#halfDiags" target="_self">halfDiags</a></em> + : <a href="" target="contentFrame" class="scala/Array">scala.Array</a>[<a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>] + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/RegularPolygon.html#hashCode%28%29" target="_self">hashCode</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + <div>Returns a hash code value for the object.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/RegularPolygon.html#productArity" target="_self">productArity</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/RegularPolygon.html#productElement%28Int%29" target="_self">productElement</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/RegularPolygon.html#productPrefix" target="_self">productPrefix</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/RegularPolygon.html#toString%28%29" target="_self">toString</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + <div>Returns a string representation of the object.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/RegularPolygon.html#vertices" target="_self">vertices</a></em> + : <a href="" target="contentFrame" class="scala/Array">scala.Array</a>[<a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>] + + <div>Ergibt Position aller Ecken dieses Polygons. Die Ecken sind gegen den Uhrzeigersinn folgend.</div> + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="../../sims/geometry/ConvexPolygon.html" target="_self">ConvexPolygon</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../sims/geometry/ConvexPolygon.html#sides" target="_self">sides</a>, <a href="../../sims/geometry/ConvexPolygon.html#project%28sims.geometry.Vector2D%29" target="_self">project</a>, <a href="../../sims/geometry/ConvexPolygon.html#AABB" target="_self">AABB</a>, <a href="../../sims/geometry/ConvexPolygon.html#contains%28sims.geometry.Vector2D%29" target="_self">contains</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="../../sims/dynamics/Shape.html#mass" target="_self">mass</a>, <a href="../../sims/dynamics/Shape.html#asBody" target="_self">asBody</a>, <a href="../../sims/dynamics/Shape.html#%5E%28sims.dynamics.Shape%29" target="_self">^</a>, <a href="../../sims/dynamics/Shape.html#%5E%28sims.dynamics.Body%29" target="_self">^</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Value Details</td></tr> + </table><div><a name="volume"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>volume</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Volumen. Entspricht eigentlich der Flaeche dieser Form (in 2D) wird aber zum Errechnen der Masse verwendet.</dd></dl> + <dl></dl> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a>.<a href="../../sims/dynamics/Shape.html#volume" target="_self">volume</a> + </dd> + </dl><hr></hr> +<a name="I"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>I</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Errechnet Traegheitsmoment zum Schwerpunkt dieser Form.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>Traegheitsmoment zum Schwerpunkt</dd></dl> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a>.<a href="../../sims/dynamics/Shape.html#I" target="_self">I</a> + </dd> + </dl><hr></hr></div> +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="halfDiags"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>halfDiags</em> : <a href="" target="contentFrame" class="scala/Array">scala.Array</a>[<a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>] + </dt> + <dd></dd> + </dl><hr></hr> +<a name="vertices"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>vertices</em> : <a href="" target="contentFrame" class="scala/Array">scala.Array</a>[<a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>] + </dt> + <dd></dd> + </dl> + <dl><dd>Ergibt Position aller Ecken dieses Polygons. Die Ecken sind gegen den Uhrzeigersinn folgend.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>Ortsvektoren der Ecken</dd></dl> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/geometry/ConvexPolygon.html" target="_self">ConvexPolygon</a>.<a href="../../sims/geometry/ConvexPolygon.html#vertices" target="_self">vertices</a> + </dd> + </dl><hr></hr> +<a name="hashCode%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>hashCode</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a hash code value for the object.
+ <p>
+ The default hashing algorithm is platform dependent.
+ Note that it is allowed for two objects to have identical hash
+ codes (<code>o1.hashCode.equals(o2.hashCode)</code>) yet not be
+ equal (<code>o1.equals(o2)</code> returns <code>false</code>). A
+ degenerate implementation could always return <code>0</code>.
+ However, it is required that if two objects are equal
+ (<code>o1.equals(o2)</code> returns <code>true</code>) that they
+ have identical hash codes
+ (<code>o1.hashCode.equals(o2.hashCode)</code>). Therefore, when
+ overriding this method, be sure to verify that the behavior is
+ consistent with the <code>equals</code> method.
+ </p>
+ <p></dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>the hash code value for the object. </p></dd></dl> + <hr></hr> +<a name="toString%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>toString</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a string representation of the object.
+ <p>
+ The default representation is platform dependent.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>a string representation of the object. </p></dd></dl> + <hr></hr> +<a name="equals%28Any%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>equals</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.
+
+ <p>
+ The default implementations of this method is an <a
+ href="http://en.wikipedia.org/wiki/Equivalence_relation">equivalence
+ relation</a>:
+ <ul>
+ <li>It is reflexive: for any instance <code>x</code> of type <code>Any</code>,
+ <code>x.equals(x)</code> should return <code>true</code>.</li>
+ <li>It is symmetric: for any instances <code>x</code> and <code>y</code> of type
+ <code>Any</code>, <code>x.equals(y)</code> should return <code>true</code> if and only
+ if <code>y.equals(x)</code> returns <code>true</code>.</li>
+ <li>It is transitive: for any instances
+ <code>x</code>, <code>y</code>, and <code>z</code> of type <code>AnyRef</code>
+ if <code>x.equals(y)</code> returns <code>true</code> and
+ <code>y.equals(z)</code> returns
+ <code>true</code>, then <code>x.equals(z)</code> should return <code>true</code>.</li>
+ </ul>
+ </p>
+ <p>
+ If you override this method, you should verify that
+ your implementation remains an equivalence relation.
+ Additionally, when overriding this method it is often necessary to
+ override <code>hashCode</code> to ensure that objects that are
+ "equal" (<code>o1.equals(o2)</code> returns <code>true</code>)
+ hash to the same <a href="Int.html"><code>Int</code></a>
+ (<code>o1.hashCode.equals(o2.hashCode)</code>).</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>arg0 - </code>the object to compare against this object for equality.</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise. </p></dd></dl> + <hr></hr> +<a name="productPrefix"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productPrefix</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productPrefix" target="contentFrame" class="scala/Product">scala.Product.productPrefix</a> + </dd> + </dl><hr></hr> +<a name="productArity"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productArity</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productArity" target="contentFrame" class="scala/Product">scala.Product.productArity</a> + </dd> + </dl><hr></hr> +<a name="productElement%28Int%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productElement</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productElement" target="contentFrame" class="scala/Product">scala.Product.productElement</a> + </dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/dynamics/Shape$object.html b/doc/sims/dynamics/Shape$object.html new file mode 100644 index 0000000..a90e5ee --- /dev/null +++ b/doc/sims/dynamics/Shape$object.html @@ -0,0 +1,75 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object Shape in sims.dynamics</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/dynamics$package.html" target="_self">sims.dynamics</a> + <br></br> + <span class="entity">object Shape</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/dynamics/Shape"><code>sims/dynamics/Shape.scala</code></a>] + </div><hr></hr> + <a name="Shape"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>Shape</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> + + + +<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> + + + + + + + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/dynamics/Shape.html b/doc/sims/dynamics/Shape.html new file mode 100644 index 0000000..c62245d --- /dev/null +++ b/doc/sims/dynamics/Shape.html @@ -0,0 +1,559 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class Shape in sims.dynamics</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/dynamics$package.html" target="_self">sims.dynamics</a> + <br></br> + <span class="entity">class Shape</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/dynamics/Shape"><code>sims/dynamics/Shape.scala</code></a>] + </div><hr></hr> + <a name="Shape"></a><dl> + <dt> + + <code>abstract</code> + <code>class</code> + <em>Shape</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>Eine abstrakte Form.</dd></dl> + <dl></dl> + <dl> + <dt style="margin:10px 0 0 20px;"><b>Direct Known Subclasses:</b></dt> + <dd><a href="../../graphyx/graphics/GraphicalShape.html" target="_self">GraphicalShape</a>, <a href="../../sims/dynamics/Circle.html" target="_self">Circle</a>, <a href="../../sims/dynamics/Rectangle.html" target="_self">Rectangle</a>, <a href="../../sims/dynamics/RegularPolygon.html" target="_self">RegularPolygon</a></dd> + </dl><hr></hr> + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code>abstract val</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Shape.html#I" target="_self">I</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + + <div>Errechnet Traegheitsmoment zum Schwerpunkt dieser Form.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> var</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Shape.html#body" target="_self">body</a></em> + : <a href="../../sims/dynamics/Body.html" target="_self">Body</a> + + <div>Beinhaltender Koerper. Sollte nicht selbst bei Initialisierung definiert werden.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> var</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Shape.html#collidable" target="_self">collidable</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>Kollisionsfaehigkeit.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>abstract val</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Shape.html#density" target="_self">density</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + + <div>Dichte. (Masse pro Flaeche)</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> var</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Shape.html#friction" target="_self">friction</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + + <div>Teil des Reibungskoeffizienten bei einer Kollision zwischen dieser Form und einer anderen.
+ Der Reibungskoeffizient wird aus dem Produkt der beiden Teile der Formen errechnet.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> var</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Shape.html#pos" target="_self">pos</a></em> + : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + <div>Position des Schwerpunktes in Welt.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> var</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Shape.html#refLocalPos" target="_self">refLocalPos</a></em> + : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + <div>Referenzposition in Koerper. Wird zur Rotation von Formen in Koerpern verwendet.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> var</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Shape.html#restitution" target="_self">restitution</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + + <div>Teil der Stosszahl bei einer Kollision zwischen dieser Form und einer anderen.
+ Die Stosszahl wird aus dem Produkt der beiden Teile der Formen errechnet.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> var</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Shape.html#rotation" target="_self">rotation</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + + <div>Rotation. Entspricht Laenge des Rotationsvektors.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> var</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Shape.html#rotation0" target="_self">rotation0</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + + <div>Initiale Rotation. (Rotation ohne Koerper)</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Shape.html#transientShapes" target="_self">transientShapes</a></em> + : <a href="" target="contentFrame" class="scala/collection/mutable/Set">scala.collection.mutable.Set</a>[<a href="../../sims/dynamics/Shape.html" target="_self">Shape</a>] + + <div>Formen mit denen diese Form nicht Kollidiert.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Shape.html#uid" target="_self">uid</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + <div>Einzigartige Identifikationsnummer.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>abstract val</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Shape.html#volume" target="_self">volume</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + + <div>Volumen. Entspricht eigentlich der Flaeche dieser Form (in 2D) wird aber zum Errechnen der Masse verwendet.</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>abstract def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Shape.html#AABB" target="_self">AABB</a></em> + : <a href="../../sims/collision/AABB.html" target="_self">AABB</a> + + <div>Gibt das umfassende AABB dieser Form zurueck.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Shape.html#%5E%28sims.dynamics.Body%29" target="_self">^</a></em> + (<em>b</em> : <a href="../../sims/dynamics/Body.html" target="_self">Body</a>) : <a href="../../sims/dynamics/Body.html" target="_self">Body</a> + + <div>Erstellt einen Koerper aus dieser Form und den Formen des Koerpers <code>b</code>.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Shape.html#%5E%28sims.dynamics.Shape%29" target="_self">^</a></em> + (<em>s</em> : <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a>) : <a href="../../sims/dynamics/Body.html" target="_self">Body</a> + + <div>Erstellt einen Koerper aus dieser Form und der Form <code>s</code>.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Shape.html#asBody" target="_self">asBody</a></em> + : <a href="../../sims/dynamics/Body.html" target="_self">Body</a> + + <div>Baut einen Koerper aus dieser Form.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>abstract def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Shape.html#contains%28sims.geometry.Vector2D%29" target="_self">contains</a></em> + (<em>point</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>Ermittelt ob der gebene Punkt <code>point</code> in dieser Form enthalten ist.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Shape.html#mass" target="_self">mass</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + + <div>Errechnet die Masse dieser Form. Masse ist gleich Volumen mal Dichte.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>abstract def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Shape.html#project%28sims.geometry.Vector2D%29" target="_self">project</a></em> + (<em>axis</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="../../sims/geometry/Projection.html" target="_self">Projection</a> + + <div>Ergibt die Projektion dieser Form auf eine Gerade gegeben durch den
+ Richtungsvektor <code>axis</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="uid"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>uid</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Einzigartige Identifikationsnummer.</dd></dl> + <dl></dl> + <hr></hr> +<a name="collidable"></a><dl> + <dt> + + <code></code> + <code>var</code> + <em>collidable</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Kollisionsfaehigkeit.</dd></dl> + <dl></dl> + <hr></hr> +<a name="restitution"></a><dl> + <dt> + + <code></code> + <code>var</code> + <em>restitution</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Teil der Stosszahl bei einer Kollision zwischen dieser Form und einer anderen.
+ Die Stosszahl wird aus dem Produkt der beiden Teile der Formen errechnet.</dd></dl> + <dl></dl> + <hr></hr> +<a name="friction"></a><dl> + <dt> + + <code></code> + <code>var</code> + <em>friction</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Teil des Reibungskoeffizienten bei einer Kollision zwischen dieser Form und einer anderen.
+ Der Reibungskoeffizient wird aus dem Produkt der beiden Teile der Formen errechnet.</dd></dl> + <dl></dl> + <hr></hr> +<a name="pos"></a><dl> + <dt> + + <code></code> + <code>var</code> + <em>pos</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Position des Schwerpunktes in Welt.</dd></dl> + <dl></dl> + <hr></hr> +<a name="rotation"></a><dl> + <dt> + + <code></code> + <code>var</code> + <em>rotation</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Rotation. Entspricht Laenge des Rotationsvektors.</dd></dl> + <dl></dl> + <hr></hr> +<a name="rotation0"></a><dl> + <dt> + + <code></code> + <code>var</code> + <em>rotation0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Initiale Rotation. (Rotation ohne Koerper)</dd></dl> + <dl></dl> + <hr></hr> +<a name="refLocalPos"></a><dl> + <dt> + + <code></code> + <code>var</code> + <em>refLocalPos</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Referenzposition in Koerper. Wird zur Rotation von Formen in Koerpern verwendet.</dd></dl> + <dl></dl> + <hr></hr> +<a name="density"></a><dl> + <dt> + + <code>abstract</code> + <code>val</code> + <em>density</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Dichte. (Masse pro Flaeche)</dd></dl> + <dl></dl> + <hr></hr> +<a name="volume"></a><dl> + <dt> + + <code>abstract</code> + <code>val</code> + <em>volume</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Volumen. Entspricht eigentlich der Flaeche dieser Form (in 2D) wird aber zum Errechnen der Masse verwendet.</dd></dl> + <dl></dl> + <hr></hr> +<a name="I"></a><dl> + <dt> + + <code>abstract</code> + <code>val</code> + <em>I</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Errechnet Traegheitsmoment zum Schwerpunkt dieser Form.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>Traegheitsmoment zum Schwerpunkt</dd></dl> + <hr></hr> +<a name="body"></a><dl> + <dt> + + <code></code> + <code>var</code> + <em>body</em> : <a href="../../sims/dynamics/Body.html" target="_self">Body</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Beinhaltender Koerper. Sollte nicht selbst bei Initialisierung definiert werden.</dd></dl> + <dl></dl> + <hr></hr> +<a name="transientShapes"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>transientShapes</em> : <a href="" target="contentFrame" class="scala/collection/mutable/Set">scala.collection.mutable.Set</a>[<a href="../../sims/dynamics/Shape.html" target="_self">Shape</a>] + </dt> + <dd></dd> + </dl> + <dl><dd>Formen mit denen diese Form nicht Kollidiert.</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="mass"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>mass</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Errechnet die Masse dieser Form. Masse ist gleich Volumen mal Dichte.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>Masse der Form</dd></dl> + <hr></hr> +<a name="AABB"></a><dl> + <dt> + + <code>abstract</code> + <code>def</code> + <em>AABB</em> : <a href="../../sims/collision/AABB.html" target="_self">AABB</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Gibt das umfassende AABB dieser Form zurueck.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>umfassendes AABB</dd></dl> + <hr></hr> +<a name="project%28sims.geometry.Vector2D%29"></a><dl> + <dt> + + <code>abstract</code> + <code>def</code> + <em>project</em>(<em>axis</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="../../sims/geometry/Projection.html" target="_self">Projection</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Ergibt die Projektion dieser Form auf eine Gerade gegeben durch den
+ Richtungsvektor <code>axis</code>.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>axis - </code>Richtungsvektor der Geraden</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>Projektion dieser Form</dd></dl> + <hr></hr> +<a name="contains%28sims.geometry.Vector2D%29"></a><dl> + <dt> + + <code>abstract</code> + <code>def</code> + <em>contains</em>(<em>point</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Ermittelt ob der gebene Punkt <code>point</code> in dieser Form enthalten ist.</dd></dl> + <dl></dl> + <hr></hr> +<a name="asBody"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>asBody</em> : <a href="../../sims/dynamics/Body.html" target="_self">Body</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Baut einen Koerper aus dieser Form.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>ein Koerper bestehend aus dieser Form.</dd></dl> + <hr></hr> +<a name="%5E%28sims.dynamics.Shape%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>^</em>(<em>s</em> : <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a>) : <a href="../../sims/dynamics/Body.html" target="_self">Body</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Erstellt einen Koerper aus dieser Form und der Form <code>s</code>.</dd></dl> + <dl></dl> + <hr></hr> +<a name="%5E%28sims.dynamics.Body%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>^</em>(<em>b</em> : <a href="../../sims/dynamics/Body.html" target="_self">Body</a>) : <a href="../../sims/dynamics/Body.html" target="_self">Body</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Erstellt einen Koerper aus dieser Form und den Formen des Koerpers <code>b</code>.</dd></dl> + <dl></dl> + <hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/dynamics/World.html b/doc/sims/dynamics/World.html new file mode 100644 index 0000000..df1948a --- /dev/null +++ b/doc/sims/dynamics/World.html @@ -0,0 +1,692 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class World in sims.dynamics</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/dynamics$package.html" target="_self">sims.dynamics</a> + <br></br> + <span class="entity">class World</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/dynamics/World"><code>sims/dynamics/World.scala</code></a>] + </div><hr></hr> + <a name="World"></a><dl> + <dt> + + <code></code> + <code>class</code> + <em>World</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>Eine Welt enthaelt und Simuliert ein System aus Koerpern und Verbindungen.</dd></dl> + <dl></dl> + + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/World.html#bodies" target="_self">bodies</a></em> + : <a href="" target="contentFrame" class="scala/collection/mutable/ArrayBuffer">scala.collection.mutable.ArrayBuffer</a>[<a href="../../sims/dynamics/Body.html" target="_self">Body</a>] + + <div>Alle Koerper die diese Welt simuliert.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/World.html#detector" target="_self">detector</a></em> + : <a href="../../sims/collision/Detector.html" target="_self">Detector</a> + + <div>Kollisionsdetektor dieser Welt.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> var</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/World.html#enableCollisionDetection" target="_self">enableCollisionDetection</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>Kollisionerkennung.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> var</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/World.html#enablePositionCorrection" target="_self">enablePositionCorrection</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>Positionskorrekturen.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> var</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/World.html#gravity" target="_self">gravity</a></em> + : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + <div>Schwerkraft die in dieser Welt herrscht.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> var</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/World.html#iterations" target="_self">iterations</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + <div>Anzahl der Constraint-Korrekturen pro Zeitschritt.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/World.html#joints" target="_self">joints</a></em> + : <a href="" target="contentFrame" class="scala/collection/mutable/ArrayBuffer">scala.collection.mutable.ArrayBuffer</a>[<a href="../../sims/dynamics/joints/Joint.html" target="_self">Joint</a>] + + <div>Alle Verbindungen die diese Welt simuliert.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> var</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/World.html#minAngularVelocity" target="_self">minAngularVelocity</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + + <div>Die minimale, nicht als null geltende Winkelgeschwindigkeit.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> var</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/World.html#minLinearVelocity" target="_self">minLinearVelocity</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + + <div>Die minimale, nicht als null geltende Geschwindigkeit.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/World.html#monitors" target="_self">monitors</a></em> + : <a href="" target="contentFrame" class="scala/collection/mutable/ArrayBuffer">scala.collection.mutable.ArrayBuffer</a>[(<a href="" target="contentFrame" class="java/lang/String">java.lang.String</a>, (<a href="../../sims/dynamics/Body.html" target="_self">Body</a>) => <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a>)] + + <div>Ueberwachungsfunktionen fuer Koerper.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> var</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/World.html#overCWarning" target="_self">overCWarning</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>Warnung wenn Koerper schneller als Lichtgeschwindigkeit.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> var</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/World.html#time" target="_self">time</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + + <div>Aktuelle Zeit in Sekunden dieser Welt. Nach jedem Zeitschritt wird die Zeit erhoeht.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> var</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/World.html#timeStep" target="_self">timeStep</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + + <div>Zeitschritt in dem diese Welt die Simulation vorranschreiten laesst.</div> + </td> + </tr> + </table> +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Method Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/World.html#%2B%2B%3D%28Seq%5Bsims.dynamics.Body%5D%29" target="_self">++=</a></em> + (<em>bs</em> : <a href="" target="contentFrame" class="scala/Seq">scala.Seq</a>[<a href="../../sims/dynamics/Body.html" target="_self">Body</a>]) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/World.html#%2B%3D%28sims.dynamics.joints.Joint%29" target="_self">+=</a></em> + (<em>joint</em> : <a href="../../sims/dynamics/joints/Joint.html" target="_self">Joint</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + + <div>Fuegt dieser Welt eine Verbindung hinzu.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/World.html#%2B%3D%28sims.dynamics.Body%29" target="_self">+=</a></em> + (<em>body</em> : <a href="../../sims/dynamics/Body.html" target="_self">Body</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + + <div>Fuegt dieser Welt einen Koerper hinzu.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/World.html#%2B%3D%28sims.prefabs.Prefab%29" target="_self">+=</a></em> + (<em>p</em> : <a href="../../sims/prefabs/Prefab.html" target="_self">Prefab</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + + <div>Fuegt dieser Welt ein vorangefertigtes System vaus Koerpern und Verbindungen hinzu.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/World.html#--%3D%28Seq%5Bsims.dynamics.Body%5D%29" target="_self">--=</a></em> + (<em>bs</em> : <a href="" target="contentFrame" class="scala/Seq">scala.Seq</a>[<a href="../../sims/dynamics/Body.html" target="_self">Body</a>]) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/World.html#-%3D%28sims.dynamics.joints.Joint%29" target="_self">-=</a></em> + (<em>joint</em> : <a href="../../sims/dynamics/joints/Joint.html" target="_self">Joint</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + + <div>Entfernt die gegebene Verbindung aus dieser Welt.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/World.html#-%3D%28sims.prefabs.Prefab%29" target="_self">-=</a></em> + (<em>p</em> : <a href="../../sims/prefabs/Prefab.html" target="_self">Prefab</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + + <div>Entfernt das gegebene System aus Koerpern und Verbindungen aus dieser Welt.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/World.html#-%3D%28sims.dynamics.Body%29" target="_self">-=</a></em> + (<em>body</em> : <a href="../../sims/dynamics/Body.html" target="_self">Body</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + + <div>Entfernt den gegebenen Koerper aus dieser Welt.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/World.html#clear%28%29" target="_self">clear</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + + <div>Entfernt alle Koerper, Verbindungen und Ueberwachungsfunktionen dieser Welt.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/World.html#info" target="_self">info</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + <div>Ergibt Informationen ueber diese Welt.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/World.html#postStep%28%29" target="_self">postStep</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + + <div>Wird nach jedem Zeitschritt ausgefuehrt.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/World.html#shapes" target="_self">shapes</a></em> + : <a href="" target="contentFrame" class="scala/Seq">scala.Seq</a>[<a href="../../sims/dynamics/Shape.html" target="_self">Shape</a>] + + <div>Ergibt alle Formen aus allen Koerpern in dieser Welt.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/World.html#step%28%29" target="_self">step</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + + <div>Simuliert einen von <code>timeStep</code> angegebenen Zeitschritt.
+ Ihre Aufgabe ist es die Koerper dieser Welt so zu simulieren wie diese sich in einer Welt mit den gegebenen
+ Bedingungen verhalten wuerden.</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="timeStep"></a><dl> + <dt> + + <code></code> + <code>var</code> + <em>timeStep</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Zeitschritt in dem diese Welt die Simulation vorranschreiten laesst.</dd></dl> + <dl></dl> + <hr></hr> +<a name="iterations"></a><dl> + <dt> + + <code></code> + <code>var</code> + <em>iterations</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Anzahl der Constraint-Korrekturen pro Zeitschritt.</dd></dl> + <dl></dl> + <hr></hr> +<a name="gravity"></a><dl> + <dt> + + <code></code> + <code>var</code> + <em>gravity</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Schwerkraft die in dieser Welt herrscht.</dd></dl> + <dl></dl> + <hr></hr> +<a name="bodies"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>bodies</em> : <a href="" target="contentFrame" class="scala/collection/mutable/ArrayBuffer">scala.collection.mutable.ArrayBuffer</a>[<a href="../../sims/dynamics/Body.html" target="_self">Body</a>] + </dt> + <dd></dd> + </dl> + <dl><dd>Alle Koerper die diese Welt simuliert.</dd></dl> + <dl></dl> + <hr></hr> +<a name="joints"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>joints</em> : <a href="" target="contentFrame" class="scala/collection/mutable/ArrayBuffer">scala.collection.mutable.ArrayBuffer</a>[<a href="../../sims/dynamics/joints/Joint.html" target="_self">Joint</a>] + </dt> + <dd></dd> + </dl> + <dl><dd>Alle Verbindungen die diese Welt simuliert.</dd></dl> + <dl></dl> + <hr></hr> +<a name="monitors"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>monitors</em> : <a href="" target="contentFrame" class="scala/collection/mutable/ArrayBuffer">scala.collection.mutable.ArrayBuffer</a>[(<a href="" target="contentFrame" class="java/lang/String">java.lang.String</a>, (<a href="../../sims/dynamics/Body.html" target="_self">Body</a>) => <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a>)] + </dt> + <dd></dd> + </dl> + <dl><dd>Ueberwachungsfunktionen fuer Koerper.
+ <p>
+ Das erste Element des Tuples ist die Ueberschrift und das zweite Element, der Wert.</dd></dl> + <dl></dl> + <hr></hr> +<a name="detector"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>detector</em> : <a href="../../sims/collision/Detector.html" target="_self">Detector</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Kollisionsdetektor dieser Welt.</dd></dl> + <dl></dl> + <hr></hr> +<a name="overCWarning"></a><dl> + <dt> + + <code></code> + <code>var</code> + <em>overCWarning</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Warnung wenn Koerper schneller als Lichtgeschwindigkeit.</dd></dl> + <dl></dl> + <hr></hr> +<a name="enableCollisionDetection"></a><dl> + <dt> + + <code></code> + <code>var</code> + <em>enableCollisionDetection</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Kollisionerkennung.</dd></dl> + <dl></dl> + <hr></hr> +<a name="enablePositionCorrection"></a><dl> + <dt> + + <code></code> + <code>var</code> + <em>enablePositionCorrection</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Positionskorrekturen.</dd></dl> + <dl></dl> + <hr></hr> +<a name="minLinearVelocity"></a><dl> + <dt> + + <code></code> + <code>var</code> + <em>minLinearVelocity</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Die minimale, nicht als null geltende Geschwindigkeit.</dd></dl> + <dl></dl> + <hr></hr> +<a name="minAngularVelocity"></a><dl> + <dt> + + <code></code> + <code>var</code> + <em>minAngularVelocity</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Die minimale, nicht als null geltende Winkelgeschwindigkeit.</dd></dl> + <dl></dl> + <hr></hr> +<a name="time"></a><dl> + <dt> + + <code></code> + <code>var</code> + <em>time</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Aktuelle Zeit in Sekunden dieser Welt. Nach jedem Zeitschritt wird die Zeit erhoeht.</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="shapes"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>shapes</em> : <a href="" target="contentFrame" class="scala/Seq">scala.Seq</a>[<a href="../../sims/dynamics/Shape.html" target="_self">Shape</a>] + </dt> + <dd></dd> + </dl> + <dl><dd>Ergibt alle Formen aus allen Koerpern in dieser Welt.</dd></dl> + <dl></dl> + <hr></hr> +<a name="%2B%3D%28sims.dynamics.Body%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>+=</em>(<em>body</em> : <a href="../../sims/dynamics/Body.html" target="_self">Body</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Fuegt dieser Welt einen Koerper hinzu.</dd></dl> + <dl></dl> + <hr></hr> +<a name="%2B%3D%28sims.dynamics.joints.Joint%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>+=</em>(<em>joint</em> : <a href="../../sims/dynamics/joints/Joint.html" target="_self">Joint</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Fuegt dieser Welt eine Verbindung hinzu.</dd></dl> + <dl></dl> + <hr></hr> +<a name="%2B%3D%28sims.prefabs.Prefab%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>+=</em>(<em>p</em> : <a href="../../sims/prefabs/Prefab.html" target="_self">Prefab</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Fuegt dieser Welt ein vorangefertigtes System vaus Koerpern und Verbindungen hinzu.</dd></dl> + <dl></dl> + <hr></hr> +<a name="%2B%2B%3D%28Seq%5Bsims.dynamics.Body%5D%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>++=</em>(<em>bs</em> : <a href="" target="contentFrame" class="scala/Seq">scala.Seq</a>[<a href="../../sims/dynamics/Body.html" target="_self">Body</a>]) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="-%3D%28sims.dynamics.Body%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>-=</em>(<em>body</em> : <a href="../../sims/dynamics/Body.html" target="_self">Body</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Entfernt den gegebenen Koerper aus dieser Welt.</dd></dl> + <dl></dl> + <hr></hr> +<a name="-%3D%28sims.dynamics.joints.Joint%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>-=</em>(<em>joint</em> : <a href="../../sims/dynamics/joints/Joint.html" target="_self">Joint</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Entfernt die gegebene Verbindung aus dieser Welt.</dd></dl> + <dl></dl> + <hr></hr> +<a name="-%3D%28sims.prefabs.Prefab%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>-=</em>(<em>p</em> : <a href="../../sims/prefabs/Prefab.html" target="_self">Prefab</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Entfernt das gegebene System aus Koerpern und Verbindungen aus dieser Welt.</dd></dl> + <dl></dl> + <hr></hr> +<a name="--%3D%28Seq%5Bsims.dynamics.Body%5D%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>--=</em>(<em>bs</em> : <a href="" target="contentFrame" class="scala/Seq">scala.Seq</a>[<a href="../../sims/dynamics/Body.html" target="_self">Body</a>]) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="clear%28%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>clear</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Entfernt alle Koerper, Verbindungen und Ueberwachungsfunktionen dieser Welt.</dd></dl> + <dl></dl> + <hr></hr> +<a name="step%28%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>step</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Simuliert einen von <code>timeStep</code> angegebenen Zeitschritt.
+ Ihre Aufgabe ist es die Koerper dieser Welt so zu simulieren wie diese sich in einer Welt mit den gegebenen
+ Bedingungen verhalten wuerden.
+ <p>
+ Der Zeitschritt wird in folgenden Phasen ausgefuehrt:
+ <ol>
+ <li>Kraefte wirken auf die Koerper (z.B Schwerkraft, andere Kraftfaehige Objekte).</li>
+ <li>Beschleunigungen werden integriert.</li>
+ <li>Geschwindigkeiten werden korrigiert.</li>
+ <li>Geschwindigkeiten werden integriert.</li>
+ <li>Positionen werden korrigiert.</li>
+ <li>Die Methode <code>postStep()</code> wird ausgefuehrt.</li>
+ </ol></dd></dl> + <dl></dl> + <hr></hr> +<a name="postStep%28%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>postStep</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Wird nach jedem Zeitschritt ausgefuehrt.</dd></dl> + <dl></dl> + <hr></hr> +<a name="info"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>info</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Ergibt Informationen ueber diese Welt.</dd></dl> + <dl></dl> + <hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/dynamics/joints$content.html b/doc/sims/dynamics/joints$content.html new file mode 100644 index 0000000..4652a21 --- /dev/null +++ b/doc/sims/dynamics/joints$content.html @@ -0,0 +1,101 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>All classes and objects in sims.dynamics.joints</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()"><div class="page-title"><div>Simple Mechanics Simulator (SiMS) API</div></div><p><div>This document is the API specification for SiMS</div></p><table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Class Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code>case class</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/joints/DistanceJoint.html" target="_self">DistanceJoint</a></em> + (<code>val </code><em>node1</em> : <a href="../../sims/dynamics/Body.html" target="_self">Body</a>, <code>val </code><em>anchor1</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <code>val </code><em>node2</em> : <a href="../../sims/dynamics/Body.html" target="_self">Body</a>, <code>val </code><em>anchor2</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>)<code> extends </code><a href="../../sims/dynamics/joints/Joint.html" target="_self">Joint</a><code> with </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a> + + <div>DistanceJoints halten die Bindungspunkte auf ihren Bindungskoerpern bei einem konstanten Abstand.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> trait</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/joints/ForceJoint.html" target="_self">ForceJoint</a></em> + <code> extends </code><a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + + <div>Eine Verbindung die Kraft auf ihre Bindungskoerper ausueben kann.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>abstract class</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/joints/Joint.html" target="_self">Joint</a></em> + <code> extends </code><a href="../../sims/dynamics/Constraint.html" target="_self">Constraint</a><code> with </code><a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + + <div>Joints sind Verbindungen die die Bewegung zwischen zwei Koerpern einschraenken.
+ Ihre Implementierung wurde von Erin Catto's box2d inspiriert.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>case class</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/joints/RevoluteJoint.html" target="_self">RevoluteJoint</a></em> + (<code>val </code><em>node1</em> : <a href="../../sims/dynamics/Body.html" target="_self">Body</a>, <code>val </code><em>node2</em> : <a href="../../sims/dynamics/Body.html" target="_self">Body</a>, <code>val </code><em>anchor</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>)<code> extends </code><a href="../../sims/dynamics/joints/Joint.html" target="_self">Joint</a><code> with </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a> + + <div>Ein Gelenk, dass zwei Koerper an einem Punkt verbindet. Inspiriert von JBox2D.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>case class</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/joints/SpringJoint.html" target="_self">SpringJoint</a></em> + (<code>val </code><em>node1</em> : <a href="../../sims/dynamics/Body.html" target="_self">Body</a>, <code>val </code><em>anchor1</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <code>val </code><em>node2</em> : <a href="../../sims/dynamics/Body.html" target="_self">Body</a>, <code>val </code><em>anchor2</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <code>val </code><em>springConstant</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>, <code>val </code><em>initialLength</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>)<code> extends </code><a href="../../sims/dynamics/joints/Joint.html" target="_self">Joint</a><code> with </code><a href="../../sims/dynamics/joints/ForceJoint.html" target="_self">ForceJoint</a><code> with </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a> + + <div>Eine Hooksche Feder.</div> + </td> + </tr> + </table> +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Object Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> object</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/joints/DistanceJoint$object.html" target="_self">DistanceJoint</a></em> + <code> extends </code>(<a href="../../sims/dynamics/Body.html" target="_self">Body</a>, <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <a href="../../sims/dynamics/Body.html" target="_self">Body</a>, <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) => <a href="../../sims/dynamics/joints/DistanceJoint.html" target="_self">DistanceJoint</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> object</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/joints/RevoluteJoint$object.html" target="_self">RevoluteJoint</a></em> + <code> extends </code>(<a href="../../sims/dynamics/Body.html" target="_self">Body</a>, <a href="../../sims/dynamics/Body.html" target="_self">Body</a>, <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) => <a href="../../sims/dynamics/joints/RevoluteJoint.html" target="_self">RevoluteJoint</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> object</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/joints/SpringJoint$object.html" target="_self">SpringJoint</a></em> + <code> extends </code>(<a href="../../sims/dynamics/Body.html" target="_self">Body</a>, <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <a href="../../sims/dynamics/Body.html" target="_self">Body</a>, <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) => <a href="../../sims/dynamics/joints/SpringJoint.html" target="_self">SpringJoint</a> + + + </td> + </tr> + </table></body> + </html>
\ No newline at end of file diff --git a/doc/sims/dynamics/joints$package.html b/doc/sims/dynamics/joints$package.html new file mode 100644 index 0000000..dde0590 --- /dev/null +++ b/doc/sims/dynamics/joints$package.html @@ -0,0 +1,22 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>List of classes and objects in package sims.dynamics.joints</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"> + <a href="../../sims/dynamics/joints$content.html" target="contentFrame">sims.dynamics.joints</a> + </td></tr> + </table><div><div class="kinds" id="Classes">Classes</div><ul class="list"> + <li id="Classes_D"><a href="../../sims/dynamics/joints/DistanceJoint.html" target="contentFrame">DistanceJoint</a></li> +<li id="Classes_F"><a href="../../sims/dynamics/joints/ForceJoint.html" target="contentFrame">ForceJoint</a></li> +<li id="Classes_J"><a href="../../sims/dynamics/joints/Joint.html" target="contentFrame">Joint</a></li> +<li id="Classes_R"><a href="../../sims/dynamics/joints/RevoluteJoint.html" target="contentFrame">RevoluteJoint</a></li> +<li id="Classes_S"><a href="../../sims/dynamics/joints/SpringJoint.html" target="contentFrame">SpringJoint</a></li> + </ul> +<div class="kinds" id="Objects">Objects</div><ul class="list"> + <li id="Objects_D"><a href="../../sims/dynamics/joints/DistanceJoint$object.html" target="contentFrame">DistanceJoint</a></li> +<li id="Objects_R"><a href="../../sims/dynamics/joints/RevoluteJoint$object.html" target="contentFrame">RevoluteJoint</a></li> +<li id="Objects_S"><a href="../../sims/dynamics/joints/SpringJoint$object.html" target="contentFrame">SpringJoint</a></li> + </ul></div></body> + </html>
\ No newline at end of file diff --git a/doc/sims/dynamics/joints/DistanceJoint$object.html b/doc/sims/dynamics/joints/DistanceJoint$object.html new file mode 100644 index 0000000..e4121b3 --- /dev/null +++ b/doc/sims/dynamics/joints/DistanceJoint$object.html @@ -0,0 +1,82 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object DistanceJoint in sims.dynamics.joints</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../../sims/dynamics/joints$package.html" target="_self">sims.dynamics.joints</a> + <br></br> + <span class="entity">object DistanceJoint</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/dynamics/joints/DistanceJoint"><code>sims/dynamics/joints/DistanceJoint.scala</code></a>] + </div><hr></hr> + <a name="DistanceJoint"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>DistanceJoint</em> + </dt> + <dd><code> extends </code>(<a href="../../../sims/dynamics/Body.html" target="_self">Body</a>, <a href="../../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <a href="../../../sims/dynamics/Body.html" target="_self">Body</a>, <a href="../../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) => <a href="../../../sims/dynamics/joints/DistanceJoint.html" target="_self">DistanceJoint</a></dd> + </dl> + + + +<table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/Function4">scala.Function4</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#toString" target="contentFrame" class="scala/Function4">scala.Function4.toString</a>, <a href="#curry" target="contentFrame" class="scala/Function4">scala.Function4.curry</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + + + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/dynamics/joints/DistanceJoint.html b/doc/sims/dynamics/joints/DistanceJoint.html new file mode 100644 index 0000000..80a0f2d --- /dev/null +++ b/doc/sims/dynamics/joints/DistanceJoint.html @@ -0,0 +1,481 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class DistanceJoint in sims.dynamics.joints</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../../sims/dynamics/joints$package.html" target="_self">sims.dynamics.joints</a> + <br></br> + <span class="entity">class DistanceJoint</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/dynamics/joints/DistanceJoint"><code>sims/dynamics/joints/DistanceJoint.scala</code></a>] + </div><hr></hr> + <a name="DistanceJoint"></a><dl> + <dt> + + <code>case</code> + <code>class</code> + <em>DistanceJoint</em>(<code>val </code><em>node1</em> : <a href="../../../sims/dynamics/Body.html" target="_self">Body</a>, <code>val </code><em>anchor1</em> : <a href="../../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <code>val </code><em>node2</em> : <a href="../../../sims/dynamics/Body.html" target="_self">Body</a>, <code>val </code><em>anchor2</em> : <a href="../../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) + </dt> + <dd><code> extends </code><a href="../../../sims/dynamics/joints/Joint.html" target="_self">Joint</a><code> with </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a></dd> + </dl> + <dl><dd>DistanceJoints halten die Bindungspunkte auf ihren Bindungskoerpern bei einem konstanten Abstand.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>node1 - </code>erster Koerper der Verbindung</dd><dd><code>anchor1 - </code>Bindungspunkt auf Koerper eins</dd><dd><code>node2 - </code>zweiter Koerper der Verbindung</dd><dd><code>anchor2 - </code>Bindungspunkt auf Koerper zwei</dd></dl> + + <table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Additional Constructor Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../../sims/dynamics/joints/DistanceJoint.html#this%28sims.dynamics.Body%2Csims.dynamics.Body%29" target="_self">this</a></em> + (<em>node1</em> : <a href="../../../sims/dynamics/Body.html" target="_self">Body</a>, <em>node2</em> : <a href="../../../sims/dynamics/Body.html" target="_self">Body</a>) : <a href="../../../sims/dynamics/joints/DistanceJoint.html" target="_self">DistanceJoint</a> + + + </td> + </tr> + </table> + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../../sims/dynamics/joints/DistanceJoint.html#distance" target="_self">distance</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + + <div>Abstand der beiden Bindungspunkte bei initialisierung (der gewollte Abstand).</div> + </td> + </tr> + </table> +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Method Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../../sims/dynamics/joints/DistanceJoint.html#connection1" target="_self">connection1</a></em> + : <a href="../../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + <div>Ergibt den Bindungspunkt auf Koerper eins.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../../sims/dynamics/joints/DistanceJoint.html#connection2" target="_self">connection2</a></em> + : <a href="../../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + <div>Ergibt den Bindungspunkt auf Koerper zwei.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../../sims/dynamics/joints/DistanceJoint.html#correctPosition%28Double%29" target="_self">correctPosition</a></em> + (<em>h</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>Korrigiert die Position der Koerper damit diese den Randbedingungen der Verbindung entsprechen.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../../sims/dynamics/joints/DistanceJoint.html#correctVelocity%28Double%29" target="_self">correctVelocity</a></em> + (<em>h</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>Korrigiert die Geschwindigkeit der Koerper damit diese den Randbedingungen der Verbindung entsprechen.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../../sims/dynamics/joints/DistanceJoint.html#equals%28Any%29" target="_self">equals</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../../sims/dynamics/joints/DistanceJoint.html#hashCode%28%29" target="_self">hashCode</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + <div>Returns a hash code value for the object.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../../sims/dynamics/joints/DistanceJoint.html#productArity" target="_self">productArity</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../../sims/dynamics/joints/DistanceJoint.html#productElement%28Int%29" target="_self">productElement</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../../sims/dynamics/joints/DistanceJoint.html#productPrefix" target="_self">productPrefix</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../../sims/dynamics/joints/DistanceJoint.html#toString%28%29" target="_self">toString</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + <div>Returns a string representation of the object.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../../sims/dynamics/joints/DistanceJoint.html#v" target="_self">v</a></em> + : <a href="../../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + <div>Relative Geschwindigkeit der Bindungspunkte.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../../sims/dynamics/joints/DistanceJoint.html#x" target="_self">x</a></em> + : <a href="../../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + <div>Relative Position der Bindungspunkte.</div> + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + <table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Additional Constructor Details</td></tr> + </table><div><a name="this%28sims.dynamics.Body%2Csims.dynamics.Body%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>this</em>(<em>node1</em> : <a href="../../../sims/dynamics/Body.html" target="_self">Body</a>, <em>node2</em> : <a href="../../../sims/dynamics/Body.html" target="_self">Body</a>) : <a href="../../../sims/dynamics/joints/DistanceJoint.html" target="_self">DistanceJoint</a> + </dt> + <dd></dd> + </dl><hr></hr></div> + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Value Details</td></tr> + </table><div><a name="distance"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>distance</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Abstand der beiden Bindungspunkte bei initialisierung (der gewollte Abstand).</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="connection1"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>connection1</em> : <a href="../../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Ergibt den Bindungspunkt auf Koerper eins.</dd></dl> + <dl></dl> + <hr></hr> +<a name="connection2"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>connection2</em> : <a href="../../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Ergibt den Bindungspunkt auf Koerper zwei.</dd></dl> + <dl></dl> + <hr></hr> +<a name="x"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>x</em> : <a href="../../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Relative Position der Bindungspunkte.</dd></dl> + <dl></dl> + <hr></hr> +<a name="v"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>v</em> : <a href="../../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Relative Geschwindigkeit der Bindungspunkte.</dd></dl> + <dl></dl> + <hr></hr> +<a name="correctVelocity%28Double%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>correctVelocity</em>(<em>h</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>Korrigiert die Geschwindigkeit der Koerper damit diese den Randbedingungen der Verbindung entsprechen.</dd></dl> + <dl></dl> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../../sims/dynamics/joints/Joint.html" target="_self">Joint</a>.<a href="../../../sims/dynamics/joints/Joint.html#correctVelocity%28Double%29" target="_self">correctVelocity</a> + </dd> + </dl><hr></hr> +<a name="correctPosition%28Double%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>correctPosition</em>(<em>h</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>Korrigiert die Position der Koerper damit diese den Randbedingungen der Verbindung entsprechen.</dd></dl> + <dl></dl> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../../sims/dynamics/joints/Joint.html" target="_self">Joint</a>.<a href="../../../sims/dynamics/joints/Joint.html#correctPosition%28Double%29" target="_self">correctPosition</a> + </dd> + </dl><hr></hr> +<a name="hashCode%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>hashCode</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a hash code value for the object.
+ <p>
+ The default hashing algorithm is platform dependent.
+ Note that it is allowed for two objects to have identical hash
+ codes (<code>o1.hashCode.equals(o2.hashCode)</code>) yet not be
+ equal (<code>o1.equals(o2)</code> returns <code>false</code>). A
+ degenerate implementation could always return <code>0</code>.
+ However, it is required that if two objects are equal
+ (<code>o1.equals(o2)</code> returns <code>true</code>) that they
+ have identical hash codes
+ (<code>o1.hashCode.equals(o2.hashCode)</code>). Therefore, when
+ overriding this method, be sure to verify that the behavior is
+ consistent with the <code>equals</code> method.
+ </p>
+ <p></dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>the hash code value for the object. </p></dd></dl> + <hr></hr> +<a name="toString%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>toString</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a string representation of the object.
+ <p>
+ The default representation is platform dependent.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>a string representation of the object. </p></dd></dl> + <hr></hr> +<a name="equals%28Any%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>equals</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.
+
+ <p>
+ The default implementations of this method is an <a
+ href="http://en.wikipedia.org/wiki/Equivalence_relation">equivalence
+ relation</a>:
+ <ul>
+ <li>It is reflexive: for any instance <code>x</code> of type <code>Any</code>,
+ <code>x.equals(x)</code> should return <code>true</code>.</li>
+ <li>It is symmetric: for any instances <code>x</code> and <code>y</code> of type
+ <code>Any</code>, <code>x.equals(y)</code> should return <code>true</code> if and only
+ if <code>y.equals(x)</code> returns <code>true</code>.</li>
+ <li>It is transitive: for any instances
+ <code>x</code>, <code>y</code>, and <code>z</code> of type <code>AnyRef</code>
+ if <code>x.equals(y)</code> returns <code>true</code> and
+ <code>y.equals(z)</code> returns
+ <code>true</code>, then <code>x.equals(z)</code> should return <code>true</code>.</li>
+ </ul>
+ </p>
+ <p>
+ If you override this method, you should verify that
+ your implementation remains an equivalence relation.
+ Additionally, when overriding this method it is often necessary to
+ override <code>hashCode</code> to ensure that objects that are
+ "equal" (<code>o1.equals(o2)</code> returns <code>true</code>)
+ hash to the same <a href="Int.html"><code>Int</code></a>
+ (<code>o1.hashCode.equals(o2.hashCode)</code>).</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>arg0 - </code>the object to compare against this object for equality.</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise. </p></dd></dl> + <hr></hr> +<a name="productPrefix"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productPrefix</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productPrefix" target="contentFrame" class="scala/Product">scala.Product.productPrefix</a> + </dd> + </dl><hr></hr> +<a name="productArity"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productArity</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productArity" target="contentFrame" class="scala/Product">scala.Product.productArity</a> + </dd> + </dl><hr></hr> +<a name="productElement%28Int%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productElement</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productElement" target="contentFrame" class="scala/Product">scala.Product.productElement</a> + </dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/dynamics/joints/ForceJoint.html b/doc/sims/dynamics/joints/ForceJoint.html new file mode 100644 index 0000000..bf8ac9f --- /dev/null +++ b/doc/sims/dynamics/joints/ForceJoint.html @@ -0,0 +1,107 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>trait ForceJoint in sims.dynamics.joints</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../../sims/dynamics/joints$package.html" target="_self">sims.dynamics.joints</a> + <br></br> + <span class="entity">trait ForceJoint</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/dynamics/joints/ForceJoint"><code>sims/dynamics/joints/ForceJoint.scala</code></a>] + </div><hr></hr> + <a name="ForceJoint"></a><dl> + <dt> + + <code></code> + <code>trait</code> + <em>ForceJoint</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>Eine Verbindung die Kraft auf ihre Bindungskoerper ausueben kann.</dd></dl> + <dl></dl> + <dl> + <dt style="margin:10px 0 0 20px;"><b>Direct Known Subclasses:</b></dt> + <dd><a href="../../../sims/dynamics/joints/SpringJoint.html" target="_self">SpringJoint</a></dd> + </dl><hr></hr> + + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Method Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code>abstract def</code> + </td> + <td class="signature"> + <em><a href="../../../sims/dynamics/joints/ForceJoint.html#applyForce%28%29" target="_self">applyForce</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + + <div>Uebt eine Kraft auf die Bindungskoerper aus.</div> + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#toString%28%29" target="_self">toString</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="applyForce%28%29"></a><dl> + <dt> + + <code>abstract</code> + <code>def</code> + <em>applyForce</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Uebt eine Kraft auf die Bindungskoerper aus.</dd></dl> + <dl></dl> + <hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/dynamics/joints/Joint.html b/doc/sims/dynamics/joints/Joint.html new file mode 100644 index 0000000..a577cde --- /dev/null +++ b/doc/sims/dynamics/joints/Joint.html @@ -0,0 +1,194 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class Joint in sims.dynamics.joints</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../../sims/dynamics/joints$package.html" target="_self">sims.dynamics.joints</a> + <br></br> + <span class="entity">class Joint</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/dynamics/joints/Joint"><code>sims/dynamics/joints/Joint.scala</code></a>] + </div><hr></hr> + <a name="Joint"></a><dl> + <dt> + + <code>abstract</code> + <code>class</code> + <em>Joint</em> + </dt> + <dd><code> extends </code><a href="../../../sims/dynamics/Constraint.html" target="_self">Constraint</a><code> with </code><a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a></dd> + </dl> + <dl><dd>Joints sind Verbindungen die die Bewegung zwischen zwei Koerpern einschraenken.
+ Ihre Implementierung wurde von Erin Catto's box2d inspiriert.</dd></dl> + <dl></dl> + <dl> + <dt style="margin:10px 0 0 20px;"><b>Direct Known Subclasses:</b></dt> + <dd><a href="../../../sims/dynamics/joints/DistanceJoint.html" target="_self">DistanceJoint</a>, <a href="../../../sims/dynamics/joints/RevoluteJoint.html" target="_self">RevoluteJoint</a>, <a href="../../../sims/dynamics/joints/SpringJoint.html" target="_self">SpringJoint</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>abstract val</code> + </td> + <td class="signature"> + <em><a href="../../../sims/dynamics/joints/Joint.html#node1" target="_self">node1</a></em> + : <a href="../../../sims/dynamics/Body.html" target="_self">Body</a> + + <div>Erster Koerper der Verbindung.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>abstract val</code> + </td> + <td class="signature"> + <em><a href="../../../sims/dynamics/joints/Joint.html#node2" target="_self">node2</a></em> + : <a href="../../../sims/dynamics/Body.html" target="_self">Body</a> + + <div>Zweiter Koerper der Verbindung.</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>abstract def</code> + </td> + <td class="signature"> + <em><a href="../../../sims/dynamics/joints/Joint.html#correctPosition%28Double%29" target="_self">correctPosition</a></em> + (<em>h</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>Korrigiert die Position der Koerper damit diese den Randbedingungen der Verbindung entsprechen.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>abstract def</code> + </td> + <td class="signature"> + <em><a href="../../../sims/dynamics/joints/Joint.html#correctVelocity%28Double%29" target="_self">correctVelocity</a></em> + (<em>h</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>Korrigiert die Geschwindigkeit der Koerper damit diese den Randbedingungen der Verbindung entsprechen.</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="node1"></a><dl> + <dt> + + <code>abstract</code> + <code>val</code> + <em>node1</em> : <a href="../../../sims/dynamics/Body.html" target="_self">Body</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Erster Koerper der Verbindung.</dd></dl> + <dl></dl> + <hr></hr> +<a name="node2"></a><dl> + <dt> + + <code>abstract</code> + <code>val</code> + <em>node2</em> : <a href="../../../sims/dynamics/Body.html" target="_self">Body</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Zweiter Koerper der Verbindung.</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="correctVelocity%28Double%29"></a><dl> + <dt> + + <code>abstract</code> + <code>def</code> + <em>correctVelocity</em>(<em>h</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>Korrigiert die Geschwindigkeit der Koerper damit diese den Randbedingungen der Verbindung entsprechen.</dd></dl> + <dl></dl> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../../sims/dynamics/Constraint.html" target="_self">Constraint</a>.<a href="../../../sims/dynamics/Constraint.html#correctVelocity%28Double%29" target="_self">correctVelocity</a> + </dd> + </dl><hr></hr> +<a name="correctPosition%28Double%29"></a><dl> + <dt> + + <code>abstract</code> + <code>def</code> + <em>correctPosition</em>(<em>h</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>Korrigiert die Position der Koerper damit diese den Randbedingungen der Verbindung entsprechen.</dd></dl> + <dl></dl> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../../sims/dynamics/Constraint.html" target="_self">Constraint</a>.<a href="../../../sims/dynamics/Constraint.html#correctPosition%28Double%29" target="_self">correctPosition</a> + </dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/dynamics/joints/RevoluteJoint$object.html b/doc/sims/dynamics/joints/RevoluteJoint$object.html new file mode 100644 index 0000000..c8a5d71 --- /dev/null +++ b/doc/sims/dynamics/joints/RevoluteJoint$object.html @@ -0,0 +1,82 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object RevoluteJoint in sims.dynamics.joints</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../../sims/dynamics/joints$package.html" target="_self">sims.dynamics.joints</a> + <br></br> + <span class="entity">object RevoluteJoint</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/dynamics/joints/RevoluteJoint"><code>sims/dynamics/joints/RevoluteJoint.scala</code></a>] + </div><hr></hr> + <a name="RevoluteJoint"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>RevoluteJoint</em> + </dt> + <dd><code> extends </code>(<a href="../../../sims/dynamics/Body.html" target="_self">Body</a>, <a href="../../../sims/dynamics/Body.html" target="_self">Body</a>, <a href="../../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) => <a href="../../../sims/dynamics/joints/RevoluteJoint.html" target="_self">RevoluteJoint</a></dd> + </dl> + + + +<table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/Function3">scala.Function3</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#toString" target="contentFrame" class="scala/Function3">scala.Function3.toString</a>, <a href="#curry" target="contentFrame" class="scala/Function3">scala.Function3.curry</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + + + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/dynamics/joints/RevoluteJoint.html b/doc/sims/dynamics/joints/RevoluteJoint.html new file mode 100644 index 0000000..b3059de --- /dev/null +++ b/doc/sims/dynamics/joints/RevoluteJoint.html @@ -0,0 +1,419 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class RevoluteJoint in sims.dynamics.joints</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../../sims/dynamics/joints$package.html" target="_self">sims.dynamics.joints</a> + <br></br> + <span class="entity">class RevoluteJoint</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/dynamics/joints/RevoluteJoint"><code>sims/dynamics/joints/RevoluteJoint.scala</code></a>] + </div><hr></hr> + <a name="RevoluteJoint"></a><dl> + <dt> + + <code>case</code> + <code>class</code> + <em>RevoluteJoint</em>(<code>val </code><em>node1</em> : <a href="../../../sims/dynamics/Body.html" target="_self">Body</a>, <code>val </code><em>node2</em> : <a href="../../../sims/dynamics/Body.html" target="_self">Body</a>, <code>val </code><em>anchor</em> : <a href="../../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) + </dt> + <dd><code> extends </code><a href="../../../sims/dynamics/joints/Joint.html" target="_self">Joint</a><code> with </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a></dd> + </dl> + <dl><dd>Ein Gelenk, dass zwei Koerper an einem Punkt verbindet. Inspiriert von JBox2D.</dd></dl> + <dl></dl> + + + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Method Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../../sims/dynamics/joints/RevoluteJoint.html#connection1" target="_self">connection1</a></em> + : <a href="../../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../../sims/dynamics/joints/RevoluteJoint.html#connection2" target="_self">connection2</a></em> + : <a href="../../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../../sims/dynamics/joints/RevoluteJoint.html#correctPosition%28Double%29" target="_self">correctPosition</a></em> + (<em>h</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>Korrigiert die Position der Koerper damit diese den Randbedingungen der Verbindung entsprechen.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../../sims/dynamics/joints/RevoluteJoint.html#correctVelocity%28Double%29" target="_self">correctVelocity</a></em> + (<em>h</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>Korrigiert die Geschwindigkeit der Koerper damit diese den Randbedingungen der Verbindung entsprechen.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../../sims/dynamics/joints/RevoluteJoint.html#equals%28Any%29" target="_self">equals</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../../sims/dynamics/joints/RevoluteJoint.html#hashCode%28%29" target="_self">hashCode</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + <div>Returns a hash code value for the object.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../../sims/dynamics/joints/RevoluteJoint.html#productArity" target="_self">productArity</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../../sims/dynamics/joints/RevoluteJoint.html#productElement%28Int%29" target="_self">productElement</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../../sims/dynamics/joints/RevoluteJoint.html#productPrefix" target="_self">productPrefix</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../../sims/dynamics/joints/RevoluteJoint.html#toString%28%29" target="_self">toString</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + <div>Returns a string representation of the object.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../../sims/dynamics/joints/RevoluteJoint.html#v" target="_self">v</a></em> + : <a href="../../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../../sims/dynamics/joints/RevoluteJoint.html#x" target="_self">x</a></em> + : <a href="../../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="connection1"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>connection1</em> : <a href="../../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="connection2"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>connection2</em> : <a href="../../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="x"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>x</em> : <a href="../../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="v"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>v</em> : <a href="../../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="correctVelocity%28Double%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>correctVelocity</em>(<em>h</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>Korrigiert die Geschwindigkeit der Koerper damit diese den Randbedingungen der Verbindung entsprechen.</dd></dl> + <dl></dl> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../../sims/dynamics/joints/Joint.html" target="_self">Joint</a>.<a href="../../../sims/dynamics/joints/Joint.html#correctVelocity%28Double%29" target="_self">correctVelocity</a> + </dd> + </dl><hr></hr> +<a name="correctPosition%28Double%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>correctPosition</em>(<em>h</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>Korrigiert die Position der Koerper damit diese den Randbedingungen der Verbindung entsprechen.</dd></dl> + <dl></dl> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../../sims/dynamics/joints/Joint.html" target="_self">Joint</a>.<a href="../../../sims/dynamics/joints/Joint.html#correctPosition%28Double%29" target="_self">correctPosition</a> + </dd> + </dl><hr></hr> +<a name="hashCode%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>hashCode</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a hash code value for the object.
+ <p>
+ The default hashing algorithm is platform dependent.
+ Note that it is allowed for two objects to have identical hash
+ codes (<code>o1.hashCode.equals(o2.hashCode)</code>) yet not be
+ equal (<code>o1.equals(o2)</code> returns <code>false</code>). A
+ degenerate implementation could always return <code>0</code>.
+ However, it is required that if two objects are equal
+ (<code>o1.equals(o2)</code> returns <code>true</code>) that they
+ have identical hash codes
+ (<code>o1.hashCode.equals(o2.hashCode)</code>). Therefore, when
+ overriding this method, be sure to verify that the behavior is
+ consistent with the <code>equals</code> method.
+ </p>
+ <p></dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>the hash code value for the object. </p></dd></dl> + <hr></hr> +<a name="toString%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>toString</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a string representation of the object.
+ <p>
+ The default representation is platform dependent.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>a string representation of the object. </p></dd></dl> + <hr></hr> +<a name="equals%28Any%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>equals</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.
+
+ <p>
+ The default implementations of this method is an <a
+ href="http://en.wikipedia.org/wiki/Equivalence_relation">equivalence
+ relation</a>:
+ <ul>
+ <li>It is reflexive: for any instance <code>x</code> of type <code>Any</code>,
+ <code>x.equals(x)</code> should return <code>true</code>.</li>
+ <li>It is symmetric: for any instances <code>x</code> and <code>y</code> of type
+ <code>Any</code>, <code>x.equals(y)</code> should return <code>true</code> if and only
+ if <code>y.equals(x)</code> returns <code>true</code>.</li>
+ <li>It is transitive: for any instances
+ <code>x</code>, <code>y</code>, and <code>z</code> of type <code>AnyRef</code>
+ if <code>x.equals(y)</code> returns <code>true</code> and
+ <code>y.equals(z)</code> returns
+ <code>true</code>, then <code>x.equals(z)</code> should return <code>true</code>.</li>
+ </ul>
+ </p>
+ <p>
+ If you override this method, you should verify that
+ your implementation remains an equivalence relation.
+ Additionally, when overriding this method it is often necessary to
+ override <code>hashCode</code> to ensure that objects that are
+ "equal" (<code>o1.equals(o2)</code> returns <code>true</code>)
+ hash to the same <a href="Int.html"><code>Int</code></a>
+ (<code>o1.hashCode.equals(o2.hashCode)</code>).</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>arg0 - </code>the object to compare against this object for equality.</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise. </p></dd></dl> + <hr></hr> +<a name="productPrefix"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productPrefix</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productPrefix" target="contentFrame" class="scala/Product">scala.Product.productPrefix</a> + </dd> + </dl><hr></hr> +<a name="productArity"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productArity</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productArity" target="contentFrame" class="scala/Product">scala.Product.productArity</a> + </dd> + </dl><hr></hr> +<a name="productElement%28Int%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productElement</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productElement" target="contentFrame" class="scala/Product">scala.Product.productElement</a> + </dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/dynamics/joints/SpringJoint$object.html b/doc/sims/dynamics/joints/SpringJoint$object.html new file mode 100644 index 0000000..7730d19 --- /dev/null +++ b/doc/sims/dynamics/joints/SpringJoint$object.html @@ -0,0 +1,82 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object SpringJoint in sims.dynamics.joints</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../../sims/dynamics/joints$package.html" target="_self">sims.dynamics.joints</a> + <br></br> + <span class="entity">object SpringJoint</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/dynamics/joints/SpringJoint"><code>sims/dynamics/joints/SpringJoint.scala</code></a>] + </div><hr></hr> + <a name="SpringJoint"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>SpringJoint</em> + </dt> + <dd><code> extends </code>(<a href="../../../sims/dynamics/Body.html" target="_self">Body</a>, <a href="../../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <a href="../../../sims/dynamics/Body.html" target="_self">Body</a>, <a href="../../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) => <a href="../../../sims/dynamics/joints/SpringJoint.html" target="_self">SpringJoint</a></dd> + </dl> + + + +<table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/Function6">scala.Function6</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#toString" target="contentFrame" class="scala/Function6">scala.Function6.toString</a>, <a href="#curry" target="contentFrame" class="scala/Function6">scala.Function6.curry</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + + + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/dynamics/joints/SpringJoint.html b/doc/sims/dynamics/joints/SpringJoint.html new file mode 100644 index 0000000..ba601bb --- /dev/null +++ b/doc/sims/dynamics/joints/SpringJoint.html @@ -0,0 +1,551 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class SpringJoint in sims.dynamics.joints</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../../sims/dynamics/joints$package.html" target="_self">sims.dynamics.joints</a> + <br></br> + <span class="entity">class SpringJoint</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/dynamics/joints/SpringJoint"><code>sims/dynamics/joints/SpringJoint.scala</code></a>] + </div><hr></hr> + <a name="SpringJoint"></a><dl> + <dt> + + <code>case</code> + <code>class</code> + <em>SpringJoint</em>(<code>val </code><em>node1</em> : <a href="../../../sims/dynamics/Body.html" target="_self">Body</a>, <code>val </code><em>anchor1</em> : <a href="../../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <code>val </code><em>node2</em> : <a href="../../../sims/dynamics/Body.html" target="_self">Body</a>, <code>val </code><em>anchor2</em> : <a href="../../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <code>val </code><em>springConstant</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>, <code>val </code><em>initialLength</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) + </dt> + <dd><code> extends </code><a href="../../../sims/dynamics/joints/Joint.html" target="_self">Joint</a><code> with </code><a href="../../../sims/dynamics/joints/ForceJoint.html" target="_self">ForceJoint</a><code> with </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a></dd> + </dl> + <dl><dd>Eine Hooksche Feder.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>node1 - </code>erster Koerper der Verbindung</dd><dd><code>anchor1 - </code>Bindungspunkt auf Koerper eins</dd><dd><code>node2 - </code>zweiter Koerper der Verbindung</dd><dd><code>anchor2 - </code>Bindungspunkt auf Koerper zwei</dd><dd><code>springConstant - </code>Federkonstante</dd><dd><code>initialLength - </code>Initiallaenge</dd></dl> + + <table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Additional Constructor Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../../sims/dynamics/joints/SpringJoint.html#this%28sims.dynamics.Body%2Csims.dynamics.Body%2CDouble%29" target="_self">this</a></em> + (<em>node1</em> : <a href="../../../sims/dynamics/Body.html" target="_self">Body</a>, <em>node2</em> : <a href="../../../sims/dynamics/Body.html" target="_self">Body</a>, <em>springConstant</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) : <a href="../../../sims/dynamics/joints/SpringJoint.html" target="_self">SpringJoint</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../../sims/dynamics/joints/SpringJoint.html#this%28sims.dynamics.Body%2Csims.dynamics.Body%2CDouble%2CDouble%29" target="_self">this</a></em> + (<em>node1</em> : <a href="../../../sims/dynamics/Body.html" target="_self">Body</a>, <em>node2</em> : <a href="../../../sims/dynamics/Body.html" target="_self">Body</a>, <em>springConstant</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>, <em>initialLength</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) : <a href="../../../sims/dynamics/joints/SpringJoint.html" target="_self">SpringJoint</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../../sims/dynamics/joints/SpringJoint.html#this%28sims.dynamics.Body%2Csims.geometry.Vector2D%2Csims.dynamics.Body%2Csims.geometry.Vector2D%2CDouble%29" target="_self">this</a></em> + (<em>node1</em> : <a href="../../../sims/dynamics/Body.html" target="_self">Body</a>, <em>anchor1</em> : <a href="../../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <em>node2</em> : <a href="../../../sims/dynamics/Body.html" target="_self">Body</a>, <em>anchor2</em> : <a href="../../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <em>springConstant</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) : <a href="../../../sims/dynamics/joints/SpringJoint.html" target="_self">SpringJoint</a> + + + </td> + </tr> + </table> + +<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="../../../sims/dynamics/joints/SpringJoint.html#damping" target="_self">damping</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + + <div>Daempfung.</div> + </td> + </tr> + </table> +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Method Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../../sims/dynamics/joints/SpringJoint.html#applyForce%28%29" target="_self">applyForce</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + + <div>Uebt die Federkraft auf die Bindungspunkte aus.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../../sims/dynamics/joints/SpringJoint.html#connection1" target="_self">connection1</a></em> + : <a href="../../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + <div>Ergibt den Bindungspunkt auf Koerper eins.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../../sims/dynamics/joints/SpringJoint.html#connection2" target="_self">connection2</a></em> + : <a href="../../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + <div>Ergibt den Bindungspunkt auf Koerper zwei.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../../sims/dynamics/joints/SpringJoint.html#correctPosition%28Double%29" target="_self">correctPosition</a></em> + (<em>h</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>Korrigiert die Position der Koerper damit diese den Randbedingungen der Verbindung entsprechen.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../../sims/dynamics/joints/SpringJoint.html#correctVelocity%28Double%29" target="_self">correctVelocity</a></em> + (<em>h</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>Korrigiert die Geschwindigkeit der Koerper damit diese den Randbedingungen der Verbindung entsprechen.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../../sims/dynamics/joints/SpringJoint.html#equals%28Any%29" target="_self">equals</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../../sims/dynamics/joints/SpringJoint.html#force" target="_self">force</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + + <div>Ergibt die Federkraft nach dem Hookschen Gesetz.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../../sims/dynamics/joints/SpringJoint.html#hashCode%28%29" target="_self">hashCode</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + <div>Returns a hash code value for the object.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../../sims/dynamics/joints/SpringJoint.html#productArity" target="_self">productArity</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../../sims/dynamics/joints/SpringJoint.html#productElement%28Int%29" target="_self">productElement</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../../sims/dynamics/joints/SpringJoint.html#productPrefix" target="_self">productPrefix</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../../sims/dynamics/joints/SpringJoint.html#toString%28%29" target="_self">toString</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + <div>Returns a string representation of the object.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../../sims/dynamics/joints/SpringJoint.html#x" target="_self">x</a></em> + : <a href="../../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + <div>Relative Position der Bindungspunkte.</div> + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + <table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Additional Constructor Details</td></tr> + </table><div><a name="this%28sims.dynamics.Body%2Csims.geometry.Vector2D%2Csims.dynamics.Body%2Csims.geometry.Vector2D%2CDouble%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>this</em>(<em>node1</em> : <a href="../../../sims/dynamics/Body.html" target="_self">Body</a>, <em>anchor1</em> : <a href="../../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <em>node2</em> : <a href="../../../sims/dynamics/Body.html" target="_self">Body</a>, <em>anchor2</em> : <a href="../../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <em>springConstant</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) : <a href="../../../sims/dynamics/joints/SpringJoint.html" target="_self">SpringJoint</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="this%28sims.dynamics.Body%2Csims.dynamics.Body%2CDouble%2CDouble%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>this</em>(<em>node1</em> : <a href="../../../sims/dynamics/Body.html" target="_self">Body</a>, <em>node2</em> : <a href="../../../sims/dynamics/Body.html" target="_self">Body</a>, <em>springConstant</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>, <em>initialLength</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) : <a href="../../../sims/dynamics/joints/SpringJoint.html" target="_self">SpringJoint</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="this%28sims.dynamics.Body%2Csims.dynamics.Body%2CDouble%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>this</em>(<em>node1</em> : <a href="../../../sims/dynamics/Body.html" target="_self">Body</a>, <em>node2</em> : <a href="../../../sims/dynamics/Body.html" target="_self">Body</a>, <em>springConstant</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) : <a href="../../../sims/dynamics/joints/SpringJoint.html" target="_self">SpringJoint</a> + </dt> + <dd></dd> + </dl><hr></hr></div> + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Value Details</td></tr> + </table><div><a name="damping"></a><dl> + <dt> + + <code></code> + <code>var</code> + <em>damping</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Daempfung.</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="connection1"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>connection1</em> : <a href="../../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Ergibt den Bindungspunkt auf Koerper eins.</dd></dl> + <dl></dl> + <hr></hr> +<a name="connection2"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>connection2</em> : <a href="../../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Ergibt den Bindungspunkt auf Koerper zwei.</dd></dl> + <dl></dl> + <hr></hr> +<a name="x"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>x</em> : <a href="../../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Relative Position der Bindungspunkte.</dd></dl> + <dl></dl> + <hr></hr> +<a name="force"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>force</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Ergibt die Federkraft nach dem Hookschen Gesetz.</dd></dl> + <dl></dl> + <hr></hr> +<a name="applyForce%28%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>applyForce</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Uebt die Federkraft auf die Bindungspunkte aus.</dd></dl> + <dl></dl> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../../sims/dynamics/joints/ForceJoint.html" target="_self">ForceJoint</a>.<a href="../../../sims/dynamics/joints/ForceJoint.html#applyForce%28%29" target="_self">applyForce</a> + </dd> + </dl><hr></hr> +<a name="correctPosition%28Double%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>correctPosition</em>(<em>h</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>Korrigiert die Position der Koerper damit diese den Randbedingungen der Verbindung entsprechen.</dd></dl> + <dl></dl> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../../sims/dynamics/joints/Joint.html" target="_self">Joint</a>.<a href="../../../sims/dynamics/joints/Joint.html#correctPosition%28Double%29" target="_self">correctPosition</a> + </dd> + </dl><hr></hr> +<a name="correctVelocity%28Double%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>correctVelocity</em>(<em>h</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>Korrigiert die Geschwindigkeit der Koerper damit diese den Randbedingungen der Verbindung entsprechen.</dd></dl> + <dl></dl> + <dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../../sims/dynamics/joints/Joint.html" target="_self">Joint</a>.<a href="../../../sims/dynamics/joints/Joint.html#correctVelocity%28Double%29" target="_self">correctVelocity</a> + </dd> + </dl><hr></hr> +<a name="hashCode%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>hashCode</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a hash code value for the object.
+ <p>
+ The default hashing algorithm is platform dependent.
+ Note that it is allowed for two objects to have identical hash
+ codes (<code>o1.hashCode.equals(o2.hashCode)</code>) yet not be
+ equal (<code>o1.equals(o2)</code> returns <code>false</code>). A
+ degenerate implementation could always return <code>0</code>.
+ However, it is required that if two objects are equal
+ (<code>o1.equals(o2)</code> returns <code>true</code>) that they
+ have identical hash codes
+ (<code>o1.hashCode.equals(o2.hashCode)</code>). Therefore, when
+ overriding this method, be sure to verify that the behavior is
+ consistent with the <code>equals</code> method.
+ </p>
+ <p></dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>the hash code value for the object. </p></dd></dl> + <hr></hr> +<a name="toString%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>toString</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a string representation of the object.
+ <p>
+ The default representation is platform dependent.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>a string representation of the object. </p></dd></dl> + <hr></hr> +<a name="equals%28Any%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>equals</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.
+
+ <p>
+ The default implementations of this method is an <a
+ href="http://en.wikipedia.org/wiki/Equivalence_relation">equivalence
+ relation</a>:
+ <ul>
+ <li>It is reflexive: for any instance <code>x</code> of type <code>Any</code>,
+ <code>x.equals(x)</code> should return <code>true</code>.</li>
+ <li>It is symmetric: for any instances <code>x</code> and <code>y</code> of type
+ <code>Any</code>, <code>x.equals(y)</code> should return <code>true</code> if and only
+ if <code>y.equals(x)</code> returns <code>true</code>.</li>
+ <li>It is transitive: for any instances
+ <code>x</code>, <code>y</code>, and <code>z</code> of type <code>AnyRef</code>
+ if <code>x.equals(y)</code> returns <code>true</code> and
+ <code>y.equals(z)</code> returns
+ <code>true</code>, then <code>x.equals(z)</code> should return <code>true</code>.</li>
+ </ul>
+ </p>
+ <p>
+ If you override this method, you should verify that
+ your implementation remains an equivalence relation.
+ Additionally, when overriding this method it is often necessary to
+ override <code>hashCode</code> to ensure that objects that are
+ "equal" (<code>o1.equals(o2)</code> returns <code>true</code>)
+ hash to the same <a href="Int.html"><code>Int</code></a>
+ (<code>o1.hashCode.equals(o2.hashCode)</code>).</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>arg0 - </code>the object to compare against this object for equality.</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise. </p></dd></dl> + <hr></hr> +<a name="productPrefix"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productPrefix</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productPrefix" target="contentFrame" class="scala/Product">scala.Product.productPrefix</a> + </dd> + </dl><hr></hr> +<a name="productArity"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productArity</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productArity" target="contentFrame" class="scala/Product">scala.Product.productArity</a> + </dd> + </dl><hr></hr> +<a name="productElement%28Int%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productElement</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productElement" target="contentFrame" class="scala/Product">scala.Product.productElement</a> + </dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/geometry$content.html b/doc/sims/geometry$content.html new file mode 100644 index 0000000..e3cf2bb --- /dev/null +++ b/doc/sims/geometry$content.html @@ -0,0 +1,111 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>All classes and objects in sims.geometry</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../script.js"></script> + </head> + <body onload="init()"><div class="page-title"><div>Simple Mechanics Simulator (SiMS) API</div></div><p><div>This document is the API specification for SiMS</div></p><table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Class Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> trait</code> + </td> + <td class="signature"> + <em><a href="../sims/geometry/ConvexPolygon.html" target="_self">ConvexPolygon</a></em> + <code> extends </code><a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + + <div>Gemeinsame Eigenschaften aller konvexen Polygone.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>case class</code> + </td> + <td class="signature"> + <em><a href="../sims/geometry/Projection.html" target="_self">Projection</a></em> + (<code>val </code><em>axis</em> : <a href="../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <code>val </code><em>lower</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>, <code>val </code><em>upper</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>)<code> extends </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a> + + <div>Projektion auf eine Achse.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>case class</code> + </td> + <td class="signature"> + <em><a href="../sims/geometry/Ray.html" target="_self">Ray</a></em> + (<code>val </code><em>point</em> : <a href="../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <code>val </code><em>direction</em> : <a href="../sims/geometry/Vector2D.html" target="_self">Vector2D</a>)<code> extends </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a> + + <div>Eine Halbgerade wird definiert durch:</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>case class</code> + </td> + <td class="signature"> + <em><a href="../sims/geometry/Segment.html" target="_self">Segment</a></em> + (<code>val </code><em>vertex1</em> : <a href="../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <code>val </code><em>vertex2</em> : <a href="../sims/geometry/Vector2D.html" target="_self">Vector2D</a>)<code> extends </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a> + + <div>Ein Segment wird durch seine beiden Extrempunkte gegeben.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>case class</code> + </td> + <td class="signature"> + <em><a href="../sims/geometry/Vector2D.html" target="_self">Vector2D</a></em> + (<code>val </code><em>x</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>, <code>val </code><em>y</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>)<code> extends </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a> + + <div>Ein 2-dimensionaler Vektor.</div> + </td> + </tr> + </table> +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Object Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> object</code> + </td> + <td class="signature"> + <em><a href="../sims/geometry/Projection$object.html" target="_self">Projection</a></em> + <code> extends </code>(<a href="../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) => <a href="../sims/geometry/Projection.html" target="_self">Projection</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> object</code> + </td> + <td class="signature"> + <em><a href="../sims/geometry/Ray$object.html" target="_self">Ray</a></em> + <code> extends </code>(<a href="../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <a href="../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) => <a href="../sims/geometry/Ray.html" target="_self">Ray</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> object</code> + </td> + <td class="signature"> + <em><a href="../sims/geometry/Segment$object.html" target="_self">Segment</a></em> + <code> extends </code>(<a href="../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <a href="../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) => <a href="../sims/geometry/Segment.html" target="_self">Segment</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> object</code> + </td> + <td class="signature"> + <em><a href="../sims/geometry/Vector2D$object.html" target="_self">Vector2D</a></em> + <code> extends </code><a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + + <div>Dieses Objekt enthaelt spezielle Vektoren.</div> + </td> + </tr> + </table></body> + </html>
\ No newline at end of file diff --git a/doc/sims/geometry$package.html b/doc/sims/geometry$package.html new file mode 100644 index 0000000..c3a4d63 --- /dev/null +++ b/doc/sims/geometry$package.html @@ -0,0 +1,23 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>List of classes and objects in package sims.geometry</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../script.js"></script> + </head> + <body onload="init()"><table summary="" class="navigation"> + <tr><td class="navigation-links" valign="top"> + <a href="../sims/geometry$content.html" target="contentFrame">sims.geometry</a> + </td></tr> + </table><div><div class="kinds" id="Classes">Classes</div><ul class="list"> + <li id="Classes_C"><a href="../sims/geometry/ConvexPolygon.html" target="contentFrame">ConvexPolygon</a></li> +<li id="Classes_P"><a href="../sims/geometry/Projection.html" target="contentFrame">Projection</a></li> +<li id="Classes_R"><a href="../sims/geometry/Ray.html" target="contentFrame">Ray</a></li> +<li id="Classes_S"><a href="../sims/geometry/Segment.html" target="contentFrame">Segment</a></li> +<li id="Classes_V"><a href="../sims/geometry/Vector2D.html" target="contentFrame">Vector2D</a></li> + </ul> +<div class="kinds" id="Objects">Objects</div><ul class="list"> + <li id="Objects_P"><a href="../sims/geometry/Projection$object.html" target="contentFrame">Projection</a></li> +<li id="Objects_R"><a href="../sims/geometry/Ray$object.html" target="contentFrame">Ray</a></li> +<li id="Objects_S"><a href="../sims/geometry/Segment$object.html" target="contentFrame">Segment</a></li> +<li id="Objects_V"><a href="../sims/geometry/Vector2D$object.html" target="contentFrame">Vector2D</a></li> + </ul></div></body> + </html>
\ No newline at end of file diff --git a/doc/sims/geometry/ConvexPolygon.html b/doc/sims/geometry/ConvexPolygon.html new file mode 100644 index 0000000..0545761 --- /dev/null +++ b/doc/sims/geometry/ConvexPolygon.html @@ -0,0 +1,215 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>trait ConvexPolygon in sims.geometry</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/geometry$package.html" target="_self">sims.geometry</a> + <br></br> + <span class="entity">trait ConvexPolygon</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/geometry/ConvexPolygon"><code>sims/geometry/ConvexPolygon.scala</code></a>] + </div><hr></hr> + <a name="ConvexPolygon"></a><dl> + <dt> + + <code></code> + <code>trait</code> + <em>ConvexPolygon</em> + </dt> + <dd><code> extends </code><a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a></dd> + </dl> + <dl><dd>Gemeinsame Eigenschaften aller konvexen Polygone.</dd></dl> + <dl></dl> + <dl> + <dt style="margin:10px 0 0 20px;"><b>Direct Known Subclasses:</b></dt> + <dd><a href="../../sims/dynamics/Rectangle.html" target="_self">Rectangle</a>, <a href="../../sims/dynamics/RegularPolygon.html" target="_self">RegularPolygon</a></dd> + </dl><hr></hr> + + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Method Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/ConvexPolygon.html#AABB" target="_self">AABB</a></em> + : <a href="../../sims/collision/AABB.html" target="_self">AABB</a> + + <div>Errechnet das AABB dieses Polygons</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/ConvexPolygon.html#contains%28sims.geometry.Vector2D%29" target="_self">contains</a></em> + (<em>point</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>Ueberprueft ob sich der gegebene Punkt <code>point</code> in diesem Polygon befindet.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/ConvexPolygon.html#project%28sims.geometry.Vector2D%29" target="_self">project</a></em> + (<em>axis</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="../../sims/geometry/Projection.html" target="_self">Projection</a> + + <div>Ergibt die Projektion dieses Polygons auf eine Gerade gegeben durch den
+ Richtungsvektor <code>axis</code></div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/ConvexPolygon.html#sides" target="_self">sides</a></em> + : <a href="" target="contentFrame" class="scala/Array">scala.Array</a>[<a href="../../sims/geometry/Segment.html" target="_self">Segment</a>] + + <div>Ergibt alle Seiten dieses Polygons.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>abstract def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/ConvexPolygon.html#vertices" target="_self">vertices</a></em> + : <a href="" target="contentFrame" class="scala/Seq">scala.Seq</a>[<a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>] + + <div>Ergibt Position aller Ecken dieses Polygons. Die Ecken sind gegen den Uhrzeigersinn folgend.</div> + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#toString%28%29" target="_self">toString</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="vertices"></a><dl> + <dt> + + <code>abstract</code> + <code>def</code> + <em>vertices</em> : <a href="" target="contentFrame" class="scala/Seq">scala.Seq</a>[<a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>] + </dt> + <dd></dd> + </dl> + <dl><dd>Ergibt Position aller Ecken dieses Polygons. Die Ecken sind gegen den Uhrzeigersinn folgend.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>Ortsvektoren der Ecken</dd></dl> + <hr></hr> +<a name="sides"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>sides</em> : <a href="" target="contentFrame" class="scala/Array">scala.Array</a>[<a href="../../sims/geometry/Segment.html" target="_self">Segment</a>] + </dt> + <dd></dd> + </dl> + <dl><dd>Ergibt alle Seiten dieses Polygons.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>Seiten dieses Polygons</dd></dl> + <hr></hr> +<a name="project%28sims.geometry.Vector2D%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>project</em>(<em>axis</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="../../sims/geometry/Projection.html" target="_self">Projection</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Ergibt die Projektion dieses Polygons auf eine Gerade gegeben durch den
+ Richtungsvektor <code>axis</code></dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>axis - </code>Richtungsvektor der Geraden</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>Projektion dieses Polygons</dd></dl> + <hr></hr> +<a name="AABB"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>AABB</em> : <a href="../../sims/collision/AABB.html" target="_self">AABB</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Errechnet das AABB dieses Polygons</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>umfassendes AABB</dd><dt style="margin:10px 0 0 20px;"> + <b>See Also</b></dt><dd>collision.AABB</dd></dl> + <hr></hr> +<a name="contains%28sims.geometry.Vector2D%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>contains</em>(<em>point</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Ueberprueft ob sich der gegebene Punkt <code>point</code> in diesem Polygon befindet.
+ <p>
+ Hierzu wird eine Halbgerade von dem Punkt in Richtung der X-Achse gezogen (koennte aber auch beliebig sein).
+ Dann wird die Anzahl der Ueberschneidungen der Halbgeraden mit den Seiten und Ecken des Polygons ermittelt.
+ Ist die Anzahl der Ueberschneidungen ungerade, so befindet sich der Punkt in dem Polygon.
+ Es gibt jedoch Ausnahmen, und zwar wenn die Halbgerade eine Ecke ueberschneidet, ueberschneidet sie sowohl auch zwei Seiten.
+ Daher wird eine generelle Anzahl von Uerberschneidungen errechnet, gegeben durch die Anzahl der Ueberschneidungen mit den Seiten minus
+ die mit den Ecken.
+ Diese Zahl wird dann wie oben geschildert geprueft.</dd></dl> + <dl></dl> + <hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/geometry/Projection$object.html b/doc/sims/geometry/Projection$object.html new file mode 100644 index 0000000..4b01917 --- /dev/null +++ b/doc/sims/geometry/Projection$object.html @@ -0,0 +1,82 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object Projection in sims.geometry</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/geometry$package.html" target="_self">sims.geometry</a> + <br></br> + <span class="entity">object Projection</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/geometry/Projection"><code>sims/geometry/Projection.scala</code></a>] + </div><hr></hr> + <a name="Projection"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>Projection</em> + </dt> + <dd><code> extends </code>(<a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) => <a href="../../sims/geometry/Projection.html" target="_self">Projection</a></dd> + </dl> + + + +<table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/Function3">scala.Function3</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#toString" target="contentFrame" class="scala/Function3">scala.Function3.toString</a>, <a href="#curry" target="contentFrame" class="scala/Function3">scala.Function3.curry</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + + + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/geometry/Projection.html b/doc/sims/geometry/Projection.html new file mode 100644 index 0000000..3599777 --- /dev/null +++ b/doc/sims/geometry/Projection.html @@ -0,0 +1,328 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class Projection in sims.geometry</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/geometry$package.html" target="_self">sims.geometry</a> + <br></br> + <span class="entity">class Projection</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/geometry/Projection"><code>sims/geometry/Projection.scala</code></a>] + </div><hr></hr> + <a name="Projection"></a><dl> + <dt> + + <code>case</code> + <code>class</code> + <em>Projection</em>(<code>val </code><em>axis</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <code>val </code><em>lower</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>, <code>val </code><em>upper</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) + </dt> + <dd><code> extends </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a></dd> + </dl> + <dl><dd>Projektion auf eine Achse.
+ <p>
+ Ueblicherweise werden Projektionen in SiMS fuer Kollisionserkennung benutzt.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>axis - </code>Achse der Projektion</dd><dd><code>lower - </code>unterer Wert der Projektion</dd><dd><code>upper - </code>oberer Wert der Projektion</dd></dl> + + + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Method Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Projection.html#equals%28Any%29" target="_self">equals</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Projection.html#hashCode%28%29" target="_self">hashCode</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + <div>Returns a hash code value for the object.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Projection.html#overlap%28sims.geometry.Projection%29" target="_self">overlap</a></em> + (<em>other</em> : <a href="../../sims/geometry/Projection.html" target="_self">Projection</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + + <div>Ergibt die Ueberlappung dieser Projektion und der Projektion <code>other</code>.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Projection.html#overlaps%28sims.geometry.Projection%29" target="_self">overlaps</a></em> + (<em>other</em> : <a href="../../sims/geometry/Projection.html" target="_self">Projection</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>Ueberprueft ob sich diese Projektion mit der Projektion <code>other</code> ueberschneidet.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Projection.html#productArity" target="_self">productArity</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Projection.html#productElement%28Int%29" target="_self">productElement</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Projection.html#productPrefix" target="_self">productPrefix</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Projection.html#toString%28%29" target="_self">toString</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + <div>Returns a string representation of the object.</div> + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="overlaps%28sims.geometry.Projection%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>overlaps</em>(<em>other</em> : <a href="../../sims/geometry/Projection.html" target="_self">Projection</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Ueberprueft ob sich diese Projektion mit der Projektion <code>other</code> ueberschneidet.</dd></dl> + <dl></dl> + <hr></hr> +<a name="overlap%28sims.geometry.Projection%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>overlap</em>(<em>other</em> : <a href="../../sims/geometry/Projection.html" target="_self">Projection</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Ergibt die Ueberlappung dieser Projektion und der Projektion <code>other</code>.</dd></dl> + <dl></dl> + <hr></hr> +<a name="hashCode%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>hashCode</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a hash code value for the object.
+ <p>
+ The default hashing algorithm is platform dependent.
+ Note that it is allowed for two objects to have identical hash
+ codes (<code>o1.hashCode.equals(o2.hashCode)</code>) yet not be
+ equal (<code>o1.equals(o2)</code> returns <code>false</code>). A
+ degenerate implementation could always return <code>0</code>.
+ However, it is required that if two objects are equal
+ (<code>o1.equals(o2)</code> returns <code>true</code>) that they
+ have identical hash codes
+ (<code>o1.hashCode.equals(o2.hashCode)</code>). Therefore, when
+ overriding this method, be sure to verify that the behavior is
+ consistent with the <code>equals</code> method.
+ </p>
+ <p></dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>the hash code value for the object. </p></dd></dl> + <hr></hr> +<a name="toString%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>toString</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a string representation of the object.
+ <p>
+ The default representation is platform dependent.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>a string representation of the object. </p></dd></dl> + <hr></hr> +<a name="equals%28Any%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>equals</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.
+
+ <p>
+ The default implementations of this method is an <a
+ href="http://en.wikipedia.org/wiki/Equivalence_relation">equivalence
+ relation</a>:
+ <ul>
+ <li>It is reflexive: for any instance <code>x</code> of type <code>Any</code>,
+ <code>x.equals(x)</code> should return <code>true</code>.</li>
+ <li>It is symmetric: for any instances <code>x</code> and <code>y</code> of type
+ <code>Any</code>, <code>x.equals(y)</code> should return <code>true</code> if and only
+ if <code>y.equals(x)</code> returns <code>true</code>.</li>
+ <li>It is transitive: for any instances
+ <code>x</code>, <code>y</code>, and <code>z</code> of type <code>AnyRef</code>
+ if <code>x.equals(y)</code> returns <code>true</code> and
+ <code>y.equals(z)</code> returns
+ <code>true</code>, then <code>x.equals(z)</code> should return <code>true</code>.</li>
+ </ul>
+ </p>
+ <p>
+ If you override this method, you should verify that
+ your implementation remains an equivalence relation.
+ Additionally, when overriding this method it is often necessary to
+ override <code>hashCode</code> to ensure that objects that are
+ "equal" (<code>o1.equals(o2)</code> returns <code>true</code>)
+ hash to the same <a href="Int.html"><code>Int</code></a>
+ (<code>o1.hashCode.equals(o2.hashCode)</code>).</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>arg0 - </code>the object to compare against this object for equality.</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise. </p></dd></dl> + <hr></hr> +<a name="productPrefix"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productPrefix</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productPrefix" target="contentFrame" class="scala/Product">scala.Product.productPrefix</a> + </dd> + </dl><hr></hr> +<a name="productArity"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productArity</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productArity" target="contentFrame" class="scala/Product">scala.Product.productArity</a> + </dd> + </dl><hr></hr> +<a name="productElement%28Int%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productElement</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productElement" target="contentFrame" class="scala/Product">scala.Product.productElement</a> + </dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/geometry/Ray$object.html b/doc/sims/geometry/Ray$object.html new file mode 100644 index 0000000..199fc55 --- /dev/null +++ b/doc/sims/geometry/Ray$object.html @@ -0,0 +1,82 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object Ray in sims.geometry</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/geometry$package.html" target="_self">sims.geometry</a> + <br></br> + <span class="entity">object Ray</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/geometry/Ray"><code>sims/geometry/Ray.scala</code></a>] + </div><hr></hr> + <a name="Ray"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>Ray</em> + </dt> + <dd><code> extends </code>(<a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) => <a href="../../sims/geometry/Ray.html" target="_self">Ray</a></dd> + </dl> + + + +<table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/Function2">scala.Function2</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#toString" target="contentFrame" class="scala/Function2">scala.Function2.toString</a>, <a href="#curry" target="contentFrame" class="scala/Function2">scala.Function2.curry</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + + + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/geometry/Ray.html b/doc/sims/geometry/Ray.html new file mode 100644 index 0000000..558153d --- /dev/null +++ b/doc/sims/geometry/Ray.html @@ -0,0 +1,334 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class Ray in sims.geometry</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/geometry$package.html" target="_self">sims.geometry</a> + <br></br> + <span class="entity">class Ray</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/geometry/Ray"><code>sims/geometry/Ray.scala</code></a>] + </div><hr></hr> + <a name="Ray"></a><dl> + <dt> + + <code>case</code> + <code>class</code> + <em>Ray</em>(<code>val </code><em>point</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <code>val </code><em>direction</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) + </dt> + <dd><code> extends </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a></dd> + </dl> + <dl><dd>Eine Halbgerade wird definiert durch:</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>point - </code>ein Aufpunkt</dd><dd><code>direction - </code>ein Richtungsvektor</dd></dl> + + + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Method Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Ray.html#contains%28sims.geometry.Vector2D%29" target="_self">contains</a></em> + (<em>p</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>Ueberprueft ob diese Halbgerade den gegebenen Punkt enthaelt.
+ <br>
+ Hierzu wird der Vektor von dem Ursprungspunkt zu dem zu ueberpruefenden Punkt gebildet. Dieser wird dann mit dem Richtungsvektor
+ auf Kolinearitaet geprueft.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Ray.html#equals%28Any%29" target="_self">equals</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Ray.html#hashCode%28%29" target="_self">hashCode</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + <div>Returns a hash code value for the object.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Ray.html#intersects%28sims.geometry.Segment%29" target="_self">intersects</a></em> + (<em>s</em> : <a href="../../sims/geometry/Segment.html" target="_self">Segment</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>Ueberprueft ob diese Halbgerade das gegebene Segment ueberschneidet.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Ray.html#productArity" target="_self">productArity</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Ray.html#productElement%28Int%29" target="_self">productElement</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Ray.html#productPrefix" target="_self">productPrefix</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Ray.html#toString%28%29" target="_self">toString</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + <div>Returns a string representation of the object.</div> + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="intersects%28sims.geometry.Segment%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>intersects</em>(<em>s</em> : <a href="../../sims/geometry/Segment.html" target="_self">Segment</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Ueberprueft ob diese Halbgerade das gegebene Segment ueberschneidet.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>das - </code>auf Ueberschneidung zu uerberpruefende Segment</dd></dl> + <hr></hr> +<a name="contains%28sims.geometry.Vector2D%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>contains</em>(<em>p</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Ueberprueft ob diese Halbgerade den gegebenen Punkt enthaelt.
+ <br>
+ Hierzu wird der Vektor von dem Ursprungspunkt zu dem zu ueberpruefenden Punkt gebildet. Dieser wird dann mit dem Richtungsvektor
+ auf Kolinearitaet geprueft.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>p - </code>Ortsvektor des oben genannten Punkt</dd></dl> + <hr></hr> +<a name="hashCode%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>hashCode</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a hash code value for the object.
+ <p>
+ The default hashing algorithm is platform dependent.
+ Note that it is allowed for two objects to have identical hash
+ codes (<code>o1.hashCode.equals(o2.hashCode)</code>) yet not be
+ equal (<code>o1.equals(o2)</code> returns <code>false</code>). A
+ degenerate implementation could always return <code>0</code>.
+ However, it is required that if two objects are equal
+ (<code>o1.equals(o2)</code> returns <code>true</code>) that they
+ have identical hash codes
+ (<code>o1.hashCode.equals(o2.hashCode)</code>). Therefore, when
+ overriding this method, be sure to verify that the behavior is
+ consistent with the <code>equals</code> method.
+ </p>
+ <p></dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>the hash code value for the object. </p></dd></dl> + <hr></hr> +<a name="toString%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>toString</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a string representation of the object.
+ <p>
+ The default representation is platform dependent.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>a string representation of the object. </p></dd></dl> + <hr></hr> +<a name="equals%28Any%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>equals</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.
+
+ <p>
+ The default implementations of this method is an <a
+ href="http://en.wikipedia.org/wiki/Equivalence_relation">equivalence
+ relation</a>:
+ <ul>
+ <li>It is reflexive: for any instance <code>x</code> of type <code>Any</code>,
+ <code>x.equals(x)</code> should return <code>true</code>.</li>
+ <li>It is symmetric: for any instances <code>x</code> and <code>y</code> of type
+ <code>Any</code>, <code>x.equals(y)</code> should return <code>true</code> if and only
+ if <code>y.equals(x)</code> returns <code>true</code>.</li>
+ <li>It is transitive: for any instances
+ <code>x</code>, <code>y</code>, and <code>z</code> of type <code>AnyRef</code>
+ if <code>x.equals(y)</code> returns <code>true</code> and
+ <code>y.equals(z)</code> returns
+ <code>true</code>, then <code>x.equals(z)</code> should return <code>true</code>.</li>
+ </ul>
+ </p>
+ <p>
+ If you override this method, you should verify that
+ your implementation remains an equivalence relation.
+ Additionally, when overriding this method it is often necessary to
+ override <code>hashCode</code> to ensure that objects that are
+ "equal" (<code>o1.equals(o2)</code> returns <code>true</code>)
+ hash to the same <a href="Int.html"><code>Int</code></a>
+ (<code>o1.hashCode.equals(o2.hashCode)</code>).</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>arg0 - </code>the object to compare against this object for equality.</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise. </p></dd></dl> + <hr></hr> +<a name="productPrefix"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productPrefix</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productPrefix" target="contentFrame" class="scala/Product">scala.Product.productPrefix</a> + </dd> + </dl><hr></hr> +<a name="productArity"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productArity</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productArity" target="contentFrame" class="scala/Product">scala.Product.productArity</a> + </dd> + </dl><hr></hr> +<a name="productElement%28Int%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productElement</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productElement" target="contentFrame" class="scala/Product">scala.Product.productElement</a> + </dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/geometry/Segment$object.html b/doc/sims/geometry/Segment$object.html new file mode 100644 index 0000000..fae9e31 --- /dev/null +++ b/doc/sims/geometry/Segment$object.html @@ -0,0 +1,82 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object Segment in sims.geometry</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/geometry$package.html" target="_self">sims.geometry</a> + <br></br> + <span class="entity">object Segment</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/geometry/Segment"><code>sims/geometry/Segment.scala</code></a>] + </div><hr></hr> + <a name="Segment"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>Segment</em> + </dt> + <dd><code> extends </code>(<a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) => <a href="../../sims/geometry/Segment.html" target="_self">Segment</a></dd> + </dl> + + + +<table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/Function2">scala.Function2</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#toString" target="contentFrame" class="scala/Function2">scala.Function2.toString</a>, <a href="#curry" target="contentFrame" class="scala/Function2">scala.Function2.curry</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + + + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/geometry/Segment.html b/doc/sims/geometry/Segment.html new file mode 100644 index 0000000..2cc0453 --- /dev/null +++ b/doc/sims/geometry/Segment.html @@ -0,0 +1,441 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class Segment in sims.geometry</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/geometry$package.html" target="_self">sims.geometry</a> + <br></br> + <span class="entity">class Segment</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/geometry/Segment"><code>sims/geometry/Segment.scala</code></a>] + </div><hr></hr> + <a name="Segment"></a><dl> + <dt> + + <code>case</code> + <code>class</code> + <em>Segment</em>(<code>val </code><em>vertex1</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <code>val </code><em>vertex2</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) + </dt> + <dd><code> extends </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a></dd> + </dl> + <dl><dd>Ein Segment wird durch seine beiden Extrempunkte gegeben.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>vertex1 - </code>Ortsvektor des 1. Extrempunkts</dd><dd><code>vertex2 - </code>Ortsvektor des 2. Extrempunkts</dd></dl> + + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Segment.html#d" target="_self">d</a></em> + : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + <div>Vektor von EP1 zu EP2.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Segment.html#d0" target="_self">d0</a></em> + : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + <div>Einheitsrichtungsvektor.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Segment.html#length" target="_self">length</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + + <div>Laenge dieses Segments.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Segment.html#n" target="_self">n</a></em> + : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + <div>Normalenvektor. Richtung: 90 Grad rechts zu d.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Segment.html#n0" target="_self">n0</a></em> + : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + <div>Normaleneinheitsvektor. Richtung: 90 Grad rechts zu d.</div> + </td> + </tr> + </table> +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Method Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Segment.html#clipToSegment%28sims.geometry.Segment%29" target="_self">clipToSegment</a></em> + (<em>s</em> : <a href="../../sims/geometry/Segment.html" target="_self">Segment</a>) : <a href="" target="contentFrame" class="scala/Option">scala.Option</a>[<a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>] + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Segment.html#distance%28sims.geometry.Vector2D%29" target="_self">distance</a></em> + (<em>point</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + + <div>Kleinster Abstand zwischen diesem Segment und dem Punkt <code>p</code>.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Segment.html#equals%28Any%29" target="_self">equals</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Segment.html#hashCode%28%29" target="_self">hashCode</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + <div>Returns a hash code value for the object.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Segment.html#productArity" target="_self">productArity</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Segment.html#productElement%28Int%29" target="_self">productElement</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Segment.html#productPrefix" target="_self">productPrefix</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Segment.html#toString%28%29" target="_self">toString</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + <div>Returns a string representation of the object.</div> + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Value Details</td></tr> + </table><div><a name="length"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>length</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Laenge dieses Segments.</dd></dl> + <dl></dl> + <hr></hr> +<a name="d"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>d</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Vektor von EP1 zu EP2.</dd></dl> + <dl></dl> + <hr></hr> +<a name="d0"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>d0</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Einheitsrichtungsvektor.</dd></dl> + <dl></dl> + <hr></hr> +<a name="n"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>n</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Normalenvektor. Richtung: 90 Grad rechts zu d.</dd></dl> + <dl></dl> + <hr></hr> +<a name="n0"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>n0</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Normaleneinheitsvektor. Richtung: 90 Grad rechts zu d.</dd></dl> + <dl></dl> + <hr></hr></div> +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="distance%28sims.geometry.Vector2D%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>distance</em>(<em>point</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Kleinster Abstand zwischen diesem Segment und dem Punkt <code>p</code>.</dd></dl> + <dl></dl> + <hr></hr> +<a name="clipToSegment%28sims.geometry.Segment%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>clipToSegment</em>(<em>s</em> : <a href="../../sims/geometry/Segment.html" target="_self">Segment</a>) : <a href="" target="contentFrame" class="scala/Option">scala.Option</a>[<a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>] + </dt> + <dd></dd> + </dl><hr></hr> +<a name="hashCode%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>hashCode</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a hash code value for the object.
+ <p>
+ The default hashing algorithm is platform dependent.
+ Note that it is allowed for two objects to have identical hash
+ codes (<code>o1.hashCode.equals(o2.hashCode)</code>) yet not be
+ equal (<code>o1.equals(o2)</code> returns <code>false</code>). A
+ degenerate implementation could always return <code>0</code>.
+ However, it is required that if two objects are equal
+ (<code>o1.equals(o2)</code> returns <code>true</code>) that they
+ have identical hash codes
+ (<code>o1.hashCode.equals(o2.hashCode)</code>). Therefore, when
+ overriding this method, be sure to verify that the behavior is
+ consistent with the <code>equals</code> method.
+ </p>
+ <p></dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>the hash code value for the object. </p></dd></dl> + <hr></hr> +<a name="toString%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>toString</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a string representation of the object.
+ <p>
+ The default representation is platform dependent.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>a string representation of the object. </p></dd></dl> + <hr></hr> +<a name="equals%28Any%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>equals</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.
+
+ <p>
+ The default implementations of this method is an <a
+ href="http://en.wikipedia.org/wiki/Equivalence_relation">equivalence
+ relation</a>:
+ <ul>
+ <li>It is reflexive: for any instance <code>x</code> of type <code>Any</code>,
+ <code>x.equals(x)</code> should return <code>true</code>.</li>
+ <li>It is symmetric: for any instances <code>x</code> and <code>y</code> of type
+ <code>Any</code>, <code>x.equals(y)</code> should return <code>true</code> if and only
+ if <code>y.equals(x)</code> returns <code>true</code>.</li>
+ <li>It is transitive: for any instances
+ <code>x</code>, <code>y</code>, and <code>z</code> of type <code>AnyRef</code>
+ if <code>x.equals(y)</code> returns <code>true</code> and
+ <code>y.equals(z)</code> returns
+ <code>true</code>, then <code>x.equals(z)</code> should return <code>true</code>.</li>
+ </ul>
+ </p>
+ <p>
+ If you override this method, you should verify that
+ your implementation remains an equivalence relation.
+ Additionally, when overriding this method it is often necessary to
+ override <code>hashCode</code> to ensure that objects that are
+ "equal" (<code>o1.equals(o2)</code> returns <code>true</code>)
+ hash to the same <a href="Int.html"><code>Int</code></a>
+ (<code>o1.hashCode.equals(o2.hashCode)</code>).</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>arg0 - </code>the object to compare against this object for equality.</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise. </p></dd></dl> + <hr></hr> +<a name="productPrefix"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productPrefix</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productPrefix" target="contentFrame" class="scala/Product">scala.Product.productPrefix</a> + </dd> + </dl><hr></hr> +<a name="productArity"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productArity</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productArity" target="contentFrame" class="scala/Product">scala.Product.productArity</a> + </dd> + </dl><hr></hr> +<a name="productElement%28Int%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productElement</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productElement" target="contentFrame" class="scala/Product">scala.Product.productElement</a> + </dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/geometry/Vector2D$object.html b/doc/sims/geometry/Vector2D$object.html new file mode 100644 index 0000000..188f206 --- /dev/null +++ b/doc/sims/geometry/Vector2D$object.html @@ -0,0 +1,150 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object Vector2D in sims.geometry</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/geometry$package.html" target="_self">sims.geometry</a> + <br></br> + <span class="entity">object Vector2D</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/geometry/Vector2D"><code>sims/geometry/Vector2D.scala</code></a>] + </div><hr></hr> + <a name="Vector2D"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>Vector2D</em> + </dt> + <dd><code> extends </code><a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a></dd> + </dl> + <dl><dd>Dieses Objekt enthaelt spezielle Vektoren.</dd></dl> + <dl></dl> + + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Vector2D$object.html#Null" target="_self">Null</a></em> + : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + <div>Nullvektor.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Vector2D$object.html#i" target="_self">i</a></em> + : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + <div>Ein horizontaler Einheitsvektor mit den Komponenten (1;0).</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Vector2D$object.html#j" target="_self">j</a></em> + : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + <div>Ein vertikaler Einheitsvektor mit den Komponenten (0;1).</div> + </td> + </tr> + </table> +<table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#toString%28%29" target="_self">toString</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Value Details</td></tr> + </table><div><a name="Null"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>Null</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Nullvektor.</dd></dl> + <dl></dl> + <hr></hr> +<a name="i"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>i</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Ein horizontaler Einheitsvektor mit den Komponenten (1;0).</dd></dl> + <dl></dl> + <hr></hr> +<a name="j"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>j</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Ein vertikaler Einheitsvektor mit den Komponenten (0;1).</dd></dl> + <dl></dl> + <hr></hr></div> + + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/geometry/Vector2D.html b/doc/sims/geometry/Vector2D.html new file mode 100644 index 0000000..5e541fb --- /dev/null +++ b/doc/sims/geometry/Vector2D.html @@ -0,0 +1,644 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class Vector2D in sims.geometry</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/geometry$package.html" target="_self">sims.geometry</a> + <br></br> + <span class="entity">class Vector2D</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/geometry/Vector2D"><code>sims/geometry/Vector2D.scala</code></a>] + </div><hr></hr> + <a name="Vector2D"></a><dl> + <dt> + + <code>case</code> + <code>class</code> + <em>Vector2D</em>(<code>val </code><em>x</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>, <code>val </code><em>y</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) + </dt> + <dd><code> extends </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a></dd> + </dl> + <dl><dd>Ein 2-dimensionaler Vektor.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>x - </code>1. Komponente</dd><dd><code>y - </code>2. Komponente</dd></dl> + + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Vector2D.html#length" target="_self">length</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + + <div>Norm dieses Vektors.</div> + </td> + </tr> + </table> +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Method Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Vector2D.html#*%28Double%29" target="_self">*</a></em> + (<em>n</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + <div>Multiplikation mit einem Skalar.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Vector2D.html#%2B%28sims.geometry.Vector2D%29" target="_self">+</a></em> + (<em>v</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + <div>Vektoraddition.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Vector2D.html#-%28sims.geometry.Vector2D%29" target="_self">-</a></em> + (<em>v</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + <div>Vektorsubstraktion.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Vector2D.html#%2F%28Double%29" target="_self">/</a></em> + (<em>n</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + <div>Division durch ein Skalar.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Vector2D.html#components" target="_self">components</a></em> + : <a href="" target="contentFrame" class="scala/List">scala.List</a>[<a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>] + + <div>Ergibt eine Liste der Komponenten dieses Vektors.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Vector2D.html#cross%28sims.geometry.Vector2D%29" target="_self">cross</a></em> + (<em>v</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + + <div>Kreuzprodukt. (Norm des Kreuzproduktes)</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Vector2D.html#dot%28sims.geometry.Vector2D%29" target="_self">dot</a></em> + (<em>v</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + + <div>Skalarprodukt.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Vector2D.html#equals%28Any%29" target="_self">equals</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Vector2D.html#hashCode%28%29" target="_self">hashCode</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + <div>Returns a hash code value for the object.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Vector2D.html#isNull" target="_self">isNull</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>Ueberprueft, ob die Komponenten dieses Vektors gleich Null sind.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Vector2D.html#leftNormal" target="_self">leftNormal</a></em> + : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + <div>Linker Normalenvektor. (-y, x)</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Vector2D.html#productArity" target="_self">productArity</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Vector2D.html#productElement%28Int%29" target="_self">productElement</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Vector2D.html#productPrefix" target="_self">productPrefix</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Vector2D.html#project%28sims.geometry.Vector2D%29" target="_self">project</a></em> + (<em>v</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + <div>Errechnet die Projektion dieses- auf einen anderen Vektor.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Vector2D.html#rightNormal" target="_self">rightNormal</a></em> + : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + <div>Rechter Normalenvektor. (y, -x)</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Vector2D.html#rotate%28Double%29" target="_self">rotate</a></em> + (<em>angle</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + <div>Errechnet eine Rotation dieses Vektors.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Vector2D.html#toString%28%29" target="_self">toString</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + <div>Returns a string representation of the object.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Vector2D.html#unary_-" target="_self">unary_-</a></em> + : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + <div>Minusvorzeichen.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/geometry/Vector2D.html#unit" target="_self">unit</a></em> + : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + <div>Einheitsvektor dieses Vektors.</div> + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Value Details</td></tr> + </table><div><a name="length"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>length</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Norm dieses Vektors.</dd></dl> + <dl></dl> + <hr></hr></div> +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="%2B%28sims.geometry.Vector2D%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>+</em>(<em>v</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Vektoraddition.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>v - </code>zu addierender Vektor</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>dieser Vektor addiert mit <code>v</code></dd></dl> + <hr></hr> +<a name="-%28sims.geometry.Vector2D%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>-</em>(<em>v</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Vektorsubstraktion.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>v - </code>zu substrahierender Vektor</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>dieser Vektor substrahiert mit <code>v</code></dd></dl> + <hr></hr> +<a name="*%28Double%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>*</em>(<em>n</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Multiplikation mit einem Skalar.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>n - </code>Faktor</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>dieser Vektor multipliziert mit <code>n</code></dd></dl> + <hr></hr> +<a name="%2F%28Double%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>/</em>(<em>n</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Division durch ein Skalar.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>n - </code>Nenner</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>dieser Vektor dividiert durch <code>n</code></dd></dl> + <hr></hr> +<a name="unary_-"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>unary_-</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Minusvorzeichen.</dd></dl> + <dl></dl> + <hr></hr> +<a name="dot%28sims.geometry.Vector2D%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>dot</em>(<em>v</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Skalarprodukt.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>v - </code>ein anderer Vektor</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>Skalarprodukt von diesem Vektor mit <code>v</code></dd></dl> + <hr></hr> +<a name="cross%28sims.geometry.Vector2D%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>cross</em>(<em>v</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Kreuzprodukt. (Norm des Kreuzproduktes)</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>v - </code>ein anderer Vektor</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>Norm des Kreuzproduktes dieses Vektors mit <code>v</code>. Die Richtung wuerde der x3-Achse entsprechen.</dd></dl> + <hr></hr> +<a name="unit"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>unit</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Einheitsvektor dieses Vektors.</dd></dl> + <dl></dl> + <hr></hr> +<a name="project%28sims.geometry.Vector2D%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>project</em>(<em>v</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Errechnet die Projektion dieses- auf einen anderen Vektor.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>v - </code>oben gennanter Vektor</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>Projektion dieses Vektors auf <code>v</code></dd></dl> + <hr></hr> +<a name="rotate%28Double%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>rotate</em>(<em>angle</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Errechnet eine Rotation dieses Vektors.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>angle - </code>Winkel in Radian</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>der um <code>angle</code> rad rotierte Vektor</dd></dl> + <hr></hr> +<a name="leftNormal"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>leftNormal</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Linker Normalenvektor. (-y, x)</dd></dl> + <dl></dl> + <hr></hr> +<a name="rightNormal"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>rightNormal</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Rechter Normalenvektor. (y, -x)</dd></dl> + <dl></dl> + <hr></hr> +<a name="isNull"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>isNull</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Ueberprueft, ob die Komponenten dieses Vektors gleich Null sind.</dd></dl> + <dl></dl> + <hr></hr> +<a name="components"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>components</em> : <a href="" target="contentFrame" class="scala/List">scala.List</a>[<a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>] + </dt> + <dd></dd> + </dl> + <dl><dd>Ergibt eine Liste der Komponenten dieses Vektors.</dd></dl> + <dl></dl> + <hr></hr> +<a name="hashCode%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>hashCode</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a hash code value for the object.
+ <p>
+ The default hashing algorithm is platform dependent.
+ Note that it is allowed for two objects to have identical hash
+ codes (<code>o1.hashCode.equals(o2.hashCode)</code>) yet not be
+ equal (<code>o1.equals(o2)</code> returns <code>false</code>). A
+ degenerate implementation could always return <code>0</code>.
+ However, it is required that if two objects are equal
+ (<code>o1.equals(o2)</code> returns <code>true</code>) that they
+ have identical hash codes
+ (<code>o1.hashCode.equals(o2.hashCode)</code>). Therefore, when
+ overriding this method, be sure to verify that the behavior is
+ consistent with the <code>equals</code> method.
+ </p>
+ <p></dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>the hash code value for the object. </p></dd></dl> + <hr></hr> +<a name="toString%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>toString</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a string representation of the object.
+ <p>
+ The default representation is platform dependent.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>a string representation of the object. </p></dd></dl> + <hr></hr> +<a name="equals%28Any%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>equals</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.
+
+ <p>
+ The default implementations of this method is an <a
+ href="http://en.wikipedia.org/wiki/Equivalence_relation">equivalence
+ relation</a>:
+ <ul>
+ <li>It is reflexive: for any instance <code>x</code> of type <code>Any</code>,
+ <code>x.equals(x)</code> should return <code>true</code>.</li>
+ <li>It is symmetric: for any instances <code>x</code> and <code>y</code> of type
+ <code>Any</code>, <code>x.equals(y)</code> should return <code>true</code> if and only
+ if <code>y.equals(x)</code> returns <code>true</code>.</li>
+ <li>It is transitive: for any instances
+ <code>x</code>, <code>y</code>, and <code>z</code> of type <code>AnyRef</code>
+ if <code>x.equals(y)</code> returns <code>true</code> and
+ <code>y.equals(z)</code> returns
+ <code>true</code>, then <code>x.equals(z)</code> should return <code>true</code>.</li>
+ </ul>
+ </p>
+ <p>
+ If you override this method, you should verify that
+ your implementation remains an equivalence relation.
+ Additionally, when overriding this method it is often necessary to
+ override <code>hashCode</code> to ensure that objects that are
+ "equal" (<code>o1.equals(o2)</code> returns <code>true</code>)
+ hash to the same <a href="Int.html"><code>Int</code></a>
+ (<code>o1.hashCode.equals(o2.hashCode)</code>).</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>arg0 - </code>the object to compare against this object for equality.</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise. </p></dd></dl> + <hr></hr> +<a name="productPrefix"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productPrefix</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productPrefix" target="contentFrame" class="scala/Product">scala.Product.productPrefix</a> + </dd> + </dl><hr></hr> +<a name="productArity"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productArity</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productArity" target="contentFrame" class="scala/Product">scala.Product.productArity</a> + </dd> + </dl><hr></hr> +<a name="productElement%28Int%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productElement</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productElement" target="contentFrame" class="scala/Product">scala.Product.productElement</a> + </dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/math$content.html b/doc/sims/math$content.html new file mode 100644 index 0000000..871d764 --- /dev/null +++ b/doc/sims/math$content.html @@ -0,0 +1,34 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>All classes and objects in sims.math</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()"><div class="page-title"><div>Simple Mechanics Simulator (SiMS) API</div></div><p><div>This document is the API specification for SiMS</div></p><table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Class Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code>case class</code> + </td> + <td class="signature"> + <em><a href="../sims/math/Matrix22.html" target="_self">Matrix22</a></em> + (<code>val </code><em>c11</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>, <code>val </code><em>c12</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>, <code>val </code><em>c21</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>, <code>val </code><em>c22</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>)<code> extends </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a> + + <div>Eine 2x2, quadratische Matrix.</div> + </td> + </tr> + </table> +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Object Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> object</code> + </td> + <td class="signature"> + <em><a href="../sims/math/Matrix22$object.html" target="_self">Matrix22</a></em> + <code> extends </code><a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + + + </td> + </tr> + </table></body> + </html>
\ No newline at end of file diff --git a/doc/sims/math$package.html b/doc/sims/math$package.html new file mode 100644 index 0000000..ac34016 --- /dev/null +++ b/doc/sims/math$package.html @@ -0,0 +1,16 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>List of classes and objects in package sims.math</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"> + <a href="../sims/math$content.html" target="contentFrame">sims.math</a> + </td></tr> + </table><div><div class="kinds" id="Classes">Classes</div><ul class="list"> + <li id="Classes_M"><a href="../sims/math/Matrix22.html" target="contentFrame">Matrix22</a></li> + </ul> +<div class="kinds" id="Objects">Objects</div><ul class="list"> + <li id="Objects_M"><a href="../sims/math/Matrix22$object.html" target="contentFrame">Matrix22</a></li> + </ul></div></body> + </html>
\ No newline at end of file diff --git a/doc/sims/math/Matrix22$object.html b/doc/sims/math/Matrix22$object.html new file mode 100644 index 0000000..9411340 --- /dev/null +++ b/doc/sims/math/Matrix22$object.html @@ -0,0 +1,98 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object Matrix22 in sims.math</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/math$package.html" target="_self">sims.math</a> + <br></br> + <span class="entity">object Matrix22</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/math/Matrix22"><code>sims/math/Matrix22.scala</code></a>] + </div><hr></hr> + <a name="Matrix22"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>Matrix22</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> + + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Method Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/math/Matrix22$object.html#apply%28sims.geometry.Vector2D%2Csims.geometry.Vector2D%29" target="_self">apply</a></em> + (<em>c1</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <em>c2</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="../../sims/math/Matrix22.html" target="_self">Matrix22</a> + + + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#toString%28%29" target="_self">toString</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="apply%28sims.geometry.Vector2D%2Csims.geometry.Vector2D%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>apply</em>(<em>c1</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <em>c2</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="../../sims/math/Matrix22.html" target="_self">Matrix22</a> + </dt> + <dd></dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/math/Matrix22.html b/doc/sims/math/Matrix22.html new file mode 100644 index 0000000..82cf176 --- /dev/null +++ b/doc/sims/math/Matrix22.html @@ -0,0 +1,448 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class Matrix22 in sims.math</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/math$package.html" target="_self">sims.math</a> + <br></br> + <span class="entity">class Matrix22</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/math/Matrix22"><code>sims/math/Matrix22.scala</code></a>] + </div><hr></hr> + <a name="Matrix22"></a><dl> + <dt> + + <code>case</code> + <code>class</code> + <em>Matrix22</em>(<code>val </code><em>c11</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>, <code>val </code><em>c12</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>, <code>val </code><em>c21</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>, <code>val </code><em>c22</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) + </dt> + <dd><code> extends </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a></dd> + </dl> + <dl><dd>Eine 2x2, quadratische Matrix.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>c11 - </code>Komponente 1,1</dd><dd><code>c12 - </code>Komponente 1,2</dd><dd><code>c21 - </code>Komponente 2,1</dd><dd><code>c22 - </code>Komponente 2,2</dd></dl> + + <table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Additional Constructor Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/math/Matrix22.html#this%28sims.geometry.Vector2D%2Csims.geometry.Vector2D%29" target="_self">this</a></em> + (<em>c1</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <em>c2</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="../../sims/math/Matrix22.html" target="_self">Matrix22</a> + + <div>Eine 2x2-dimensionale, quadratische Matrix kann auch mit zwei 2-dimensionalen
+ Vektoren erstellt werden. In diesem Fall repraesentiert jeder Vektor eine Spalte.</div> + </td> + </tr> + </table> + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Method Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/math/Matrix22.html#*%28sims.geometry.Vector2D%29" target="_self">*</a></em> + (<em>v</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + <div>Multiplikation mit einer 2x1-Matrix (2-dimensionaler Vektor).</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/math/Matrix22.html#*%28Double%29" target="_self">*</a></em> + (<em>n</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) : <a href="../../sims/math/Matrix22.html" target="_self">Matrix22</a> + + <div>Multiplikation mit einem Skalar.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/math/Matrix22.html#*%28sims.math.Matrix22%29" target="_self">*</a></em> + (<em>m</em> : <a href="../../sims/math/Matrix22.html" target="_self">Matrix22</a>) : <a href="../../sims/math/Matrix22.html" target="_self">Matrix22</a> + + <div>Multiplikation mit einer anderen 2x2-Matrix.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/math/Matrix22.html#%2B%28sims.math.Matrix22%29" target="_self">+</a></em> + (<em>m</em> : <a href="../../sims/math/Matrix22.html" target="_self">Matrix22</a>) : <a href="../../sims/math/Matrix22.html" target="_self">Matrix22</a> + + <div>Addition.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/math/Matrix22.html#det" target="_self">det</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + + <div>Ergibt die Determinante dieser Matrix.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/math/Matrix22.html#equals%28Any%29" target="_self">equals</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/math/Matrix22.html#hashCode%28%29" target="_self">hashCode</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + <div>Returns a hash code value for the object.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/math/Matrix22.html#invert" target="_self">invert</a></em> + : <a href="../../sims/math/Matrix22.html" target="_self">Matrix22</a> + + <div>Inverse.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/math/Matrix22.html#productArity" target="_self">productArity</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/math/Matrix22.html#productElement%28Int%29" target="_self">productElement</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/math/Matrix22.html#productPrefix" target="_self">productPrefix</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/math/Matrix22.html#toString%28%29" target="_self">toString</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + <div>Returns a string representation of the object.</div> + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + <table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Additional Constructor Details</td></tr> + </table><div><a name="this%28sims.geometry.Vector2D%2Csims.geometry.Vector2D%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>this</em>(<em>c1</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <em>c2</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="../../sims/math/Matrix22.html" target="_self">Matrix22</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Eine 2x2-dimensionale, quadratische Matrix kann auch mit zwei 2-dimensionalen
+ Vektoren erstellt werden. In diesem Fall repraesentiert jeder Vektor eine Spalte.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>c1 - </code>erste Spalte</dd><dd><code>c2 - </code>zweite Spalte</dd></dl> + <hr></hr></div> + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="det"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>det</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Ergibt die Determinante dieser Matrix.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>Determinante dieser Matrix</dd></dl> + <hr></hr> +<a name="%2B%28sims.math.Matrix22%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>+</em>(<em>m</em> : <a href="../../sims/math/Matrix22.html" target="_self">Matrix22</a>) : <a href="../../sims/math/Matrix22.html" target="_self">Matrix22</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Addition.</dd></dl> + <dl></dl> + <hr></hr> +<a name="*%28Double%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>*</em>(<em>n</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) : <a href="../../sims/math/Matrix22.html" target="_self">Matrix22</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Multiplikation mit einem Skalar.</dd></dl> + <dl></dl> + <hr></hr> +<a name="*%28sims.math.Matrix22%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>*</em>(<em>m</em> : <a href="../../sims/math/Matrix22.html" target="_self">Matrix22</a>) : <a href="../../sims/math/Matrix22.html" target="_self">Matrix22</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Multiplikation mit einer anderen 2x2-Matrix.</dd></dl> + <dl></dl> + <hr></hr> +<a name="*%28sims.geometry.Vector2D%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>*</em>(<em>v</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Multiplikation mit einer 2x1-Matrix (2-dimensionaler Vektor).</dd></dl> + <dl></dl> + <hr></hr> +<a name="invert"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>invert</em> : <a href="../../sims/math/Matrix22.html" target="_self">Matrix22</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Inverse.</dd></dl> + <dl></dl> + <hr></hr> +<a name="hashCode%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>hashCode</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a hash code value for the object.
+ <p>
+ The default hashing algorithm is platform dependent.
+ Note that it is allowed for two objects to have identical hash
+ codes (<code>o1.hashCode.equals(o2.hashCode)</code>) yet not be
+ equal (<code>o1.equals(o2)</code> returns <code>false</code>). A
+ degenerate implementation could always return <code>0</code>.
+ However, it is required that if two objects are equal
+ (<code>o1.equals(o2)</code> returns <code>true</code>) that they
+ have identical hash codes
+ (<code>o1.hashCode.equals(o2.hashCode)</code>). Therefore, when
+ overriding this method, be sure to verify that the behavior is
+ consistent with the <code>equals</code> method.
+ </p>
+ <p></dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>the hash code value for the object. </p></dd></dl> + <hr></hr> +<a name="toString%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>toString</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a string representation of the object.
+ <p>
+ The default representation is platform dependent.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>a string representation of the object. </p></dd></dl> + <hr></hr> +<a name="equals%28Any%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>equals</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.
+
+ <p>
+ The default implementations of this method is an <a
+ href="http://en.wikipedia.org/wiki/Equivalence_relation">equivalence
+ relation</a>:
+ <ul>
+ <li>It is reflexive: for any instance <code>x</code> of type <code>Any</code>,
+ <code>x.equals(x)</code> should return <code>true</code>.</li>
+ <li>It is symmetric: for any instances <code>x</code> and <code>y</code> of type
+ <code>Any</code>, <code>x.equals(y)</code> should return <code>true</code> if and only
+ if <code>y.equals(x)</code> returns <code>true</code>.</li>
+ <li>It is transitive: for any instances
+ <code>x</code>, <code>y</code>, and <code>z</code> of type <code>AnyRef</code>
+ if <code>x.equals(y)</code> returns <code>true</code> and
+ <code>y.equals(z)</code> returns
+ <code>true</code>, then <code>x.equals(z)</code> should return <code>true</code>.</li>
+ </ul>
+ </p>
+ <p>
+ If you override this method, you should verify that
+ your implementation remains an equivalence relation.
+ Additionally, when overriding this method it is often necessary to
+ override <code>hashCode</code> to ensure that objects that are
+ "equal" (<code>o1.equals(o2)</code> returns <code>true</code>)
+ hash to the same <a href="Int.html"><code>Int</code></a>
+ (<code>o1.hashCode.equals(o2.hashCode)</code>).</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>arg0 - </code>the object to compare against this object for equality.</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise. </p></dd></dl> + <hr></hr> +<a name="productPrefix"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productPrefix</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productPrefix" target="contentFrame" class="scala/Product">scala.Product.productPrefix</a> + </dd> + </dl><hr></hr> +<a name="productArity"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productArity</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productArity" target="contentFrame" class="scala/Product">scala.Product.productArity</a> + </dd> + </dl><hr></hr> +<a name="productElement%28Int%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productElement</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productElement" target="contentFrame" class="scala/Product">scala.Product.productElement</a> + </dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/prefabs$content.html b/doc/sims/prefabs$content.html new file mode 100644 index 0000000..dad597c --- /dev/null +++ b/doc/sims/prefabs$content.html @@ -0,0 +1,54 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>All classes and objects in sims.prefabs</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()"><div class="page-title"><div>Simple Mechanics Simulator (SiMS) API</div></div><p><div>This document is the API specification for SiMS</div></p><table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Class Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> class</code> + </td> + <td class="signature"> + <em><a href="../sims/prefabs/Net.html" target="_self">Net</a></em> + (<em>width</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>, <em>height</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>, <em>initPos</em> : <a href="../sims/geometry/Vector2D.html" target="_self">Vector2D</a>)<code> extends </code><a href="../sims/prefabs/Prefab.html" target="_self">Prefab</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> trait</code> + </td> + <td class="signature"> + <em><a href="../sims/prefabs/Prefab.html" target="_self">Prefab</a></em> + <code> extends </code><a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> class</code> + </td> + <td class="signature"> + <em><a href="../sims/prefabs/Pylon.html" target="_self">Pylon</a></em> + <code> extends </code><a href="../sims/prefabs/Prefab.html" target="_self">Prefab</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> class</code> + </td> + <td class="signature"> + <em><a href="../sims/prefabs/Ragdoll.html" target="_self">Ragdoll</a></em> + (<em>position</em> : <a href="../sims/geometry/Vector2D.html" target="_self">Vector2D</a>)<code> extends </code><a href="../sims/prefabs/Prefab.html" target="_self">Prefab</a> + + + </td> + </tr> + </table> +</body> + </html>
\ No newline at end of file diff --git a/doc/sims/prefabs$package.html b/doc/sims/prefabs$package.html new file mode 100644 index 0000000..490a2cf --- /dev/null +++ b/doc/sims/prefabs$package.html @@ -0,0 +1,17 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>List of classes and objects in package sims.prefabs</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"> + <a href="../sims/prefabs$content.html" target="contentFrame">sims.prefabs</a> + </td></tr> + </table><div><div class="kinds" id="Classes">Classes</div><ul class="list"> + <li id="Classes_N"><a href="../sims/prefabs/Net.html" target="contentFrame">Net</a></li> +<li id="Classes_P"><a href="../sims/prefabs/Prefab.html" target="contentFrame">Prefab</a></li> +<li><a href="../sims/prefabs/Pylon.html" target="contentFrame">Pylon</a></li> +<li id="Classes_R"><a href="../sims/prefabs/Ragdoll.html" target="contentFrame">Ragdoll</a></li> + </ul> +</div></body> + </html>
\ No newline at end of file diff --git a/doc/sims/prefabs/Net.html b/doc/sims/prefabs/Net.html new file mode 100644 index 0000000..0298260 --- /dev/null +++ b/doc/sims/prefabs/Net.html @@ -0,0 +1,232 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class Net in sims.prefabs</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/prefabs$package.html" target="_self">sims.prefabs</a> + <br></br> + <span class="entity">class Net</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/prefabs/Net"><code>sims/prefabs/Net.scala</code></a>] + </div><hr></hr> + <a name="Net"></a><dl> + <dt> + + <code></code> + <code>class</code> + <em>Net</em>(<em>width</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>, <em>height</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>, <em>initPos</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) + </dt> + <dd><code> extends </code><a href="../../sims/prefabs/Prefab.html" target="_self">Prefab</a></dd> + </dl> + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code>override val</code> + </td> + <td class="signature"> + <em><a href="../../sims/prefabs/Net.html#bodies" target="_self">bodies</a></em> + : <a href="" target="contentFrame" class="scala/List">scala.List</a>[<a href="../../sims/dynamics/Body.html" target="_self">Body</a>] + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override val</code> + </td> + <td class="signature"> + <em><a href="../../sims/prefabs/Net.html#joints" target="_self">joints</a></em> + : <a href="" target="contentFrame" class="scala/List">scala.List</a>[<a href="../../sims/dynamics/joints/DistanceJoint.html" target="_self">DistanceJoint</a>] + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/prefabs/Net.html#nodeDensity" target="_self">nodeDensity</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/prefabs/Net.html#nodeDistance" target="_self">nodeDistance</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/prefabs/Net.html#nodeRadius" target="_self">nodeRadius</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/prefabs/Net.html#springConstant" target="_self">springConstant</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/prefabs/Net.html#springDamping" target="_self">springDamping</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + + + </td> + </tr> + </table> +<table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#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="nodeDistance"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>nodeDistance</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="nodeRadius"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>nodeRadius</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="nodeDensity"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>nodeDensity</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="springConstant"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>springConstant</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="springDamping"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>springDamping</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="bodies"></a><dl> + <dt> + + <code>override</code> + <code>val</code> + <em>bodies</em> : <a href="" target="contentFrame" class="scala/List">scala.List</a>[<a href="../../sims/dynamics/Body.html" target="_self">Body</a>] + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/prefabs/Prefab.html" target="_self">Prefab</a>.<a href="../../sims/prefabs/Prefab.html#bodies" target="_self">bodies</a> + </dd> + </dl><hr></hr> +<a name="joints"></a><dl> + <dt> + + <code>override</code> + <code>val</code> + <em>joints</em> : <a href="" target="contentFrame" class="scala/List">scala.List</a>[<a href="../../sims/dynamics/joints/DistanceJoint.html" target="_self">DistanceJoint</a>] + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/prefabs/Prefab.html" target="_self">Prefab</a>.<a href="../../sims/prefabs/Prefab.html#joints" target="_self">joints</a> + </dd> + </dl><hr></hr></div> + + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/prefabs/Prefab.html b/doc/sims/prefabs/Prefab.html new file mode 100644 index 0000000..83deb42 --- /dev/null +++ b/doc/sims/prefabs/Prefab.html @@ -0,0 +1,121 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>trait Prefab in sims.prefabs</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/prefabs$package.html" target="_self">sims.prefabs</a> + <br></br> + <span class="entity">trait Prefab</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/prefabs/Prefab"><code>sims/prefabs/Prefab.scala</code></a>] + </div><hr></hr> + <a name="Prefab"></a><dl> + <dt> + + <code></code> + <code>trait</code> + <em>Prefab</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> + <dt style="margin:10px 0 0 20px;"><b>Direct Known Subclasses:</b></dt> + <dd><a href="../../sims/prefabs/Net.html" target="_self">Net</a>, <a href="../../sims/prefabs/Pylon.html" target="_self">Pylon</a>, <a href="../../sims/prefabs/Ragdoll.html" target="_self">Ragdoll</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> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/prefabs/Prefab.html#bodies" target="_self">bodies</a></em> + : <a href="" target="contentFrame" class="scala/Iterable">scala.Iterable</a>[<a href="../../sims/dynamics/Body.html" target="_self">Body</a>] + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/prefabs/Prefab.html#joints" target="_self">joints</a></em> + : <a href="" target="contentFrame" class="scala/Iterable">scala.Iterable</a>[<a href="../../sims/dynamics/joints/Joint.html" target="_self">Joint</a>] + + + </td> + </tr> + </table> +<table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#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="bodies"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>bodies</em> : <a href="" target="contentFrame" class="scala/Iterable">scala.Iterable</a>[<a href="../../sims/dynamics/Body.html" target="_self">Body</a>] + </dt> + <dd></dd> + </dl><hr></hr> +<a name="joints"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>joints</em> : <a href="" target="contentFrame" class="scala/Iterable">scala.Iterable</a>[<a href="../../sims/dynamics/joints/Joint.html" target="_self">Joint</a>] + </dt> + <dd></dd> + </dl><hr></hr></div> + + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/prefabs/Pylon.html b/doc/sims/prefabs/Pylon.html new file mode 100644 index 0000000..cec9b30 --- /dev/null +++ b/doc/sims/prefabs/Pylon.html @@ -0,0 +1,272 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class Pylon in sims.prefabs</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/prefabs$package.html" target="_self">sims.prefabs</a> + <br></br> + <span class="entity">class Pylon</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/prefabs/Pylon"><code>sims/prefabs/Pylon.scala</code></a>] + </div><hr></hr> + <a name="Pylon"></a><dl> + <dt> + + <code></code> + <code>class</code> + <em>Pylon</em> + </dt> + <dd><code> extends </code><a href="../../sims/prefabs/Prefab.html" target="_self">Prefab</a></dd> + </dl> + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/prefabs/Pylon.html#beamHeight" target="_self">beamHeight</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/prefabs/Pylon.html#beamNumber" target="_self">beamNumber</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/prefabs/Pylon.html#beamWidth" target="_self">beamWidth</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> lazy val</code> + </td> + <td class="signature"> + <em><a href="../../sims/prefabs/Pylon.html#beams" target="_self">beams</a></em> + : <a href="" target="contentFrame" class="scala/List">scala.List</a>[<a href="../../sims/dynamics/joints/DistanceJoint.html" target="_self">DistanceJoint</a>] + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override val</code> + </td> + <td class="signature"> + <em><a href="../../sims/prefabs/Pylon.html#bodies" target="_self">bodies</a></em> + : <a href="" target="contentFrame" class="scala/List">scala.List</a>[<a href="../../sims/dynamics/Body.html" target="_self">Body</a>] + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override val</code> + </td> + <td class="signature"> + <em><a href="../../sims/prefabs/Pylon.html#joints" target="_self">joints</a></em> + : <a href="" target="contentFrame" class="scala/List">scala.List</a>[<a href="../../sims/dynamics/joints/DistanceJoint.html" target="_self">DistanceJoint</a>] + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/prefabs/Pylon.html#nodeDensity" target="_self">nodeDensity</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> lazy val</code> + </td> + <td class="signature"> + <em><a href="../../sims/prefabs/Pylon.html#nodes" target="_self">nodes</a></em> + : <a href="" target="contentFrame" class="scala/List">scala.List</a>[<a href="../../sims/dynamics/Body.html" target="_self">Body</a>] + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/prefabs/Pylon.html#position" target="_self">position</a></em> + : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + + </td> + </tr> + </table> +<table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#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="position"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>position</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="nodeDensity"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>nodeDensity</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="beamHeight"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>beamHeight</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="beamWidth"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>beamWidth</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="beamNumber"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>beamNumber</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="nodes"></a><dl> + <dt> + + <code></code> + <code>lazy val</code> + <em>nodes</em> : <a href="" target="contentFrame" class="scala/List">scala.List</a>[<a href="../../sims/dynamics/Body.html" target="_self">Body</a>] + </dt> + <dd></dd> + </dl><hr></hr> +<a name="beams"></a><dl> + <dt> + + <code></code> + <code>lazy val</code> + <em>beams</em> : <a href="" target="contentFrame" class="scala/List">scala.List</a>[<a href="../../sims/dynamics/joints/DistanceJoint.html" target="_self">DistanceJoint</a>] + </dt> + <dd></dd> + </dl><hr></hr> +<a name="bodies"></a><dl> + <dt> + + <code>override</code> + <code>val</code> + <em>bodies</em> : <a href="" target="contentFrame" class="scala/List">scala.List</a>[<a href="../../sims/dynamics/Body.html" target="_self">Body</a>] + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/prefabs/Prefab.html" target="_self">Prefab</a>.<a href="../../sims/prefabs/Prefab.html#bodies" target="_self">bodies</a> + </dd> + </dl><hr></hr> +<a name="joints"></a><dl> + <dt> + + <code>override</code> + <code>val</code> + <em>joints</em> : <a href="" target="contentFrame" class="scala/List">scala.List</a>[<a href="../../sims/dynamics/joints/DistanceJoint.html" target="_self">DistanceJoint</a>] + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/prefabs/Prefab.html" target="_self">Prefab</a>.<a href="../../sims/prefabs/Prefab.html#joints" target="_self">joints</a> + </dd> + </dl><hr></hr></div> + + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/prefabs/Ragdoll.html b/doc/sims/prefabs/Ragdoll.html new file mode 100644 index 0000000..f7cc846 --- /dev/null +++ b/doc/sims/prefabs/Ragdoll.html @@ -0,0 +1,432 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class Ragdoll in sims.prefabs</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/prefabs$package.html" target="_self">sims.prefabs</a> + <br></br> + <span class="entity">class Ragdoll</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/prefabs/Ragdoll"><code>sims/prefabs/Ragdoll.scala</code></a>] + </div><hr></hr> + <a name="Ragdoll"></a><dl> + <dt> + + <code></code> + <code>class</code> + <em>Ragdoll</em>(<em>position</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) + </dt> + <dd><code> extends </code><a href="../../sims/prefabs/Prefab.html" target="_self">Prefab</a></dd> + </dl> + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Value Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code>override val</code> + </td> + <td class="signature"> + <em><a href="../../sims/prefabs/Ragdoll.html#bodies" target="_self">bodies</a></em> + : <a href="" target="contentFrame" class="scala/List">scala.List</a>[<a href="../../sims/dynamics/Body.html" target="_self">Body</a>] + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/prefabs/Ragdoll.html#foot1" target="_self">foot1</a></em> + : <a href="../../sims/dynamics/Body.html" target="_self">Body</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/prefabs/Ragdoll.html#foot2" target="_self">foot2</a></em> + : <a href="../../sims/dynamics/Body.html" target="_self">Body</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/prefabs/Ragdoll.html#forearm1" target="_self">forearm1</a></em> + : <a href="../../sims/dynamics/Body.html" target="_self">Body</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/prefabs/Ragdoll.html#forearm2" target="_self">forearm2</a></em> + : <a href="../../sims/dynamics/Body.html" target="_self">Body</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/prefabs/Ragdoll.html#hand1" target="_self">hand1</a></em> + : <a href="../../sims/dynamics/Body.html" target="_self">Body</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/prefabs/Ragdoll.html#hand2" target="_self">hand2</a></em> + : <a href="../../sims/dynamics/Body.html" target="_self">Body</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/prefabs/Ragdoll.html#headTorso" target="_self">headTorso</a></em> + : <a href="../../sims/dynamics/Body.html" target="_self">Body</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override val</code> + </td> + <td class="signature"> + <em><a href="../../sims/prefabs/Ragdoll.html#joints" target="_self">joints</a></em> + : <a href="" target="contentFrame" class="scala/List">scala.List</a>[<a href="../../sims/dynamics/joints/RevoluteJoint.html" target="_self">RevoluteJoint</a>] + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/prefabs/Ragdoll.html#shoulder1" target="_self">shoulder1</a></em> + : <a href="../../sims/dynamics/joints/RevoluteJoint.html" target="_self">RevoluteJoint</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/prefabs/Ragdoll.html#shoulder2" target="_self">shoulder2</a></em> + : <a href="../../sims/dynamics/joints/RevoluteJoint.html" target="_self">RevoluteJoint</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/prefabs/Ragdoll.html#thigh1" target="_self">thigh1</a></em> + : <a href="../../sims/dynamics/Body.html" target="_self">Body</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/prefabs/Ragdoll.html#thigh2" target="_self">thigh2</a></em> + : <a href="../../sims/dynamics/Body.html" target="_self">Body</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/prefabs/Ragdoll.html#tibia1" target="_self">tibia1</a></em> + : <a href="../../sims/dynamics/Body.html" target="_self">Body</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/prefabs/Ragdoll.html#tibia2" target="_self">tibia2</a></em> + : <a href="../../sims/dynamics/Body.html" target="_self">Body</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/prefabs/Ragdoll.html#upperArm1" target="_self">upperArm1</a></em> + : <a href="../../sims/dynamics/Body.html" target="_self">Body</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../sims/prefabs/Ragdoll.html#upperArm2" target="_self">upperArm2</a></em> + : <a href="../../sims/dynamics/Body.html" target="_self">Body</a> + + + </td> + </tr> + </table> +<table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#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="headTorso"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>headTorso</em> : <a href="../../sims/dynamics/Body.html" target="_self">Body</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="thigh1"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>thigh1</em> : <a href="../../sims/dynamics/Body.html" target="_self">Body</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="thigh2"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>thigh2</em> : <a href="../../sims/dynamics/Body.html" target="_self">Body</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="tibia1"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>tibia1</em> : <a href="../../sims/dynamics/Body.html" target="_self">Body</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="tibia2"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>tibia2</em> : <a href="../../sims/dynamics/Body.html" target="_self">Body</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="foot1"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>foot1</em> : <a href="../../sims/dynamics/Body.html" target="_self">Body</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="foot2"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>foot2</em> : <a href="../../sims/dynamics/Body.html" target="_self">Body</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="upperArm1"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>upperArm1</em> : <a href="../../sims/dynamics/Body.html" target="_self">Body</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="upperArm2"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>upperArm2</em> : <a href="../../sims/dynamics/Body.html" target="_self">Body</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="forearm1"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>forearm1</em> : <a href="../../sims/dynamics/Body.html" target="_self">Body</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="forearm2"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>forearm2</em> : <a href="../../sims/dynamics/Body.html" target="_self">Body</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="hand1"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>hand1</em> : <a href="../../sims/dynamics/Body.html" target="_self">Body</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="hand2"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>hand2</em> : <a href="../../sims/dynamics/Body.html" target="_self">Body</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="bodies"></a><dl> + <dt> + + <code>override</code> + <code>val</code> + <em>bodies</em> : <a href="" target="contentFrame" class="scala/List">scala.List</a>[<a href="../../sims/dynamics/Body.html" target="_self">Body</a>] + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/prefabs/Prefab.html" target="_self">Prefab</a>.<a href="../../sims/prefabs/Prefab.html#bodies" target="_self">bodies</a> + </dd> + </dl><hr></hr> +<a name="shoulder1"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>shoulder1</em> : <a href="../../sims/dynamics/joints/RevoluteJoint.html" target="_self">RevoluteJoint</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="shoulder2"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>shoulder2</em> : <a href="../../sims/dynamics/joints/RevoluteJoint.html" target="_self">RevoluteJoint</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="joints"></a><dl> + <dt> + + <code>override</code> + <code>val</code> + <em>joints</em> : <a href="" target="contentFrame" class="scala/List">scala.List</a>[<a href="../../sims/dynamics/joints/RevoluteJoint.html" target="_self">RevoluteJoint</a>] + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="../../sims/prefabs/Prefab.html" target="_self">Prefab</a>.<a href="../../sims/prefabs/Prefab.html#joints" target="_self">joints</a> + </dd> + </dl><hr></hr></div> + + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/util$content.html b/doc/sims/util$content.html new file mode 100644 index 0000000..48b8a1e --- /dev/null +++ b/doc/sims/util$content.html @@ -0,0 +1,56 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>All classes and objects in sims.util</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()"><div class="page-title"><div>Simple Mechanics Simulator (SiMS) API</div></div><p><div>This document is the API specification for SiMS</div></p><table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Class Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code>case class</code> + </td> + <td class="signature"> + <em><a href="../sims/util/Polar.html" target="_self">Polar</a></em> + (<code>val </code><em>distance</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>, <code>val </code><em>angle</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>)<code> extends </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a> + + <div>Polare Koordinaten.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> class</code> + </td> + <td class="signature"> + <em><a href="../sims/util/RelativeVector.html" target="_self">RelativeVector</a></em> + (<code>val </code><em>x</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>, <code>val </code><em>y</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>)<code> extends </code><a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + + + </td> + </tr> + </table> +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Object Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> object</code> + </td> + <td class="signature"> + <em><a href="../sims/util/Polar$object.html" target="_self">Polar</a></em> + <code> extends </code>(<a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) => <a href="../sims/util/Polar.html" target="_self">Polar</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> object</code> + </td> + <td class="signature"> + <em><a href="../sims/util/Positioning$object.html" target="_self">Positioning</a></em> + <code> extends </code><a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + + <div>Objekt mit Hiflsfunktionen fuer komfortables Positionieren von Koerpern.</div> + </td> + </tr> + </table></body> + </html>
\ No newline at end of file diff --git a/doc/sims/util$package.html b/doc/sims/util$package.html new file mode 100644 index 0000000..61c5bdc --- /dev/null +++ b/doc/sims/util$package.html @@ -0,0 +1,18 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>List of classes and objects in package sims.util</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"> + <a href="../sims/util$content.html" target="contentFrame">sims.util</a> + </td></tr> + </table><div><div class="kinds" id="Classes">Classes</div><ul class="list"> + <li id="Classes_P"><a href="../sims/util/Polar.html" target="contentFrame">Polar</a></li> +<li id="Classes_R"><a href="../sims/util/RelativeVector.html" target="contentFrame">RelativeVector</a></li> + </ul> +<div class="kinds" id="Objects">Objects</div><ul class="list"> + <li id="Objects_P"><a href="../sims/util/Polar$object.html" target="contentFrame">Polar</a></li> +<li><a href="../sims/util/Positioning$object.html" target="contentFrame">Positioning</a></li> + </ul></div></body> + </html>
\ No newline at end of file diff --git a/doc/sims/util/Polar$object.html b/doc/sims/util/Polar$object.html new file mode 100644 index 0000000..c1ae2b3 --- /dev/null +++ b/doc/sims/util/Polar$object.html @@ -0,0 +1,82 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object Polar in sims.util</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/util$package.html" target="_self">sims.util</a> + <br></br> + <span class="entity">object Polar</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/util/Polar"><code>sims/util/Polar.scala</code></a>] + </div><hr></hr> + <a name="Polar"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>Polar</em> + </dt> + <dd><code> extends </code>(<a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) => <a href="../../sims/util/Polar.html" target="_self">Polar</a></dd> + </dl> + + + +<table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="" target="contentFrame" class="scala/Function2">scala.Function2</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="#toString" target="contentFrame" class="scala/Function2">scala.Function2.toString</a>, <a href="#curry" target="contentFrame" class="scala/Function2">scala.Function2.curry</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + + + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/util/Polar.html b/doc/sims/util/Polar.html new file mode 100644 index 0000000..7f3f444 --- /dev/null +++ b/doc/sims/util/Polar.html @@ -0,0 +1,302 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class Polar in sims.util</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/util$package.html" target="_self">sims.util</a> + <br></br> + <span class="entity">class Polar</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/util/Polar"><code>sims/util/Polar.scala</code></a>] + </div><hr></hr> + <a name="Polar"></a><dl> + <dt> + + <code>case</code> + <code>class</code> + <em>Polar</em>(<code>val </code><em>distance</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>, <code>val </code><em>angle</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) + </dt> + <dd><code> extends </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a></dd> + </dl> + <dl><dd>Polare Koordinaten.</dd></dl> + <dl></dl> + + + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Method Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/util/Polar.html#equals%28Any%29" target="_self">equals</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + + <div>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/util/Polar.html#hashCode%28%29" target="_self">hashCode</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + <div>Returns a hash code value for the object.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/util/Polar.html#productArity" target="_self">productArity</a></em> + : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/util/Polar.html#productElement%28Int%29" target="_self">productElement</a></em> + (<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/util/Polar.html#productPrefix" target="_self">productPrefix</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/util/Polar.html#toCarthesian" target="_self">toCarthesian</a></em> + : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + <div>Ergibt die Vektorrepraesantation dieser polaren Koordinaten.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../sims/util/Polar.html#toString%28%29" target="_self">toString</a></em> + : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + + <div>Returns a string representation of the object.</div> + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="toCarthesian"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>toCarthesian</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Ergibt die Vektorrepraesantation dieser polaren Koordinaten.</dd></dl> + <dl></dl> + <hr></hr> +<a name="hashCode%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>hashCode</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a hash code value for the object.
+ <p>
+ The default hashing algorithm is platform dependent.
+ Note that it is allowed for two objects to have identical hash
+ codes (<code>o1.hashCode.equals(o2.hashCode)</code>) yet not be
+ equal (<code>o1.equals(o2)</code> returns <code>false</code>). A
+ degenerate implementation could always return <code>0</code>.
+ However, it is required that if two objects are equal
+ (<code>o1.equals(o2)</code> returns <code>true</code>) that they
+ have identical hash codes
+ (<code>o1.hashCode.equals(o2.hashCode)</code>). Therefore, when
+ overriding this method, be sure to verify that the behavior is
+ consistent with the <code>equals</code> method.
+ </p>
+ <p></dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>the hash code value for the object. </p></dd></dl> + <hr></hr> +<a name="toString%28%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>toString</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Returns a string representation of the object.
+ <p>
+ The default representation is platform dependent.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>a string representation of the object. </p></dd></dl> + <hr></hr> +<a name="equals%28Any%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>equals</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a> + </dt> + <dd></dd> + </dl> + <dl><dd>This method is used to compare the receiver object (<code>this</code>)
+ with the argument object (<code>arg0</code>) for equivalence.
+
+ <p>
+ The default implementations of this method is an <a
+ href="http://en.wikipedia.org/wiki/Equivalence_relation">equivalence
+ relation</a>:
+ <ul>
+ <li>It is reflexive: for any instance <code>x</code> of type <code>Any</code>,
+ <code>x.equals(x)</code> should return <code>true</code>.</li>
+ <li>It is symmetric: for any instances <code>x</code> and <code>y</code> of type
+ <code>Any</code>, <code>x.equals(y)</code> should return <code>true</code> if and only
+ if <code>y.equals(x)</code> returns <code>true</code>.</li>
+ <li>It is transitive: for any instances
+ <code>x</code>, <code>y</code>, and <code>z</code> of type <code>AnyRef</code>
+ if <code>x.equals(y)</code> returns <code>true</code> and
+ <code>y.equals(z)</code> returns
+ <code>true</code>, then <code>x.equals(z)</code> should return <code>true</code>.</li>
+ </ul>
+ </p>
+ <p>
+ If you override this method, you should verify that
+ your implementation remains an equivalence relation.
+ Additionally, when overriding this method it is often necessary to
+ override <code>hashCode</code> to ensure that objects that are
+ "equal" (<code>o1.equals(o2)</code> returns <code>true</code>)
+ hash to the same <a href="Int.html"><code>Int</code></a>
+ (<code>o1.hashCode.equals(o2.hashCode)</code>).</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>arg0 - </code>the object to compare against this object for equality.</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise. </p></dd></dl> + <hr></hr> +<a name="productPrefix"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productPrefix</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productPrefix" target="contentFrame" class="scala/Product">scala.Product.productPrefix</a> + </dd> + </dl><hr></hr> +<a name="productArity"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productArity</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productArity" target="contentFrame" class="scala/Product">scala.Product.productArity</a> + </dd> + </dl><hr></hr> +<a name="productElement%28Int%29"></a><dl> + <dt> + + <code>override</code> + <code>def</code> + <em>productElement</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </dt> + <dd></dd> + </dl><dl> + <dt style="margin:10px 0 0 20px;"> + <b>Overrides</b> + </dt> + <dd> + <a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productElement" target="contentFrame" class="scala/Product">scala.Product.productElement</a> + </dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/util/Positioning$object.html b/doc/sims/util/Positioning$object.html new file mode 100644 index 0000000..eecdee9 --- /dev/null +++ b/doc/sims/util/Positioning$object.html @@ -0,0 +1,201 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>object Positioning in sims.util</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/util$package.html" target="_self">sims.util</a> + <br></br> + <span class="entity">object Positioning</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/util/Positioning"><code>sims/util/Positioning.scala</code></a>] + </div><hr></hr> + <a name="Positioning"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>Positioning</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>Objekt mit Hiflsfunktionen fuer komfortables Positionieren von Koerpern.</dd></dl> + <dl></dl> + + + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Method Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code>implicit def</code> + </td> + <td class="signature"> + <em><a href="../../sims/util/Positioning$object.html#double2RelativeVector%28Double%29" target="_self">double2RelativeVector</a></em> + (<em>x</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) : <a href="../../sims/util/RelativeVector.html" target="_self">RelativeVector</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>implicit def</code> + </td> + <td class="signature"> + <em><a href="../../sims/util/Positioning$object.html#int2RelativeVector%28Int%29" target="_self">int2RelativeVector</a></em> + (<em>x</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="../../sims/util/RelativeVector.html" target="_self">RelativeVector</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>implicit def</code> + </td> + <td class="signature"> + <em><a href="../../sims/util/Positioning$object.html#polar2Carthesian%28sims.util.Polar%29" target="_self">polar2Carthesian</a></em> + (<em>p</em> : <a href="../../sims/util/Polar.html" target="_self">Polar</a>) : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>implicit def</code> + </td> + <td class="signature"> + <em><a href="../../sims/util/Positioning$object.html#polar2RelativeVector%28sims.util.Polar%29" target="_self">polar2RelativeVector</a></em> + (<em>p</em> : <a href="../../sims/util/Polar.html" target="_self">Polar</a>) : <a href="../../sims/util/RelativeVector.html" target="_self">RelativeVector</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/util/Positioning$object.html#position%28sims.dynamics.Shape%29" target="_self">position</a></em> + (<em>s</em> : <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a>)(<em>a</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> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>implicit def</code> + </td> + <td class="signature"> + <em><a href="../../sims/util/Positioning$object.html#vector2RelativeVector%28sims.geometry.Vector2D%29" target="_self">vector2RelativeVector</a></em> + (<em>v</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="../../sims/util/RelativeVector.html" target="_self">RelativeVector</a> + + + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#toString%28%29" target="_self">toString</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="int2RelativeVector%28Int%29"></a><dl> + <dt> + + <code>implicit</code> + <code>def</code> + <em>int2RelativeVector</em>(<em>x</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="../../sims/util/RelativeVector.html" target="_self">RelativeVector</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="double2RelativeVector%28Double%29"></a><dl> + <dt> + + <code>implicit</code> + <code>def</code> + <em>double2RelativeVector</em>(<em>x</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) : <a href="../../sims/util/RelativeVector.html" target="_self">RelativeVector</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="vector2RelativeVector%28sims.geometry.Vector2D%29"></a><dl> + <dt> + + <code>implicit</code> + <code>def</code> + <em>vector2RelativeVector</em>(<em>v</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="../../sims/util/RelativeVector.html" target="_self">RelativeVector</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="polar2Carthesian%28sims.util.Polar%29"></a><dl> + <dt> + + <code>implicit</code> + <code>def</code> + <em>polar2Carthesian</em>(<em>p</em> : <a href="../../sims/util/Polar.html" target="_self">Polar</a>) : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="polar2RelativeVector%28sims.util.Polar%29"></a><dl> + <dt> + + <code>implicit</code> + <code>def</code> + <em>polar2RelativeVector</em>(<em>p</em> : <a href="../../sims/util/Polar.html" target="_self">Polar</a>) : <a href="../../sims/util/RelativeVector.html" target="_self">RelativeVector</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="position%28sims.dynamics.Shape%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>position</em>(<em>s</em> : <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a>)(<em>a</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><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/sims/util/RelativeVector.html b/doc/sims/util/RelativeVector.html new file mode 100644 index 0000000..defc526 --- /dev/null +++ b/doc/sims/util/RelativeVector.html @@ -0,0 +1,278 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class RelativeVector in sims.util</title> + <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../script.js"></script> + </head> + <body onload="init()"> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + + <div class="entity"> + <a href="../../sims/util$package.html" target="_self">sims.util</a> + <br></br> + <span class="entity">class RelativeVector</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/util/RelativeVector"><code>sims/util/RelativeVector.scala</code></a>] + </div><hr></hr> + <a name="RelativeVector"></a><dl> + <dt> + + <code></code> + <code>class</code> + <em>RelativeVector</em>(<code>val </code><em>x</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>, <code>val </code><em>y</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) + </dt> + <dd><code> extends </code><a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a></dd> + </dl> + + + +<table summary="" cellpadding="3" class="member"> + <tr><td class="title" colspan="2">Method Summary</td></tr> + <tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/util/RelativeVector.html#above%28sims.dynamics.Shape%29" target="_self">above</a></em> + (<em>s</em> : <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a>) : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/util/RelativeVector.html#above%28sims.geometry.Vector2D%29" target="_self">above</a></em> + (<em>point</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/util/RelativeVector.html#below%28sims.geometry.Vector2D%29" target="_self">below</a></em> + (<em>point</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/util/RelativeVector.html#below%28sims.dynamics.Shape%29" target="_self">below</a></em> + (<em>s</em> : <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a>) : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/util/RelativeVector.html#from%28sims.dynamics.Shape%29" target="_self">from</a></em> + (<em>s</em> : <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a>) : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/util/RelativeVector.html#from%28sims.geometry.Vector2D%29" target="_self">from</a></em> + (<em>point</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/util/RelativeVector.html#left%28sims.geometry.Vector2D%29" target="_self">left</a></em> + (<em>point</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/util/RelativeVector.html#left%28sims.dynamics.Shape%29" target="_self">left</a></em> + (<em>s</em> : <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a>) : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/util/RelativeVector.html#right%28sims.geometry.Vector2D%29" target="_self">right</a></em> + (<em>point</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/util/RelativeVector.html#right%28sims.dynamics.Shape%29" target="_self">right</a></em> + (<em>s</em> : <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a>) : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + + </td> + </tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#toString%28%29" target="_self">toString</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a> + </td></tr> + </table><table summary="" cellpadding="3" class="inherited"> + <tr><td class="title" colspan="2"> + Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a> + </td></tr> + <tr><td class="signature" colspan="2"> + <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a> + </td></tr> + </table> + + + + + +<table summary="" cellpadding="3" class="member-detail"> + <tr><td class="title">Method Details</td></tr> + </table><div><a name="above%28sims.geometry.Vector2D%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>above</em>(<em>point</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="below%28sims.geometry.Vector2D%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>below</em>(<em>point</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="left%28sims.geometry.Vector2D%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>left</em>(<em>point</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="right%28sims.geometry.Vector2D%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>right</em>(<em>point</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="from%28sims.geometry.Vector2D%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>from</em>(<em>point</em> : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="above%28sims.dynamics.Shape%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>above</em>(<em>s</em> : <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a>) : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="below%28sims.dynamics.Shape%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>below</em>(<em>s</em> : <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a>) : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="left%28sims.dynamics.Shape%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>left</em>(<em>s</em> : <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a>) : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="right%28sims.dynamics.Shape%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>right</em>(<em>s</em> : <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a>) : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl><hr></hr> +<a name="from%28sims.dynamics.Shape%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>from</em>(<em>s</em> : <a href="../../sims/dynamics/Shape.html" target="_self">Shape</a>) : <a href="../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + </dt> + <dd></dd> + </dl><hr></hr></div> + + + <hr></hr> + <table summary="" class="navigation"> + <tr> + <td class="navigation-links" valign="top"> + <!-- <table><tr></tr></table> --> + </td> + <td align="right" valign="top" style="white-space:nowrap;" rowspan="2"> + <div class="doctitle-larger">SiMS</div> + </td> + </tr> + <tr><td></td></tr> + </table> + </body> + </html>
\ No newline at end of file diff --git a/doc/style.css b/doc/style.css new file mode 100644 index 0000000..e243249 --- /dev/null +++ b/doc/style.css @@ -0,0 +1,148 @@ +/* Scaladoc style sheet */ + +a:link { + color: #0000ee; +} + +a:visited { + color: #551a8b; +} + +a:active { + color: #0000ee; +} + +body { + background-color: #ffffff; +} + +div.entity { + margin: 18px 0px 18px 0px; + font-size: x-large; + font-weight: bold; +} + +div.doctitle { + font-weight: bold; + font-style: italic; +} + +div.doctitle-larger { + margin: 0px 0px 10px 0px; + font-size: larger; + font-weight: bold; +} + +div.kinds { + margin: 0.6em 0 0 0; /* top right bottom left */ + font-weight: bold; +} + +div.page-title { + margin: 15px 0px 15px 0px; + font-size: x-large; + font-weight: bold; + text-align: center; +} + +div.source { + font-size: smaller; + color: gray; +} + +span.entity { + color: #ff6666; +} + +table.member { + margin: 0 0 1.2em 0; /* top rigth bottom left */ + border-collapse: collapse; + border: 2px inset #888888; + width: 100%; +} + +table.member td.title { + border: 2px inset #888888; + background-color: #ccccff; + font-size: x-large; + font-weight: bold; +} + +table.inherited { + margin: 0 0 1.2em 0; /* top rigth bottom left */ + border-collapse: collapse; + border: 2px inset #888888; + width: 100%; +} + +table.inherited td.title { + background-color: #eeeeff; + font-weight: bold; +} + +table.member-detail { + margin: 10px 0px 0px 0px; + border-collapse: collapse; + border: 2px inset #888888; + background-color: #ffffff; + width: 100%; +} + +table.member-detail td.title { + border: 2px inset #888888; + background-color: #ccccff; + font-size: x-large; + font-weight: bold; +} + +table.navigation { + border-collapse: collapse; + width: 100%; + font-family: Arial,Helvetica,Sans-Serif; +} + +td.inherited-members { + border-top: 2px inset #888888; + border-right: 0px; +} + +td.inherited-owner { + background-color: #eeeeff; + font-weight: bold; +} + +td.modifiers { + border-top: 2px inset #888888; + border-right: 2px inset #888888; + width: 50px; + text-align: right; +} + +td.navigation-enabled { + font-weight: bold; + color: #000000; + background-color: #eeeeff; +} + +td.navigation-links { + width: 100%; + background-color: #eeeeff; +} + +td.navigation-selected { + font-weight: bold; + color: #ffffff; + background-color: #00008b; +} + +td.signature { + border-top: 2px inset #888888; + width: 90%; +} + +ul.list { + margin: 0; + padding: 0; + list-style: none; +} + diff --git a/src/graphyx/Graphyx.scala b/src/graphyx/Graphyx.scala new file mode 100644 index 0000000..cfd67c6 --- /dev/null +++ b/src/graphyx/Graphyx.scala @@ -0,0 +1,60 @@ +/* + * Graphyx + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package graphyx + +import graphyx.actors._ +import graphyx.graphics._ +import graphyx.tests._ +import sims.geometry._ +import sims.dynamics._ + +object Graphyx{ + + val tests: List[graphyx.tests.Test] = List( + CompositeShape, + Joints1, + Joints2, + Chain, + Stacking, + BallStack, + Cup, + Net, + Friction, + Friction2, + Restitution, + RagdollTest, + General1, + General2, + EmptyTest + ) + + private var _test: graphyx.tests.Test = tests(0) + def test = _test + def test_=(t: graphyx.tests.Test) = { + t.world.time = 0 + t.world.clear() + t.init() + physicsActor ! SetWorld(t.world) + _test = t + } + + val physicsActor = new PhysicsActor + val guiActor = new GUIActor + + def main(args: Array[String]): Unit = { + test.init() + physicsActor.world = test.world + guiActor.start() + physicsActor.start() + } + + def exit() = { + guiActor.container.exitGUI + guiActor ! Exit + physicsActor ! Exit + } +} diff --git a/src/graphyx/actors/GUIActor.scala b/src/graphyx/actors/GUIActor.scala new file mode 100644 index 0000000..a704f6a --- /dev/null +++ b/src/graphyx/actors/GUIActor.scala @@ -0,0 +1,32 @@ +/* + * Graphyx + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package graphyx.actors + +import graphyx.graphics._ +import graphyx.gui._ +import scala.actors._ + +class GUIActor extends Actor{ + val container = new Container + + var continue = true + + def act() = { + container.show() + println("GUI actor started.") + while (continue) { + receive { + case Exit => { + continue = false + } + case s @ Scene(_) => container.update(s) + case other => println("Engine received unknown command: " + other) + } + } + println("GUI actor exited.") + } +} diff --git a/src/graphyx/actors/PhysicsActor.scala b/src/graphyx/actors/PhysicsActor.scala new file mode 100644 index 0000000..b93541f --- /dev/null +++ b/src/graphyx/actors/PhysicsActor.scala @@ -0,0 +1,72 @@ +/* + * Graphyx + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package graphyx.actors + +import graphyx.graphics._ +import sims.dynamics._ +import scala.actors._ +class PhysicsActor extends Actor{ + var world = new World + + var continue = true + var simulate = false + + private var _fps = 0 + def fps = _fps + + def act{ + println("Physics actor started.") + while (continue) { + + var t0 = System.nanoTime + + if (simulate) { + world.step() + } + + Graphyx.guiActor ! new Scene(world) {override val fps = _fps} + + while (mailboxSize > 0) { + receive { + case Stop => { + simulate = false + println("Simulation stopped.") + } + case Start => { + simulate = true + println("Simulation started.") + } + case Exit => { + continue = false + } + case sw @ SetWorld(w: World) => world = w + + case FireEvent => Graphyx.test.fireEvent() + + case other => println("Engine received unknown command: '" + other + "'") + } + } + + val h = (System.nanoTime - t0) / 1000000 + val f = 60 + val T = (1.0/f) * 1000 + if (T-h > 0) + Thread.sleep((T-h).toLong) + _fps = (1.0/((System.nanoTime - t0) / 1000000000.0)).toInt + //println((1.0/((System.nanoTime - t0) / 1000000000.0)).toInt) + } + println("Physics actor exited.") + } +} + +case object Start +case object Stop +case object Exit +case class SetWorld(world: World) +case object FireEvent + + diff --git a/src/graphyx/graphics/Drawable.scala b/src/graphyx/graphics/Drawable.scala new file mode 100644 index 0000000..fefd97d --- /dev/null +++ b/src/graphyx/graphics/Drawable.scala @@ -0,0 +1,118 @@ +/* + * Graphyx + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package graphyx.graphics + +import sims.geometry._ + +/**Enthaelt Methoden und Felder fuer graphische Darstellungen. + * Alle Klassen die dieses Trait implementieren koennen graphisch dargestellt werden.*/ +trait Drawable { + + /**Java Graphics Objekt zur graphischen Darstellung*/ + var g: java.awt.Graphics = _ + + /**Anzahl von Pixeln pro Meter.*/ + var ppm: Double = 39.37007874015748 * 96 //ppm = i/m * p/i + + /**Skala in der die graphischen Objekte gezeichnet werden.*/ + var scale: Double = 1.0/100.0 + + /**Hoehe des Fensters in Pixeln.*/ + var windowHeight = 0 + + /**Korrigiert einen Y-Wert in Bildschirmkoordinaten zu seinem kartesischen Aequivalent. + * @param y zu korrigierender Wert*/ + def correctY(y: Double) = windowHeight - y + + /**Malt eine Linie auf <code>g</code>. + * @param startPoint Startpunkt in Weltkoordinaten + * @param endPoint Endpunkt in Weltkoordinaten*/ + def drawLine(startPoint: Vector2D, endPoint: Vector2D) = { + val x1 = startPoint.x * scale * ppm + val y1 = correctY(startPoint.y * scale * ppm) + val x2 = endPoint.x * scale * ppm + val y2 = correctY(endPoint.y * scale * ppm) + g.drawLine(x1.toInt, y1.toInt, x2.toInt, y2.toInt) + } + + /**Malt ein massives Polygon auf <code>g</code>. + * @param points Eckpunkte des Polygons in Weltkoordinaten*/ + def fillPolygon(points: Seq[Vector2D]) = { + val xs = points map ((v: Vector2D) => (v.x * scale * ppm).toInt) + val ys = points map ((v: Vector2D) => correctY((v.y) * scale * ppm).toInt) + g.fillPolygon(xs.toArray, ys.toArray, points.length) + } + + /**Malt ein Polygon auf <code>g</code>. + * @param points Eckpunkte des Polygons in Weltkoordinaten*/ + def drawPolygon(points: Seq[Vector2D]) = { + val xs = points map ((v: Vector2D) => (v.x * scale * ppm).toInt) + val ys = points map ((v: Vector2D) => correctY((v.y) * scale * ppm).toInt) + g.drawPolygon(xs.toArray, ys.toArray, points.length) + } + + /**Malt einen massiven Kreis auf <code>g</code>. + * @param center Mitte des Kreises in Weltkoordinaten + * @param radius Radius des Kreises*/ + def fillCircle(center: Vector2D, radius: Double) = { + g.fillOval(((center.x - radius) * scale * ppm).toInt, + correctY((center.y + radius) * scale * ppm).toInt, + (radius * scale * ppm * 2).toInt, + (radius * scale * ppm * 2).toInt) + } + + /**Malt einen Kreis auf <code>g</code>. + * @param center Mitte des Kreises in Weltkoordinaten + * @param radius Radius des Kreises*/ + def drawCircle(center: Vector2D, radius: Double) = { + g.drawOval(((center.x - radius) * scale * ppm).toInt, + correctY((center.y + radius) * scale * ppm).toInt, + (radius * scale * ppm * 2).toInt, + (radius * scale * ppm * 2).toInt) + } + + /**Malt einen Punkt auf <code>g</code>. + * <p> + * Der Punkt wird von einem Kreis umgeben. + * @param point Punkt in Weltkoordinaten*/ + def drawPoint(point: Vector2D) = { + val radius = 4 //in pixel + g.drawLine((point.x * scale * ppm).toInt, + correctY(point.y * scale * ppm).toInt - radius, + (point.x * scale * ppm).toInt, + correctY(point.y * scale * ppm).toInt + radius) + g.drawLine((point.x * scale * ppm).toInt - radius, + correctY(point.y * scale * ppm).toInt, + (point.x * scale * ppm).toInt + radius, + correctY(point.y * scale * ppm).toInt) + g.drawOval((point.x * scale * ppm).toInt - radius, + correctY(point.y * scale * ppm).toInt - radius, + (radius * 2).toInt, + (radius * 2).toInt) + + } + + + /**Malt einen Vektor auf <code>g</code>. + * @param v Vektor in Weltkoordinaten + * @param p Ursprungspunkt in Weltkoordinaten + */ + def drawVector(v: Vector2D, p: Vector2D) = { + if (!v.isNull) { + val ep = p + v + val a1 = ep - ((v.unit rotate (Math.Pi / 6)) * 0.08) + val a2 = ep - ((v.unit rotate (-Math.Pi / 6)) * 0.08) + + g.drawLine((p.x * scale * ppm).toInt, correctY(p.y * scale * ppm).toInt, (ep.x * scale * ppm).toInt, correctY(ep.y * scale * ppm).toInt) + g.drawLine((a1.x * scale * ppm).toInt, correctY(a1.y * scale * ppm).toInt, (ep.x * scale * ppm).toInt, correctY(ep.y * scale * ppm).toInt) + g.drawLine((a2.x * scale * ppm).toInt, correctY(a2.y * scale * ppm).toInt, (ep.x * scale * ppm).toInt, correctY(ep.y * scale * ppm).toInt) + } + } + + /**Stellt das graphische Objekt dar.*/ + def draw(): Unit +}
\ No newline at end of file diff --git a/src/graphyx/graphics/GraphicalAABB.scala b/src/graphyx/graphics/GraphicalAABB.scala new file mode 100644 index 0000000..3d8999c --- /dev/null +++ b/src/graphyx/graphics/GraphicalAABB.scala @@ -0,0 +1,18 @@ +/* + * Graphyx + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package graphyx.graphics + +import sims.collision._ +case class GraphicalAABB(real: AABB) extends AABB(real.minVertex, real.maxVertex) with GraphicalObject { + override def draw() = { + g.setColor(java.awt.Color.BLACK) + g.drawRect((minVertex.x * scale * ppm).toInt, + correctY(maxVertex.y * scale * ppm).toInt, + ((maxVertex - minVertex).x * scale * ppm).toInt, + ((maxVertex - minVertex).y * scale * ppm).toInt) + } +} diff --git a/src/graphyx/graphics/GraphicalBody.scala b/src/graphyx/graphics/GraphicalBody.scala new file mode 100644 index 0000000..c78ea51 --- /dev/null +++ b/src/graphyx/graphics/GraphicalBody.scala @@ -0,0 +1,42 @@ +/* + * Graphyx + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package graphyx.graphics + +import sims.dynamics._ + +case class GraphicalBody(real: Body) extends GraphicalObject { + val pos = real.pos + val fixed = real.fixed + val monitor = real.monitor + def draw() = { + val radius = 4 + val posX = (pos.x * scale * ppm).toInt + val posY = correctY(pos.y * scale * ppm).toInt + g.setColor(java.awt.Color.yellow) + g.fillArc(posX - radius, + posY - radius, + (radius * 2).toInt, + (radius * 2).toInt, + 0, 90) + g.fillArc(posX - radius, + posY - radius, + (radius * 2).toInt, + (radius * 2).toInt, + 180, 90) + g.setColor(java.awt.Color.black) + g.fillArc(posX - radius, + posY - radius, + (radius * 2).toInt, + (radius * 2).toInt, + 90, 90) + g.fillArc(posX - radius, + posY - radius, + (radius * 2).toInt, + (radius * 2).toInt, + 270, 90) + } +} diff --git a/src/graphyx/graphics/GraphicalCircle.scala b/src/graphyx/graphics/GraphicalCircle.scala new file mode 100644 index 0000000..31f057d --- /dev/null +++ b/src/graphyx/graphics/GraphicalCircle.scala @@ -0,0 +1,22 @@ +/* + * Graphyx + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package graphyx.graphics + +import sims._ +import geometry._ +import dynamics._ +case class GraphicalCircle(real: Circle) extends Circle(real.radius, real.density) with GraphicalShape{ + override def draw() = { + //val b = Math.min(density / 100 * 255, 255) + //g.setColor(new java.awt.Color(0,0,255, b.toInt)) + g.setColor(java.awt.Color.blue) + fillCircle(pos, real.radius) + g.setColor(java.awt.Color.BLACK) + drawCircle(pos, real.radius) + this.drawLine(pos, pos + (Vector2D.i rotate rotation) * real.radius) + } +} diff --git a/src/graphyx/graphics/GraphicalCollision.scala b/src/graphyx/graphics/GraphicalCollision.scala new file mode 100644 index 0000000..5589f8c --- /dev/null +++ b/src/graphyx/graphics/GraphicalCollision.scala @@ -0,0 +1,18 @@ +/* + * Graphyx + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package graphyx.graphics + +import sims.collision._ + +case class GraphicalCollision(real: Collision) extends GraphicalObject{ + val points = real.points + val normal = real.normal + def draw() = { + g.setColor(java.awt.Color.GREEN) + for (p <- points) {drawPoint(p); drawVector(normal, p)} + } +}
\ No newline at end of file diff --git a/src/graphyx/graphics/GraphicalDistanceJoint.scala b/src/graphyx/graphics/GraphicalDistanceJoint.scala new file mode 100644 index 0000000..4a6e49d --- /dev/null +++ b/src/graphyx/graphics/GraphicalDistanceJoint.scala @@ -0,0 +1,19 @@ +/* + * Graphyx + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package graphyx.graphics + +import sims.dynamics.joints._ + +case class GraphicalDistanceJoint(real: DistanceJoint) extends GraphicalJoint { + val connection1 = real.connection1 + val connection2 = real.connection2 + + def draw() = { + g.setColor(java.awt.Color.BLACK) + drawLine(connection1, connection2) + } +} diff --git a/src/graphyx/graphics/GraphicalJoint.scala b/src/graphyx/graphics/GraphicalJoint.scala new file mode 100644 index 0000000..27d4f83 --- /dev/null +++ b/src/graphyx/graphics/GraphicalJoint.scala @@ -0,0 +1,12 @@ +/* + * Graphyx + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package graphyx.graphics + +import sims.dynamics.joints._ +trait GraphicalJoint extends GraphicalObject{ + val real: Joint +} diff --git a/src/graphyx/graphics/GraphicalObject.scala b/src/graphyx/graphics/GraphicalObject.scala new file mode 100644 index 0000000..3c56de6 --- /dev/null +++ b/src/graphyx/graphics/GraphicalObject.scala @@ -0,0 +1,15 @@ +/* + * Graphyx + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package graphyx.graphics + +/**Only copies functional info! (e.g. Graphical world does not include shapes, bodies).*/ +trait GraphicalObject extends Drawable{ + + /**Pointer to real object.*/ + val real: AnyRef + def draw(): Unit +} diff --git a/src/graphyx/graphics/GraphicalPair.scala b/src/graphyx/graphics/GraphicalPair.scala new file mode 100644 index 0000000..72e72ae --- /dev/null +++ b/src/graphyx/graphics/GraphicalPair.scala @@ -0,0 +1,18 @@ +/* + * Graphyx + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package graphyx.graphics + +import sims.collision._ +case class GraphicalPair(real: Pair) extends GraphicalObject{ + val pos1 = real.s1.pos + val pos2 = real.s2.pos + + def draw() = { + g.setColor(java.awt.Color.ORANGE) + drawLine(pos1, pos2) + } +} diff --git a/src/graphyx/graphics/GraphicalRectangle.scala b/src/graphyx/graphics/GraphicalRectangle.scala new file mode 100644 index 0000000..d3774bb --- /dev/null +++ b/src/graphyx/graphics/GraphicalRectangle.scala @@ -0,0 +1,18 @@ +/* + * Graphyx + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package graphyx.graphics + +import sims._ +import sims.dynamics._ +case class GraphicalRectangle(real: Rectangle) extends Rectangle(real.halfWidth, real.halfHeight, real.density) with GraphicalShape { + override def draw() = { + g.setColor(java.awt.Color.red) + fillPolygon(vertices) + g.setColor(java.awt.Color.BLACK) + drawPolygon(vertices) + } +} diff --git a/src/graphyx/graphics/GraphicalRegularPolygon.scala b/src/graphyx/graphics/GraphicalRegularPolygon.scala new file mode 100644 index 0000000..919b857 --- /dev/null +++ b/src/graphyx/graphics/GraphicalRegularPolygon.scala @@ -0,0 +1,20 @@ +/* + * Graphyx + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package graphyx.graphics + +import sims._ +import geometry._ +import dynamics._ +case class GraphicalRegularPolygon(real: RegularPolygon) extends RegularPolygon(real.n, real.radius, real.density) with GraphicalShape{ + override def draw() = { + g.setColor(java.awt.Color.orange) + fillPolygon(vertices) + g.setColor(java.awt.Color.BLACK) + drawPolygon(vertices) + } + +} diff --git a/src/graphyx/graphics/GraphicalRevoluteJoint.scala b/src/graphyx/graphics/GraphicalRevoluteJoint.scala new file mode 100644 index 0000000..940a862 --- /dev/null +++ b/src/graphyx/graphics/GraphicalRevoluteJoint.scala @@ -0,0 +1,20 @@ +/* + * Graphyx + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package graphyx.graphics + +import sims.geometry._ +import sims.dynamics.joints._ + +case class GraphicalRevoluteJoint(real: RevoluteJoint) extends GraphicalJoint { + val connection1 = real.connection1 + + def draw(): Unit = { + g.setColor(java.awt.Color.darkGray) + drawPoint(connection1) + } + +} diff --git a/src/graphyx/graphics/GraphicalShape.scala b/src/graphyx/graphics/GraphicalShape.scala new file mode 100644 index 0000000..e6f61a7 --- /dev/null +++ b/src/graphyx/graphics/GraphicalShape.scala @@ -0,0 +1,15 @@ +/* + * Graphyx + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package graphyx.graphics + +import sims.dynamics._ +trait GraphicalShape extends Shape with GraphicalObject{ + val real: Shape + override val uid: Int = real.uid + pos = real.pos + rotation = real.rotation +}
\ No newline at end of file diff --git a/src/graphyx/graphics/GraphicalSpringJoint.scala b/src/graphyx/graphics/GraphicalSpringJoint.scala new file mode 100644 index 0000000..dbd9d5f --- /dev/null +++ b/src/graphyx/graphics/GraphicalSpringJoint.scala @@ -0,0 +1,18 @@ +/* + * Graphyx + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package graphyx.graphics + +import sims.dynamics.joints._ + +case class GraphicalSpringJoint(real: SpringJoint) extends GraphicalJoint { + val connection1 = real.connection1 + val connection2 = real.connection2 + def draw(): Unit = { + g.setColor(java.awt.Color.GRAY) + drawLine(connection1, connection2) + } +} diff --git a/src/graphyx/graphics/GraphicalWorld.scala b/src/graphyx/graphics/GraphicalWorld.scala new file mode 100644 index 0000000..2837d69 --- /dev/null +++ b/src/graphyx/graphics/GraphicalWorld.scala @@ -0,0 +1,19 @@ +/* + * Graphyx + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package graphyx.graphics + +import sims.dynamics._ +case class GraphicalWorld(real: World){ + val time = real.time + val timeStep = real.timeStep + val iterations = real.iterations + val overCWarning = real.overCWarning + val gravity = real.gravity + val monitorResults = for (b <- real.bodies; m <- real.monitors; if (b.monitor)) yield "b" + b.uid.toString + " " + m._1 + ": " + m._2(b) + val enableCollisionDetection = real.enableCollisionDetection + val enablePositionCorrection = real.enablePositionCorrection +} diff --git a/src/graphyx/graphics/Parser.scala b/src/graphyx/graphics/Parser.scala new file mode 100644 index 0000000..7871ae8 --- /dev/null +++ b/src/graphyx/graphics/Parser.scala @@ -0,0 +1,34 @@ +/* + * Graphyx + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package graphyx.graphics + +import sims.collision._ +import sims.dynamics._ +import sims.dynamics.joints._ +object Parser { + + val throwOnUnknown = false + + def toGraphical(real: Shape) = real match { + case c: Circle => GraphicalCircle(c) + case r: Rectangle => GraphicalRectangle(r) + case p: RegularPolygon => GraphicalRegularPolygon(p) + case _ => throw new IllegalArgumentException("Cannot cast '" + real.getClass + "' to a graphical object.") + } + + def toGraphical(real: Joint) = real match { + case j: DistanceJoint => GraphicalDistanceJoint(j) + case j: SpringJoint => GraphicalSpringJoint(j) + case j: RevoluteJoint => GraphicalRevoluteJoint(j) + case _ => throw new IllegalArgumentException("Cannot cast '" + real.getClass + "' to a graphical object.") + } + + def toGraphical(real: Collision) = GraphicalCollision(real) + def toGraphical(real: Pair) = GraphicalPair(real) + def toGraphical(real: AABB) = GraphicalAABB(real) + def toGraphical(real: Body) = GraphicalBody(real) +} diff --git a/src/graphyx/graphics/Scene.scala b/src/graphyx/graphics/Scene.scala new file mode 100644 index 0000000..bb1fd9e --- /dev/null +++ b/src/graphyx/graphics/Scene.scala @@ -0,0 +1,24 @@ +/* + * Graphyx + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package graphyx.graphics + +import sims.geometry._ +import sims.collision._ +import sims.dynamics._ +import sims.dynamics.joints._ +import collection.mutable._ + +case class Scene(real: World) { + val world: GraphicalWorld = GraphicalWorld(real) + val shapes = for (s: Shape <- real.shapes) yield Parser.toGraphical(s) + val joints = for (j: Joint <- real.joints) yield Parser.toGraphical(j) + val bodies = for (b: Body <- real.bodies) yield Parser.toGraphical(b) + val collisions = for (c: Collision <- real.detector.collisions) yield Parser.toGraphical(c) + val pairs = for (p: Pair <- real.detector.asInstanceOf[GridDetector].pairs) yield Parser.toGraphical(p) + val aabbs = for (s: Shape <- real.shapes) yield Parser.toGraphical(s.AABB) + val fps = 0 +} diff --git a/src/graphyx/gui/AboutHelpFrame.scala b/src/graphyx/gui/AboutHelpFrame.scala new file mode 100644 index 0000000..5afa58e --- /dev/null +++ b/src/graphyx/gui/AboutHelpFrame.scala @@ -0,0 +1,22 @@ +package graphyx.gui + +import graphyx.actors._ +import graphyx.gui._ +import scala.swing._ +import scala.swing.event._ + +class AboutHelpFrame extends Frame { + title = "About" + contents = new TextArea( + """|Graphyx, testing and visualization tool for SiMS. + | + |copyright (c) 2009 Jakob Odersky + |SiMS and Graphyx are made available under the MIT License + | + |http://sourceforge.net/projects/simplemechanics/""".stripMargin + ) +} + +object AboutHelpFrame { + val frame = new AboutHelpFrame +} diff --git a/src/graphyx/gui/BodyPopup.scala b/src/graphyx/gui/BodyPopup.scala new file mode 100644 index 0000000..998a440 --- /dev/null +++ b/src/graphyx/gui/BodyPopup.scala @@ -0,0 +1,41 @@ +/* + * Graphyx + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package graphyx.gui + +import scala.swing._ +import scala.swing.event._ +import sims.dynamics._ +import graphyx.graphics._ + +class BodyPopup extends PopupMenu { + private var b: Body = _ + def body = b + def body_=(newBody: Body) = { + b = newBody + chckFixed.selected = b.fixed + chckMonitor.selected = b.monitor + } + + val chckMonitor = new CheckMenuItem("Monitor") + val chckFixed = new CheckMenuItem("Fixed") + val btnClose = new MenuItem("Close") + + add(chckMonitor) + add(chckFixed) + add(btnClose) + listenTo(chckMonitor, chckFixed, btnClose) + reactions += { + case ButtonClicked(b) => {setVisible(false) + b match { + case `chckMonitor` => body.monitor = chckMonitor.selected + case `chckFixed` => body.fixed = chckFixed.selected + case `btnClose` => () + case _ => () + } + } + } +}
\ No newline at end of file diff --git a/src/graphyx/gui/Container.scala b/src/graphyx/gui/Container.scala new file mode 100644 index 0000000..5181df7 --- /dev/null +++ b/src/graphyx/gui/Container.scala @@ -0,0 +1,33 @@ +/* + * Graphyx + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package graphyx.gui + +import graphyx.graphics._ +import sims.dynamics._ + +class Container { + val mainFrame = new MainFrame(this) + + var scene: Scene = Scene(new World) + + def show() = { + mainFrame.visible = true + } + + def update(s: Scene) = { + scene = s + mainFrame.mainPanel.worldPanel.update() + mainFrame.mainPanel.infoPanel.update() + mainFrame.mainPanel.optionsPanel.update() + mainFrame.mainPanel.gravityPanel.update() + } + + def exitGUI() = { + mainFrame.dispose + AboutHelpFrame.frame.dispose + } +} diff --git a/src/graphyx/gui/ControlPanel.scala b/src/graphyx/gui/ControlPanel.scala new file mode 100644 index 0000000..2708d54 --- /dev/null +++ b/src/graphyx/gui/ControlPanel.scala @@ -0,0 +1,36 @@ +/* + * Graphyx + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package graphyx.gui + +import graphyx.actors._ +import graphyx.gui._ +import scala.swing._ +import scala.swing.event._ + +class ControlPanel(container: Container) extends BoxPanel(Orientation.Horizontal) { + val btnStart = new Button {text = "Start"} //; icon = new javax.swing.ImageIcon("""play.png"""); tooltip = "Start"} + val btnStep = new Button {text = "Step"} + val btnStop = new Button {text = "Stop"} + val btnExit = new Button {text = "Exit"} + val btnFire = new Button {text = "Fire!"} + val btnReset = new Button {text = "Reset"} + val cboTest = new ComboBox(Graphyx.tests) + + contents ++= List(btnStart, btnStep, btnStop, btnExit, new Separator, btnFire, btnReset, cboTest) + + listenTo(btnStart, btnStep, btnStop, btnExit, btnFire, btnReset, cboTest.selection) + reactions += { + case ButtonClicked(`btnStart`) => Graphyx.physicsActor ! Start + case ButtonClicked(`btnStop`) => Graphyx.physicsActor ! Stop + case ButtonClicked(`btnStep`) => Graphyx.physicsActor.world.step() + case ButtonClicked(`btnExit`) => Graphyx.exit + case ButtonClicked(`btnFire`) => Graphyx.physicsActor ! FireEvent + case ButtonClicked(`btnReset`) => Graphyx.test = Graphyx.tests(cboTest.selection.index) + case SelectionChanged(`cboTest`) => Graphyx.test = Graphyx.tests(cboTest.selection.index) + } + +} diff --git a/src/graphyx/gui/GravityPanel.scala b/src/graphyx/gui/GravityPanel.scala new file mode 100644 index 0000000..bdf5245 --- /dev/null +++ b/src/graphyx/gui/GravityPanel.scala @@ -0,0 +1,83 @@ +/* + * Graphyx + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package graphyx.gui + +import scala.swing._ +import scala.swing.event._ +import scala.swing.GridBagPanel._ +import sims.geometry._ + +class GravityPanel(container: Container) extends GridBagPanel{ + + val c = new Constraints + c.fill = Fill.Both + this.border = Swing.EmptyBorder(3,3,3,3) + + val sldX = new Slider {max = 500; min = -500; preferredSize = minimumSize} + val lblX = new Label("0.0") + val sldY = new Slider {max = 500; min = -500; preferredSize = minimumSize} + val lblY = new Label("-9.81") + + c.gridx = 0 + c.gridy = 0 + c.weightx = 1.0 + c.weighty = 0.0 + super.add(new Label("Gravity"), c) + + c.gridx = 0 + c.gridy = 1 + c.weightx = 1.0 + c.weighty = 0.0 + super.add(new Label("X: "), c) + + c.gridx = 1 + c.gridy = 1 + c.weightx = 1.0 + c.weighty = 0.0 + super.add(sldX, c) + + c.gridx = 2 + c.gridy = 1 + c.weightx = 0.0 + c.weighty = 0.0 + super.add(lblX, c) + + c.gridx = 0 + c.gridy = 2 + c.weightx = 1.0 + c.weighty = 0.0 + super.add(new Label("Y: "), c) + + c.gridx = 1 + c.gridy = 2 + c.weightx = 1.0 + c.weighty = 0.0 + super.add(sldY, c) + + c.gridx = 2 + c.gridy = 2 + c.weightx = 0.0 + c.weighty = 0.0 + super.add(lblY, c) + + + listenTo(sldX, sldY) + + reactions += { + case ValueChanged(s) if (s == sldX || s == sldY) => + container.scene.real.gravity = Vector2D(sldX.value / 10.0, sldY.value / 10.0) + } + + def update() = { + val g = container.scene.world.gravity + sldX.value = (g.x * 10).toInt + lblX.text = ((g.x * 10).toInt / 10.0).toString + sldY.value = (g.y * 10).toInt + lblY.text = ((g.y * 10).toInt / 10.0).toString + } + +} diff --git a/src/graphyx/gui/InfoPanel.scala b/src/graphyx/gui/InfoPanel.scala new file mode 100644 index 0000000..484f3d7 --- /dev/null +++ b/src/graphyx/gui/InfoPanel.scala @@ -0,0 +1,28 @@ +/* + * Graphyx + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package graphyx.gui + +import scala.swing._ +class InfoPanel(container: Container) extends BoxPanel(Orientation.Vertical){ + preferredSize = (200, 50) + + val out = new TextArea + out.editable = false + contents += out + border = Swing.EmptyBorder(3,3,3,3) + + def update() = { + out.text = "fps=" + container.scene.fps + "\n" + + "t=" + container.scene.world.time.formatted("%f") + "\n" + if (container.scene.world.overCWarning) { + out.foreground = java.awt.Color.red + out.text += "Warning: some bodies passed the speed of light! Simulation may be highly incorrect.\n" + } + else out.foreground = java.awt.Color.black + for (r <- container.scene.world.monitorResults) out.text += r + "\n" + } +} diff --git a/src/graphyx/gui/MainFrame.scala b/src/graphyx/gui/MainFrame.scala new file mode 100644 index 0000000..89812a5 --- /dev/null +++ b/src/graphyx/gui/MainFrame.scala @@ -0,0 +1,23 @@ +/* + * Graphyx + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package graphyx.gui + +import sims._ +import scala.swing._ + +class MainFrame(container: Container) extends Frame{ + super.background = java.awt.Color.WHITE + title = "graphyx" + preferredSize = (1000,800) + reactions += { + case event.WindowClosing(w) => Graphyx.exit() + } + + val mainPanel = new MainPanel(container) + contents = mainPanel + +} diff --git a/src/graphyx/gui/MainPanel.scala b/src/graphyx/gui/MainPanel.scala new file mode 100644 index 0000000..e4989e8 --- /dev/null +++ b/src/graphyx/gui/MainPanel.scala @@ -0,0 +1,77 @@ +/* + * Graphyx + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package graphyx.gui + +import graphyx.graphics._ +import sims._ +import scala.swing._ +import swing.event._ +import GridBagPanel._ +import java.awt.Insets + +class MainPanel(container: Container) extends scala.swing.GridBagPanel { + val c = new Constraints + + val menuPanel = new MenuPanel(container) + val worldPanel = new WorldPanel(container) + val controlPanel = new ControlPanel(container) + val infoPanel = new InfoPanel(container) + val optionsPanel = new OptionsPanel(container) + val shapeInfoPanel = new ShapeInfoPanel(container) + val gravityPanel = new GravityPanel(container) + + val splitter = new SplitPane { + orientation = Orientation.Vertical + continuousLayout = true + resizeWeight = 1 + dividerSize = 2 + leftComponent = worldPanel + rightComponent = new SplitPane { + orientation = Orientation.Horizontal + continuousLayout = true + resizeWeight = 1 + dividerSize = 2 + topComponent = new SplitPane{ + orientation = Orientation.Horizontal + continuousLayout = true + resizeWeight = 1 + dividerSize = 2 + topComponent = infoPanel + bottomComponent = gravityPanel + } + bottomComponent = optionsPanel + } + } + c.fill = Fill.Both + + c.gridx = 0 + c.gridy = 0 + c.weightx = 1.0 + c.weighty = 0.0 + super.add(menuPanel, c) + + c.gridx = 0 + c.gridy = 1 + c.weightx = 1.0 + c.weighty = 0.0 + super.add(controlPanel, c) + + + c.gridx = 0 + c.gridy = 2 + c.weightx = 1.0 + c.weighty = 1.0 + super.add(splitter, c) + + /* + c.gridx = 1 + c.gridy = 1 + c.weightx = 0.0 + c.weighty = 1.0 + super.add(infoPanel, c) + */ +} diff --git a/src/graphyx/gui/MenuHelp.scala b/src/graphyx/gui/MenuHelp.scala new file mode 100644 index 0000000..1c73d51 --- /dev/null +++ b/src/graphyx/gui/MenuHelp.scala @@ -0,0 +1,19 @@ +package graphyx.gui + +import graphyx.actors._ +import graphyx.gui._ +import scala.swing._ +import scala.swing.event._ + +class MenuHelp extends Menu("Help") { + val miAbout = new MenuItem("About...") + + val components = List(miAbout) + contents ++= components + + listenTo(components: _*) + reactions += { + case event.ButtonClicked(`miAbout`) => AboutHelpFrame.frame.visible = true + + } +} diff --git a/src/graphyx/gui/MenuPanel.scala b/src/graphyx/gui/MenuPanel.scala new file mode 100644 index 0000000..d3196fe --- /dev/null +++ b/src/graphyx/gui/MenuPanel.scala @@ -0,0 +1,12 @@ +package graphyx.gui + +import graphyx.actors._ +import graphyx.gui._ +import scala.swing._ +import scala.swing.event._ + +class MenuPanel(container: Container) extends BoxPanel(Orientation.Horizontal) { + val mnu = new MenuBar + mnu.contents += new MenuHelp + contents += mnu +} diff --git a/src/graphyx/gui/OptionsPanel.scala b/src/graphyx/gui/OptionsPanel.scala new file mode 100644 index 0000000..3ec3921 --- /dev/null +++ b/src/graphyx/gui/OptionsPanel.scala @@ -0,0 +1,122 @@ +/* + * Graphyx + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package graphyx.gui + +import graphyx.graphics._ +import sims.geometry._ +import sims.dynamics._ +import scala.swing._ +import scala.swing.event._ +import GridBagPanel._ + +class OptionsPanel(container: Container) extends GridPanel(11,2){ + /* + val c = new Constraints + c.anchor = Anchor.West + */ + + this.border = Swing.EmptyBorder(3,3,3,3) + this.hGap = 3 + this.vGap = 3 + + val lblTimeStep = new Label("h [Hz]") {tooltip = "Time Step"} + val txtTimeStep = new TextField + + val lblIterations = new Label("i [1]") {tooltip = "Iterations"} + val txtIterations = new TextField + + val lblCD = new Label("CD") {tooltip = "Collision Detection"} + val chckCD = new CheckBox("") + + val lblPC = new Label("PC") {tooltip = "Position Correction"} + val chckPC = new CheckBox("") + + val lblDraw = new Label("Draw") + + val lblDrawBodies = new Label("Bodies") + val chckDrawBodies = new CheckBox {selected = false} + + val lblDrawShapes = new Label("Shapes") + val chckDrawShapes = new CheckBox {selected = true} + + val lblDrawJoints = new Label("Joints") + val chckDrawJoints = new CheckBox {selected = true} + + val lblDrawAABBs = new Label("AABBs") + val chckDrawAABBs = new CheckBox {selected = false} + + val lblDrawPairs = new Label("Pairs") + val chckDrawPairs = new CheckBox {selected = false} + + val lblDrawCollisions = new Label("Collisions") + val chckDrawCollisions = new CheckBox {selected = false} + + val components = List( + lblTimeStep, txtTimeStep, + lblIterations, txtIterations, + lblCD, chckCD, + lblPC, chckPC, + lblDraw, new Label(""), + lblDrawBodies, chckDrawBodies, + lblDrawShapes, chckDrawShapes, + lblDrawJoints, chckDrawJoints, + lblDrawAABBs, chckDrawAABBs, + lblDrawPairs, chckDrawPairs, + lblDrawCollisions, chckDrawCollisions + ) + contents ++= components + listenTo(components: _*) + + reactions += { + case EditDone(`txtTimeStep`) => container.scene.world.real.timeStep = 1.0 / txtTimeStep.text.toInt + case EditDone(`txtIterations`) => container.scene.world.real.iterations = txtIterations.text.toInt + case ButtonClicked(`chckCD`) => container.scene.world.real.enableCollisionDetection = chckCD.selected + case ButtonClicked(`chckPC`) => container.scene.world.real.enablePositionCorrection = chckPC.selected + case ButtonClicked(`chckDrawBodies`) => container.mainFrame.mainPanel.worldPanel.drawBodies = chckDrawBodies.selected + case ButtonClicked(`chckDrawShapes`) => container.mainFrame.mainPanel.worldPanel.drawShapes = chckDrawShapes.selected + case ButtonClicked(`chckDrawJoints`) => container.mainFrame.mainPanel.worldPanel.drawJoints = chckDrawJoints.selected + case ButtonClicked(`chckDrawAABBs`) => container.mainFrame.mainPanel.worldPanel.drawAABBs = chckDrawAABBs.selected + case ButtonClicked(`chckDrawPairs`) => container.mainFrame.mainPanel.worldPanel.drawPairs = chckDrawPairs.selected + case ButtonClicked(`chckDrawCollisions`) => container.mainFrame.mainPanel.worldPanel.drawCollisions = chckDrawCollisions.selected + } + + def update() = { + if (!txtTimeStep.peer.hasFocus) + txtTimeStep.text = (1.0 / container.scene.world.timeStep).toString + if (!txtIterations.peer.hasFocus) + txtIterations.text = container.scene.world.iterations.toString + chckCD.selected = container.scene.world.enableCollisionDetection + chckPC.selected = container.scene.world.enablePositionCorrection + chckDrawBodies.selected = container.mainFrame.mainPanel.worldPanel.drawBodies + chckDrawShapes.selected = container.mainFrame.mainPanel.worldPanel.drawShapes + chckDrawJoints.selected = container.mainFrame.mainPanel.worldPanel.drawJoints + chckDrawAABBs.selected = container.mainFrame.mainPanel.worldPanel.drawAABBs + chckDrawPairs.selected = container.mainFrame.mainPanel.worldPanel.drawPairs + chckDrawCollisions.selected = container.mainFrame.mainPanel.worldPanel.drawCollisions + } + + + /* + def addCell(cm: Component)(x: Int, y: Int) = { + c.gridx = x + c.gridy = y + c.weightx = 0.5 + c.weighty = 0.0 + c. + if (cm.isInstanceOf[TextArea]) + c.fill = Fill.Horizontal + else + c.fill = Fill.None + super.add(cm, c) + } + + addCell(lblTimeStep)(0,0) + addCell(txtTimeStep)(1,0) + addCell(lblIterations)(0,1) + addCell(txtIterations)(1,1) + */ +} diff --git a/src/graphyx/gui/PopupMenu.scala b/src/graphyx/gui/PopupMenu.scala new file mode 100644 index 0000000..9679018 --- /dev/null +++ b/src/graphyx/gui/PopupMenu.scala @@ -0,0 +1,20 @@ +/* + * Graphyx + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package graphyx.gui + +import scala.swing._ +import scala.swing.event._ +import javax.swing._ + +class PopupMenu extends Component +{ + override lazy val peer : JPopupMenu = new JPopupMenu + + def add(item: MenuItem) : Unit = { peer.add(item.peer) } + def setVisible(visible:Boolean) : Unit = { peer.setVisible(visible) } + /* Create any other peer methods here */ +}
\ No newline at end of file diff --git a/src/graphyx/gui/ShapeInfoPanel.scala b/src/graphyx/gui/ShapeInfoPanel.scala new file mode 100644 index 0000000..d94c0bd --- /dev/null +++ b/src/graphyx/gui/ShapeInfoPanel.scala @@ -0,0 +1,35 @@ +/* + * Graphyx + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package graphyx.gui + +import graphyx.graphics._ +import sims.geometry._ +import sims.dynamics._ +import scala.swing._ +import scala.swing.event._ +import GridBagPanel._ + +class ShapeInfoPanel(container: Container) extends GridPanel(2,2) { + + this.border = Swing.EmptyBorder(3,3,3,3) + this.hGap = 3 + this.vGap = 3 + + val lblBody = new Label("Body") + val lblValBody = new Label("0") + + val lblShape = new Label("Shape") + val lblValShape = new Label("0") + + val components = List( + lblBody, lblValBody, + lblShape, lblValShape + ) + + contents ++= components + +} diff --git a/src/graphyx/gui/WorldPanel.scala b/src/graphyx/gui/WorldPanel.scala new file mode 100644 index 0000000..13765e5 --- /dev/null +++ b/src/graphyx/gui/WorldPanel.scala @@ -0,0 +1,150 @@ +/* + * Graphyx + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package graphyx.gui + +import graphyx.graphics._ +import sims.geometry._ +import sims.dynamics._ +import scala.swing._ +import scala.swing.event._ + +class WorldPanel(container: Container) extends BoxPanel(Orientation.Vertical){ + cursor = new java.awt.Cursor(java.awt.Cursor.CROSSHAIR_CURSOR) + val lblBody = new Label {text = "None @ (0, 0)"} + contents += lblBody + val popup = new BodyPopup + contents += popup + + implicit def point2Vector(p: java.awt.Point) = { + val x = p.x + val y = size.height - p.y + new Vector2D((x - offset.x) / scale / ppm, (y - offset.y) / scale / ppm) + } + + private val ppi = java.awt.Toolkit.getDefaultToolkit.getScreenResolution + val ppm = 39.37007874 * ppi + var scale = 0.02 + var offset = Vector2D(100, 100) //vector for point coordinates [px] + + def scene: Scene = container.scene + + def update() = { + repaint() + } + + var drawBodies = false + var drawShapes = true + var drawJoints = true + var drawAABBs = false + var drawPairs = false + var drawCollisions = false + + override def paintComponent(g: java.awt.Graphics) = { + var parts: Seq[graphyx.graphics.Drawable] = Seq() + if (drawShapes) parts ++= scene.shapes + if (drawJoints) parts ++= scene.joints + if (drawAABBs) parts ++= scene.aabbs + if (drawPairs) parts ++= scene.pairs + if (drawCollisions) parts ++= scene.collisions + if (drawBodies) parts ++= scene.bodies + g.clearRect(0,0,size.width,size.height) + drawAxes(g) + g.translate(offset.x.toInt, -offset.y.toInt) + drawParts(parts, g) + g.translate(-offset.x.toInt, offset.y.toInt) + } + + def drawAxes(g: java.awt.Graphics): Unit = { + g.setColor(java.awt.Color.GRAY) + g.drawLine(0, size.height - offset.y.toInt, size.width, size.height - offset.y.toInt) + g.drawLine(offset.x.toInt, 0, offset.x.toInt, size.height) + /* + val md = scale * ppm + val hb = size.width / md + for (i <- 1 to hb.toInt) g.drawLine(offset.x.toInt + i * md.toInt, size.height - offset.y.toInt, + offset.x.toInt + i * md.toInt, size.height - offset.y.toInt + 10) + */ + } + + def drawParts(parts: Iterable[graphics.Drawable], g: java.awt.Graphics) = { + for (p <- parts){ + p.g = g + p.windowHeight = super.size.height + p.ppm = ppm + p.scale = this.scale + p.draw() + } + } + + def getBody(p: Vector2D): Option[Body] = { + val shape = scene.shapes.find(_.contains(p)) + if (shape != None) Some(shape.get.real.body) + else None + } + + var mousePressed: Boolean = false + var startPoint = new java.awt.Point(0,0) + var endPoint = new java.awt.Point(0,0) + var grabbedBody: Option[GrabbedBody] = None + def grab(b: Body, p: Vector2D) = { + grabbedBody = Some(new GrabbedBody(b, p)) + b.fixed = true + } + + def release() = { + if (grabbedBody != None && grabbedBody.get.wasFixed == false) + grabbedBody.get.body.fixed = false + grabbedBody = None + } + + listenTo(Mouse.clicks, Mouse.moves, Mouse.wheel) + reactions += { + case MousePressed(c,p,x,y,b) => { + mousePressed = true; startPoint = p; endPoint = p + x match { + case 1024 if (getBody(p) != None) => grab(getBody(p).get, p) + case 4096 if (getBody(p) != None) => {grabbedBody = Some(new GrabbedBody(getBody(p).get, p)); popup.body = grabbedBody.get.body; popup.peer.setLocation(p); popup.visible = true} + } + } + + case MouseMoved(c,p,i) => { + lblBody.text = (if (getBody(p) != None) getBody(p).get.uid.toString else "None") + " @ (" + point2Vector(p).x.formatted("%f") + ", " + point2Vector(p).y.formatted("%f") + ")" + } + + case MouseDragged(c,p,1088) => {//drag with shift + offset += Vector2D((p.x - endPoint.x), -(p.y - endPoint.y)) + mousePressed = true + endPoint = p + cursor = new java.awt.Cursor(java.awt.Cursor.MOVE_CURSOR) + } + + case MouseDragged(c,p,x) => + if (grabbedBody != None) grabbedBody.get.body.pos = p - grabbedBody.get.r + + case MouseReleased(c,p,x,y,b) => { + mousePressed = false + endPoint = p + cursor = new java.awt.Cursor(java.awt.Cursor.CROSSHAIR_CURSOR) + release() + } + + case MouseWheelMoved(c,p,1024,y) => { //with left mouse button pressed + if (grabbedBody != None) grabbedBody.get.body.rotation += 0.05 * y + } + + case MouseWheelMoved(c,p,x,y) => { + scale -= scale * 0.02 * y + } + + } +} + +class GrabbedBody(b: Body, point: Vector2D){ + def body = b + val r: Vector2D = point - body.pos + val wasFixed = b.fixed +} diff --git a/src/graphyx/tests/BallStack.scala b/src/graphyx/tests/BallStack.scala new file mode 100644 index 0000000..8e45611 --- /dev/null +++ b/src/graphyx/tests/BallStack.scala @@ -0,0 +1,25 @@ +/* + * Graphyx + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package graphyx.tests + +import sims.dynamics._ +import sims.geometry._ + +object BallStack extends Test{ + val world = new World + val title = "BallStack" + def init(): Unit = { + val ground = new Rectangle(1,0.1,1) {pos = Vector2D(1,0)} + val wallLeft = new Rectangle(0.1,1,1) {pos = Vector2D(0,1)} + val wallRight = new Rectangle(0.1,1,1) {pos = Vector2D(2,1)} + val box = new Body(ground, wallLeft, wallRight) {fixed = true} + world += box + world += (new Circle(0.1,1) {pos = Vector2D(1.1, 2.8)}).asBody + world ++= (for (i <- 0 to 50) yield (new Circle(0.1,1) {pos = Vector2D(1, 3 + 0.2 * i)}).asBody) + + } +} diff --git a/src/graphyx/tests/Chain.scala b/src/graphyx/tests/Chain.scala new file mode 100644 index 0000000..27511ca --- /dev/null +++ b/src/graphyx/tests/Chain.scala @@ -0,0 +1,26 @@ +/* + * Graphyx + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package graphyx.tests + +import sims.dynamics._ +import sims.dynamics.joints._ +import sims.prefabs._ +import sims.geometry._ + +object Chain extends Test{ + override val title = "Chain" + val world = new World + def init = { + val nodes = for (i <- (0 until 20).toList) yield (new Circle(0.02, 1) {pos = Vector2D(i * 0.2, 1)}).asBody + nodes(0).fixed = true + nodes(19).fixed = true + val connectors = for (i <- (0 until nodes.length - 1).toList) yield new DistanceJoint(nodes(i), nodes(i + 1)) + for (n <- nodes) world += n + for (c <- connectors) world += c + world += (new Circle(1,0.001) {pos = Vector2D(2,2)}).asBody + } +} diff --git a/src/graphyx/tests/CompositeShape.scala b/src/graphyx/tests/CompositeShape.scala new file mode 100644 index 0000000..51ffd0b --- /dev/null +++ b/src/graphyx/tests/CompositeShape.scala @@ -0,0 +1,36 @@ +/* + * Graphyx + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package graphyx.tests + +import sims.geometry._ +import sims.dynamics._ + +import sims.util._ +import sims.util.Positioning._ + +object CompositeShape extends Test{ + val title = "Composite Shape" + val world = new World + + def init = { + + val ground = new Body(Rectangle(1000,0.1,1)) {fixed = true} + world += ground + + val h2o = { + val h = new Circle(0.2,1) + val o1 = new Circle(0.05,1) + val o2 = new Circle(0.05,1) {rotation = 0.3} + position(o1) {0.25 above h} + o2.pos = (new Polar(0.25, Math.Pi / 3)) from h + new Body(h, o1, o2) {pos = Vector2D(0, 0.5)} + } + world += h2o + } + +} +
\ No newline at end of file diff --git a/src/graphyx/tests/Cup.scala b/src/graphyx/tests/Cup.scala new file mode 100644 index 0000000..598a9be --- /dev/null +++ b/src/graphyx/tests/Cup.scala @@ -0,0 +1,31 @@ +/* + * Graphyx + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package graphyx.tests + +import sims.dynamics._ +import sims.geometry._ +object Cup extends Test { + val title = "Cup" + val world = new World + + def init = { + val ground = (new Rectangle(1000, 0.1, 1) {friction = 1}).asBody + ground.fixed = true + world += ground + + val cupShapes = for (i <- 0 to (10 * Math.Pi).toInt) yield new Circle(0.1,1) {pos = Vector2D(Math.cos(-i / 10.0), Math.sin(-i / 10.0)); restitution = 0.0; friction = 1.0} + val cup = new Body(cupShapes: _*) {fixed = true; pos = Vector2D(0, 1)} + world += cup + + val ball1 = (new Circle(0.2, 1) {pos = Vector2D(0, 2)}).asBody + val ball2 = (new Circle(0.2, 1) {pos = Vector2D(-0.4, 2)}).asBody + val ball3 = (new Circle(0.2, 1) {pos = Vector2D(0.4, 2)}).asBody + world += ball1 + world += ball2 + world += ball3 + } +} diff --git a/src/graphyx/tests/EmptyTest.scala b/src/graphyx/tests/EmptyTest.scala new file mode 100644 index 0000000..bbca800 --- /dev/null +++ b/src/graphyx/tests/EmptyTest.scala @@ -0,0 +1,15 @@ +/* + * Graphyx + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package graphyx.tests + +import sims.dynamics._ +object EmptyTest extends Test{ + override val title = "Empty Test" + val world = new World + def init = {} + +} diff --git a/src/graphyx/tests/Friction.scala b/src/graphyx/tests/Friction.scala new file mode 100644 index 0000000..268d054 --- /dev/null +++ b/src/graphyx/tests/Friction.scala @@ -0,0 +1,56 @@ +/* + * Graphyx + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package graphyx.tests + +import sims.geometry._ +import sims.dynamics._ +import sims.dynamics.joints._ + +object Friction extends Test{ + val title = "Friction" + val world = new World + + var r1: RevoluteJoint = _ + var r2: RevoluteJoint = _ + var r3: RevoluteJoint = _ + + def init = { + val ground = (new Rectangle(1000, 0.1, 1) {friction = 1}).asBody + ground.fixed = true + world += ground + + val ball1 = (new Circle(0.2, 1) {pos = Vector2D(0, 1); friction = 0.05}).asBody + ball1.angularVelocity = -80 + ball1.monitor = true + val ball2 = (new Circle(0.2, 1) {pos = Vector2D(1, 1); friction = 0.2}).asBody + ball2.angularVelocity = -80 + ball2.monitor = true + val ball3 = (new Circle(0.2, 1) {pos = Vector2D(2, 1); friction = 1}).asBody + ball3.angularVelocity = -80 + ball3.monitor = true + + world += ball1 + world += ball2 + world += ball3 + + world.monitors += ("", (b: Body) => "I=" + b.I + "\tw=" + b.angularVelocity + "\tEcin=" + 0.5 * b.I * b.angularVelocity * b.angularVelocity) + + r1 = RevoluteJoint(ground, ball1, ball1.pos) + r2 = RevoluteJoint(ground, ball2, ball2.pos) + r3 = RevoluteJoint(ground, ball3, ball3.pos) + world += r1 + world += r2 + world += r3 + } + + override def fireEvent = { + world -= r1 + world -= r2 + world -= r3 + } + +} diff --git a/src/graphyx/tests/Friction2.scala b/src/graphyx/tests/Friction2.scala new file mode 100644 index 0000000..6eb445b --- /dev/null +++ b/src/graphyx/tests/Friction2.scala @@ -0,0 +1,33 @@ +/* + * Graphyx + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package graphyx.tests + +import sims.geometry._ +import sims.dynamics._ +import sims.dynamics.joints._ + +object Friction2 extends Test{ + val title = "Friction2" + val world = new World {override val detector = new sims.collision.GridDetector(this) {gridSide = 0.2}} + + def init = { + val shapes = for (i <- (0 to 20).toList) yield (new Rectangle(0.2, 0.1, 1) { + pos = Vector2D(0.4 * i, 0) + friction = (i * 1.0 / 10) + restitution = 0 + }) + val ground = new Body(shapes: _*) //Rectangle(100, 0.1, 1).asBody + ground.pos = Vector2D(0,0) + ground.fixed = true + ground.rotation = -0.2 + world += ground + + val b: Body = (new Circle(0.1,10)) ^ (new Circle(0.1,10) {pos = Vector2D(0.2,0)}) ^ (new Circle(0.1,10) {pos = Vector2D(0.4,0)}) + b.pos = Vector2D(0.1,0.1) + world += b + } +}
\ No newline at end of file diff --git a/src/graphyx/tests/General1.scala b/src/graphyx/tests/General1.scala new file mode 100644 index 0000000..1a71c24 --- /dev/null +++ b/src/graphyx/tests/General1.scala @@ -0,0 +1,125 @@ +/* + * Graphyx + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package graphyx.tests + +import sims._ +import sims.geometry._ +import sims.collision._ +import sims.dynamics._ +import sims.dynamics.joints._ +object General1 extends Test{ + override val title = "General1" + val world = new World + + def init() = { + val b0 = new Circle(0.1,1).asBody + b0.fixed = true + val b1 = (new Circle(0.1,1) {pos = Vector2D(0,1)}).asBody + //b0.linearVelocity = Vector2D(0,0.4) + b0.monitor = true + b1.monitor = true + val circles = for (i <- (0 until 10).toList) yield (new Circle(0.1,1) {pos = Vector2D(0, 1.2 + 0.2 * i)}).asBody + //for (c <- circles) world += c + //world.gravity = Vector2D.Null + // world += b0 + //world += b1 + + world.monitors += ("Veclocity = ", _.linearVelocity.length.toString) + + val b2 = (new Rectangle(0.1,0.15,1) {pos = Vector2D(1,0)}).asBody + b2.fixed = true + b2.rotation = 2 + val b3 = (new Circle(0.1,1) {pos = Vector2D(1,1.1)}).asBody + //world += b2 + //world += b3 + + val b4 = (new Rectangle(0.1,0.15,1) {pos = Vector2D(2,0)}).asBody + b4.fixed = true + b4.rotation = 2 + val b5 = (new Rectangle(0.1,0.15,1) {pos = Vector2D(2,1.2)}).asBody + //world += b4 + //world += b5 + + val bn = (new RegularPolygon(5,0.1,1) {pos = Vector2D(3,0)}).asBody + //world += bn + + //Make cannon and balls + val hull = new Body( + new Rectangle(0.1,0.5,1) {pos = Vector2D(0.1, 0.5)}, + new Rectangle(0.1,0.5,1) {pos = Vector2D(0.5, 0.5)}, + new Rectangle(0.1,0.1,1) {pos = Vector2D(0.3, 0.1)} + ) + hull.fixed = true + hull.rotation -= Math.Pi / 4 + + val ball = new Body( + new Circle(0.1,20) {pos = Vector2D(0.3, 0.3)} + ) + val ball2 = new Body( + new Circle(0.1,20) {pos = Vector2D(0.3, 0.5)} + ) + world += hull + world += ball + world += ball2 + + //Swing + val anchor = (new Circle(0.05,1) {pos = Vector2D(25,10)}).asBody + anchor.fixed = true + val block = (new RegularPolygon(9,0.5,2) {pos = Vector2D(25,1)}).asBody + val joint = new DistanceJoint(anchor, block) + world += anchor + world += block + world += joint + + //Make stack + val stack = for (i <- (0 until 10).toList) yield (new Circle(0.1,1) {pos = Vector2D(30, 0.2 + 0.2 * i)}).asBody + for (e <- stack) world += e + + + /* + val springBoardHull = new Body( + new Rectangle(0.1,0.5,1) {pos = Vector2D(-1.1, 0.5)}, + new Rectangle(0.1,0.5,1) {pos = Vector2D(-1.5, 0.5)}, + new Rectangle(0.1,0.1,1) {pos = Vector2D(-1.3, 0.1)} + ) + springBoardHull.fixed = true + world += springBoardHull + + val springBoard = new Body( + new Circle(0.1,20) {pos = Vector2D(-1.3, 0.5)} + ) + world += springBoard + + val spring = new SpringJoint(springBoardHull, Vector2D(-1.3, 0.1), springBoard, springBoard.pos, 2000) + spring.damping = 10 + world += spring + */ + + val ground = (new Rectangle(1000,0.5,1) {pos = Vector2D(0, -0.4)}).asBody + ground.fixed = true + world += ground + + world += (new Circle(0.1,1) {pos = Vector2D(2,2)}) ^ (new Circle(0.1,1) {pos = Vector2D(2,2.2)}) + } + + override def fireEvent() = blastBomb + + def blastBomb() = { + val bombPos = Vector2D(0, 0) + val bombRadius = 1 + val bombImpulse = 10 + val region = new Circle(bombRadius, 0) {pos = bombPos} + val detector = world.detector.asInstanceOf[GridDetector] + val collisions = for (s <- world.shapes; if detector.colliding(collision.Pair(region, s))) yield detector.collision(collision.Pair(region, s)) + for (c <- collisions) { + if (c.shape1 != region) + for(p <- c.points) c.shape1.body.applyImpulse((p - bombPos).unit * bombImpulse, p) + if (c.shape2 != region) + for(p <- c.points) c.shape2.body.applyImpulse((p - bombPos).unit * bombImpulse, p) + } + } +} diff --git a/src/graphyx/tests/General2.scala b/src/graphyx/tests/General2.scala new file mode 100644 index 0000000..2006080 --- /dev/null +++ b/src/graphyx/tests/General2.scala @@ -0,0 +1,28 @@ +/* + * Graphyx + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package graphyx.tests + +import sims.geometry._ +import sims.dynamics._ + +object General2 extends Test{ + val title = "General2" + val world = new World + + def init = { + world += new Body(new Rectangle(100,0.5,1) {pos = Vector2D(0, -0.5)}) {fixed = true} + //new Body(new Circle(0.05,1) {pos = Vector2D(0, 0.05)}), + //new Body(new Rectangle(0.5,0.1,1) {pos = Vector2D(0, 0.2)}), + //new Body(new Circle(0.05,1) {pos = Vector2D(1, 0.05)})) + + world += new Body(new Circle(0.2,1) {pos = Vector2D(5, 0.2)}) + world += new Body(new Rectangle(1.5,0.1,1) {pos = Vector2D(4.5, 0.5)}, new Rectangle(0.05,0.1,1) {pos = Vector2D(3.05,0.7)}) + world += new Body(new Circle(0.1,1) {pos = Vector2D(3.2, 0.7)}) + world += new Body(new Circle(0.5,10) {pos = Vector2D(8, 0.5)}) + + } +} diff --git a/src/graphyx/tests/Joints1.scala b/src/graphyx/tests/Joints1.scala new file mode 100644 index 0000000..ad143ec --- /dev/null +++ b/src/graphyx/tests/Joints1.scala @@ -0,0 +1,24 @@ +/* + * Graphyx + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package graphyx.tests + +import sims.dynamics._ +import sims.dynamics.joints._ +import sims.geometry._ + +object Joints1 extends Test{ + override val title = "Joints1" + val world = new World + def init = { + val anchor = new Body(new Circle(0.03, 1) {pos = Vector2D(1,5)}) {fixed = true} + val weight = (new Rectangle(0.1, 0.5, 1) {pos = Vector2D(1,0)}).asBody + val joint = new DistanceJoint(anchor, anchor.pos, weight, weight.pos + Vector2D(0.1,0.2)) + world += anchor + world += weight + world += joint + } +} diff --git a/src/graphyx/tests/Joints2.scala b/src/graphyx/tests/Joints2.scala new file mode 100644 index 0000000..9ff5df3 --- /dev/null +++ b/src/graphyx/tests/Joints2.scala @@ -0,0 +1,29 @@ +/* + * Graphyx + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package graphyx.tests + +import sims.dynamics._ +import sims.dynamics.joints._ +import sims.geometry._ +import sims.util._ +import sims.util.Positioning._ + +object Joints2 extends Test{ + override val title = "Joints2" + val world = new World + def init() = { + val length = 100 + val distance = 0.2 + val anchors = for (i <- (0 until length).toList) yield new Body(new Circle(0.03,1) {pos = Vector2D(i * distance,5)}) {fixed = true} + val balls = for (i <- (0 until length).toList) yield new Body(new Circle(0.1,1) {pos = Vector2D(i * distance,0); restitution = 1}) + balls(0).pos = Vector2D(0, 5) + Polar(5, -Math.Pi / 1.5).toCarthesian + val joints = for (i <- (0 until length).toList) yield new DistanceJoint(anchors(i), balls(i)) + for (a <- anchors) world += a + for (b <- balls) world += b + for (j <- joints) world += j + } +} diff --git a/src/graphyx/tests/Net.scala b/src/graphyx/tests/Net.scala new file mode 100644 index 0000000..c340a80 --- /dev/null +++ b/src/graphyx/tests/Net.scala @@ -0,0 +1,22 @@ +/* + * Graphyx + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package graphyx.tests + +import sims._ +import sims.geometry._ +import sims.dynamics._ + +object Net extends Test{ + val title = "Net" + val world = new World + + def init = { + val n = new prefabs.Net(10, 10, Vector2D(4,4)) + n.bodies(9).fixed = true + world += n + } +} diff --git a/src/graphyx/tests/RagdollTest.scala b/src/graphyx/tests/RagdollTest.scala new file mode 100644 index 0000000..63c9ce5 --- /dev/null +++ b/src/graphyx/tests/RagdollTest.scala @@ -0,0 +1,26 @@ +/* + * Graphyx + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package graphyx.tests + +import sims.dynamics._ +import sims.dynamics.joints._ +import sims.geometry._ +import sims.prefabs._ + +object RagdollTest extends Test { + val title = "Ragdoll" + val world = new World + + def init = { + val ground = new Body((for (i <- 0 to 1000) yield new Circle(0.5,1) {pos = Vector2D(0.5 * (i - 500), 0)}): _*) + ground.fixed = true + world += ground + + world += new Ragdoll(Vector2D(0, 5)) + } + +} diff --git a/src/graphyx/tests/Restitution.scala b/src/graphyx/tests/Restitution.scala new file mode 100644 index 0000000..9501a36 --- /dev/null +++ b/src/graphyx/tests/Restitution.scala @@ -0,0 +1,21 @@ +/* + * Graphyx + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package graphyx.tests + +import sims.geometry._ +import sims.dynamics._ + +object Restitution extends Test{ + val title = "Restitution" + val world = new World + + def init = { + world += new Body(new Rectangle(1000,0.1,10) {restitution = 1}) {fixed = true} + world ++= (for (i <- 0 until 10) yield (new Circle(0.05, 10) {pos = Vector2D(i * 0.5, 1); restitution = i / 10.0}).asBody) + } + +} diff --git a/src/graphyx/tests/Stacking.scala b/src/graphyx/tests/Stacking.scala new file mode 100644 index 0000000..63734b6 --- /dev/null +++ b/src/graphyx/tests/Stacking.scala @@ -0,0 +1,24 @@ +/* + * Graphyx + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package graphyx.tests + +import sims.dynamics._ +import sims.geometry._ + +object Stacking extends Test{ + val world = new World + val title = "Stacking" + def init(): Unit = { + val sideWidth = 0.3 + val sideHeight = 0.2 + val boxes = 5 + val distance = 0.1 + val stack = for (i <- (0 until boxes).toList) yield (new Rectangle(sideWidth / (2 + 0.3 * i), sideHeight / 2, 1) {pos = Vector2D(1, i * (sideHeight + distance))}).asBody + stack(0).fixed = true + for (box <- stack) world += box + } +} diff --git a/src/graphyx/tests/Test.scala b/src/graphyx/tests/Test.scala new file mode 100644 index 0000000..b539283 --- /dev/null +++ b/src/graphyx/tests/Test.scala @@ -0,0 +1,16 @@ +/* + * Graphyx + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package graphyx.tests + +import sims.dynamics._ +trait Test { + val world: World + val title: String + def init(): Unit + def fireEvent(): Unit = println("No custom event method defined.") + override def toString() = title +} diff --git a/src/sims/collision/AABB.scala b/src/sims/collision/AABB.scala new file mode 100644 index 0000000..51b3e12 --- /dev/null +++ b/src/sims/collision/AABB.scala @@ -0,0 +1,29 @@ +/* + * Simple Mechanics Simulator (SiMS) + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package sims.collision + +import geometry._ + +/** + * Axis Aligned Bounding Boxes, kurz AABBs, sind Rechtecke die eine bestimmte Form umhuellen. + * Da AABBs nach den X- und Y-Achsen orientiert sind, ermoeglichen sie eine schnelle + * und einfache Feststellung ob zwei AABBs sich ueberschneiden. + * @param minVertex Ortsvektor der minimalen Ecke des AABBs + * @param maxVertex Ortsvektor der maximalen Ecke des AABBs + */ +case class AABB(val minVertex: Vector2D, + val maxVertex: Vector2D) +{ + /** + * Ueberprueft ob dieses AABB sich mit dem AABB <code>box</code> ueberschneidet. + * @param box das mit diesem auf Ueberschneidung zu ueberpruefende AABB*/ + def overlaps(box: AABB): Boolean = { + val d1 = box.minVertex - maxVertex + val d2 = minVertex - box.maxVertex + !(d1.x > 0 || d1.y > 0 || d2.x > 0 || d2.y > 0) + } +} diff --git a/src/sims/collision/CircleCollision.scala b/src/sims/collision/CircleCollision.scala new file mode 100644 index 0000000..baf401a --- /dev/null +++ b/src/sims/collision/CircleCollision.scala @@ -0,0 +1,22 @@ +/* + * Simple Mechanics Simulator (SiMS) + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package sims.collision + +import geometry._ +import dynamics._ + +/**Kollision zwischen zwei Kreisen.*/ +case class CircleCollision(c1: Circle, c2: Circle) extends Collision { + val shape1 = c1 + val shape2 = c2 + val normal = (c2.pos - c1.pos).unit + val points = { + val distance = (c2.pos - c1.pos).length + val p = shape1.pos + normal * (distance - c2.radius) + List(p) + } +} diff --git a/src/sims/collision/Collision.scala b/src/sims/collision/Collision.scala new file mode 100644 index 0000000..ad23f4d --- /dev/null +++ b/src/sims/collision/Collision.scala @@ -0,0 +1,109 @@ +/* + * Simple Mechanics Simulator (SiMS) + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package sims.collision + +import dynamics._ +import geometry._ + +/**Kollisionen zwischen zwei Formen enthalten Methoden zur Berrechnen der Kollisionsreaktion.*/ +abstract class Collision extends Constraint { + + /**Erste Kollisionsform (Referenz).*/ + val shape1: Shape + + /**Zweite Kollisionsform (eindringend).*/ + val shape2: Shape + + /**Kollisionspunkte.*/ + val points: Iterable[Vector2D] + + /**Normalenvektor zu der Kollisionsebene.*/ + val normal: Vector2D + + /* C = delta + * Cdot = (vp2 - vp1) dot n + * = v2 + (w2 cross r2) - v2 - (w1 cross r1) + * = v2 + (w2 cross (p - x2)) - v2 - (w1 cross(p - x1)) + * J = [-n -((p-x1) cross n) n ((p-x2) cross n)]*/ + def correctVelocity(h: Double) = { + val coefficientOfRestitution = shape1.restitution * shape2.restitution + for (p <- points) { + val b1 = shape1.body + val b2 = shape2.body + val relativeNormalVelocity = (b2.velocityOfPoint(p) - b1.velocityOfPoint(p)) dot normal + val Cdot = relativeNormalVelocity + relativeNormalVelocity * coefficientOfRestitution + if (Cdot <= 0) { + val r1 = p - b1.pos + val r2 = p - b2.pos + val cr1 = r1 cross normal + val cr2 = r2 cross normal + val invMass = 1/b1.mass * (normal dot normal) + 1/b1.I * cr1 * cr1 + 1/b2.mass * (normal dot normal) + 1/b2.I * cr2 * cr2 + val m = if (invMass == 0.0) 0.0 else 1/invMass + val lambda = -m * Cdot + //wenn fixed, dann ist Masse unendlich => kein 'if (fixed != true)' + b1.linearVelocity += -normal * lambda / b1.mass + b1.angularVelocity += -(r1 cross normal) * lambda / b1.I + b2.linearVelocity += normal * lambda / b2.mass + b2.angularVelocity += (r2 cross normal) * lambda / b2.I + correctFriction(p, (-normal * lambda).length / h, h) + } + } + } + + /* Cdot = vt = [v2 + (w2 cross r2) - v1 - (w2 cross r2)] dot t + * J = [-t -(r2 cross t) t (r1 cross t)] + * 1/m = J * M * JT + * = 1/m1 * (t dot t) + 1/m2 * (t dot t) + 1/I1 * (r1 cross u)^2 + 1/I2 * (r2 cross u)^2*/ + def correctFriction(point: Vector2D, normalForce: Double, h: Double) = { + val b1 = shape1.body + val b2 = shape2.body + val tangent = normal.leftNormal + val Cdot = (b2.velocityOfPoint(point) - b1.velocityOfPoint(point)) dot tangent + val r1 = point - b1.pos + val r2 = point - b2.pos + val cr1 = r1 cross tangent + val cr2 = r2 cross tangent + val invMass = 1/b1.mass * (tangent dot tangent) + 1/b1.I * cr1 * cr1 + 1/b2.mass * (tangent dot tangent) + 1/b2.I * cr2 * cr2 + val m = if (invMass == 0.0) 0.0 else 1/invMass + val mu = shape1.friction * shape2.friction + val lambda = -m * Cdot + val cf = shape1.friction * shape2.friction + val cl = Math.min(Math.max(-normalForce * cf * h, lambda), normalForce * cf * h) + val impulse = tangent * cl + b1.applyImpulse(-impulse, point) + b2.applyImpulse(impulse, point) + } + + def correctPosition(h: Double) = { + val b1 = shape1.body + val b2 = shape2.body + + for (p <- points) { + val overlap = shape1.project(normal) overlap shape2.project(normal) + val C = Collision.ToleratedOverlap - overlap + if (C <= 0.0) { + val r1 = p - b1.pos + val r2 = p - b2.pos + val cr1 = r1 cross normal + val cr2 = r2 cross normal + val invMass = 1/b1.mass + 1/b1.I * cr1 * cr1 + 1/b2.mass + 1/b2.I * cr2 * cr2 + val m = if (invMass == 0.0) 0.0 else 1/invMass + val impulse = -normal.unit * m * C + b1.pos += -impulse / b1.mass + b1.rotation += -(r1 cross impulse) / b1.I + b2.pos += impulse / b2.mass + b2.rotation += (r2 cross impulse) / b2.I + } + } + } +} + +object Collision { + + /**Erlaubte Ueberlappung.*/ + val ToleratedOverlap: Double = 0.01 +} diff --git a/src/sims/collision/Detector.scala b/src/sims/collision/Detector.scala new file mode 100644 index 0000000..e847235 --- /dev/null +++ b/src/sims/collision/Detector.scala @@ -0,0 +1,23 @@ +/* + * Simple Mechanics Simulator (SiMS) + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package sims.collision + + +import sims.geometry._ +import sims.dynamics._ +import scala.collection._ +import scala.collection.mutable._ + +/**Eine Welt ermittelt ihre Kollisionen durch konkrete Implementierungen dieser Klasse.*/ +abstract class Detector { + + /**Die Welt dessen Formen auf Kollisionen ueberprueft werden sollen.*/ + val world: World + + /**Ergibt alle Kollisionen zwischen Formen der Welt <code>world</code>.*/ + def collisions: Seq[Collision] +}
\ No newline at end of file diff --git a/src/sims/collision/GridDetector.scala b/src/sims/collision/GridDetector.scala new file mode 100644 index 0000000..2c027a3 --- /dev/null +++ b/src/sims/collision/GridDetector.scala @@ -0,0 +1,122 @@ +/* + * Simple Mechanics Simulator (SiMS) + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package sims.collision + +import sims.dynamics._ +import sims.geometry._ +import scala.collection._ +import scala.collection.mutable._ + +/**Eine konkrete Implementierung von <code>Detector</code>. <code>GridDetector</code> ermittelt + * alle Kollisionen mit einem Gittersystem.*/ +class GridDetector(override val world: World) extends Detector { + + /**Array von Kollisionserkennungsmethoden fuer Formenpaare.*/ + val detectionMethods = new ArrayBuffer[PartialFunction[(Shape, Shape), Boolean]] + detectionMethods += { + case (c1: Circle, c2: Circle) => { //Kollision wenn Distanz <= Summe der Radien + val d = (c1.pos - c2.pos).length + val rSum = c1.radius + c2.radius + d - rSum <= 0 + } + + case (p1: ConvexPolygon, p2: ConvexPolygon) => { //SAT + val sides = p1.sides ++ p2.sides + val axes = sides map (_.n0) + axes.forall((a: Vector2D) => p1.project(a) overlaps p2.project(a)) + } + + case (p: ConvexPolygon, c: Circle) => { //Distanz von Zentrum zu Seiten oder Eckpunkten + val distances = for (s <- p.sides) yield (s distance c.pos) + distances.exists(_ - c.radius <= 0) || (p contains c.pos) + } + + case (c: Circle, p: ConvexPolygon) => { //Distanz von Zentrum zu Seiten oder Eckpunkten + val distances = for (s <- p.sides) yield (s distance c.pos) + distances.exists(_ - c.radius <= 0) || (p contains c.pos) + } + } + + /**Array von Kollisionsmethoden fuer Formenpaare.*/ + val collisionMethods = new ArrayBuffer[PartialFunction[(Shape, Shape), Collision]] + collisionMethods += { + case (c1: Circle, c2: Circle) => CircleCollision(c1, c2) + case (p1: ConvexPolygon, p2: ConvexPolygon) => PolyCollision(p1, p2) + case (p: ConvexPolygon, c: Circle) => PolyCircleCollision(p, c) + case (c: Circle, p: ConvexPolygon) => PolyCircleCollision(p, c) + } + + /**Gibt an, ob das Formenpaar <code>p</code> kollidiert. + * @param p Formenpaar.*/ + def colliding(p: Pair) = { + if (detectionMethods.exists(_.isDefinedAt(p))) + detectionMethods.find(_.isDefinedAt(p)).get.apply(p) + else throw new IllegalArgumentException("No collision method for colliding pair!") + } + + /**Gibt die Kollision des Formenpaares <code>p</code> zurueck. + * @param p Formenpaar.*/ + def collision(p: Pair): Collision = { + if (collisionMethods.exists(_.isDefinedAt(p))) + collisionMethods.find(_.isDefinedAt(p)).get.apply(p) + else throw new IllegalArgumentException("No collision found in colliding pair!") + } + + /**Breite und Hoehe einer Gitterzelle.*/ + var gridSide: Double = 2 + + /**Ergibt potenzielle Kollisionspaare der Welt <code>world</code>. + * <p> + * Ein Kollisionspaar ist ein Paar aus zwei verschiedenen Formen, das folgenden Bedingungen unterliegt: + * <ul> + * <li>Die Formen muessen sich in der gleichen Gitterzelle befinden.</li> + * <li>Ihre AABBs muessen sich ueberlappen.</li> + * <li>Die Formen duerfen nicht von dem gleichen Koerper sein.</li> + * <li>Mindestens eine Form darf nicht Fixiert sein.</li> + * <li>Beide muessen {@link dynamics.Shape#collidable collidierbar} sein.</li> + * </ul>*/ + def getPairs = { + val grid = new HashMap[(Int, Int), List[Shape]] + def gridCoordinates(v: Vector2D) = ((v.x / gridSide).toInt, (v.y / gridSide).toInt) + def addToGrid(s: Shape) = { + val aabb = s.AABB + val minCell = gridCoordinates(aabb.minVertex) + val maxCell = gridCoordinates(aabb.maxVertex) + val coords = for(i <- (minCell._1 to maxCell._1); j <- (minCell._2 to maxCell._2)) yield (i, j) + for (c <- coords) { + if (grid.contains(c)) + {if (grid(c).forall(_ ne s)) grid(c) = s :: grid(c)} + else + grid += (c -> List(s)) + } + } + for(s <- world.shapes) addToGrid(s) + var ps: List[Pair] = Nil + for(cell <- grid.values) { + ps = ps ::: (for (s1: Shape <- cell; s2: Shape <- cell; + if (s1 ne s2); + if (s1.body ne s2.body); + if (s1.collidable && s2.collidable); + if (s1.AABB overlaps s2.AABB); + if (!s1.transientShapes.contains(s2) && !s2.transientShapes.contains(s1))) yield Pair(s1, s2) + ).removeDuplicates + } + ps.toSeq + } + + private var cache = (world.time, getPairs) + + /**Alle potentiellen Kollisionspaare der Welt. + * @see getPairs*/ + def pairs = {if (world.time != cache._1) cache = (world.time, getPairs); cache._2} + + /**Ergibt alle kollidierenden Paare.*/ + def collidingPairs: Seq[Pair] = for(p <- pairs; if (colliding(p))) yield p + + /**Ergibt alle Kollisionen.*/ + def collisions: Seq[Collision] = for(p <- pairs; if (colliding(p))) yield collision(p) +} diff --git a/src/sims/collision/Overlap.scala b/src/sims/collision/Overlap.scala new file mode 100644 index 0000000..97ecdd6 --- /dev/null +++ b/src/sims/collision/Overlap.scala @@ -0,0 +1,11 @@ +/* + * Simple Mechanics Simulator (SiMS) + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package sims.collision + +import sims.geometry._ + +case class Overlap(poly: ConvexPolygon, sideNum: Int, overlap: Double) diff --git a/src/sims/collision/Pair.scala b/src/sims/collision/Pair.scala new file mode 100644 index 0000000..048748d --- /dev/null +++ b/src/sims/collision/Pair.scala @@ -0,0 +1,21 @@ +/* + * Simple Mechanics Simulator (SiMS) + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package sims.collision + +import sims.dynamics._ + +/**Formenpaar.*/ +case class Pair(s1: Shape, s2: Shape) extends Tuple2(s1, s2){ + def this(t: Tuple2[Shape, Shape]) = this(t._1, t._2) + + override def equals(other: Any) = { //overriden to prevent removal during "GridDetector.getPairs" + other match { + case Pair(a, b) => ((a eq this.s1) && (b eq this.s2)) || ((b eq this.s1) && (a eq this.s2)) + case _ => false + } + } +} diff --git a/src/sims/collision/PolyCircleCollision.scala b/src/sims/collision/PolyCircleCollision.scala new file mode 100644 index 0000000..1bf982e --- /dev/null +++ b/src/sims/collision/PolyCircleCollision.scala @@ -0,0 +1,38 @@ +/* + * Simple Mechanics Simulator (SiMS) + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package sims.collision + +import sims.dynamics._ +import sims.geometry._ + +/**Kollision zwischen einem konvexen Polygon und einem Kreis.*/ +case class PolyCircleCollision(p: ConvexPolygon, c: Circle) extends Collision { + require(p.isInstanceOf[Shape]) + val shape1 = p.asInstanceOf[Shape] + val shape2 = c + + val normal = { + //minimum overlap + var min = (p.sides(0) distance c.pos) - c.radius + var axis = p.sides(0).n0 + for (s <- p.sides; val delta = (s distance c.pos) - c.radius) if (delta <= 0 && delta < min) { + min = delta + axis = s.n0 + } + for (v <- p.vertices; val delta = (v - c.pos).length - c.radius) if (delta <= 0 && delta <= min){ + min = delta + axis = (c.pos - v).unit + } + axis + } + + val points = List( + c.pos - normal * c.radius + ) + + +} diff --git a/src/sims/collision/PolyCollision.scala b/src/sims/collision/PolyCollision.scala new file mode 100644 index 0000000..bbe5568 --- /dev/null +++ b/src/sims/collision/PolyCollision.scala @@ -0,0 +1,50 @@ +/* + * Simple Mechanics Simulator (SiMS) + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package sims.collision + +import sims.geometry._ +import sims.dynamics._ +import scala.collection.mutable.Map +import scala.collection.mutable._ + +/**Kollision zwischen zwei konvexen Polygonen.*/ +case class PolyCollision(p1: ConvexPolygon, p2: ConvexPolygon) extends Collision { + require(p1.isInstanceOf[Shape]) + require(p2.isInstanceOf[Shape]) + + def overlap(axis: Vector2D) = { + // println((p1.project(axis) overlap p2.project(axis)).toString + " to " + (p2.project(axis) overlap p1.project(axis))) + p1.project(axis) overlap p2.project(axis) + } + + lazy val overlaps = (for (i <- 0 until p2.sides.length) yield Overlap(p2, i, overlap(p2.sides(i).n0))) ++ + (for (i <- 0 until p1.sides.length) yield Overlap(p1, i, overlap(p1.sides(i).n0))) + + private var potMinOverlap = overlaps.find(_.overlap > 0.0) + require(potMinOverlap != None) + private var _minOverlap: Overlap = potMinOverlap.get + var minOverlap: Overlap = { + for (o <- overlaps) if ((o.overlap < _minOverlap.overlap) && (o.overlap > 0.0)) _minOverlap = o + _minOverlap + } + + + private lazy val refPoly = minOverlap.poly + private lazy val incPoly = if (minOverlap.poly eq p1) p2 else p1 + + lazy val shape1 = refPoly.asInstanceOf[Shape] + lazy val shape2 = incPoly.asInstanceOf[Shape] + + lazy val normal = refPoly.sides(minOverlap.sideNum).n0 + lazy val points = (for (v <- incPoly.vertices; if refPoly.contains(v)) yield v) ++ + (for (s <- incPoly.sides; + val clip = s.clipToSegment(refPoly.sides((refPoly.sides.length - (minOverlap.sideNum + 1)) % refPoly.sides.length)); + if (clip != None)) yield clip.get) ++ + (for (s <- incPoly.sides; + val clip = s.clipToSegment(refPoly.sides((refPoly.sides.length - (minOverlap.sideNum - 1)) % refPoly.sides.length)); + if (clip != None)) yield clip.get) +} diff --git a/src/sims/dynamics/Body.scala b/src/sims/dynamics/Body.scala new file mode 100644 index 0000000..d5b2a0e --- /dev/null +++ b/src/sims/dynamics/Body.scala @@ -0,0 +1,143 @@ +/* + * Simple Mechanics Simulator (SiMS) + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package sims.dynamics + +import sims.geometry._ +import sims.dynamics.joints._ + +/**Ein 2-Dimensionaler Koerper besteht aus mehreren Formen. Im gegensatz zu letzteren, enthaelt ein Koerper dynamische Informationen (v, F, etc...). + * @param shps zu dem Koerper gehoerende Formen.*/ +class Body(shps: Shape*){ + + /**Einzigartige Identifikationsnummer dieses Koerpers.*/ + val uid = Body.nextUid + + /**Formen aus denen dieser Koerper besteht.*/ + val shapes: List[Shape] = shps.toList + + //Formen werden bei Initialisierung eingefuegt + for (s <- shapes) { + s.body = this + s.refLocalPos = s.pos - pos + s.rotation0 = s.rotation + } + + private var isFixed: Boolean = false + + /**Gibt an ob dieser Koerper fixiert ist.*/ + def fixed = isFixed + + /**Fixiert oder unfixiert diesen Koerper.*/ + def fixed_=(value: Boolean) = { + if (value) {linearVelocity = Vector2D.Null; angularVelocity = 0.0} + isFixed = value + } + + /**Gibt an ob die Eigenschaften dieses Koerpers ueberwacht werden sollen. + * @see World#monitors*/ + var monitor: Boolean = false + + /**Ermittelt die Position dieses Koerpers. Die Position entspricht dem Schwerpunkt. + * @return Position dieses Koerpers*/ + def pos: Vector2D = // Shwerpunkt = sum(pos*mass)/M + (Vector2D.Null /: shapes)((v: Vector2D, s: Shape) => v + s.pos * s.mass) / + (0.0 /: shapes)((i: Double, s: Shape) => i + s.mass) + + /**Setzt die Position dieses Koerpers und verschiebt dadurch die Positionen seiner Formen. + * @param newPos neue Position*/ + def pos_=(newPos: Vector2D) = { + val stepPos = pos + shapes.foreach((s: Shape) => s.pos = s.pos - stepPos + newPos) + } + + /**Enthaelt die aktuelle Rotation dieses Koerpers.*/ + private var _rotation: Double = 0.0 //shapes(0).rotation + + /**Ergibt die aktuelle Rotation dieses Koerpers. + * @return aktuelle Rotation dieses Koerpers*/ + def rotation: Double = _rotation + + /**Setzt die Rotation dieses Koerpers. Dazu werden auch die Positionen und Rotationen seiner Formen entsprechend veraendert. + * @param r neue Rotation*/ + def rotation_=(newRotation: Double) = { + _rotation = newRotation + val stepPos = pos + for (s <- shapes) { + s.rotation = newRotation + s.rotation0 + s.pos = stepPos + (s.refLocalPos rotate (newRotation)) + } + } + + /**Lineargeschwindigkeit dieses Koerpers.*/ + var linearVelocity: Vector2D = Vector2D.Null + + /**Winkelgeschwindigkeit dieses Koerpers.*/ + var angularVelocity: Double = 0 + + /**Lineargeschwindigkeit des gegebenen Punktes auf diesem Koerper. In Weltkoordinaten.*/ + def velocityOfPoint(point: Vector2D) = linearVelocity + ((point - pos).leftNormal * angularVelocity) + + /**Resultierende Kraft auf den Schwerpunkt dieses Koerpers.*/ + var force: Vector2D = Vector2D.Null + + /**Resultierender Drehmoment zu dem Schwerpunkt dieses Koerpers.*/ + var torque: Double = 0 + + /**Ergibt die Masse dieses Koerpers. Die Masse ist gleich die Summe aller Massen seiner Formen. + * @return Masse des Koerpers*/ + def mass: Double = if (fixed) Double.PositiveInfinity else (0.0 /: shapes)((i: Double, s: Shape) => i + s.mass) + + /**Ergibt den Traegheitsmoment zu dem Schwerpunkt dieses Koerpers. Der Traegheitsmoment wird mit Hilfe des Steinerschen Satzes errechnet. + * @return Traegheitsmoment relativ zu dem Schwerpunkt dieses Koerpers*/ + def I: Double = if (fixed) Double.PositiveInfinity else + (0.0 /: (for (s <- shapes) yield (s.I + s.mass * ((s.pos - pos) dot (s.pos - pos)))))(_+_) + + /**Wendet eine Kraft auf den Schwerpunkt dieses Koerpers an. + * @param force anzuwendender Kraftvektor*/ + def applyForce(force: Vector2D) = if (!fixed) this.force += force + + /**Wendet eine Kraft auf einen Punkt dieses Koerpers an. Achtung: der gegebene Punkt wird nicht auf angehoerigkeit dieses + * Koerpers ueberprueft. + * @param force anzuwendender Kraftvektor + * @param point Ortsvektor des Punktes auf den die Kraft wirken soll (gegeben in Weltkoordinaten).*/ + def applyForce(force: Vector2D, point: Vector2D) = if (!fixed) {this.force += force; torque += (point - pos) cross force} + + /**Wendet einen Impuls auf den Schwerpunkt dieses Koerpers an. + * @param impulse anzuwendender Impulsvektor*/ + def applyImpulse(impulse: Vector2D) = if (!fixed) linearVelocity += impulse / mass + + /**Wendet einen Impuls auf einen Punkt dieses Koerpers an. Achtung: der gegebene Punkt wird nicht auf angehoerigkeit dieses + * Koerpers ueberprueft. + * @param impulse anzuwendender Impulsvektor + * @param point Ortsvektor des Punktes auf den der Impuls wirken soll (gegeben in Weltkoordinaten).*/ + def applyImpulse(impulse: Vector2D, point: Vector2D) = if (!fixed) {linearVelocity += impulse / mass; angularVelocity += ((point - pos) cross impulse) / I} + + /**Ueberprueft ob der gegebene Punkt <code>point</code> sich in diesem Koerper befindet.*/ + def contains(point: Vector2D) = shapes.exists(_.contains(point)) + + override def toString: String = { + "Body" + uid + " " + shapes + " fixed=" + fixed + " m=" + mass + " I=" + I + " pos=" + pos + " rot=" + rotation + " v=" + linearVelocity + " w=" + angularVelocity + " F=" + force + " tau=" + torque + } + + /**Erstellt einen neuen Koerper der zusaetzlich die Form <code>s</code> enthaelt. + * @param s zusaetzliche Form + * @return neuer Koerper*/ + def ^(s: Shape) = new Body((s :: shapes): _*) + + /**Erstellt einen neuen Koerper der zusaetzlich die Formen von dem Koerper <code>b</code> enthaelt. + * @param b Koerper mit zusaetzlichen Formen + * @return neuer Koerper*/ + def ^(b: Body) = { + val shapes = this.shapes ::: b.shapes + new Body(shapes: _*) + } +} + +object Body { + private var uidCounter = -1 + private def nextUid = {uidCounter += 1; uidCounter} +}
\ No newline at end of file diff --git a/src/sims/dynamics/Circle.scala b/src/sims/dynamics/Circle.scala new file mode 100644 index 0000000..26f3ad4 --- /dev/null +++ b/src/sims/dynamics/Circle.scala @@ -0,0 +1,37 @@ +/* + * Simple Mechanics Simulator (SiMS) + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package sims.dynamics + +import sims.geometry._ +import sims.collision._ + +/** + * Circle ist die Definition eines Kreises. + * @param radius Radius dieses Kreises + * @param density Dichte dieses Kreises + */ +case class Circle(radius: Double, // Radius + density: Double) extends Shape{ // Dichte + + val volume = Math.Pi * radius * radius + + val I = mass * radius * radius / 2 + + // AABB(Zentrum - Radius, Zentrum + Radius) + def AABB = new AABB(pos - Vector2D(radius,radius), + pos + Vector2D(radius,radius)) + + def project(axis: Vector2D) = if (axis.x != 0) Projection(axis, + (pos.project(axis).x / axis.x) - radius, + (pos.project(axis).x / axis.x) + radius) + else Projection(axis, + (pos.project(axis).y / axis.y) - radius, + (pos.project(axis).y / axis.y) + radius) + + //Ist der gegebene punkt im Radius dieses kreises? + def contains(point: Vector2D) = (point - pos).length <= radius +} diff --git a/src/sims/dynamics/Constraint.scala b/src/sims/dynamics/Constraint.scala new file mode 100644 index 0000000..74c2af3 --- /dev/null +++ b/src/sims/dynamics/Constraint.scala @@ -0,0 +1,19 @@ +/* + * Simple Mechanics Simulator (SiMS) + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package sims.dynamics + +/**Randbedingungen erben von dem Trait <code>Constraint</code>. + * Fuer jeden Constraint koennen Position und Geschwindigkeit korrigiert werden. + * Ihre Implementierung wurde von Erin Catto's box2d inspiriert.*/ +trait Constraint { + + /**Korrigiert die Geschwindigkeit der Koerper damit diese den Randbedingungen entsprechen.*/ + def correctVelocity(h: Double): Unit + + /**Korrigiert die Position der Koerper damit diese den Randbedingungen entsprechen.*/ + def correctPosition(h: Double): Unit +} diff --git a/src/sims/dynamics/Rectangle.scala b/src/sims/dynamics/Rectangle.scala new file mode 100644 index 0000000..adaa634 --- /dev/null +++ b/src/sims/dynamics/Rectangle.scala @@ -0,0 +1,40 @@ +/* + * Simple Mechanics Simulator (SiMS) + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package sims.dynamics + +import sims.geometry._ +import sims.collision._ + +/**Rechteck ist eine Art Polygon. + * @param halfWidth halbe Breite dieses Rechtecks + * @param halfHeight halbe Hoehe dieses Rechtecks + * @param density dichte dieses Rechtecks + */ +case class Rectangle(halfWidth: Double, + halfHeight : Double, + density: Double) extends Shape with ConvexPolygon{ + + val volume = halfWidth * halfHeight * 4 + + val I = 1.0 / 12.0 * mass * ((2 * halfWidth) * (2 * halfWidth) + (2 * halfHeight) * (2 * halfHeight)) + + /**Ergibt Vektoren vom Zentrum dieses Rectecks bis zu den Ecken. + * Erste Ecke entspricht der Ecke oben rechts bei einer Rotation von 0. + * Folgende Ecken sind gegen den Uhrzeigersinn geordnet. + * @return Vektoren vom Zentrum dieses Rectecks bis zu den Ecken*/ + def halfDiags: Array[Vector2D] = Array(Vector2D(halfWidth, halfHeight), + Vector2D(-halfWidth, halfHeight), + Vector2D(-halfWidth, -halfHeight), + Vector2D(halfWidth, -halfHeight)) map (_ rotate rotation) + + /**Ergibt die Ortsvektoren der Ecken dieses Rechtecks. + * Erste Ecke entspricht der Ecke oben rechts bei einer Rotation von 0. + * Folgende Ecken sind gegen den Uhrzeigersinn geordnet. + * @return Ortsvektoren der Ecken dieses Rechtecks*/ + def vertices = for (h <- halfDiags) yield pos + h + +}
\ No newline at end of file diff --git a/src/sims/dynamics/RegularPolygon.scala b/src/sims/dynamics/RegularPolygon.scala new file mode 100644 index 0000000..c5b8a13 --- /dev/null +++ b/src/sims/dynamics/RegularPolygon.scala @@ -0,0 +1,35 @@ +/* + * Simple Mechanics Simulator (SiMS) + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package sims.dynamics + +import Math._ +import sims.geometry._ + +/**Ein regelmaessiges Polygon mit <code>n</code> Seiten, dass der Kreis mit radius <code>radius</code> umschreibt. + * @param n Anzahl der Seiten. + * @param radius Radius des umschreibenden Kreises. + * @param density Dichte. + */ +case class RegularPolygon(n: Int, radius: Double, density: Double) extends Shape with ConvexPolygon{ + require(n >= 3, "Polygon must have at least 3 sides.") + + /**Hoehe eines der konstituierneden Dreiecke des Polygons.*/ + private val h: Double = radius * cos(Pi / n) + /**Halbe Breite eines der konstituierneden Dreiecke des Polygons.*/ + private val b: Double = radius * sin(Pi / n) + + def halfDiags = (for (i: Int <- (0 until n).toArray) yield (Vector2D(0, radius) rotate (2 * Pi * i / n))) map (_ rotate rotation) + + def vertices = for (h <- halfDiags) yield pos + h + + val volume = n * h * b + + /**Traegheitsmoment eines der konstituierneden Dreiecke im Zentrum des Polygons.*/ + private val Ic: Double = density * b * (3 * b + 16) * h * h * h * h / 54 + + val I = n * Ic +} diff --git a/src/sims/dynamics/Shape.scala b/src/sims/dynamics/Shape.scala new file mode 100644 index 0000000..f57bbc6 --- /dev/null +++ b/src/sims/dynamics/Shape.scala @@ -0,0 +1,93 @@ +/* + * Simple Mechanics Simulator (SiMS) + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package sims.dynamics + +import sims.geometry._ +import sims.collision._ + +/** +* Eine abstrakte Form. +*/ +abstract class Shape{ + + /**Einzigartige Identifikationsnummer.*/ + val uid: Int = Shape.nextUid + + /**Kollisionsfaehigkeit.*/ + var collidable: Boolean = true + + /**Teil der Stosszahl bei einer Kollision zwischen dieser Form und einer anderen. + * Die Stosszahl wird aus dem Produkt der beiden Teile der Formen errechnet.*/ + var restitution: Double = 0.7 + + /**Teil des Reibungskoeffizienten bei einer Kollision zwischen dieser Form und einer anderen. + * Der Reibungskoeffizient wird aus dem Produkt der beiden Teile der Formen errechnet.*/ + var friction: Double = 0.707 + + /**Position des Schwerpunktes in Welt.*/ + var pos: Vector2D = Vector2D.Null + + /**Rotation. Entspricht Laenge des Rotationsvektors.*/ + var rotation: Double = 0 + + /**Initiale Rotation. (Rotation ohne Koerper)*/ + var rotation0 = 0.0 + + /**Referenzposition in Koerper. Wird zur Rotation von Formen in Koerpern verwendet.*/ + var refLocalPos: Vector2D = Vector2D.Null + + /**Dichte. (Masse pro Flaeche)*/ + val density: Double + + /**Volumen. Entspricht eigentlich der Flaeche dieser Form (in 2D) wird aber zum Errechnen der Masse verwendet.*/ + val volume: Double + + /**Errechnet die Masse dieser Form. Masse ist gleich Volumen mal Dichte. + @return Masse der Form*/ + def mass = volume * density + + /**Errechnet Traegheitsmoment zum Schwerpunkt dieser Form. + @return Traegheitsmoment zum Schwerpunkt*/ + val I: Double + + /**Beinhaltender Koerper. Sollte nicht selbst bei Initialisierung definiert werden.*/ + var body: Body = _ + + /**Gibt das umfassende AABB dieser Form zurueck. + @return umfassendes AABB*/ + def AABB: AABB + + /**Ergibt die Projektion dieser Form auf eine Gerade gegeben durch den + * Richtungsvektor <code>axis</code>. + * @param axis Richtungsvektor der Geraden + * @return Projektion dieser Form*/ + def project(axis: Vector2D): Projection + + /**Ermittelt ob der gebene Punkt <code>point</code> in dieser Form enthalten ist.*/ + def contains(point: Vector2D): Boolean + + /**Baut einen Koerper aus dieser Form. + @return ein Koerper bestehend aus dieser Form. */ + def asBody = new Body(this) + + /**Formen mit denen diese Form nicht Kollidiert.*/ + val transientShapes: collection.mutable.Set[Shape] = collection.mutable.Set() + + /**Erstellt einen Koerper aus dieser Form und der Form <code>s</code>.*/ + def ^(s: Shape) = new Body(this, s) + + /**Erstellt einen Koerper aus dieser Form und den Formen des Koerpers <code>b</code>.*/ + def ^(b: Body) = { + val shapes = this :: b.shapes + new Body(shapes: _*) + } +} + +object Shape { + private var uidCounter = -1 + private def nextUid = {uidCounter += 1; uidCounter} +} diff --git a/src/sims/dynamics/World.scala b/src/sims/dynamics/World.scala new file mode 100644 index 0000000..d7ac8ae --- /dev/null +++ b/src/sims/dynamics/World.scala @@ -0,0 +1,163 @@ +/* + * Simple Mechanics Simulator (SiMS) + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package sims.dynamics + +import sims.geometry._ +import sims.collision._ +import sims.dynamics.joints._ +import scala.collection.mutable._ + +/**Eine Welt enthaelt und Simuliert ein System aus Koerpern und Verbindungen.*/ +class World { + + /**Zeitschritt in dem diese Welt die Simulation vorranschreiten laesst.*/ + var timeStep: Double = 1.0 / 60 + + /**Anzahl der Constraint-Korrekturen pro Zeitschritt.*/ + var iterations: Int = 10 + + /**Schwerkraft die in dieser Welt herrscht.*/ + var gravity = Vector2D(0, -9.81) + + /**Alle Koerper die diese Welt simuliert.*/ + val bodies = new ArrayBuffer[Body] + + /**Alle Verbindungen die diese Welt simuliert.*/ + val joints = new ArrayBuffer[Joint] + + /**Ueberwachungsfunktionen fuer Koerper. + * <p> + * Das erste Element des Tuples ist die Ueberschrift und das zweite Element, der Wert.*/ + val monitors = new ArrayBuffer[(String, Body => String)] + + /**Kollisionsdetektor dieser Welt.*/ + val detector: Detector = new GridDetector(this) + + /**Warnung wenn Koerper schneller als Lichtgeschwindigkeit.*/ + var overCWarning = false + + /**Kollisionerkennung.*/ + var enableCollisionDetection = true + + /**Positionskorrekturen.*/ + var enablePositionCorrection = true + + /**Die minimale, nicht als null geltende Geschwindigkeit.*/ + var minLinearVelocity: Double = 0.0001 + + /**Die minimale, nicht als null geltende Winkelgeschwindigkeit.*/ + var minAngularVelocity: Double = 0.0001 + + /**Ergibt alle Formen aus allen Koerpern in dieser Welt.*/ + def shapes = for (b <- bodies; s <- b.shapes) yield s + + /**Fuegt dieser Welt einen Koerper hinzu.*/ + def +=(body: Body) = bodies += body + + /**Fuegt dieser Welt eine Verbindung hinzu.*/ + def +=(joint: Joint): Unit = joints += joint + + /**Fuegt dieser Welt ein vorangefertigtes System vaus Koerpern und Verbindungen hinzu.*/ + def +=(p: prefabs.Prefab): Unit = { + for (b <- p.bodies) this += b + for (j <- p.joints) this += j + } + + def ++=(bs: Seq[Body]) = for(b <- bs) this += b + + /**Entfernt den gegebenen Koerper aus dieser Welt.*/ + def -=(body: Body): Unit = bodies -= body + + /**Entfernt die gegebene Verbindung aus dieser Welt.*/ + def -=(joint: Joint): Unit = joints -= joint + + /**Entfernt das gegebene System aus Koerpern und Verbindungen aus dieser Welt.*/ + def -=(p: prefabs.Prefab): Unit = { + for (b <- p.bodies) this -= b + for (j <- p.joints) this -= j + } + + def --=(bs: Seq[Body]) = for(b <- bs) this -= b + + /**Entfernt alle Koerper, Verbindungen und Ueberwachungsfunktionen dieser Welt.*/ + def clear() = {joints.clear(); bodies.clear(); monitors.clear()} + + /**Aktuelle Zeit in Sekunden dieser Welt. Nach jedem Zeitschritt wird die Zeit erhoeht.*/ + var time: Double = 0.0 + + /**Simuliert einen von <code>timeStep</code> angegebenen Zeitschritt. + * Ihre Aufgabe ist es die Koerper dieser Welt so zu simulieren wie diese sich in einer Welt mit den gegebenen + * Bedingungen verhalten wuerden. + * <p> + * Der Zeitschritt wird in folgenden Phasen ausgefuehrt: + * <ol> + * <li>Kraefte wirken auf die Koerper (z.B Schwerkraft, andere Kraftfaehige Objekte).</li> + * <li>Beschleunigungen werden integriert.</li> + * <li>Geschwindigkeiten werden korrigiert.</li> + * <li>Geschwindigkeiten werden integriert.</li> + * <li>Positionen werden korrigiert.</li> + * <li>Die Methode <code>postStep()</code> wird ausgefuehrt.</li> + * </ol>*/ + def step() = { + time += timeStep + + //Kraftobjekte + for (j <- joints) j match {case f: ForceJoint => f.applyForce; case _ => ()} + + //integriert v + for (b <- bodies) { + val m = b.mass + b.applyForce(gravity * b.mass) + val a = b.force / b.mass + val alpha = b.torque / b.I + b.linearVelocity = b.linearVelocity + a * timeStep + b.angularVelocity = b.angularVelocity + alpha * timeStep + } + + //korrigiert v + for (i <- 0 until iterations){ + for(c <- joints) c.correctVelocity(timeStep) + if (enableCollisionDetection) for (c <- detector.collisions) c.correctVelocity(timeStep) + } + + //integriert pos + for (b <- bodies) { + //warning when body gets faster than speed of light + if (b.linearVelocity.length >= 300000000) overCWarning = true + if (b.linearVelocity.length < minLinearVelocity) b.linearVelocity = Vector2D.Null + if (b.angularVelocity.abs < minAngularVelocity) b.angularVelocity = 0.0 + b.pos = b.pos + b.linearVelocity * timeStep + b.rotation = b.rotation + b.angularVelocity * timeStep + b.force = Vector2D.Null + b.torque = 0.0 + } + + //korrigiert pos + if (enablePositionCorrection) for (i <- 0 until iterations){ + for (c <- joints) c.correctPosition(timeStep) + if (enableCollisionDetection) for (c <- detector.collisions) c.correctPosition(timeStep) + } + + postStep() + } + + /**Wird nach jedem Zeitschritt ausgefuehrt.*/ + def postStep() = {} + + /**Ergibt Informationen ueber diese Welt.*/ + def info = { + "Bodies = " + bodies.length + "\n" + + "Shapes = " + shapes.length + "\n" + + "Joints = " + joints.length + "\n" + + "Collisions = " + detector.collisions.length + "\n" + + "Monitors = " + monitors.length + "\n" + + "Gravity = " + gravity + "m/s^2\n" + + "Timestep = " + timeStep + "s\n" + + "Time = " + time + "s\n" + + "Iterations = " + iterations + } +} diff --git a/src/sims/dynamics/joints/DistanceJoint.scala b/src/sims/dynamics/joints/DistanceJoint.scala new file mode 100644 index 0000000..2d5633f --- /dev/null +++ b/src/sims/dynamics/joints/DistanceJoint.scala @@ -0,0 +1,76 @@ +/* + * Simple Mechanics Simulator (SiMS) + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package sims.dynamics.joints + +import sims.geometry._ + +/** DistanceJoints halten die Bindungspunkte auf ihren Bindungskoerpern bei einem konstanten Abstand. + * @param node1 erster Koerper der Verbindung + * @param anchor1 Bindungspunkt auf Koerper eins + * @param node2 zweiter Koerper der Verbindung + * @param anchor2 Bindungspunkt auf Koerper zwei*/ +case class DistanceJoint(node1: Body, anchor1: Vector2D, node2: Body, anchor2: Vector2D) extends Joint{ + def this(node1: Body, node2: Body) = this(node1, node1.pos, node2, node2.pos) + + /**Abstand der beiden Bindungspunkte bei initialisierung (der gewollte Abstand).*/ + val distance = (anchor2 - anchor1).length + + private val a1 = anchor1 - node1.pos + private val a2 = anchor2 - node2.pos + private val initRotation1 = node1.rotation + private val initRotation2 = node2.rotation + + /**Ergibt den Bindungspunkt auf Koerper eins.*/ + def connection1 = (a1 rotate (node1.rotation - initRotation1)) + node1.pos + + /**Ergibt den Bindungspunkt auf Koerper zwei.*/ + def connection2 = (a2 rotate (node2.rotation - initRotation2)) + node2.pos + + /**Relative Position der Bindungspunkte.*/ + def x = connection2 - connection1 + + /**Relative Geschwindigkeit der Bindungspunkte.*/ + def v = node2.velocityOfPoint(connection2) - node1.velocityOfPoint(connection1) + + /* x = connection2 - connection1 + * C = ||x|| - L + * u = x / ||x|| + * v = v2 + w2 cross r2 - v1 - w1 cross r1 + * Cdot = u dot v + * J = [-u -(r1 cross u) u (r2 cross u)] + * 1/m = J * M^-1 * JT + * = 1/m1 * u * u + 1/m2 * u * u + 1/I1 * (r1 cross u)^2 + 1/I2 * (r2 cross u)^2*/ + override def correctVelocity(h: Double) = { + val x = this.x //relativer Abstand + val v = this.v //relative Geschwindigkeit + val r1 = (connection1 - node1.pos) //Abstand Punkt-Schwerpunkt, Koerper 1 + val r2 = (connection2 - node2.pos) //Abstand Punkt-Schwerpunkt, Koerper 2 + val cr1 = r1 cross x.unit //Kreuzprodukt + val cr2 = r2 cross x.unit //Kreuzprodukt + val Cdot = x.unit dot v //Velocity-Constraint + val invMass = 1/node1.mass + 1/node1.I * cr1 * cr1 + 1/node2.mass + 1/node2.I * cr2 * cr2 //=J M^-1 JT + val m = if (invMass == 0.0) 0.0 else 1/invMass //Test um Nulldivision zu vermeiden + val lambda = -m * Cdot //=-JV/JM^-1JT + val impulse = x.unit * lambda //P=J lambda + node1.applyImpulse(-impulse, connection1) + node2.applyImpulse(impulse, connection2) + } + + override def correctPosition(h: Double) = { + val C = x.length - distance + val cr1 = (connection1 - node1.pos) cross x.unit + val cr2 = (connection2 - node2.pos) cross x.unit + val invMass = 1/node1.mass + 1/node1.I * cr1 * cr1 + 1/node2.mass + 1/node2.I * cr2 * cr2 + val m = if (invMass == 0.0) 0.0 else 1/invMass + val impulse = -x.unit * m * C + node1.pos -= impulse / node1.mass + node2.pos += impulse / node2.mass + node1.rotation -= ((connection1 - node1.pos) cross impulse) / node1.I + node2.rotation += ((connection2 - node2.pos) cross impulse) / node2.I + } + +}
\ No newline at end of file diff --git a/src/sims/dynamics/joints/ForceJoint.scala b/src/sims/dynamics/joints/ForceJoint.scala new file mode 100644 index 0000000..fa17eac --- /dev/null +++ b/src/sims/dynamics/joints/ForceJoint.scala @@ -0,0 +1,14 @@ +/* + * Simple Mechanics Simulator (SiMS) + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package sims.dynamics.joints + +/**Eine Verbindung die Kraft auf ihre Bindungskoerper ausueben kann.*/ +trait ForceJoint { + + /**Uebt eine Kraft auf die Bindungskoerper aus.*/ + def applyForce(): Unit +} diff --git a/src/sims/dynamics/joints/Joint.scala b/src/sims/dynamics/joints/Joint.scala new file mode 100644 index 0000000..9690af2 --- /dev/null +++ b/src/sims/dynamics/joints/Joint.scala @@ -0,0 +1,27 @@ +/* + * Simple Mechanics Simulator (SiMS) + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package sims.dynamics.joints + +import sims.geometry._ +import sims.dynamics._ + +/**Joints sind Verbindungen die die Bewegung zwischen zwei Koerpern einschraenken. + * Ihre Implementierung wurde von Erin Catto's box2d inspiriert.*/ +abstract class Joint extends Constraint{ + + /**Erster Koerper der Verbindung.*/ + val node1: Body + + /**Zweiter Koerper der Verbindung.*/ + val node2: Body + + /**Korrigiert die Geschwindigkeit der Koerper damit diese den Randbedingungen der Verbindung entsprechen.*/ + def correctVelocity(h: Double): Unit + + /**Korrigiert die Position der Koerper damit diese den Randbedingungen der Verbindung entsprechen.*/ + def correctPosition(h: Double): Unit +}
\ No newline at end of file diff --git a/src/sims/dynamics/joints/RevoluteJoint.scala b/src/sims/dynamics/joints/RevoluteJoint.scala new file mode 100644 index 0000000..7a7ae1c --- /dev/null +++ b/src/sims/dynamics/joints/RevoluteJoint.scala @@ -0,0 +1,55 @@ +/* + * Simple Mechanics Simulator (SiMS) + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package sims.dynamics.joints + +import sims.geometry._ +import sims.math._ +import sims.dynamics._ +import Math._ + +/**Ein Gelenk, dass zwei Koerper an einem Punkt verbindet. Inspiriert von JBox2D.*/ +case class RevoluteJoint(node1: Body, node2: Body, anchor: Vector2D) extends Joint{ + private val a1 = anchor - node1.pos + private val a2 = anchor - node2.pos + private val initRotation1 = node1.rotation + private val initRotation2 = node2.rotation + def connection1 = (a1 rotate (node1.rotation - initRotation1)) + node1.pos + def connection2 = (a2 rotate (node2.rotation - initRotation2)) + node2.pos + + def x = connection2 - connection1 + def v = node2.velocityOfPoint(connection2) - node1.velocityOfPoint(connection1) + + /* x = connection2 - connection1 + * C = x + * Cdot = v = v2 - v1 = v2 + (w2 cross r2) - v1 - (w1 cross r1) + * J = [-I -r1_skew I r2_skew ] ????? + */ + def correctVelocity(h: Double) = { + val m1 = node1.mass + val m2 = node2.mass + val I1 = node1.I + val I2 = node2.I + val r1 = connection1 - node1.pos + val r2 = connection2 - node2.pos + + val K1 = new Matrix22(1/m1 + 1/m2, 0, + 0, 1/m1 + 1/m2) + val K2 = new Matrix22(1/I1 * r1.x * r1.x, -1/I1 * r1.x * r1.y, + -1/I1 * r1.x * r1.y, 1/I1 * r1.x * r1.x) + val K3 = new Matrix22(1/I2 * r2.x * r2.x, -1/I2 * r2.x * r2.y, + -1/I2 * r2.x * r2.y, 1/I2 * r2.x * r2.x) + val pivotMass = (K1 + K2 + K3).invert + val cdot = v + val p = pivotMass * cdot + node1.applyImpulse(p, connection1) + node2.applyImpulse(-p, connection2) + } + + def correctPosition(h: Double) = { + + } +} diff --git a/src/sims/dynamics/joints/SpringJoint.scala b/src/sims/dynamics/joints/SpringJoint.scala new file mode 100644 index 0000000..f03b35d --- /dev/null +++ b/src/sims/dynamics/joints/SpringJoint.scala @@ -0,0 +1,60 @@ +/* + * Simple Mechanics Simulator (SiMS) + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package sims.dynamics.joints + +import sims.geometry._ + +/**Eine Hooksche Feder. + * @param node1 erster Koerper der Verbindung + * @param anchor1 Bindungspunkt auf Koerper eins + * @param node2 zweiter Koerper der Verbindung + * @param anchor2 Bindungspunkt auf Koerper zwei + * @param springConstant Federkonstante + * @param initialLength Initiallaenge + */ +case class SpringJoint(node1: Body, anchor1: Vector2D, node2: Body, anchor2: Vector2D, springConstant: Double, initialLength: Double) extends Joint with ForceJoint{ + + def this(node1: Body, anchor1: Vector2D, node2: Body, anchor2: Vector2D, springConstant: Double) = { + this(node1: Body, anchor1, node2: Body, anchor2, springConstant: Double, (anchor2 - anchor1).length) + } + + def this(node1: Body, node2: Body, springConstant: Double, initialLength: Double) = { + this(node1: Body, node1.pos, node2: Body, node2.pos, springConstant: Double, initialLength: Double) + } + def this(node1: Body, node2: Body, springConstant: Double) = { + this(node1: Body, node1.pos, node2: Body, node2.pos, springConstant: Double, (node2.pos - node1.pos).length) + } + + private val a1 = anchor1 - node1.pos + private val a2 = anchor2 - node2.pos + private val initRotation1 = node1.rotation + private val initRotation2 = node2.rotation + + /**Ergibt den Bindungspunkt auf Koerper eins.*/ + def connection1 = (a1 rotate (node1.rotation - initRotation1)) + node1.pos + + /**Ergibt den Bindungspunkt auf Koerper zwei.*/ + def connection2 = (a2 rotate (node2.rotation - initRotation2)) + node2.pos + + /**Daempfung.*/ + var damping = 0.0 + + /**Relative Position der Bindungspunkte.*/ + def x = connection2 - connection1 + + /**Ergibt die Federkraft nach dem Hookschen Gesetz.*/ + def force = (x.length - initialLength) * springConstant + + /**Uebt die Federkraft auf die Bindungspunkte aus.*/ + def applyForce() = { + node1.applyForce(x.unit * force - ((node1 velocityOfPoint connection1) * damping) project x, connection1) + node2.applyForce(-x.unit * force - ((node2 velocityOfPoint connection2) * damping) project x, connection2) + } + + def correctPosition(h: Double) = () + def correctVelocity(h: Double) = () +}
\ No newline at end of file diff --git a/src/sims/dynamics/joints/test/UnitCircleJoint.scala b/src/sims/dynamics/joints/test/UnitCircleJoint.scala new file mode 100644 index 0000000..64f613c --- /dev/null +++ b/src/sims/dynamics/joints/test/UnitCircleJoint.scala @@ -0,0 +1,45 @@ +/* + * Simple Mechanics Simulator (SiMS) + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package sims.dynamics.joints.test + +import sims.dynamics._ +import sims.geometry._ + +class UnitCircleJoint(body: Body, anchor: Vector2D) extends Joint{ + + val node1 = body + val node2 = body + + private val a = anchor - body.pos + private val initRotation = body.rotation + def connection = (a rotate (body.rotation - initRotation)) + body.pos + def x = connection + def v = body.velocityOfPoint(connection) + + /* + * C = ||x|| - 1 + * Cdot = x/||x|| dot v = u dot v + * J = [u (r cross u)] + */ + def correctVelocity(h: Double) = { + val r = connection - body.pos + val u = x.unit + val cr = r cross u + val mc = 1.0/(1/body.mass + 1/body.I * cr * cr) + val lambda = -mc * (u dot v) + val Pc = u * lambda + + val vupdate = u * lambda / body.mass + val wupdate = (r cross u) * lambda / body.I + + println("dv = " + vupdate + " dw = " + wupdate) + body.linearVelocity = body.linearVelocity + u * lambda / body.mass + body.angularVelocity = body.angularVelocity + (r cross u) * lambda / body.I + } + + def correctPosition(h: Double) = {} +} diff --git a/src/sims/geometry/ConvexPolygon.scala b/src/sims/geometry/ConvexPolygon.scala new file mode 100644 index 0000000..7bf881c --- /dev/null +++ b/src/sims/geometry/ConvexPolygon.scala @@ -0,0 +1,61 @@ +/* + * Simple Mechanics Simulator (SiMS) + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package sims.geometry + +import sims.collision._ +import sims.geometry._ + +/**Gemeinsame Eigenschaften aller konvexen Polygone.*/ +trait ConvexPolygon { + + /**Ergibt Position aller Ecken dieses Polygons. Die Ecken sind gegen den Uhrzeigersinn folgend. + * @return Ortsvektoren der Ecken*/ + def vertices: Seq[Vector2D] + + /**Ergibt alle Seiten dieses Polygons. + * @return Seiten dieses Polygons*/ + def sides = (for (i <- 0 until vertices.length) yield (new Segment(vertices(i), vertices((i + 1) % vertices.length)))).toArray + + /**Ergibt die Projektion dieses Polygons auf eine Gerade gegeben durch den + * Richtungsvektor <code>axis</code> + * @param axis Richtungsvektor der Geraden + * @return Projektion dieses Polygons*/ + def project(axis: Vector2D) = { + val points = for (v <- vertices) yield {v project axis} + val bounds = for (p <- points) yield {if (axis.x != 0) p.x / axis.x else p.y / axis.y} + Projection(axis, + (bounds(0) /: bounds)(Math.min(_,_)), + (bounds(0) /: bounds)(Math.max(_,_))) + } + + /**Errechnet das AABB dieses Polygons + * @return umfassendes AABB + * @see collision.AABB*/ + def AABB = { + val xs = vertices map (_.x) + val ys = vertices map (_.y) + new AABB(Vector2D(Iterable.min(xs), Iterable.min(ys)), + Vector2D(Iterable.max(xs), Iterable.max(ys))) + } + + /**Ueberprueft ob sich der gegebene Punkt <code>point</code> in diesem Polygon befindet. + * <p> + * Hierzu wird eine Halbgerade von dem Punkt in Richtung der X-Achse gezogen (koennte aber auch beliebig sein). + * Dann wird die Anzahl der Ueberschneidungen der Halbgeraden mit den Seiten und Ecken des Polygons ermittelt. + * Ist die Anzahl der Ueberschneidungen ungerade, so befindet sich der Punkt in dem Polygon. + * Es gibt jedoch Ausnahmen, und zwar wenn die Halbgerade eine Ecke ueberschneidet, ueberschneidet sie sowohl auch zwei Seiten. + * Daher wird eine generelle Anzahl von Uerberschneidungen errechnet, gegeben durch die Anzahl der Ueberschneidungen mit den Seiten minus + * die mit den Ecken. + * Diese Zahl wird dann wie oben geschildert geprueft.*/ + def contains(point: Vector2D) = { + val r = new Ray(point, Vector2D.i) + var intersections = 0 + for (s <- sides; if (r intersects s)) intersections += 1 + for (v <- vertices; if (r contains v)) intersections -= 1 + intersections % 2 != 0 + } +} diff --git a/src/sims/geometry/Projection.scala b/src/sims/geometry/Projection.scala new file mode 100644 index 0000000..5f2d0f0 --- /dev/null +++ b/src/sims/geometry/Projection.scala @@ -0,0 +1,34 @@ +/* + * Simple Mechanics Simulator (SiMS) + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package sims.geometry + +import sims.math._ + +/**Projektion auf eine Achse. + * <p> + * Ueblicherweise werden Projektionen in SiMS fuer Kollisionserkennung benutzt. + * @param axis Achse der Projektion + * @param lower unterer Wert der Projektion + * @param upper oberer Wert der Projektion*/ +case class Projection(axis: Vector2D, + lower: Double, + upper: Double) { + require(axis != Vector2D.Null) + + /**Ueberprueft ob sich diese Projektion mit der Projektion <code>other</code> ueberschneidet.*/ + def overlaps(other: Projection): Boolean = { + require(axis == other.axis, "Cannot compare two projections on different axes!") + !((other.lower - this.upper) > 0 || (this.lower - other.upper) > 0) + } + + + /**Ergibt die Ueberlappung dieser Projektion und der Projektion <code>other</code>.*/ + def overlap(other: Projection): Double = { + require(axis == other.axis, "Cannot compare two projections on different axes!") + (Math.max(lower, other.lower) - Math.min(upper, other.upper)).abs + } +} diff --git a/src/sims/geometry/Ray.scala b/src/sims/geometry/Ray.scala new file mode 100644 index 0000000..c898e03 --- /dev/null +++ b/src/sims/geometry/Ray.scala @@ -0,0 +1,53 @@ +/* + * Simple Mechanics Simulator (SiMS) + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package sims.geometry + +import sims.math._ +import Math._ + +/**Eine Halbgerade wird definiert durch: + * @param point ein Aufpunkt + * @param direction ein Richtungsvektor*/ +case class Ray(point: Vector2D, direction: Vector2D) { + + //Ein Nullvektor hat keine Richtung + require(direction != Vector2D.Null) + + /**Ueberprueft ob diese Halbgerade das gegebene Segment ueberschneidet. + * @param das auf Ueberschneidung zu uerberpruefende Segment*/ + def intersects(s: Segment) = { + val p1 = point + val p2 = point + direction + val p3 = s.vertex1 + val p4 = s.vertex2 + val d = (p4.y - p3.y) * (p2.x - p1.x) - (p4.x - p3.x) * (p2.y - p1.y) + val na = (p4.x - p3.x) * (p1.y - p3.y) - (p4.y - p3.y) * (p1.x - p3.x) + val nb = (p2.x - p1.x) * (p1.y - p3.y) - (p2.y - p1.y) * (p1.x - p3.x) + if (d == 0 && na == 0 && nb == 0) + true //lines are coincident + else if (d == 0) + false //parallel + else { + val ua = na / d + val ub = nb / d + (ub >= 0) && (ub <= 1) && (ua >= 0) + } + } + + /**Ueberprueft ob diese Halbgerade den gegebenen Punkt enthaelt. + * <br> + * Hierzu wird der Vektor von dem Ursprungspunkt zu dem zu ueberpruefenden Punkt gebildet. Dieser wird dann mit dem Richtungsvektor + * auf Kolinearitaet geprueft. + * @param p Ortsvektor des oben genannten Punkt*/ + def contains(p: Vector2D) = { + val v = p - point + p == point || + Matrix22(direction, v).det == 0 && + signum(direction.x) == signum(v.x) && + signum(direction.y) == signum(v.y) + } +} diff --git a/src/sims/geometry/Segment.scala b/src/sims/geometry/Segment.scala new file mode 100644 index 0000000..8700979 --- /dev/null +++ b/src/sims/geometry/Segment.scala @@ -0,0 +1,70 @@ +/* + * Simple Mechanics Simulator (SiMS) + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package sims.geometry + +/**Ein Segment wird durch seine beiden Extrempunkte gegeben. + * @param vertex1 Ortsvektor des 1. Extrempunkts + * @param vertex2 Ortsvektor des 2. Extrempunkts*/ +case class Segment(vertex1: Vector2D, vertex2: Vector2D){ + require(vertex1 != vertex2, "A segment must have 2 distinct vertices!") + + /**Laenge dieses Segments.*/ + val length = (vertex2 - vertex1).length + + /**Vektor von EP1 zu EP2.*/ + val d = vertex2 - vertex1 + + /**Einheitsrichtungsvektor.*/ + val d0 = d.unit + + /**Normalenvektor. Richtung: 90 Grad rechts zu d.*/ + val n = d.rightNormal + + /**Normaleneinheitsvektor. Richtung: 90 Grad rechts zu d.*/ + val n0 = n.unit + + /**Kleinster Abstand zwischen diesem Segment und dem Punkt <code>p</code>.*/ + def distance(point: Vector2D): Double = { + val v = point - vertex1 //Vektor von EP1 zu point + val projection = v project d + val alpha = if (d.x != 0) d.x / projection.x else d.y / projection.y + if (alpha >= 0 && projection.length <= length) //Punkt ist naeher zu der Geraden zwischen EP1 und EP2 + (v project n0).length + else if (alpha < 0) //Punkt ist naeher zu EP1 + (point - vertex1).length + else if (alpha > 0) //Punkt ist naeher zu EP2 + (point - vertex2).length + else + throw new IllegalArgumentException("Error occured trying to compute distance between segment and point.") + } + + def clipToSegment(s: Segment): Option[Vector2D] = { + + val distance1 = (vertex1 - s.vertex1) dot s.n0 + val distance2 = (vertex2 - s.vertex1) dot s.n0 + + if (distance1 * distance2 < 0) { //auf anderen Seiten + /* Geradengleichungen + * ================== + * Segment1: s1: x = a + alpha * r | alpha in [0,1] + * Segment2: s2: x = b + beta * s | beta in [0,1] + * + * alpha = [s2(a1-b1)-s1(a2-b2)] / [r2s1-r1s2] + * beta = [r2(b1-a1)-r1(b2-a2)] / [r1s2-r2s1] + * = [r1(b2-a2)]-r2(b1-a1) / [r2s1-r1s2] + * s1: vertex1 + alpha * d + * s2: s.vertex1 + beta * s.d + */ + val denom: Double = d.y * s.d.x - d.x * s.d.y + val alpha: Double = (s.d.y * (vertex1.x - s.vertex1.x) - s.d.x * (vertex1.y - s.vertex1.y)) / denom + val beta: Double = (d.x * (s.vertex1.y - vertex1.y) - d.y * (s.vertex1.x - vertex1.x)) / denom + if (0.0 <= alpha && alpha <= 1.0 && 0.0 <= beta && beta <= 1.0) Some(vertex1 + d * alpha) + else None + } + else None + } +} diff --git a/src/sims/geometry/Vector2D.scala b/src/sims/geometry/Vector2D.scala new file mode 100644 index 0000000..03d1ea4 --- /dev/null +++ b/src/sims/geometry/Vector2D.scala @@ -0,0 +1,99 @@ +/* + * Simple Mechanics Simulator (SiMS) + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package sims.geometry + +import scala.Math._ + +/**Ein 2-dimensionaler Vektor. + * @param x 1. Komponente + * @param y 2. Komponente*/ +case class Vector2D(x: Double, y: Double) { + + /**Vektoraddition. + * @param v zu addierender Vektor + * @return dieser Vektor addiert mit <code>v</code>*/ + def +(v: Vector2D): Vector2D = Vector2D(x + v.x, y + v.y) + + /**Vektorsubstraktion. + * @param v zu substrahierender Vektor + * @return dieser Vektor substrahiert mit <code>v</code>*/ + def -(v: Vector2D): Vector2D = this + (v * -1) + + /**Multiplikation mit einem Skalar. + * @param n Faktor + * @return dieser Vektor multipliziert mit <code>n</code>*/ + def *(n: Double): Vector2D = Vector2D(x * n, y * n) + + /**Division durch ein Skalar. + * @param n Nenner + * @return dieser Vektor dividiert durch <code>n</code>*/ + def /(n: Double): Vector2D = this * (1/n) + + /**Minusvorzeichen.*/ + def unary_- : Vector2D = Vector2D(-x, -y) + + /**Skalarprodukt. + * @param v ein anderer Vektor + * @return Skalarprodukt von diesem Vektor mit <code>v</code>*/ + def dot(v: Vector2D): Double = x * v.x + y * v.y + + /**Kreuzprodukt. (Norm des Kreuzproduktes) + * @param v ein anderer Vektor + * @return Norm des Kreuzproduktes dieses Vektors mit <code>v</code>. Die Richtung wuerde der x3-Achse entsprechen.*/ + def cross(v: Vector2D): Double = x * v.y - y * v.x + + /**Norm dieses Vektors.*/ + val length: Double = Math.sqrt(x * x + y * y) + + /**Einheitsvektor dieses Vektors.*/ + def unit: Vector2D = if (!(x == 0.0 && y == 0.0)) Vector2D(x / length, y / length) + else throw new IllegalArgumentException("Null vector does not have a unit vector.") + + /**Errechnet die Projektion dieses- auf einen anderen Vektor. + * @param v oben gennanter Vektor + * @return Projektion dieses Vektors auf <code>v</code>*/ + def project(v: Vector2D): Vector2D = { + if (v != Vector2D.Null) + v * ((this dot v) / (v dot v)) + else + Vector2D.Null + } + + /**Errechnet eine Rotation dieses Vektors. + * @param angle Winkel in Radian + * @return der um <code>angle</code> rad rotierte Vektor*/ + def rotate(angle: Double): Vector2D = { + Vector2D(cos(angle) * x - sin(angle) * y, + cos(angle) * y + sin(angle) * x) + } + + /**Linker Normalenvektor. (-y, x)*/ + def leftNormal: Vector2D = Vector2D(-y, x) + + /**Rechter Normalenvektor. (y, -x)*/ + def rightNormal: Vector2D = Vector2D(y, -x) + + /**Ueberprueft, ob die Komponenten dieses Vektors gleich Null sind.*/ + def isNull: Boolean = this == Vector2D.Null + + /**Ergibt eine Liste der Komponenten dieses Vektors.*/ + def components = List(x, y) +} + +/**Dieses Objekt enthaelt spezielle Vektoren.*/ +object Vector2D { + + /**Nullvektor.*/ + val Null = Vector2D(0,0) + + /**Ein horizontaler Einheitsvektor mit den Komponenten (1;0).*/ + val i = Vector2D(1,0) + + /**Ein vertikaler Einheitsvektor mit den Komponenten (0;1).*/ + val j = Vector2D(0,1) +} + diff --git a/src/sims/math/Matrix22.scala b/src/sims/math/Matrix22.scala new file mode 100644 index 0000000..b10e02a --- /dev/null +++ b/src/sims/math/Matrix22.scala @@ -0,0 +1,57 @@ +/* + * Simple Mechanics Simulator (SiMS) + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package sims.math + +import sims.geometry._ + +/**Eine 2x2, quadratische Matrix. + * @param c11 Komponente 1,1 + * @param c12 Komponente 1,2 + * @param c21 Komponente 2,1 + * @param c22 Komponente 2,2 + */ +case class Matrix22(c11: Double, c12: Double, c21: Double, c22: Double) { + + /**Eine 2x2-dimensionale, quadratische Matrix kann auch mit zwei 2-dimensionalen + * Vektoren erstellt werden. In diesem Fall repraesentiert jeder Vektor eine Spalte. + * @param c1 erste Spalte + * @param c2 zweite Spalte*/ + def this(c1: Vector2D, c2: Vector2D) = this(c1.x, c2.x, c1.y, c2.y) + + /**Ergibt die Determinante dieser Matrix. + * @return Determinante dieser Matrix*/ + def det = c11 * c22 - c21 * c12 + + /**Addition.*/ + def +(m: Matrix22) = + new Matrix22(c11 + m.c11, c12 + m.c12, + c21 + m.c21, c22 + m.c22) + + /**Multiplikation mit einem Skalar.*/ + def *(n: Double) = + new Matrix22(c11 * n, c12 * n, + c21 * n, c22 * n) + + /**Multiplikation mit einer anderen 2x2-Matrix.*/ + def *(m: Matrix22) = + new Matrix22(c11 * m.c11 + c12 * m.c21, c11 * m.c12 + c12 * m.c22, + c21 * m.c11 + c22 * m.c21, c21 * m.c12 + c22 * m.c22) + + /**Multiplikation mit einer 2x1-Matrix (2-dimensionaler Vektor).*/ + def *(v: Vector2D) = + new Vector2D(c11 * v.x + c12 * v.y, + c21 * v.x + c22 * v.y) + + /**Inverse.*/ + def invert = + new Matrix22(c22 / det, -c12 / det, + -c21 / det, c11 / det) + } + +object Matrix22 { + def apply(c1: Vector2D, c2: Vector2D) = new Matrix22(c1.x, c2.x, c1.y, c2.y) +} diff --git a/src/sims/prefabs/Net.scala b/src/sims/prefabs/Net.scala new file mode 100644 index 0000000..d3f4d57 --- /dev/null +++ b/src/sims/prefabs/Net.scala @@ -0,0 +1,47 @@ +/* + * Simple Mechanics Simulator (SiMS) + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package sims.prefabs + +import sims.geometry._ +import sims.dynamics._ +import sims.dynamics.joints._ + +class Net(width: Int, height: Int, initPos: Vector2D) extends Prefab { + val nodeDistance: Double = 0.2 + val nodeRadius: Double = 0.05 + val nodeDensity: Double = 4 + + val springConstant: Double = 50 + val springDamping: Double = 0 + + private val connectors: Array[Array[Body]] = + makeConnectors(width, height) + + override val bodies: List[Body] = for (row <- connectors.toList; elem <- row) yield elem + override val joints = connect(connectors) + + private def makeConnectors(w: Int, h: Int): Array[Array[Body]] = { + for(i <- (0 until w).toArray[Int]) yield + for(j <- (0 until h).toArray[Int]) yield + new Body(new Circle(nodeRadius, nodeDensity) {pos = Vector2D(nodeDistance * i, nodeDistance * j) + initPos}) + } + + private def connect(connectors: Array[Array[Body]]): List[DistanceJoint] = { + var r: List[DistanceJoint] = Nil + for(i <- 0 to connectors.length - 1; j <- 0 to connectors(i).length - 1) { + if (i > 0) + r = connect(connectors(i-1)(j),connectors(i)(j)) :: r + if (j > 0) + r = connect(connectors(i)(j-1),connectors(i)(j)) :: r + } + r + } + + private def connect(s1: Body, s2: Body): DistanceJoint = + new DistanceJoint(s1, s1.pos, s2, s2.pos) + +}
\ No newline at end of file diff --git a/src/sims/prefabs/Prefab.scala b/src/sims/prefabs/Prefab.scala new file mode 100644 index 0000000..84bb3b7 --- /dev/null +++ b/src/sims/prefabs/Prefab.scala @@ -0,0 +1,15 @@ +/* + * Simple Mechanics Simulator (SiMS) + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package sims.prefabs + +import sims.dynamics._ +import sims.dynamics.joints._ + +trait Prefab { + val bodies: Iterable[Body] = Nil + val joints: Iterable[Joint] = Nil +} diff --git a/src/sims/prefabs/Pylon.scala b/src/sims/prefabs/Pylon.scala new file mode 100644 index 0000000..7f3211f --- /dev/null +++ b/src/sims/prefabs/Pylon.scala @@ -0,0 +1,47 @@ +/* + * Simple Mechanics Simulator (SiMS) + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package sims.prefabs + +import sims.geometry._ +import sims.dynamics._ +import sims.dynamics.joints._ + +class Pylon extends Prefab{ + val position: Vector2D = Vector2D(2,1) + val nodeDensity: Double = 100 + val beamHeight: Double = 1 + val beamWidth: Double = 0.5 + val beamNumber: Int = 10 + + private val nodeRow1 = (for (i <- 0 to beamNumber) yield (new Circle(0.01, nodeDensity) { + pos = position + Vector2D(0, i * beamHeight)}).asBody).toList + private val nodeRow2 = (for (i <- 0 to beamNumber) yield (new Circle(0.01, nodeDensity) { + pos = position + Vector2D(beamWidth, i * beamHeight)}).asBody).toList + + private val beamRow1 = (for (i <- 0 until nodeRow1.length - 1) yield + new DistanceJoint(nodeRow1(i), nodeRow1(i).pos, nodeRow1(i+1), nodeRow1(i + 1).pos)).toList + private val beamRow2 = (for (i <- 0 until nodeRow1.length - 1) yield + new DistanceJoint(nodeRow2(i), nodeRow2(i).pos, nodeRow2(i+1), nodeRow2(i + 1).pos)).toList + + private val latBeams = (for (i <- 0 to beamNumber) yield + new DistanceJoint(nodeRow1(i), nodeRow2(i))).toList + private val diagBeams1 = (for (i <- 0 until beamNumber) yield + new DistanceJoint(nodeRow1(i), nodeRow2(i + 1))).toList + private val diagBeams2 = (for (i <- 0 until beamNumber) yield + new DistanceJoint(nodeRow2(i), nodeRow1(i + 1))).toList + + + + + lazy val nodes = nodeRow1 ++ nodeRow2 + lazy val beams = beamRow1 ++ beamRow2 ++ latBeams ++ diagBeams1 ++ diagBeams2 + + override val bodies = nodes + override val joints = beams + + +} diff --git a/src/sims/prefabs/Ragdoll.scala b/src/sims/prefabs/Ragdoll.scala new file mode 100644 index 0000000..ad58653 --- /dev/null +++ b/src/sims/prefabs/Ragdoll.scala @@ -0,0 +1,43 @@ +/* + * Simple Mechanics Simulator (SiMS) + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package sims.prefabs + +import sims.dynamics._ +import sims.dynamics.joints._ +import sims.geometry._ + +class Ragdoll(position: Vector2D) extends Prefab { + val headTorso = new Body(new Circle(0.1, 1) {pos = position}, + new Rectangle(0.09, 0.35, 1) {pos = position + Vector2D(0, -0.45)}) + val thigh1 = (new Rectangle(0.075, 0.17, 1) {pos = position + Vector2D(0, -0.97)}).asBody + val thigh2 = (new Rectangle(0.075, 0.17, 1) {pos = position + Vector2D(0, -0.97)}).asBody + val tibia1 = (new Rectangle(0.075, 0.25, 1) {pos = position + Vector2D(0, -1.39)}).asBody + val tibia2 = (new Rectangle(0.075, 0.25, 1) {pos = position + Vector2D(0, -1.39)}).asBody + val foot1 = (new Circle(0.08, 1) {pos = position + Vector2D(0, -1.72)}).asBody + val foot2 = (new Circle(0.08, 1) {pos = position + Vector2D(0, -1.72)}).asBody + val upperArm1 = (new Rectangle(0.17, 0.06, 1) {pos = position + Vector2D(0.17, -0.16)}).asBody + val upperArm2 = (new Rectangle(0.17, 0.06, 1) {pos = position + Vector2D(-0.17, -0.16)}).asBody + val forearm1 = (new Rectangle(0.15, 0.06, 1) {pos = position + Vector2D(0.49, -0.16)}).asBody + val forearm2 = (new Rectangle(0.15, 0.06, 1) {pos = position + Vector2D(-0.49, -0.16)}).asBody + val hand1 = (new Circle(0.07, 1) {pos = position + Vector2D(0.71, -0.16)}).asBody + val hand2 = (new Circle(0.07, 1) {pos = position + Vector2D(-0.71, -0.16)}).asBody + + override val bodies = List(headTorso, + thigh1, thigh2, + tibia1, tibia2, + foot1, foot2, + upperArm1, upperArm2, + forearm1, forearm2, + hand1, hand2) + private val shapes = bodies.flatMap(_.shapes) + for (s <- shapes) s.transientShapes ++= shapes + + val shoulder1 = RevoluteJoint(headTorso, upperArm1, position + Vector2D(0, -0.16)) + val shoulder2 = RevoluteJoint(headTorso, upperArm2, position + Vector2D(0, -0.16)) + override val joints = List(shoulder1, shoulder2) + +} diff --git a/src/sims/util/Polar.scala b/src/sims/util/Polar.scala new file mode 100644 index 0000000..931be08 --- /dev/null +++ b/src/sims/util/Polar.scala @@ -0,0 +1,17 @@ +/* + * Simple Mechanics Simulator (SiMS) + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package sims.util + +import sims.geometry._ +import scala.Math._ + +/**Polare Koordinaten.*/ +case class Polar(distance: Double, angle: Double) { + + /**Ergibt die Vektorrepraesantation dieser polaren Koordinaten.*/ + def toCarthesian = Vector2D(distance * sin(angle), distance * cos(angle)) +} diff --git a/src/sims/util/Positioning.scala b/src/sims/util/Positioning.scala new file mode 100644 index 0000000..433feaf --- /dev/null +++ b/src/sims/util/Positioning.scala @@ -0,0 +1,24 @@ +/* + * Simple Mechanics Simulator (SiMS) + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package sims.util + +import sims.geometry._ +import sims.dynamics._ + +/**Objekt mit Hiflsfunktionen fuer komfortables Positionieren von Koerpern.*/ +object Positioning { + + implicit def int2RelativeVector(x: Int): RelativeVector = new RelativeVector(x, 0) + implicit def double2RelativeVector(x: Double): RelativeVector = new RelativeVector(x, 0) + implicit def vector2RelativeVector(v: Vector2D): RelativeVector = new RelativeVector(v.x, v.y) + implicit def polar2Carthesian(p: Polar): Vector2D = p.toCarthesian + implicit def polar2RelativeVector(p: Polar): RelativeVector = vector2RelativeVector(p.toCarthesian) + + def position(s: Shape)(a: Vector2D) = { + s.pos = a + } +} diff --git a/src/sims/util/RelativeVector.scala b/src/sims/util/RelativeVector.scala new file mode 100644 index 0000000..374f92c --- /dev/null +++ b/src/sims/util/RelativeVector.scala @@ -0,0 +1,24 @@ +/* + * Simple Mechanics Simulator (SiMS) + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package sims.util + +import sims.geometry._ +import sims.dynamics._ + +class RelativeVector(val x: Double, val y: Double) { + def above(point: Vector2D): Vector2D = point + Vector2D(0, x) + def below(point: Vector2D): Vector2D = point - Vector2D(0, x) + def left(point: Vector2D): Vector2D = point - Vector2D(x, 0) + def right(point: Vector2D): Vector2D = point + Vector2D(x, 0) + def from(point: Vector2D): Vector2D = point + Vector2D(x, y) + + def above(s: Shape): Vector2D = this.above(s.pos) + def below(s: Shape): Vector2D = this.below(s.pos) + def left(s: Shape): Vector2D = this.left(s.pos) + def right(s: Shape): Vector2D = this.right(s.pos) + def from(s: Shape): Vector2D = this.from(s.pos) +} |