diff options
Diffstat (limited to 'doc/sims/dynamics')
-rw-r--r-- | doc/sims/dynamics/Body.html | 191 | ||||
-rw-r--r-- | doc/sims/dynamics/Circle.html | 42 | ||||
-rw-r--r-- | doc/sims/dynamics/Constraint.html | 20 | ||||
-rw-r--r-- | doc/sims/dynamics/Rectangle.html | 51 | ||||
-rw-r--r-- | doc/sims/dynamics/RegularPolygon.html | 28 | ||||
-rw-r--r-- | doc/sims/dynamics/Shape.html | 182 | ||||
-rw-r--r-- | doc/sims/dynamics/World.html | 149 | ||||
-rw-r--r-- | doc/sims/dynamics/joints$content.html | 14 | ||||
-rw-r--r-- | doc/sims/dynamics/joints/DistanceJoint.html | 32 | ||||
-rw-r--r-- | doc/sims/dynamics/joints/ForceJoint.html | 6 | ||||
-rw-r--r-- | doc/sims/dynamics/joints/Joint.html | 22 | ||||
-rw-r--r-- | doc/sims/dynamics/joints/RevoluteJoint.html | 12 | ||||
-rw-r--r-- | doc/sims/dynamics/joints/SpringJoint.html | 79 | ||||
-rw-r--r-- | doc/sims/dynamics/joints/test$content.html | 45 | ||||
-rw-r--r-- | doc/sims/dynamics/joints/test$package.html | 17 | ||||
-rw-r--r-- | doc/sims/dynamics/joints/test/PrismaticJoint$object.html | 82 | ||||
-rw-r--r-- | doc/sims/dynamics/joints/test/PrismaticJoint.html | 502 | ||||
-rw-r--r-- | doc/sims/dynamics/joints/test/UnitCircleJoint.html | 261 |
18 files changed, 1338 insertions, 397 deletions
diff --git a/doc/sims/dynamics/Body.html b/doc/sims/dynamics/Body.html index 7ac6091..4bacab2 100644 --- a/doc/sims/dynamics/Body.html +++ b/doc/sims/dynamics/Body.html @@ -33,9 +33,9 @@ </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><dd>A two dimensional rigid body is made out of shapes.</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> + <b>Parameters</b></dt><dd><code>shps - </code>shapes that belong to this body.</dd></dl> @@ -49,7 +49,7 @@ <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> + <div>Angular velocity of this body.</div> </td> </tr> <tr> @@ -60,7 +60,7 @@ <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> + <div>Resulting force on the COM of this body.</div> </td> </tr> <tr> @@ -71,7 +71,7 @@ <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> + <div>Linear velocity of this body.</div> </td> </tr> <tr> @@ -82,7 +82,7 @@ <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> + <div>Flag for a world to monitor the properties of this body.</div> </td> </tr> <tr> @@ -93,7 +93,7 @@ <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> + <div>Shapes that belong to this body.</div> </td> </tr> <tr> @@ -104,7 +104,7 @@ <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> + <div>Resulting torque on this body.</div> </td> </tr> <tr> @@ -115,7 +115,7 @@ <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> + <div>Unique identification number.</div> </td> </tr> </table> @@ -129,7 +129,9 @@ <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> + <div>Returns the moment of inertia for rotations about the COM of this body.
+ It is calculated using the moments of inertia of this body's shapes and the parallel axis theorem.
+ If the body is fixed, its moment of inertia is infinite (<code>Double.PositiveInfinity</code>).</div> </td> </tr> <tr> @@ -137,21 +139,10 @@ <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> + <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>Erstellt einen neuen Koerper der zusaetzlich die Formen von dem Koerper <code>b</code> enthaelt.</div> + <div>Applies a force to a point on this body. Warning: the point is considered to be contained within this body.</div> </td> </tr> <tr> @@ -162,7 +153,7 @@ <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> + <div>Applies a force to the COM of this body.</div> </td> </tr> <tr> @@ -170,11 +161,10 @@ <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> + <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 eine Kraft auf einen Punkt dieses Koerpers an. Achtung: der gegebene Punkt wird nicht auf angehoerigkeit dieses
- Koerpers ueberprueft.</div> + <div>Applies an impulse to the COM of this body.</div> </td> </tr> <tr> @@ -185,19 +175,7 @@ <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> + <div>Applies an impulse to a point on this body. Warning: the point is considered to be contained within this body.</div> </td> </tr> <tr> @@ -208,7 +186,7 @@ <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> + <div>Checks if the point <code>point</code> is contained in this body.</div> </td> </tr> <tr> @@ -219,7 +197,7 @@ <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> + <div>Returns whether this body is fixed or not.</div> </td> </tr> <tr> @@ -230,7 +208,7 @@ <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> + <div>Fixes or frees this body. By fixing, linear and angular velocities are set to zero.</div> </td> </tr> <tr> @@ -241,7 +219,8 @@ <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> + <div>Returns the mass of this body. If the body is free, its mass is the sum of the masses of its shapes.
+ If the body is fixed, its mass is infinite (<code>Double.PositiveInfinity</code>).</div> </td> </tr> <tr> @@ -252,7 +231,7 @@ <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> + <div>Returns the position of this body. The position is equivalent to the center of mass.</div> </td> </tr> <tr> @@ -263,7 +242,7 @@ <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> + <div>Sets the position of this body. By doing so all its shapes are translated.</div> </td> </tr> <tr> @@ -274,7 +253,7 @@ <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> + <div>Returns the current rotation of this body.</div> </td> </tr> <tr> @@ -285,7 +264,7 @@ <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> + <div>Sets the rotation of this body. Position and rotation of shapes are modified accordingly.</div> </td> </tr> <tr> @@ -307,7 +286,29 @@ <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> + <div>Linear velocity of the given point on this body (in world coordinates).</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Body.html#%7E%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>Creates a new body containing this body's shapes and the shapes of another body <code>b</code>.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Body.html#%7E%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>Creates a new body containing this body's shapes and the shape <code>s</code>.</div> </td> </tr> </table><table summary="" cellpadding="3" class="inherited"> @@ -340,7 +341,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Einzigartige Identifikationsnummer dieses Koerpers.</dd></dl> + <dl><dd>Unique identification number.</dd></dl> <dl></dl> <hr></hr> <a name="shapes"></a><dl> @@ -352,7 +353,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Formen aus denen dieser Koerper besteht.</dd></dl> + <dl><dd>Shapes that belong to this body.</dd></dl> <dl></dl> <hr></hr> <a name="monitor"></a><dl> @@ -364,7 +365,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Gibt an ob die Eigenschaften dieses Koerpers ueberwacht werden sollen.</dd></dl> + <dl><dd>Flag for a world to monitor the properties of this body.</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> @@ -377,7 +378,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Lineargeschwindigkeit dieses Koerpers.</dd></dl> + <dl><dd>Linear velocity of this body.</dd></dl> <dl></dl> <hr></hr> <a name="angularVelocity"></a><dl> @@ -389,7 +390,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Winkelgeschwindigkeit dieses Koerpers.</dd></dl> + <dl><dd>Angular velocity of this body.</dd></dl> <dl></dl> <hr></hr> <a name="force"></a><dl> @@ -401,7 +402,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Resultierende Kraft auf den Schwerpunkt dieses Koerpers.</dd></dl> + <dl><dd>Resulting force on the COM of this body.</dd></dl> <dl></dl> <hr></hr> <a name="torque"></a><dl> @@ -413,7 +414,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Resultierender Drehmoment zu dem Schwerpunkt dieses Koerpers.</dd></dl> + <dl><dd>Resulting torque on this body.</dd></dl> <dl></dl> <hr></hr></div> <table summary="" cellpadding="3" class="member-detail"> @@ -427,7 +428,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Gibt an ob dieser Koerper fixiert ist.</dd></dl> + <dl><dd>Returns whether this body is fixed or not.</dd></dl> <dl></dl> <hr></hr> <a name="fixed_%3D%28Boolean%29"></a><dl> @@ -439,7 +440,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Fixiert oder unfixiert diesen Koerper.</dd></dl> + <dl><dd>Fixes or frees this body. By fixing, linear and angular velocities are set to zero.</dd></dl> <dl></dl> <hr></hr> <a name="pos"></a><dl> @@ -451,9 +452,9 @@ </dt> <dd></dd> </dl> - <dl><dd>Ermittelt die Position dieses Koerpers. Die Position entspricht dem Schwerpunkt.</dd></dl> + <dl><dd>Returns the position of this body. The position is equivalent to the center of mass.</dd></dl> <dl><dt style="margin:10px 0 0 20px;"> - <b>Returns</b></dt><dd>Position dieses Koerpers</dd></dl> + <b>Returns</b></dt><dd>position of this body</dd></dl> <hr></hr> <a name="pos_%3D%28sims.geometry.Vector2D%29"></a><dl> <dt> @@ -464,9 +465,9 @@ </dt> <dd></dd> </dl> - <dl><dd>Setzt die Position dieses Koerpers und verschiebt dadurch die Positionen seiner Formen.</dd></dl> + <dl><dd>Sets the position of this body. By doing so all its shapes are translated.</dd></dl> <dl><dt style="margin:10px 0 0 20px;"> - <b>Parameters</b></dt><dd><code>newPos - </code>neue Position</dd></dl> + <b>Parameters</b></dt><dd><code>newPos - </code>new position</dd></dl> <hr></hr> <a name="rotation"></a><dl> <dt> @@ -477,9 +478,8 @@ </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> + <dl><dd>Returns the current rotation of this body.</dd></dl> + <dl></dl> <hr></hr> <a name="rotation_%3D%28Double%29"></a><dl> <dt> @@ -490,9 +490,9 @@ </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><dd>Sets the rotation of this body. Position and rotation of shapes are modified accordingly.</dd></dl> <dl><dt style="margin:10px 0 0 20px;"> - <b>Parameters</b></dt><dd><code>r - </code>neue Rotation</dd></dl> + <b>Parameters</b></dt><dd><code>r - </code>new rotation</dd></dl> <hr></hr> <a name="velocityOfPoint%28sims.geometry.Vector2D%29"></a><dl> <dt> @@ -503,7 +503,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Lineargeschwindigkeit des gegebenen Punktes auf diesem Koerper. In Weltkoordinaten.</dd></dl> + <dl><dd>Linear velocity of the given point on this body (in world coordinates).</dd></dl> <dl></dl> <hr></hr> <a name="mass"></a><dl> @@ -515,9 +515,10 @@ </dt> <dd></dd> </dl> - <dl><dd>Ergibt die Masse dieses Koerpers. Die Masse ist gleich die Summe aller Massen seiner Formen.</dd></dl> + <dl><dd>Returns the mass of this body. If the body is free, its mass is the sum of the masses of its shapes.
+ If the body is fixed, its mass is infinite (<code>Double.PositiveInfinity</code>).</dd></dl> <dl><dt style="margin:10px 0 0 20px;"> - <b>Returns</b></dt><dd>Masse des Koerpers</dd></dl> + <b>Returns</b></dt><dd>this body's mass</dd></dl> <hr></hr> <a name="I"></a><dl> <dt> @@ -528,9 +529,11 @@ </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><dd>Returns the moment of inertia for rotations about the COM of this body.
+ It is calculated using the moments of inertia of this body's shapes and the parallel axis theorem.
+ If the body is fixed, its moment of inertia is infinite (<code>Double.PositiveInfinity</code>).</dd></dl> <dl><dt style="margin:10px 0 0 20px;"> - <b>Returns</b></dt><dd>Traegheitsmoment relativ zu dem Schwerpunkt dieses Koerpers</dd></dl> + <b>Returns</b></dt><dd>moment of inertia for rotations about the COM of this body</dd></dl> <hr></hr> <a name="applyForce%28sims.geometry.Vector2D%29"></a><dl> <dt> @@ -541,9 +544,9 @@ </dt> <dd></dd> </dl> - <dl><dd>Wendet eine Kraft auf den Schwerpunkt dieses Koerpers an.</dd></dl> + <dl><dd>Applies a force to the COM of this body.</dd></dl> <dl><dt style="margin:10px 0 0 20px;"> - <b>Parameters</b></dt><dd><code>force - </code>anzuwendender Kraftvektor</dd></dl> + <b>Parameters</b></dt><dd><code>force - </code>applied force</dd></dl> <hr></hr> <a name="applyForce%28sims.geometry.Vector2D%2Csims.geometry.Vector2D%29"></a><dl> <dt> @@ -554,10 +557,9 @@ </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><dd>Applies a force to a point on this body. Warning: the point is considered to be contained within this body.</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> + <b>Parameters</b></dt><dd><code>force - </code>applied force</dd><dd><code>point - </code>position vector of the point (in world coordinates)</dd></dl> <hr></hr> <a name="applyImpulse%28sims.geometry.Vector2D%29"></a><dl> <dt> @@ -568,9 +570,9 @@ </dt> <dd></dd> </dl> - <dl><dd>Wendet einen Impuls auf den Schwerpunkt dieses Koerpers an.</dd></dl> + <dl><dd>Applies an impulse to the COM of this body.</dd></dl> <dl><dt style="margin:10px 0 0 20px;"> - <b>Parameters</b></dt><dd><code>impulse - </code>anzuwendender Impulsvektor</dd></dl> + <b>Parameters</b></dt><dd><code>impulse - </code>applied impulse</dd></dl> <hr></hr> <a name="applyImpulse%28sims.geometry.Vector2D%2Csims.geometry.Vector2D%29"></a><dl> <dt> @@ -581,10 +583,9 @@ </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><dd>Applies an impulse to a point on this body. Warning: the point is considered to be contained within this body.</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> + <b>Parameters</b></dt><dd><code>impulse - </code>applied impulse</dd><dd><code>point - </code>position vector of the point (in world coordinates)</dd></dl> <hr></hr> <a name="contains%28sims.geometry.Vector2D%29"></a><dl> <dt> @@ -595,7 +596,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Ueberprueft ob der gegebene Punkt <code>point</code> sich in diesem Koerper befindet.</dd></dl> + <dl><dd>Checks if the point <code>point</code> is contained in this body.</dd></dl> <dl></dl> <hr></hr> <a name="toString%28%29"></a><dl> @@ -613,33 +614,33 @@ <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> +<a name="%7E%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> + <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><dd>Creates a new body containing this body's shapes and the shape <code>s</code>.</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> + <b>Parameters</b></dt><dd><code>s - </code>new shape</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>new body</dd></dl> <hr></hr> -<a name="%5E%28sims.dynamics.Body%29"></a><dl> +<a name="%7E%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> + <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><dd>Creates a new body containing this body's shapes and the shapes of another body <code>b</code>.</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> + <b>Parameters</b></dt><dd><code>b - </code>body with extra shapes</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>new body</dd></dl> <hr></hr></div> diff --git a/doc/sims/dynamics/Circle.html b/doc/sims/dynamics/Circle.html index d6807a8..f5a1655 100644 --- a/doc/sims/dynamics/Circle.html +++ b/doc/sims/dynamics/Circle.html @@ -33,9 +33,9 @@ </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><dd>A circle.</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> + <b>Parameters</b></dt><dd><code>radius - </code>radius of this circle</dd><dd><code>density - </code>density of this circle</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> @@ -52,7 +52,7 @@ <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> + <div>Moment of inertia for a rotation about this shape's COM.</div> </td> </tr> <tr> @@ -63,7 +63,8 @@ <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> + <div>Volume. The volume is actually equivalent to this shape's area (SiMS is in 2D)
+ and is used with this shape's density to calculate its mass.</div> </td> </tr> </table><table summary="" cellpadding="3" class="inherited"> @@ -71,7 +72,7 @@ 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> + <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#transientShapes" target="_self">transientShapes</a> </td></tr> </table> <table summary="" cellpadding="3" class="member"> @@ -84,7 +85,7 @@ <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> + <div>Returns this shape's axis aligned bounding box.</div> </td> </tr> <tr> @@ -95,7 +96,7 @@ <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> + <div>Checks if the point <code>point</code> is contained in this shape.</div> </td> </tr> <tr> @@ -162,8 +163,7 @@ <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> + <div>Returns the projection of this shape onto the line given by the directional vector <code>axis</code>.</div> </td> </tr> <tr> @@ -182,7 +182,7 @@ 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> + <a href="../../sims/dynamics/Shape.html#mass" target="_self">mass</a>, <a href="../../sims/dynamics/Shape.html#body" target="_self">body</a>, <a href="../../sims/dynamics/Shape.html#asBody" target="_self">asBody</a>, <a href="../../sims/dynamics/Shape.html#%7E%28sims.dynamics.Shape%29" target="_self">~</a>, <a href="../../sims/dynamics/Shape.html#%7E%28sims.dynamics.Body%29" target="_self">~</a> </td></tr> </table><table summary="" cellpadding="3" class="inherited"> <tr><td class="title" colspan="2"> @@ -214,7 +214,8 @@ </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><dd>Volume. The volume is actually equivalent to this shape's area (SiMS is in 2D)
+ and is used with this shape's density to calculate its mass.</dd></dl> <dl></dl> <dl> <dt style="margin:10px 0 0 20px;"> @@ -233,9 +234,8 @@ </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><dd>Moment of inertia for a rotation about this shape's COM.</dd></dl> + <dl></dl> <dl> <dt style="margin:10px 0 0 20px;"> <b>Overrides</b> @@ -255,9 +255,8 @@ </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><dd>Returns this shape's axis aligned bounding box.</dd></dl> + <dl></dl> <dl> <dt style="margin:10px 0 0 20px;"> <b>Overrides</b> @@ -275,11 +274,10 @@ </dt> <dd></dd> </dl> - <dl><dd>Ergibt die Projektion dieser Form auf eine Gerade gegeben durch den
- Richtungsvektor <code>axis</code>.</dd></dl> + <dl><dd>Returns the projection of this shape onto the line given by the directional vector <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> + <b>Parameters</b></dt><dd><code>axis - </code>directional vector of the line</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>projection of this shape</dd></dl> <dl> <dt style="margin:10px 0 0 20px;"> <b>Overrides</b> @@ -297,7 +295,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Ermittelt ob der gebene Punkt <code>point</code> in dieser Form enthalten ist.</dd></dl> + <dl><dd>Checks if the point <code>point</code> is contained in this shape.</dd></dl> <dl></dl> <dl> <dt style="margin:10px 0 0 20px;"> diff --git a/doc/sims/dynamics/Constraint.html b/doc/sims/dynamics/Constraint.html index 556e5c3..570f522 100644 --- a/doc/sims/dynamics/Constraint.html +++ b/doc/sims/dynamics/Constraint.html @@ -33,9 +33,9 @@ </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><dd>All constraints in SiMS implement this trait.
+ Position and velocity can be corrected for each constraint.
+ The implementation of constraints was inspired by Erin Catto's box2d.</dd></dl> <dl></dl> <dl> <dt style="margin:10px 0 0 20px;"><b>Direct Known Subclasses:</b></dt> @@ -54,7 +54,7 @@ <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> + <div>Corrects the positions of bodies according to this constraint.</div> </td> </tr> <tr> @@ -65,7 +65,7 @@ <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> + <div>Corrects the velocities of bodies according to this constraint.</div> </td> </tr> </table><table summary="" cellpadding="3" class="inherited"> @@ -99,8 +99,9 @@ </dt> <dd></dd> </dl> - <dl><dd>Korrigiert die Geschwindigkeit der Koerper damit diese den Randbedingungen entsprechen.</dd></dl> - <dl></dl> + <dl><dd>Corrects the velocities of bodies according to this constraint.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>h - </code>a time interval, used for converting forces and impulses</dd></dl> <hr></hr> <a name="correctPosition%28Double%29"></a><dl> <dt> @@ -111,8 +112,9 @@ </dt> <dd></dd> </dl> - <dl><dd>Korrigiert die Position der Koerper damit diese den Randbedingungen entsprechen.</dd></dl> - <dl></dl> + <dl><dd>Corrects the positions of bodies according to this constraint.</dd></dl> + <dl><dt style="margin:10px 0 0 20px;"> + <b>Parameters</b></dt><dd><code>h - </code>a time interval, used for converting forces and impulses</dd></dl> <hr></hr></div> diff --git a/doc/sims/dynamics/Rectangle.html b/doc/sims/dynamics/Rectangle.html index a002d40..df238de 100644 --- a/doc/sims/dynamics/Rectangle.html +++ b/doc/sims/dynamics/Rectangle.html @@ -33,9 +33,9 @@ </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><dd>A rectangle is a 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> + <b>Parameters</b></dt><dd><code>halfWidth - </code>this rectangle's half width</dd><dd><code>halfHeight - </code>this rectangle's half height</dd><dd><code>density - </code>density of this rectangle</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> @@ -52,7 +52,7 @@ <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> + <div>Moment of inertia for a rotation about this shape's COM.</div> </td> </tr> <tr> @@ -63,7 +63,8 @@ <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> + <div>Volume. The volume is actually equivalent to this shape's area (SiMS is in 2D)
+ and is used with this shape's density to calculate its mass.</div> </td> </tr> </table><table summary="" cellpadding="3" class="inherited"> @@ -71,7 +72,7 @@ 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> + <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#transientShapes" target="_self">transientShapes</a> </td></tr> </table> <table summary="" cellpadding="3" class="member"> @@ -96,9 +97,9 @@ <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> + <div>Returns the vectors from the center to the vertices of this rectangle.
+ The first vertex is the upper-right vertex at a rotation of 0.
+ Vertices are ordered counter-clockwise.</div> </td> </tr> <tr> @@ -164,9 +165,9 @@ <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> + <div>Returns the position vectors of this rectangle's vertices.
+ The first vertex is the upper-right vertex at a rotation of 0.
+ Vertices are ordered counter-clockwise.</div> </td> </tr> </table><table summary="" cellpadding="3" class="inherited"> @@ -181,7 +182,7 @@ 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> + <a href="../../sims/dynamics/Shape.html#mass" target="_self">mass</a>, <a href="../../sims/dynamics/Shape.html#body" target="_self">body</a>, <a href="../../sims/dynamics/Shape.html#asBody" target="_self">asBody</a>, <a href="../../sims/dynamics/Shape.html#%7E%28sims.dynamics.Shape%29" target="_self">~</a>, <a href="../../sims/dynamics/Shape.html#%7E%28sims.dynamics.Body%29" target="_self">~</a> </td></tr> </table><table summary="" cellpadding="3" class="inherited"> <tr><td class="title" colspan="2"> @@ -213,7 +214,8 @@ </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><dd>Volume. The volume is actually equivalent to this shape's area (SiMS is in 2D)
+ and is used with this shape's density to calculate its mass.</dd></dl> <dl></dl> <dl> <dt style="margin:10px 0 0 20px;"> @@ -232,9 +234,8 @@ </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><dd>Moment of inertia for a rotation about this shape's COM.</dd></dl> + <dl></dl> <dl> <dt style="margin:10px 0 0 20px;"> <b>Overrides</b> @@ -254,11 +255,10 @@ </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> + <dl><dd>Returns the vectors from the center to the vertices of this rectangle.
+ The first vertex is the upper-right vertex at a rotation of 0.
+ Vertices are ordered counter-clockwise.</dd></dl> + <dl></dl> <hr></hr> <a name="vertices"></a><dl> <dt> @@ -269,11 +269,10 @@ </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><dd>Returns the position vectors of this rectangle's vertices.
+ The first vertex is the upper-right vertex at a rotation of 0.
+ Vertices are ordered counter-clockwise.</dd></dl> + <dl></dl> <dl> <dt style="margin:10px 0 0 20px;"> <b>Overrides</b> diff --git a/doc/sims/dynamics/RegularPolygon.html b/doc/sims/dynamics/RegularPolygon.html index 764f13c..e691f51 100644 --- a/doc/sims/dynamics/RegularPolygon.html +++ b/doc/sims/dynamics/RegularPolygon.html @@ -33,9 +33,10 @@ </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><dd>A regular polygon with <code>n</code> sides whose excircle has a radius <code>radius</code>.</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> + <b>Parameters</b></dt><dd><code>n - </code>nmber of sides.</dd><dd><code>radius - </code>radius of the excircle</dd><dd><code>density - </code>density of this regular polygon</dd><dt style="margin:10px 0 0 20px;"> + <b>Throws</b></dt><dd><code>IllegalArgumentException - </code>if <code>n</code> is smaller than 3</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> @@ -52,7 +53,7 @@ <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> + <div>Moment of inertia for a rotation about this shape's COM.</div> </td> </tr> <tr> @@ -63,7 +64,8 @@ <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> + <div>Volume. The volume is actually equivalent to this shape's area (SiMS is in 2D)
+ and is used with this shape's density to calculate its mass.</div> </td> </tr> </table><table summary="" cellpadding="3" class="inherited"> @@ -71,7 +73,7 @@ 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> + <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#transientShapes" target="_self">transientShapes</a> </td></tr> </table> <table summary="" cellpadding="3" class="member"> @@ -162,7 +164,7 @@ <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> + <div>Returns positions of all vertices of this Polygon. Vertices are ordered counter-clockwise.</div> </td> </tr> </table><table summary="" cellpadding="3" class="inherited"> @@ -177,7 +179,7 @@ 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> + <a href="../../sims/dynamics/Shape.html#mass" target="_self">mass</a>, <a href="../../sims/dynamics/Shape.html#body" target="_self">body</a>, <a href="../../sims/dynamics/Shape.html#asBody" target="_self">asBody</a>, <a href="../../sims/dynamics/Shape.html#%7E%28sims.dynamics.Shape%29" target="_self">~</a>, <a href="../../sims/dynamics/Shape.html#%7E%28sims.dynamics.Body%29" target="_self">~</a> </td></tr> </table><table summary="" cellpadding="3" class="inherited"> <tr><td class="title" colspan="2"> @@ -209,7 +211,8 @@ </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><dd>Volume. The volume is actually equivalent to this shape's area (SiMS is in 2D)
+ and is used with this shape's density to calculate its mass.</dd></dl> <dl></dl> <dl> <dt style="margin:10px 0 0 20px;"> @@ -228,9 +231,8 @@ </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><dd>Moment of inertia for a rotation about this shape's COM.</dd></dl> + <dl></dl> <dl> <dt style="margin:10px 0 0 20px;"> <b>Overrides</b> @@ -259,9 +261,9 @@ </dt> <dd></dd> </dl> - <dl><dd>Ergibt Position aller Ecken dieses Polygons. Die Ecken sind gegen den Uhrzeigersinn folgend.</dd></dl> + <dl><dd>Returns positions of all vertices of this Polygon. Vertices are ordered counter-clockwise.</dd></dl> <dl><dt style="margin:10px 0 0 20px;"> - <b>Returns</b></dt><dd>Ortsvektoren der Ecken</dd></dl> + <b>Returns</b></dt><dd>position vectors of the vertices</dd></dl> <dl> <dt style="margin:10px 0 0 20px;"> <b>Overrides</b> diff --git a/doc/sims/dynamics/Shape.html b/doc/sims/dynamics/Shape.html index c62245d..f769f9b 100644 --- a/doc/sims/dynamics/Shape.html +++ b/doc/sims/dynamics/Shape.html @@ -33,7 +33,7 @@ </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><dd>An abstract shape.</dd></dl> <dl></dl> <dl> <dt style="margin:10px 0 0 20px;"><b>Direct Known Subclasses:</b></dt> @@ -51,18 +51,7 @@ <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> + <div>Moment of inertia for a rotation about this shape's COM.</div> </td> </tr> <tr> @@ -73,7 +62,7 @@ <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> + <div>Flag determining this shapes ability to collide with other shapes.</div> </td> </tr> <tr> @@ -84,7 +73,7 @@ <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> + <div>Density. (Mass per area)</div> </td> </tr> <tr> @@ -95,8 +84,8 @@ <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> + <div>Part of the coefficient of friction for a collision between this shape and another.
+ The coefficient of friction is calculated out of the product of this part and the other shape's part.</div> </td> </tr> <tr> @@ -107,7 +96,7 @@ <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> + <div>Position of this shape's COM (in world coordinates).</div> </td> </tr> <tr> @@ -118,7 +107,7 @@ <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> + <div>Local position of this shape's body COM to its COM at a body rotation of zero.</div> </td> </tr> <tr> @@ -129,8 +118,8 @@ <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> + <div>Part of the coefficient of restitution for a collision between this shape and another.
+ The coefficient of restitution is calculated out of the product of this part and the other shape's part.</div> </td> </tr> <tr> @@ -141,7 +130,7 @@ <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> + <div>Rotation of this shape about its COM.</div> </td> </tr> <tr> @@ -152,7 +141,7 @@ <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> + <div>Initial rotation. Rotation of this shape before it was added to a body.</div> </td> </tr> <tr> @@ -163,7 +152,7 @@ <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> + <div>Shapes with which this shape cannot collide.</div> </td> </tr> <tr> @@ -174,7 +163,7 @@ <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> + <div>Unique identification number.</div> </td> </tr> <tr> @@ -185,7 +174,8 @@ <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> + <div>Volume. The volume is actually equivalent to this shape's area (SiMS is in 2D)
+ and is used with this shape's density to calculate its mass.</div> </td> </tr> </table> @@ -199,7 +189,7 @@ <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> + <div>Returns this shape's axis aligned bounding box.</div> </td> </tr> <tr> @@ -207,21 +197,10 @@ <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> + <em><a href="../../sims/dynamics/Shape.html#asBody" target="_self">asBody</a></em> + : <a href="../../sims/dynamics/Body.html" target="_self">Body</a> - <div>Erstellt einen Koerper aus dieser Form und der Form <code>s</code>.</div> + <div>Creates a new body made out of tis shape.</div> </td> </tr> <tr> @@ -229,10 +208,10 @@ <code> def</code> </td> <td class="signature"> - <em><a href="../../sims/dynamics/Shape.html#asBody" target="_self">asBody</a></em> + <em><a href="../../sims/dynamics/Shape.html#body" target="_self">body</a></em> : <a href="../../sims/dynamics/Body.html" target="_self">Body</a> - <div>Baut einen Koerper aus dieser Form.</div> + <div>Returns this shape's containing body.</div> </td> </tr> <tr> @@ -243,7 +222,7 @@ <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> + <div>Checks if the point <code>point</code> is contained in this shape.</div> </td> </tr> <tr> @@ -254,7 +233,7 @@ <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> + <div>Returns the mass of this shape. The mass is given by volume times density.</div> </td> </tr> <tr> @@ -265,8 +244,29 @@ <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> + <div>Returns the projection of this shape onto the line given by the directional vector <code>axis</code>.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../sims/dynamics/Shape.html#%7E%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>Creates a new body out of this shape and the shapes of body <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#%7E%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>Creates a new body out of this shape and the shape <code>s</code>.</div> </td> </tr> </table><table summary="" cellpadding="3" class="inherited"> @@ -299,7 +299,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Einzigartige Identifikationsnummer.</dd></dl> + <dl><dd>Unique identification number.</dd></dl> <dl></dl> <hr></hr> <a name="collidable"></a><dl> @@ -311,7 +311,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Kollisionsfaehigkeit.</dd></dl> + <dl><dd>Flag determining this shapes ability to collide with other shapes.</dd></dl> <dl></dl> <hr></hr> <a name="restitution"></a><dl> @@ -323,8 +323,8 @@ </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><dd>Part of the coefficient of restitution for a collision between this shape and another.
+ The coefficient of restitution is calculated out of the product of this part and the other shape's part.</dd></dl> <dl></dl> <hr></hr> <a name="friction"></a><dl> @@ -336,8 +336,8 @@ </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><dd>Part of the coefficient of friction for a collision between this shape and another.
+ The coefficient of friction is calculated out of the product of this part and the other shape's part.</dd></dl> <dl></dl> <hr></hr> <a name="pos"></a><dl> @@ -349,7 +349,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Position des Schwerpunktes in Welt.</dd></dl> + <dl><dd>Position of this shape's COM (in world coordinates).</dd></dl> <dl></dl> <hr></hr> <a name="rotation"></a><dl> @@ -361,7 +361,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Rotation. Entspricht Laenge des Rotationsvektors.</dd></dl> + <dl><dd>Rotation of this shape about its COM.</dd></dl> <dl></dl> <hr></hr> <a name="rotation0"></a><dl> @@ -373,7 +373,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Initiale Rotation. (Rotation ohne Koerper)</dd></dl> + <dl><dd>Initial rotation. Rotation of this shape before it was added to a body.</dd></dl> <dl></dl> <hr></hr> <a name="refLocalPos"></a><dl> @@ -385,7 +385,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Referenzposition in Koerper. Wird zur Rotation von Formen in Koerpern verwendet.</dd></dl> + <dl><dd>Local position of this shape's body COM to its COM at a body rotation of zero.</dd></dl> <dl></dl> <hr></hr> <a name="density"></a><dl> @@ -397,7 +397,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Dichte. (Masse pro Flaeche)</dd></dl> + <dl><dd>Density. (Mass per area)</dd></dl> <dl></dl> <hr></hr> <a name="volume"></a><dl> @@ -409,7 +409,8 @@ </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><dd>Volume. The volume is actually equivalent to this shape's area (SiMS is in 2D)
+ and is used with this shape's density to calculate its mass.</dd></dl> <dl></dl> <hr></hr> <a name="I"></a><dl> @@ -421,20 +422,7 @@ </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><dd>Moment of inertia for a rotation about this shape's COM.</dd></dl> <dl></dl> <hr></hr> <a name="transientShapes"></a><dl> @@ -446,7 +434,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Formen mit denen diese Form nicht Kollidiert.</dd></dl> + <dl><dd>Shapes with which this shape cannot collide.</dd></dl> <dl></dl> <hr></hr></div> <table summary="" cellpadding="3" class="member-detail"> @@ -460,9 +448,21 @@ </dt> <dd></dd> </dl> - <dl><dd>Errechnet die Masse dieser Form. Masse ist gleich Volumen mal Dichte.</dd></dl> + <dl><dd>Returns the mass of this shape. The mass is given by volume times density.</dd></dl> <dl><dt style="margin:10px 0 0 20px;"> - <b>Returns</b></dt><dd>Masse der Form</dd></dl> + <b>Returns</b></dt><dd>mass of this shape</dd></dl> + <hr></hr> +<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> + <dl><dd>Returns this shape's containing body.</dd></dl> + <dl></dl> <hr></hr> <a name="AABB"></a><dl> <dt> @@ -473,9 +473,8 @@ </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><dd>Returns this shape's axis aligned bounding box.</dd></dl> + <dl></dl> <hr></hr> <a name="project%28sims.geometry.Vector2D%29"></a><dl> <dt> @@ -486,11 +485,10 @@ </dt> <dd></dd> </dl> - <dl><dd>Ergibt die Projektion dieser Form auf eine Gerade gegeben durch den
- Richtungsvektor <code>axis</code>.</dd></dl> + <dl><dd>Returns the projection of this shape onto the line given by the directional vector <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> + <b>Parameters</b></dt><dd><code>axis - </code>directional vector of the line</dd><dt style="margin:10px 0 0 20px;"> + <b>Returns</b></dt><dd>projection of this shape</dd></dl> <hr></hr> <a name="contains%28sims.geometry.Vector2D%29"></a><dl> <dt> @@ -501,7 +499,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Ermittelt ob der gebene Punkt <code>point</code> in dieser Form enthalten ist.</dd></dl> + <dl><dd>Checks if the point <code>point</code> is contained in this shape.</dd></dl> <dl></dl> <hr></hr> <a name="asBody"></a><dl> @@ -513,32 +511,32 @@ </dt> <dd></dd> </dl> - <dl><dd>Baut einen Koerper aus dieser Form.</dd></dl> + <dl><dd>Creates a new body made out of tis shape.</dd></dl> <dl><dt style="margin:10px 0 0 20px;"> - <b>Returns</b></dt><dd>ein Koerper bestehend aus dieser Form.</dd></dl> + <b>Returns</b></dt><dd>a body made out of tis shape</dd></dl> <hr></hr> -<a name="%5E%28sims.dynamics.Shape%29"></a><dl> +<a name="%7E%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> + <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><dd>Creates a new body out of this shape and the shape <code>s</code>.</dd></dl> <dl></dl> <hr></hr> -<a name="%5E%28sims.dynamics.Body%29"></a><dl> +<a name="%7E%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> + <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><dd>Creates a new body out of this shape and the shapes of body <code>b</code>.</dd></dl> <dl></dl> <hr></hr></div> diff --git a/doc/sims/dynamics/World.html b/doc/sims/dynamics/World.html index f9b0217..d089cd9 100644 --- a/doc/sims/dynamics/World.html +++ b/doc/sims/dynamics/World.html @@ -33,7 +33,7 @@ </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><dd>A world contains and simulates a system of rigid bodies and joints.</dd></dl> <dl></dl> @@ -48,7 +48,7 @@ <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> + <div>Bodies contained in this world.</div> </td> </tr> <tr> @@ -59,7 +59,7 @@ <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> + <div>Collsion detector who manages collision detection in this world.</div> </td> </tr> <tr> @@ -70,7 +70,7 @@ <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> + <div>Flag to enable collision detection.</div> </td> </tr> <tr> @@ -81,7 +81,7 @@ <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> + <div>Flag to enable position correction for constraints.</div> </td> </tr> <tr> @@ -92,7 +92,7 @@ <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> + <div>Gravity in this world.</div> </td> </tr> <tr> @@ -103,7 +103,7 @@ <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> + <div>Number of constraint corrections per time step.</div> </td> </tr> <tr> @@ -114,7 +114,7 @@ <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> + <div>Joints contained in this world.</div> </td> </tr> <tr> @@ -125,7 +125,7 @@ <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> + <div>Minimal, non-zero angular velocity.</div> </td> </tr> <tr> @@ -136,7 +136,7 @@ <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> + <div>Minimal, non-zero linear velocity.</div> </td> </tr> <tr> @@ -147,7 +147,7 @@ <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> + <div>Monitoring methods for bodies.</div> </td> </tr> <tr> @@ -158,7 +158,7 @@ <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> + <div>Warning if a body's velocity exceeds the speed of light.</div> </td> </tr> <tr> @@ -169,7 +169,7 @@ <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> + <div>Current time in this world.</div> </td> </tr> <tr> @@ -180,7 +180,7 @@ <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> + <div>Time intervals in which this world simulates.</div> </td> </tr> </table> @@ -194,7 +194,7 @@ <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> - + <div>Adds the given sequence of bodies to this world.</div> </td> </tr> <tr> @@ -202,10 +202,10 @@ <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> + <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 ein vorangefertigtes System vaus Koerpern und Verbindungen hinzu.</div> + <div>Adds the given body to this world.</div> </td> </tr> <tr> @@ -213,10 +213,10 @@ <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> + <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 eine Verbindung hinzu.</div> + <div>Adds the given prefabricated system of bodies and joints to this world.</div> </td> </tr> <tr> @@ -224,10 +224,10 @@ <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> + <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 einen Koerper hinzu.</div> + <div>Adds the given joint to this world.</div> </td> </tr> <tr> @@ -238,7 +238,7 @@ <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> - + <div>Removes the given sequence of bodies from this world.</div> </td> </tr> <tr> @@ -249,7 +249,7 @@ <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> + <div>Removes the given prefabricated system of bodies and joints from this world.</div> </td> </tr> <tr> @@ -260,7 +260,7 @@ <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> + <div>Removes the given body from this world.</div> </td> </tr> <tr> @@ -271,7 +271,7 @@ <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> + <div>Removes the given joint from this world.</div> </td> </tr> <tr> @@ -282,7 +282,7 @@ <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> + <div>Removes all bodies, joints and monitoring methods from this world.</div> </td> </tr> <tr> @@ -293,7 +293,7 @@ <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> + <div>Returns information about this world.</div> </td> </tr> <tr> @@ -304,7 +304,8 @@ <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> + <div>Initially empty method that is executed after each time step. This method
+ may be overriden to create custom behaviour in a world.</div> </td> </tr> <tr> @@ -315,7 +316,7 @@ <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> + <div>Returns all shapes of all bodies in this world.</div> </td> </tr> <tr> @@ -326,9 +327,7 @@ <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> + <div>Simulates a time step of the duration <code>timeStep</code>.</div> </td> </tr> </table><table summary="" cellpadding="3" class="inherited"> @@ -361,7 +360,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Zeitschritt in dem diese Welt die Simulation vorranschreiten laesst.</dd></dl> + <dl><dd>Time intervals in which this world simulates.</dd></dl> <dl></dl> <hr></hr> <a name="iterations"></a><dl> @@ -373,7 +372,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Anzahl der Constraint-Korrekturen pro Zeitschritt.</dd></dl> + <dl><dd>Number of constraint corrections per time step.</dd></dl> <dl></dl> <hr></hr> <a name="gravity"></a><dl> @@ -385,7 +384,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Schwerkraft die in dieser Welt herrscht.</dd></dl> + <dl><dd>Gravity in this world.</dd></dl> <dl></dl> <hr></hr> <a name="bodies"></a><dl> @@ -397,7 +396,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Alle Koerper die diese Welt simuliert.</dd></dl> + <dl><dd>Bodies contained in this world.</dd></dl> <dl></dl> <hr></hr> <a name="joints"></a><dl> @@ -409,7 +408,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Alle Verbindungen die diese Welt simuliert.</dd></dl> + <dl><dd>Joints contained in this world.</dd></dl> <dl></dl> <hr></hr> <a name="monitors"></a><dl> @@ -421,9 +420,12 @@ </dt> <dd></dd> </dl> - <dl><dd>Ueberwachungsfunktionen fuer Koerper.
+ <dl><dd>Monitoring methods for bodies.
<p>
- Das erste Element des Tuples ist die Ueberschrift und das zweite Element, der Wert.</dd></dl> + The first element of the tuple is the method's title and the second the method.
+ Example usage: monitors += ("Y-Position", _.pos.y.toString)
+ This will calculate all bodies - whose <code>monitor</code> field is set to
+ <code>true</code> - second position components.</dd></dl> <dl></dl> <hr></hr> <a name="detector"></a><dl> @@ -435,7 +437,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Kollisionsdetektor dieser Welt.</dd></dl> + <dl><dd>Collsion detector who manages collision detection in this world.</dd></dl> <dl></dl> <hr></hr> <a name="overCWarning"></a><dl> @@ -447,7 +449,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Warnung wenn Koerper schneller als Lichtgeschwindigkeit.</dd></dl> + <dl><dd>Warning if a body's velocity exceeds the speed of light.</dd></dl> <dl></dl> <hr></hr> <a name="enableCollisionDetection"></a><dl> @@ -459,7 +461,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Kollisionerkennung.</dd></dl> + <dl><dd>Flag to enable collision detection.</dd></dl> <dl></dl> <hr></hr> <a name="enablePositionCorrection"></a><dl> @@ -471,7 +473,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Positionskorrekturen.</dd></dl> + <dl><dd>Flag to enable position correction for constraints.</dd></dl> <dl></dl> <hr></hr> <a name="minLinearVelocity"></a><dl> @@ -483,7 +485,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Die minimale, nicht als null geltende Geschwindigkeit.</dd></dl> + <dl><dd>Minimal, non-zero linear velocity.</dd></dl> <dl></dl> <hr></hr> <a name="minAngularVelocity"></a><dl> @@ -495,7 +497,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Die minimale, nicht als null geltende Winkelgeschwindigkeit.</dd></dl> + <dl><dd>Minimal, non-zero angular velocity.</dd></dl> <dl></dl> <hr></hr> <a name="time"></a><dl> @@ -507,7 +509,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Aktuelle Zeit in Sekunden dieser Welt. Nach jedem Zeitschritt wird die Zeit erhoeht.</dd></dl> + <dl><dd>Current time in this world.</dd></dl> <dl></dl> <hr></hr></div> <table summary="" cellpadding="3" class="member-detail"> @@ -521,7 +523,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Ergibt alle Formen aus allen Koerpern in dieser Welt.</dd></dl> + <dl><dd>Returns all shapes of all bodies in this world.</dd></dl> <dl></dl> <hr></hr> <a name="%2B%3D%28sims.dynamics.Body%29"></a><dl> @@ -533,7 +535,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Fuegt dieser Welt einen Koerper hinzu.</dd></dl> + <dl><dd>Adds the given body to this world.</dd></dl> <dl></dl> <hr></hr> <a name="%2B%3D%28sims.dynamics.joints.Joint%29"></a><dl> @@ -545,7 +547,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Fuegt dieser Welt eine Verbindung hinzu.</dd></dl> + <dl><dd>Adds the given joint to this world.</dd></dl> <dl></dl> <hr></hr> <a name="%2B%3D%28sims.prefabs.Prefab%29"></a><dl> @@ -557,7 +559,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Fuegt dieser Welt ein vorangefertigtes System vaus Koerpern und Verbindungen hinzu.</dd></dl> + <dl><dd>Adds the given prefabricated system of bodies and joints to this world.</dd></dl> <dl></dl> <hr></hr> <a name="%2B%2B%3D%28Seq%5Bsims.dynamics.Body%5D%29"></a><dl> @@ -568,7 +570,10 @@ <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> + </dl> + <dl><dd>Adds the given sequence of bodies to this world.</dd></dl> + <dl></dl> + <hr></hr> <a name="-%3D%28sims.dynamics.Body%29"></a><dl> <dt> @@ -578,7 +583,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Entfernt den gegebenen Koerper aus dieser Welt.</dd></dl> + <dl><dd>Removes the given body from this world.</dd></dl> <dl></dl> <hr></hr> <a name="-%3D%28sims.dynamics.joints.Joint%29"></a><dl> @@ -590,7 +595,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Entfernt die gegebene Verbindung aus dieser Welt.</dd></dl> + <dl><dd>Removes the given joint from this world.</dd></dl> <dl></dl> <hr></hr> <a name="-%3D%28sims.prefabs.Prefab%29"></a><dl> @@ -602,7 +607,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Entfernt das gegebene System aus Koerpern und Verbindungen aus dieser Welt.</dd></dl> + <dl><dd>Removes the given prefabricated system of bodies and joints from this world.</dd></dl> <dl></dl> <hr></hr> <a name="--%3D%28Seq%5Bsims.dynamics.Body%5D%29"></a><dl> @@ -613,7 +618,10 @@ <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> + </dl> + <dl><dd>Removes the given sequence of bodies from this world.</dd></dl> + <dl></dl> + <hr></hr> <a name="clear%28%29"></a><dl> <dt> @@ -623,7 +631,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Entfernt alle Koerper, Verbindungen und Ueberwachungsfunktionen dieser Welt.</dd></dl> + <dl><dd>Removes all bodies, joints and monitoring methods from this world.</dd></dl> <dl></dl> <hr></hr> <a name="step%28%29"></a><dl> @@ -635,18 +643,16 @@ </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.
+ <dl><dd>Simulates a time step of the duration <code>timeStep</code>.
<p>
- Der Zeitschritt wird in folgenden Phasen ausgefuehrt:
+ The time step is simulated in the following phases:
<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>
+ <li>Forces are applied to bodies.</li>
+ <li>Accelerations are integrated.</li>
+ <li>Velocities are corrected.</li>
+ <li>Velocities are integrated.</li>
+ <li>Postions are corrected.</li>
+ <li>The method <code>postStep()</code> is executed.</li>
</ol></dd></dl> <dl></dl> <hr></hr> @@ -659,7 +665,8 @@ </dt> <dd></dd> </dl> - <dl><dd>Wird nach jedem Zeitschritt ausgefuehrt.</dd></dl> + <dl><dd>Initially empty method that is executed after each time step. This method
+ may be overriden to create custom behaviour in a world.</dd></dl> <dl></dl> <hr></hr> <a name="info"></a><dl> @@ -671,7 +678,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Ergibt Informationen ueber diese Welt.</dd></dl> + <dl><dd>Returns information about this world.</dd></dl> <dl></dl> <hr></hr></div> diff --git a/doc/sims/dynamics/joints$content.html b/doc/sims/dynamics/joints$content.html index 4652a21..141c3e3 100644 --- a/doc/sims/dynamics/joints$content.html +++ b/doc/sims/dynamics/joints$content.html @@ -13,7 +13,7 @@ <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> + <div>DistanceJoints keep their connection points at a constant distance.</div> </td> </tr> <tr> @@ -24,7 +24,7 @@ <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> + <div>A joint which can apply a force to its anchor bodies, thus adding or removing energy to the system.</div> </td> </tr> <tr> @@ -35,8 +35,8 @@ <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> + <div>Joints constrain the movement of two bodies.
+ Their implementation was inspired by Erin Catto's box2d.</div> </td> </tr> <tr> @@ -47,7 +47,9 @@ <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> + <div>A revolute joint that connects two bodies at a singe point. Inspired from JBox2D.
+ <b>Warning:</b> there are still several bugs with revolute joints, if they are between two free
+ bodies and not connected at their respective COMs.</div> </td> </tr> <tr> @@ -58,7 +60,7 @@ <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> + <div>A spring obeying Hooke's law.</div> </td> </tr> </table> diff --git a/doc/sims/dynamics/joints/DistanceJoint.html b/doc/sims/dynamics/joints/DistanceJoint.html index 80a0f2d..bae5f5d 100644 --- a/doc/sims/dynamics/joints/DistanceJoint.html +++ b/doc/sims/dynamics/joints/DistanceJoint.html @@ -33,9 +33,9 @@ </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><dd>DistanceJoints keep their connection points at a constant distance.</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> + <b>Parameters</b></dt><dd><code>node1 - </code>first associated body</dd><dd><code>anchor1 - </code>first connection point</dd><dd><code>node2 - </code>second associated body</dd><dd><code>anchor2 - </code>second connection point</dd></dl> <table summary="" cellpadding="3" class="member"> <tr><td class="title" colspan="2">Additional Constructor Summary</td></tr> @@ -62,7 +62,7 @@ <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> + <div>Distance between the two connection points at initialisation (the desired distance).</div> </td> </tr> </table> @@ -76,7 +76,7 @@ <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> + <div>Returns the connection point on body one (in world coordinates).</div> </td> </tr> <tr> @@ -87,7 +87,7 @@ <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> + <div>Returns the connection point on body two (in world coordinates).</div> </td> </tr> <tr> @@ -98,7 +98,7 @@ <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> + <div>Corrects the positions of this joint's associated bodies.</div> </td> </tr> <tr> @@ -109,7 +109,7 @@ <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> + <div>Corrects the velocities of this joint's associated bodies.</div> </td> </tr> <tr> @@ -187,7 +187,7 @@ <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> + <div>Relative velocity of the connection points.</div> </td> </tr> <tr> @@ -198,7 +198,7 @@ <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> + <div>Relative position of the connection points.</div> </td> </tr> </table><table summary="" cellpadding="3" class="inherited"> @@ -241,7 +241,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Abstand der beiden Bindungspunkte bei initialisierung (der gewollte Abstand).</dd></dl> + <dl><dd>Distance between the two connection points at initialisation (the desired distance).</dd></dl> <dl></dl> <hr></hr></div> <table summary="" cellpadding="3" class="member-detail"> @@ -255,7 +255,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Ergibt den Bindungspunkt auf Koerper eins.</dd></dl> + <dl><dd>Returns the connection point on body one (in world coordinates).</dd></dl> <dl></dl> <hr></hr> <a name="connection2"></a><dl> @@ -267,7 +267,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Ergibt den Bindungspunkt auf Koerper zwei.</dd></dl> + <dl><dd>Returns the connection point on body two (in world coordinates).</dd></dl> <dl></dl> <hr></hr> <a name="x"></a><dl> @@ -279,7 +279,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Relative Position der Bindungspunkte.</dd></dl> + <dl><dd>Relative position of the connection points.</dd></dl> <dl></dl> <hr></hr> <a name="v"></a><dl> @@ -291,7 +291,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Relative Geschwindigkeit der Bindungspunkte.</dd></dl> + <dl><dd>Relative velocity of the connection points.</dd></dl> <dl></dl> <hr></hr> <a name="correctVelocity%28Double%29"></a><dl> @@ -303,7 +303,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Korrigiert die Geschwindigkeit der Koerper damit diese den Randbedingungen der Verbindung entsprechen.</dd></dl> + <dl><dd>Corrects the velocities of this joint's associated bodies.</dd></dl> <dl></dl> <dl> <dt style="margin:10px 0 0 20px;"> @@ -322,7 +322,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Korrigiert die Position der Koerper damit diese den Randbedingungen der Verbindung entsprechen.</dd></dl> + <dl><dd>Corrects the positions of this joint's associated bodies.</dd></dl> <dl></dl> <dl> <dt style="margin:10px 0 0 20px;"> diff --git a/doc/sims/dynamics/joints/ForceJoint.html b/doc/sims/dynamics/joints/ForceJoint.html index bf8ac9f..58215b4 100644 --- a/doc/sims/dynamics/joints/ForceJoint.html +++ b/doc/sims/dynamics/joints/ForceJoint.html @@ -33,7 +33,7 @@ </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><dd>A joint which can apply a force to its anchor bodies, thus adding or removing energy to the system.</dd></dl> <dl></dl> <dl> <dt style="margin:10px 0 0 20px;"><b>Direct Known Subclasses:</b></dt> @@ -52,7 +52,7 @@ <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> + <div>Applies a force on the achor bodies.</div> </td> </tr> </table><table summary="" cellpadding="3" class="inherited"> @@ -86,7 +86,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Uebt eine Kraft auf die Bindungskoerper aus.</dd></dl> + <dl><dd>Applies a force on the achor bodies.</dd></dl> <dl></dl> <hr></hr></div> diff --git a/doc/sims/dynamics/joints/Joint.html b/doc/sims/dynamics/joints/Joint.html index a577cde..0e6908f 100644 --- a/doc/sims/dynamics/joints/Joint.html +++ b/doc/sims/dynamics/joints/Joint.html @@ -33,12 +33,12 @@ </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><dd>Joints constrain the movement of two bodies.
+ Their implementation was inspired by Erin Catto's box2d.</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> + <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>, <a href="../../../sims/dynamics/joints/test/PrismaticJoint.html" target="_self">PrismaticJoint</a>, <a href="../../../sims/dynamics/joints/test/UnitCircleJoint.html" target="_self">UnitCircleJoint</a></dd> </dl><hr></hr> @@ -52,7 +52,7 @@ <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> + <div>First body of the joint.</div> </td> </tr> <tr> @@ -63,7 +63,7 @@ <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> + <div>Second body of the joint.</div> </td> </tr> </table> @@ -77,7 +77,7 @@ <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> + <div>Corrects the positions of this joint's associated bodies.</div> </td> </tr> <tr> @@ -88,7 +88,7 @@ <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> + <div>Corrects the velocities of this joint's associated bodies.</div> </td> </tr> </table><table summary="" cellpadding="3" class="inherited"> @@ -121,7 +121,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Erster Koerper der Verbindung.</dd></dl> + <dl><dd>First body of the joint.</dd></dl> <dl></dl> <hr></hr> <a name="node2"></a><dl> @@ -133,7 +133,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Zweiter Koerper der Verbindung.</dd></dl> + <dl><dd>Second body of the joint.</dd></dl> <dl></dl> <hr></hr></div> <table summary="" cellpadding="3" class="member-detail"> @@ -147,7 +147,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Korrigiert die Geschwindigkeit der Koerper damit diese den Randbedingungen der Verbindung entsprechen.</dd></dl> + <dl><dd>Corrects the velocities of this joint's associated bodies.</dd></dl> <dl></dl> <dl> <dt style="margin:10px 0 0 20px;"> @@ -166,7 +166,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Korrigiert die Position der Koerper damit diese den Randbedingungen der Verbindung entsprechen.</dd></dl> + <dl><dd>Corrects the positions of this joint's associated bodies.</dd></dl> <dl></dl> <dl> <dt style="margin:10px 0 0 20px;"> diff --git a/doc/sims/dynamics/joints/RevoluteJoint.html b/doc/sims/dynamics/joints/RevoluteJoint.html index b3059de..5184b29 100644 --- a/doc/sims/dynamics/joints/RevoluteJoint.html +++ b/doc/sims/dynamics/joints/RevoluteJoint.html @@ -33,7 +33,9 @@ </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><dd>A revolute joint that connects two bodies at a singe point. Inspired from JBox2D.
+ <b>Warning:</b> there are still several bugs with revolute joints, if they are between two free
+ bodies and not connected at their respective COMs.</dd></dl> <dl></dl> @@ -71,7 +73,7 @@ <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> + <div>Corrects the positions of this joint's associated bodies.</div> </td> </tr> <tr> @@ -82,7 +84,7 @@ <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> + <div>Corrects the velocities of this joint's associated bodies.</div> </td> </tr> <tr> @@ -241,7 +243,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Korrigiert die Geschwindigkeit der Koerper damit diese den Randbedingungen der Verbindung entsprechen.</dd></dl> + <dl><dd>Corrects the velocities of this joint's associated bodies.</dd></dl> <dl></dl> <dl> <dt style="margin:10px 0 0 20px;"> @@ -260,7 +262,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Korrigiert die Position der Koerper damit diese den Randbedingungen der Verbindung entsprechen.</dd></dl> + <dl><dd>Corrects the positions of this joint's associated bodies.</dd></dl> <dl></dl> <dl> <dt style="margin:10px 0 0 20px;"> diff --git a/doc/sims/dynamics/joints/SpringJoint.html b/doc/sims/dynamics/joints/SpringJoint.html index b361835..4819b16 100644 --- a/doc/sims/dynamics/joints/SpringJoint.html +++ b/doc/sims/dynamics/joints/SpringJoint.html @@ -33,9 +33,9 @@ </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><dd>A spring obeying Hooke's law.</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> + <b>Parameters</b></dt><dd><code>node1 - </code>first associated body</dd><dd><code>anchor1 - </code>first connection point</dd><dd><code>node2 - </code>second associated body</dd><dd><code>anchor2 - </code>second connection point</dd><dd><code>springConstant - </code>spring constant</dd><dd><code>initialLength - </code>initial length</dd></dl> <table summary="" cellpadding="3" class="member"> <tr><td class="title" colspan="2">Additional Constructor Summary</td></tr> @@ -44,8 +44,8 @@ <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> + <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> @@ -66,8 +66,8 @@ <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> + <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> @@ -84,7 +84,7 @@ <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> + <div>Damping.</div> </td> </tr> </table> @@ -98,7 +98,7 @@ <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> + <div>Applies the spring force to the connection points.</div> </td> </tr> <tr> @@ -109,7 +109,7 @@ <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> + <div>Returns the connection point on body one (in world coordinates).</div> </td> </tr> <tr> @@ -120,7 +120,7 @@ <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> + <div>Returns the connection point on body two (in world coordinates).</div> </td> </tr> <tr> @@ -131,7 +131,7 @@ <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> + <div>Corrects the positions of this joint's associated bodies.</div> </td> </tr> <tr> @@ -142,7 +142,7 @@ <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> + <div>Corrects the velocities of this joint's associated bodies.</div> </td> </tr> <tr> @@ -165,7 +165,7 @@ <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> + <div>Returns the spring force.</div> </td> </tr> <tr> @@ -228,10 +228,21 @@ <code> def</code> </td> <td class="signature"> + <em><a href="../../../sims/dynamics/joints/SpringJoint.html#v" target="_self">v</a></em> + : <a href="../../../sims/geometry/Vector2D.html" target="_self">Vector2D</a> + + <div>Relative velocity of the connection points.</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> + <div>Relative position of the connection points.</div> </td> </tr> </table><table summary="" cellpadding="3" class="inherited"> @@ -292,7 +303,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Daempfung.</dd></dl> + <dl><dd>Damping.</dd></dl> <dl></dl> <hr></hr></div> <table summary="" cellpadding="3" class="member-detail"> @@ -306,7 +317,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Ergibt den Bindungspunkt auf Koerper eins.</dd></dl> + <dl><dd>Returns the connection point on body one (in world coordinates).</dd></dl> <dl></dl> <hr></hr> <a name="connection2"></a><dl> @@ -318,7 +329,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Ergibt den Bindungspunkt auf Koerper zwei.</dd></dl> + <dl><dd>Returns the connection point on body two (in world coordinates).</dd></dl> <dl></dl> <hr></hr> <a name="x"></a><dl> @@ -330,7 +341,19 @@ </dt> <dd></dd> </dl> - <dl><dd>Relative Position der Bindungspunkte.</dd></dl> + <dl><dd>Relative position of the connection points.</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 velocity of the connection points.</dd></dl> <dl></dl> <hr></hr> <a name="force"></a><dl> @@ -342,7 +365,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Ergibt die Federkraft nach dem Hookschen Gesetz.</dd></dl> + <dl><dd>Returns the spring force.</dd></dl> <dl></dl> <hr></hr> <a name="applyForce%28%29"></a><dl> @@ -354,7 +377,7 @@ </dt> <dd></dd> </dl> - <dl><dd>Uebt die Federkraft auf die Bindungspunkte aus.</dd></dl> + <dl><dd>Applies the spring force to the connection points.</dd></dl> <dl></dl> <dl> <dt style="margin:10px 0 0 20px;"> @@ -364,42 +387,42 @@ <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> +<a name="correctVelocity%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> + <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 Position der Koerper damit diese den Randbedingungen der Verbindung entsprechen.</dd></dl> + <dl><dd>Corrects the velocities of this joint's associated bodies.</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> + <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="correctVelocity%28Double%29"></a><dl> +<a name="correctPosition%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> + <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 Geschwindigkeit der Koerper damit diese den Randbedingungen der Verbindung entsprechen.</dd></dl> + <dl><dd>Corrects the positions of this joint's associated bodies.</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> + <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> diff --git a/doc/sims/dynamics/joints/test$content.html b/doc/sims/dynamics/joints/test$content.html new file mode 100644 index 0000000..6509725 --- /dev/null +++ b/doc/sims/dynamics/joints/test$content.html @@ -0,0 +1,45 @@ +<!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.test</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/test/PrismaticJoint.html" target="_self">PrismaticJoint</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> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> class</code> + </td> + <td class="signature"> + <em><a href="../../../sims/dynamics/joints/test/UnitCircleJoint.html" target="_self">UnitCircleJoint</a></em> + (<em>body</em> : <a href="../../../sims/dynamics/Body.html" target="_self">Body</a>, <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> + + + </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/test/PrismaticJoint$object.html" target="_self">PrismaticJoint</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/test/PrismaticJoint.html" target="_self">PrismaticJoint</a> + + + </td> + </tr> + </table></body> + </html>
\ No newline at end of file diff --git a/doc/sims/dynamics/joints/test$package.html b/doc/sims/dynamics/joints/test$package.html new file mode 100644 index 0000000..b34f98d --- /dev/null +++ b/doc/sims/dynamics/joints/test$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.dynamics.joints.test</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/test$content.html" target="contentFrame">sims.dynamics.joints.test</a> + </td></tr> + </table><div><div class="kinds" id="Classes">Classes</div><ul class="list"> + <li id="Classes_P"><a href="../../../sims/dynamics/joints/test/PrismaticJoint.html" target="contentFrame">PrismaticJoint</a></li> +<li id="Classes_U"><a href="../../../sims/dynamics/joints/test/UnitCircleJoint.html" target="contentFrame">UnitCircleJoint</a></li> + </ul> +<div class="kinds" id="Objects">Objects</div><ul class="list"> + <li id="Objects_P"><a href="../../../sims/dynamics/joints/test/PrismaticJoint$object.html" target="contentFrame">PrismaticJoint</a></li> + </ul></div></body> + </html>
\ No newline at end of file diff --git a/doc/sims/dynamics/joints/test/PrismaticJoint$object.html b/doc/sims/dynamics/joints/test/PrismaticJoint$object.html new file mode 100644 index 0000000..e460df7 --- /dev/null +++ b/doc/sims/dynamics/joints/test/PrismaticJoint$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 PrismaticJoint in sims.dynamics.joints.test</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/test$package.html" target="_self">sims.dynamics.joints.test</a> + <br></br> + <span class="entity">object PrismaticJoint</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/dynamics/joints/test/PrismaticJoint"><code>sims/dynamics/joints/test/PrismaticJoint.scala</code></a>] + </div><hr></hr> + <a name="PrismaticJoint"></a><dl> + <dt> + + <code></code> + <code>object</code> + <em>PrismaticJoint</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/test/PrismaticJoint.html" target="_self">PrismaticJoint</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/test/PrismaticJoint.html b/doc/sims/dynamics/joints/test/PrismaticJoint.html new file mode 100644 index 0000000..a5c5a94 --- /dev/null +++ b/doc/sims/dynamics/joints/test/PrismaticJoint.html @@ -0,0 +1,502 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class PrismaticJoint in sims.dynamics.joints.test</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/test$package.html" target="_self">sims.dynamics.joints.test</a> + <br></br> + <span class="entity">class PrismaticJoint</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/dynamics/joints/test/PrismaticJoint"><code>sims/dynamics/joints/test/PrismaticJoint.scala</code></a>] + </div><hr></hr> + <a name="PrismaticJoint"></a><dl> + <dt> + + <code>case</code> + <code>class</code> + <em>PrismaticJoint</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> + <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/test/PrismaticJoint.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/test/PrismaticJoint.html" target="_self">PrismaticJoint</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/test/PrismaticJoint.html#angle" target="_self">angle</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> def</code> + </td> + <td class="signature"> + <em><a href="../../../../sims/dynamics/joints/test/PrismaticJoint.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/test/PrismaticJoint.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/test/PrismaticJoint.html#correctAngular%28Double%29" target="_self">correctAngular</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> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../../../sims/dynamics/joints/test/PrismaticJoint.html#correctLinear%28Double%29" target="_self">correctLinear</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> + + + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../../../sims/dynamics/joints/test/PrismaticJoint.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>Corrects the positions of this joint's associated bodies.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../../../sims/dynamics/joints/test/PrismaticJoint.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>Corrects the velocities of this joint's associated bodies.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code>override def</code> + </td> + <td class="signature"> + <em><a href="../../../../sims/dynamics/joints/test/PrismaticJoint.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/test/PrismaticJoint.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/test/PrismaticJoint.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/test/PrismaticJoint.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/test/PrismaticJoint.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/test/PrismaticJoint.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/test/PrismaticJoint.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/test/PrismaticJoint.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">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/test/PrismaticJoint.html" target="_self">PrismaticJoint</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="angle"></a><dl> + <dt> + + <code></code> + <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></dd> + </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><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>Corrects the velocities of this joint's associated bodies.</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="correctLinear%28Double%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>correctLinear</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><hr></hr> +<a name="correctAngular%28Double%29"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>correctAngular</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><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>Corrects the positions of this joint's associated bodies.</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/test/UnitCircleJoint.html b/doc/sims/dynamics/joints/test/UnitCircleJoint.html new file mode 100644 index 0000000..b580f30 --- /dev/null +++ b/doc/sims/dynamics/joints/test/UnitCircleJoint.html @@ -0,0 +1,261 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html> + <head><title>class UnitCircleJoint in sims.dynamics.joints.test</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/test$package.html" target="_self">sims.dynamics.joints.test</a> + <br></br> + <span class="entity">class UnitCircleJoint</span> + </div><hr></hr> + <div class="source"> + [source: <a href="" class="sims/dynamics/joints/test/UnitCircleJoint"><code>sims/dynamics/joints/test/UnitCircleJoint.scala</code></a>] + </div><hr></hr> + <a name="UnitCircleJoint"></a><dl> + <dt> + + <code></code> + <code>class</code> + <em>UnitCircleJoint</em>(<em>body</em> : <a href="../../../../sims/dynamics/Body.html" target="_self">Body</a>, <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></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/dynamics/joints/test/UnitCircleJoint.html#node1" target="_self">node1</a></em> + : <a href="../../../../sims/dynamics/Body.html" target="_self">Body</a> + + <div>First body of the joint.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> val</code> + </td> + <td class="signature"> + <em><a href="../../../../sims/dynamics/joints/test/UnitCircleJoint.html#node2" target="_self">node2</a></em> + : <a href="../../../../sims/dynamics/Body.html" target="_self">Body</a> + + <div>Second body of the joint.</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/test/UnitCircleJoint.html#connection" target="_self">connection</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/test/UnitCircleJoint.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>Corrects the positions of this joint's associated bodies.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../../../sims/dynamics/joints/test/UnitCircleJoint.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>Corrects the velocities of this joint's associated bodies.</div> + </td> + </tr> +<tr> + <td class="modifiers" valign="top"> + <code> def</code> + </td> + <td class="signature"> + <em><a href="../../../../sims/dynamics/joints/test/UnitCircleJoint.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/test/UnitCircleJoint.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#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></code> + <code>val</code> + <em>node1</em> : <a href="../../../../sims/dynamics/Body.html" target="_self">Body</a> + </dt> + <dd></dd> + </dl> + <dl><dd>First body of the joint.</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#node1" target="_self">node1</a> + </dd> + </dl><hr></hr> +<a name="node2"></a><dl> + <dt> + + <code></code> + <code>val</code> + <em>node2</em> : <a href="../../../../sims/dynamics/Body.html" target="_self">Body</a> + </dt> + <dd></dd> + </dl> + <dl><dd>Second body of the joint.</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#node2" target="_self">node2</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="connection"></a><dl> + <dt> + + <code></code> + <code>def</code> + <em>connection</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>Corrects the velocities of this joint's associated bodies.</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>Corrects the positions of this joint's associated bodies.</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></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 |