From be2ee4dea92c5a4fc2329959d6e7272c50b221a6 Mon Sep 17 00:00:00 2001 From: Jakob Odersky Date: Sun, 29 Nov 2009 16:15:03 +0000 Subject: Translated comments to english. --- doc/sims/dynamics/joints/DistanceJoint.html | 32 +- doc/sims/dynamics/joints/ForceJoint.html | 6 +- doc/sims/dynamics/joints/Joint.html | 22 +- doc/sims/dynamics/joints/RevoluteJoint.html | 12 +- doc/sims/dynamics/joints/SpringJoint.html | 79 ++-- doc/sims/dynamics/joints/test$content.html | 45 ++ doc/sims/dynamics/joints/test$package.html | 17 + .../joints/test/PrismaticJoint$object.html | 82 ++++ doc/sims/dynamics/joints/test/PrismaticJoint.html | 502 +++++++++++++++++++++ doc/sims/dynamics/joints/test/UnitCircleJoint.html | 261 +++++++++++ 10 files changed, 995 insertions(+), 63 deletions(-) create mode 100644 doc/sims/dynamics/joints/test$content.html create mode 100644 doc/sims/dynamics/joints/test$package.html create mode 100644 doc/sims/dynamics/joints/test/PrismaticJoint$object.html create mode 100644 doc/sims/dynamics/joints/test/PrismaticJoint.html create mode 100644 doc/sims/dynamics/joints/test/UnitCircleJoint.html (limited to 'doc/sims/dynamics/joints') 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 @@
extends Joint with scala.Product
-
DistanceJoints halten die Bindungspunkte auf ihren Bindungskoerpern bei einem konstanten Abstand.
+
DistanceJoints keep their connection points at a constant distance.
- Parameters
node1 - erster Koerper der Verbindung
anchor1 - Bindungspunkt auf Koerper eins
node2 - zweiter Koerper der Verbindung
anchor2 - Bindungspunkt auf Koerper zwei
+ Parameters
node1 - first associated body
anchor1 - first connection point
node2 - second associated body
anchor2 - second connection point
@@ -62,7 +62,7 @@ distance : Double -
Abstand der beiden Bindungspunkte bei initialisierung (der gewollte Abstand).
+
Distance between the two connection points at initialisation (the desired distance).
Additional Constructor Summary
@@ -76,7 +76,7 @@ connection1 : Vector2D -
Ergibt den Bindungspunkt auf Koerper eins.
+
Returns the connection point on body one (in world coordinates).
@@ -87,7 +87,7 @@ connection2 : Vector2D -
Ergibt den Bindungspunkt auf Koerper zwei.
+
Returns the connection point on body two (in world coordinates).
@@ -98,7 +98,7 @@ correctPosition (h : Double) : Unit -
Korrigiert die Position der Koerper damit diese den Randbedingungen der Verbindung entsprechen.
+
Corrects the positions of this joint's associated bodies.
@@ -109,7 +109,7 @@ correctVelocity (h : Double) : Unit -
Korrigiert die Geschwindigkeit der Koerper damit diese den Randbedingungen der Verbindung entsprechen.
+
Corrects the velocities of this joint's associated bodies.
@@ -187,7 +187,7 @@ v : Vector2D -
Relative Geschwindigkeit der Bindungspunkte.
+
Relative velocity of the connection points.
@@ -198,7 +198,7 @@ x : Vector2D -
Relative Position der Bindungspunkte.
+
Relative position of the connection points.
@@ -241,7 +241,7 @@
-
Abstand der beiden Bindungspunkte bei initialisierung (der gewollte Abstand).
+
Distance between the two connection points at initialisation (the desired distance).

@@ -255,7 +255,7 @@
-
Ergibt den Bindungspunkt auf Koerper eins.
+
Returns the connection point on body one (in world coordinates).

@@ -267,7 +267,7 @@
-
Ergibt den Bindungspunkt auf Koerper zwei.
+
Returns the connection point on body two (in world coordinates).

@@ -279,7 +279,7 @@
-
Relative Position der Bindungspunkte.
+
Relative position of the connection points.

@@ -291,7 +291,7 @@
-
Relative Geschwindigkeit der Bindungspunkte.
+
Relative velocity of the connection points.

@@ -303,7 +303,7 @@
-
Korrigiert die Geschwindigkeit der Koerper damit diese den Randbedingungen der Verbindung entsprechen.
+
Corrects the velocities of this joint's associated bodies.
@@ -322,7 +322,7 @@
-
Korrigiert die Position der Koerper damit diese den Randbedingungen der Verbindung entsprechen.
+
Corrects the positions of this joint's associated bodies.
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 @@
extends AnyRef
-
Eine Verbindung die Kraft auf ihre Bindungskoerper ausueben kann.
+
A joint which can apply a force to its anchor bodies, thus adding or removing energy to the system.
Direct Known Subclasses:
@@ -52,7 +52,7 @@ applyForce : Unit -
Uebt eine Kraft auf die Bindungskoerper aus.
+
Applies a force on the achor bodies.
@@ -86,7 +86,7 @@
-
Uebt eine Kraft auf die Bindungskoerper aus.
+
Applies a force on the achor bodies.

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 @@
extends Constraint with AnyRef
-
Joints sind Verbindungen die die Bewegung zwischen zwei Koerpern einschraenken. - Ihre Implementierung wurde von Erin Catto's box2d inspiriert.
+
Joints constrain the movement of two bodies. + Their implementation was inspired by Erin Catto's box2d.
Direct Known Subclasses:
-
DistanceJoint, RevoluteJoint, SpringJoint
+
DistanceJoint, RevoluteJoint, SpringJoint, PrismaticJoint, UnitCircleJoint

@@ -52,7 +52,7 @@ node1 : Body -
Erster Koerper der Verbindung.
+
First body of the joint.
@@ -63,7 +63,7 @@ node2 : Body -
Zweiter Koerper der Verbindung.
+
Second body of the joint.
@@ -77,7 +77,7 @@ correctPosition (h : Double) : Unit -
Korrigiert die Position der Koerper damit diese den Randbedingungen der Verbindung entsprechen.
+
Corrects the positions of this joint's associated bodies.
@@ -88,7 +88,7 @@ correctVelocity (h : Double) : Unit -
Korrigiert die Geschwindigkeit der Koerper damit diese den Randbedingungen der Verbindung entsprechen.
+
Corrects the velocities of this joint's associated bodies.
@@ -121,7 +121,7 @@
-
Erster Koerper der Verbindung.
+
First body of the joint.

@@ -133,7 +133,7 @@
-
Zweiter Koerper der Verbindung.
+
Second body of the joint.

@@ -147,7 +147,7 @@
-
Korrigiert die Geschwindigkeit der Koerper damit diese den Randbedingungen der Verbindung entsprechen.
+
Corrects the velocities of this joint's associated bodies.
@@ -166,7 +166,7 @@
-
Korrigiert die Position der Koerper damit diese den Randbedingungen der Verbindung entsprechen.
+
Corrects the positions of this joint's associated bodies.
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 @@
extends Joint with scala.Product
-
Ein Gelenk, dass zwei Koerper an einem Punkt verbindet. Inspiriert von JBox2D.
+
A revolute joint that connects two bodies at a singe point. Inspired from JBox2D. + Warning: there are still several bugs with revolute joints, if they are between two free + bodies and not connected at their respective COMs.
@@ -71,7 +73,7 @@ correctPosition (h : Double) : Unit -
Korrigiert die Position der Koerper damit diese den Randbedingungen der Verbindung entsprechen.
+
Corrects the positions of this joint's associated bodies.
@@ -82,7 +84,7 @@ correctVelocity (h : Double) : Unit -
Korrigiert die Geschwindigkeit der Koerper damit diese den Randbedingungen der Verbindung entsprechen.
+
Corrects the velocities of this joint's associated bodies.
@@ -241,7 +243,7 @@
-
Korrigiert die Geschwindigkeit der Koerper damit diese den Randbedingungen der Verbindung entsprechen.
+
Corrects the velocities of this joint's associated bodies.
@@ -260,7 +262,7 @@
-
Korrigiert die Position der Koerper damit diese den Randbedingungen der Verbindung entsprechen.
+
Corrects the positions of this joint's associated bodies.
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 @@
extends Joint with ForceJoint with scala.Product
-
Eine Hooksche Feder.
+
A spring obeying Hooke's law.
- Parameters
node1 - erster Koerper der Verbindung
anchor1 - Bindungspunkt auf Koerper eins
node2 - zweiter Koerper der Verbindung
anchor2 - Bindungspunkt auf Koerper zwei
springConstant - Federkonstante
initialLength - Initiallaenge
+ Parameters
node1 - first associated body
anchor1 - first connection point
node2 - second associated body
anchor2 - second connection point
springConstant - spring constant
initialLength - initial length
@@ -44,8 +44,8 @@ def @@ -66,8 +66,8 @@ def @@ -84,7 +84,7 @@ damping : Double -
Daempfung.
+
Damping.
Additional Constructor Summary
- this - (node1 : Body, node2 : Body, springConstant : Double) : SpringJoint + this + (node1 : Body, node2 : Body, springConstant : Double, initialLength : Double) : SpringJoint - this - (node1 : Body, node2 : Body, springConstant : Double, initialLength : Double) : SpringJoint + this + (node1 : Body, node2 : Body, springConstant : Double) : SpringJoint
@@ -98,7 +98,7 @@ applyForce : Unit -
Uebt die Federkraft auf die Bindungspunkte aus.
+
Applies the spring force to the connection points.
@@ -109,7 +109,7 @@ connection1 : Vector2D -
Ergibt den Bindungspunkt auf Koerper eins.
+
Returns the connection point on body one (in world coordinates).
@@ -120,7 +120,7 @@ connection2 : Vector2D -
Ergibt den Bindungspunkt auf Koerper zwei.
+
Returns the connection point on body two (in world coordinates).
@@ -131,7 +131,7 @@ correctPosition (h : Double) : Unit -
Korrigiert die Position der Koerper damit diese den Randbedingungen der Verbindung entsprechen.
+
Corrects the positions of this joint's associated bodies.
@@ -142,7 +142,7 @@ correctVelocity (h : Double) : Unit -
Korrigiert die Geschwindigkeit der Koerper damit diese den Randbedingungen der Verbindung entsprechen.
+
Corrects the velocities of this joint's associated bodies.
@@ -165,7 +165,7 @@ force : Double -
Ergibt die Federkraft nach dem Hookschen Gesetz.
+
Returns the spring force.
@@ -223,6 +223,17 @@
Returns a string representation of the object.
+ + + def + + + v + : Vector2D + +
Relative velocity of the connection points.
+ + def @@ -231,7 +242,7 @@ x : Vector2D -
Relative Position der Bindungspunkte.
+
Relative position of the connection points.
@@ -292,7 +303,7 @@
-
Daempfung.
+
Damping.

@@ -306,7 +317,7 @@
-
Ergibt den Bindungspunkt auf Koerper eins.
+
Returns the connection point on body one (in world coordinates).

@@ -318,7 +329,7 @@
-
Ergibt den Bindungspunkt auf Koerper zwei.
+
Returns the connection point on body two (in world coordinates).

@@ -330,7 +341,19 @@
-
Relative Position der Bindungspunkte.
+
Relative position of the connection points.
+
+
+
+
+ + + def + v : Vector2D +
+
+
+
Relative velocity of the connection points.

@@ -342,7 +365,7 @@
-
Ergibt die Federkraft nach dem Hookschen Gesetz.
+
Returns the spring force.

@@ -354,7 +377,7 @@
-
Uebt die Federkraft auf die Bindungspunkte aus.
+
Applies the spring force to the connection points.
@@ -364,42 +387,42 @@ ForceJoint.applyForce

-
+
def - correctPosition(h : Double) : Unit + correctVelocity(h : Double) : Unit
-
Korrigiert die Position der Koerper damit diese den Randbedingungen der Verbindung entsprechen.
+
Corrects the velocities of this joint's associated bodies.
Overrides
- Joint.correctPosition + Joint.correctVelocity

-
+
def - correctVelocity(h : Double) : Unit + correctPosition(h : Double) : Unit
-
Korrigiert die Geschwindigkeit der Koerper damit diese den Randbedingungen der Verbindung entsprechen.
+
Corrects the positions of this joint's associated bodies.
Overrides
- Joint.correctVelocity + Joint.correctPosition

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 @@ + + + All classes and objects in sims.dynamics.joints.test + + +
Simple Mechanics Simulator (SiMS) API

This document is the API specification for SiMS

+ + + + + + + + + +
Class Summary
+ case class + + PrismaticJoint + (val node1 : Body, val anchor1 : Vector2D, val node2 : Body, val anchor2 : Vector2D) extends Joint with scala.Product + + +
+ class + + UnitCircleJoint + (body : Body, anchor : Vector2D) extends Joint + + +
+ + + + + + +
Object Summary
+ object + + PrismaticJoint + extends (Body, Vector2D, Body, Vector2D) => PrismaticJoint + + +
+ \ 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 @@ + + + List of classes and objects in package sims.dynamics.joints.test + + + + +
Classes
+
Objects
+ \ 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 @@ + + + object PrismaticJoint in sims.dynamics.joints.test + + + + + + + + + + + +
+ sims.dynamics.joints.test +

+ object PrismaticJoint +

+
+ [source: sims/dynamics/joints/test/PrismaticJoint.scala] +

+
+
+ + + object + PrismaticJoint +
+
extends (Body, Vector2D, Body, Vector2D) => PrismaticJoint
+
+ + + + + + +
+ Methods inherited from scala.Function4 +
+ scala.Function4.toString, scala.Function4.curry +
+ + +
+ Methods inherited from AnyRef +
+ getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + + + +
+ + + + + + + + + \ 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 @@ + + + class PrismaticJoint in sims.dynamics.joints.test + + + + + + + + + + + +
+ sims.dynamics.joints.test +

+ class PrismaticJoint +

+
+ [source: sims/dynamics/joints/test/PrismaticJoint.scala] +

+
+
+ + case + class + PrismaticJoint(val node1 : Body, val anchor1 : Vector2D, val node2 : Body, val anchor2 : Vector2D) +
+
extends Joint with scala.Product
+
+ + + + + + +
Additional Constructor Summary
+ def + + this + (node1 : Body, node2 : Body) : PrismaticJoint + + +
+ + + + + + + +
Value Summary
+ val + + angle + : Double + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method Summary
+ def + + connection1 + : Vector2D + + +
+ def + + connection2 + : Vector2D + + +
+ def + + correctAngular + (h : Double) : Unit + + +
+ def + + correctLinear + (h : Double) : Unit + + +
+ def + + correctPosition + (h : Double) : Unit + +
Corrects the positions of this joint's associated bodies.
+
+ def + + correctVelocity + (h : Double) : Unit + +
Corrects the velocities of this joint's associated bodies.
+
+ override def + + equals + (arg0 : Any) : Boolean + +
This method is used to compare the receiver object (this) + with the argument object (arg0) for equivalence.
+
+ override def + + hashCode + : Int + +
Returns a hash code value for the object.
+
+ override def + + productArity + : Int + + +
+ override def + + productElement + (arg0 : Int) : Any + + +
+ override def + + productPrefix + : java.lang.String + + +
+ override def + + toString + : java.lang.String + +
Returns a string representation of the object.
+
+ def + + v + : Vector2D + + +
+ def + + x + : Vector2D + + +
+ + +
+ Methods inherited from AnyRef +
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + +
Additional Constructor Details
+
+ + + def + this(node1 : Body, node2 : Body) : PrismaticJoint +
+
+

+ + + +
Value Details
+
+ + + val + angle : Double +
+
+

+ + +
Method Details
+
+ + + def + connection1 : Vector2D +
+
+

+
+
+ + + def + connection2 : Vector2D +
+
+

+
+
+ + + def + x : Vector2D +
+
+

+
+
+ + + def + v : Vector2D +
+
+

+
+
+ + + def + correctVelocity(h : Double) : Unit +
+
+
+
Corrects the velocities of this joint's associated bodies.
+
+
+
+ Overrides +
+
+ Joint.correctVelocity +
+

+
+
+ + + def + correctLinear(h : Double) : Unit +
+
+

+
+
+ + + def + correctAngular(h : Double) : Unit +
+
+

+
+
+ + + def + correctPosition(h : Double) : Unit +
+
+
+
Corrects the positions of this joint's associated bodies.
+
+
+
+ Overrides +
+
+ Joint.correctPosition +
+

+
+
+ + override + def + hashCode : Int +
+
+
+
Returns a hash code value for the object. +

+ The default hashing algorithm is platform dependent. + Note that it is allowed for two objects to have identical hash + codes (o1.hashCode.equals(o2.hashCode)) yet not be + equal (o1.equals(o2) returns false). A + degenerate implementation could always return 0. + However, it is required that if two objects are equal + (o1.equals(o2) returns true) that they + have identical hash codes + (o1.hashCode.equals(o2.hashCode)). Therefore, when + overriding this method, be sure to verify that the behavior is + consistent with the equals method. +

+

+
+ Returns
the hash code value for the object.

+
+
+
+ + override + def + toString : java.lang.String +
+
+
+
Returns a string representation of the object. +

+ The default representation is platform dependent.

+
+ Returns
a string representation of the object.

+
+
+
+ + override + def + equals(arg0 : Any) : Boolean +
+
+
+
This method is used to compare the receiver object (this) + with the argument object (arg0) for equivalence. + +

+ The default implementations of this method is an equivalence + relation: +

    +
  • It is reflexive: for any instance x of type Any, + x.equals(x) should return true.
  • +
  • It is symmetric: for any instances x and y of type + Any, x.equals(y) should return true if and only + if y.equals(x) returns true.
  • +
  • It is transitive: for any instances + x, y, and z of type AnyRef + if x.equals(y) returns true and + y.equals(z) returns + true, then x.equals(z) should return true.
  • +
+

+

+ 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 hashCode to ensure that objects that are + "equal" (o1.equals(o2) returns true) + hash to the same Int + (o1.hashCode.equals(o2.hashCode)).

+
+ Parameters
arg0 - the object to compare against this object for equality.
+ Returns
true if the receiver object is equivalent to the argument; false otherwise.

+
+
+
+ + override + def + productPrefix : java.lang.String +
+
+
+
+ Overrides +
+
+ scala.Product.scala.Product.productPrefix +
+

+
+
+ + override + def + productArity : Int +
+
+
+
+ Overrides +
+
+ scala.Product.scala.Product.productArity +
+

+
+
+ + override + def + productElement(arg0 : Int) : Any +
+
+
+
+ Overrides +
+
+ scala.Product.scala.Product.productElement +
+

+ + +
+ + + + + + + + + \ 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 @@ + + + class UnitCircleJoint in sims.dynamics.joints.test + + + + + + + + + + + +
+ sims.dynamics.joints.test +

+ class UnitCircleJoint +

+
+ [source: sims/dynamics/joints/test/UnitCircleJoint.scala] +

+
+
+ + + class + UnitCircleJoint(body : Body, anchor : Vector2D) +
+
extends Joint
+
+ + + + + + + + + + + + +
Value Summary
+ val + + node1 + : Body + +
First body of the joint.
+
+ val + + node2 + : Body + +
Second body of the joint.
+
+ + + + + + + + + + + + + + + + + + + + + + +
Method Summary
+ def + + connection + : Vector2D + + +
+ def + + correctPosition + (h : Double) : Unit + +
Corrects the positions of this joint's associated bodies.
+
+ def + + correctVelocity + (h : Double) : Unit + +
Corrects the velocities of this joint's associated bodies.
+
+ def + + v + : Vector2D + + +
+ def + + x + : Vector2D + + +
+ + +
+ Methods inherited from AnyRef +
+ getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + +
Value Details
+
+ + + val + node1 : Body +
+
+
+
First body of the joint.
+
+
+
+ Overrides +
+
+ Joint.node1 +
+

+
+
+ + + val + node2 : Body +
+
+
+
Second body of the joint.
+
+
+
+ Overrides +
+
+ Joint.node2 +
+

+ + +
Method Details
+
+ + + def + connection : Vector2D +
+
+

+
+
+ + + def + x : Vector2D +
+
+

+
+
+ + + def + v : Vector2D +
+
+

+
+
+ + + def + correctVelocity(h : Double) : Unit +
+
+
+
Corrects the velocities of this joint's associated bodies.
+
+
+
+ Overrides +
+
+ Joint.correctVelocity +
+

+
+
+ + + def + correctPosition(h : Double) : Unit +
+
+
+
Corrects the positions of this joint's associated bodies.
+
+
+
+ Overrides +
+
+ Joint.correctPosition +
+

+ + +
+ + + + + + + + + \ No newline at end of file -- cgit v1.2.3