From 9d20024aa35cd7f923ebfc1ed9a2ffbf2731da70 Mon Sep 17 00:00:00 2001 From: Jakob Odersky Date: Thu, 5 Nov 2009 21:02:40 +0000 Subject: Initial import. --- doc/all-classes.html | 131 ++++ doc/graphyx$content.html | 21 + doc/graphyx$package.html | 14 + doc/graphyx/Graphyx$object.html | 221 +++++++ doc/graphyx/actors$content.html | 100 +++ doc/graphyx/actors$package.html | 22 + doc/graphyx/actors/Exit$object.html | 205 ++++++ doc/graphyx/actors/FireEvent$object.html | 205 ++++++ doc/graphyx/actors/GUIActor.html | 162 +++++ doc/graphyx/actors/PhysicsActor.html | 202 ++++++ doc/graphyx/actors/SetWorld$object.html | 82 +++ doc/graphyx/actors/SetWorld.html | 276 ++++++++ doc/graphyx/actors/Start$object.html | 205 ++++++ doc/graphyx/actors/Stop$object.html | 205 ++++++ doc/graphyx/graphics$content.html | 332 ++++++++++ doc/graphyx/graphics$package.html | 43 ++ doc/graphyx/graphics/Drawable.html | 397 ++++++++++++ doc/graphyx/graphics/GraphicalAABB$object.html | 82 +++ doc/graphyx/graphics/GraphicalAABB.html | 355 +++++++++++ doc/graphyx/graphics/GraphicalBody$object.html | 82 +++ doc/graphyx/graphics/GraphicalBody.html | 383 ++++++++++++ doc/graphyx/graphics/GraphicalCircle$object.html | 82 +++ doc/graphyx/graphics/GraphicalCircle.html | 369 +++++++++++ .../graphics/GraphicalCollision$object.html | 82 +++ doc/graphyx/graphics/GraphicalCollision.html | 363 +++++++++++ .../graphics/GraphicalDistanceJoint$object.html | 82 +++ doc/graphyx/graphics/GraphicalDistanceJoint.html | 356 +++++++++++ doc/graphyx/graphics/GraphicalJoint.html | 132 ++++ doc/graphyx/graphics/GraphicalObject.html | 154 +++++ doc/graphyx/graphics/GraphicalPair$object.html | 82 +++ doc/graphyx/graphics/GraphicalPair.html | 363 +++++++++++ .../graphics/GraphicalRectangle$object.html | 82 +++ doc/graphyx/graphics/GraphicalRectangle.html | 376 +++++++++++ .../graphics/GraphicalRegularPolygon$object.html | 82 +++ doc/graphyx/graphics/GraphicalRegularPolygon.html | 376 +++++++++++ .../graphics/GraphicalRevoluteJoint$object.html | 82 +++ doc/graphyx/graphics/GraphicalRevoluteJoint.html | 336 ++++++++++ doc/graphyx/graphics/GraphicalShape.html | 176 ++++++ .../graphics/GraphicalSpringJoint$object.html | 82 +++ doc/graphyx/graphics/GraphicalSpringJoint.html | 356 +++++++++++ doc/graphyx/graphics/GraphicalWorld$object.html | 82 +++ doc/graphyx/graphics/GraphicalWorld.html | 439 +++++++++++++ doc/graphyx/graphics/Parser$object.html | 221 +++++++ doc/graphyx/graphics/Scene$object.html | 82 +++ doc/graphyx/graphics/Scene.html | 439 +++++++++++++ doc/graphyx/gui$content.html | 142 +++++ doc/graphyx/gui$package.html | 25 + doc/graphyx/gui/BodyPopup.html | 251 ++++++++ doc/graphyx/gui/Container.html | 181 ++++++ doc/graphyx/gui/ControlPanel.html | 295 +++++++++ doc/graphyx/gui/GrabbedBody.html | 141 +++++ doc/graphyx/gui/GravityPanel.html | 292 +++++++++ doc/graphyx/gui/InfoPanel.html | 198 ++++++ doc/graphyx/gui/MainFrame.html | 161 +++++ doc/graphyx/gui/MainPanel.html | 329 ++++++++++ doc/graphyx/gui/OptionsPanel.html | 625 +++++++++++++++++++ doc/graphyx/gui/PopupMenu.html | 207 ++++++ doc/graphyx/gui/ShapeInfoPanel.html | 262 ++++++++ doc/graphyx/gui/WorldPanel.html | 638 +++++++++++++++++++ doc/graphyx/tests$content.html | 188 ++++++ doc/graphyx/tests$package.html | 30 + doc/graphyx/tests/BallStack$object.html | 169 +++++ doc/graphyx/tests/Chain$object.html | 169 +++++ doc/graphyx/tests/CompositeShape$object.html | 169 +++++ doc/graphyx/tests/Cup$object.html | 169 +++++ doc/graphyx/tests/EmptyTest$object.html | 169 +++++ doc/graphyx/tests/Friction$object.html | 256 ++++++++ doc/graphyx/tests/Friction2$object.html | 169 +++++ doc/graphyx/tests/General1$object.html | 216 +++++++ doc/graphyx/tests/General2$object.html | 169 +++++ doc/graphyx/tests/Joints1$object.html | 169 +++++ doc/graphyx/tests/Joints2$object.html | 169 +++++ doc/graphyx/tests/Net$object.html | 169 +++++ doc/graphyx/tests/RagdollTest$object.html | 169 +++++ doc/graphyx/tests/Restitution$object.html | 169 +++++ doc/graphyx/tests/Stacking$object.html | 169 +++++ doc/graphyx/tests/Test.html | 190 ++++++ doc/index.html | 14 + doc/modules.html | 34 + doc/nav-classes.html | 27 + doc/root-content.html | 69 ++ doc/script.js | 112 ++++ doc/sims/collision$content.html | 191 ++++++ doc/sims/collision$package.html | 30 + doc/sims/collision/AABB$object.html | 82 +++ doc/sims/collision/AABB.html | 309 +++++++++ doc/sims/collision/CircleCollision$object.html | 82 +++ doc/sims/collision/CircleCollision.html | 409 ++++++++++++ doc/sims/collision/Collision$object.html | 101 +++ doc/sims/collision/Collision.html | 259 ++++++++ doc/sims/collision/Detector.html | 133 ++++ doc/sims/collision/GridDetector.html | 311 +++++++++ doc/sims/collision/Overlap$object.html | 82 +++ doc/sims/collision/Overlap.html | 276 ++++++++ doc/sims/collision/Pair$object.html | 82 +++ doc/sims/collision/Pair.html | 257 ++++++++ doc/sims/collision/PolyCircleCollision$object.html | 82 +++ doc/sims/collision/PolyCircleCollision.html | 409 ++++++++++++ doc/sims/collision/PolyCollision$object.html | 82 +++ doc/sims/collision/PolyCollision.html | 469 ++++++++++++++ doc/sims/dynamics$content.html | 146 +++++ doc/sims/dynamics$package.html | 26 + doc/sims/dynamics/Body$object.html | 75 +++ doc/sims/dynamics/Body.html | 659 ++++++++++++++++++++ doc/sims/dynamics/Circle$object.html | 82 +++ doc/sims/dynamics/Circle.html | 456 ++++++++++++++ doc/sims/dynamics/Constraint.html | 132 ++++ doc/sims/dynamics/Rectangle$object.html | 82 +++ doc/sims/dynamics/Rectangle.html | 431 +++++++++++++ doc/sims/dynamics/RegularPolygon$object.html | 82 +++ doc/sims/dynamics/RegularPolygon.html | 419 +++++++++++++ doc/sims/dynamics/Shape$object.html | 75 +++ doc/sims/dynamics/Shape.html | 559 +++++++++++++++++ doc/sims/dynamics/World.html | 692 +++++++++++++++++++++ doc/sims/dynamics/joints$content.html | 101 +++ doc/sims/dynamics/joints$package.html | 22 + doc/sims/dynamics/joints/DistanceJoint$object.html | 82 +++ doc/sims/dynamics/joints/DistanceJoint.html | 481 ++++++++++++++ doc/sims/dynamics/joints/ForceJoint.html | 107 ++++ doc/sims/dynamics/joints/Joint.html | 194 ++++++ doc/sims/dynamics/joints/RevoluteJoint$object.html | 82 +++ doc/sims/dynamics/joints/RevoluteJoint.html | 419 +++++++++++++ doc/sims/dynamics/joints/SpringJoint$object.html | 82 +++ doc/sims/dynamics/joints/SpringJoint.html | 551 ++++++++++++++++ doc/sims/geometry$content.html | 111 ++++ doc/sims/geometry$package.html | 23 + doc/sims/geometry/ConvexPolygon.html | 215 +++++++ doc/sims/geometry/Projection$object.html | 82 +++ doc/sims/geometry/Projection.html | 328 ++++++++++ doc/sims/geometry/Ray$object.html | 82 +++ doc/sims/geometry/Ray.html | 334 ++++++++++ doc/sims/geometry/Segment$object.html | 82 +++ doc/sims/geometry/Segment.html | 441 +++++++++++++ doc/sims/geometry/Vector2D$object.html | 150 +++++ doc/sims/geometry/Vector2D.html | 644 +++++++++++++++++++ doc/sims/math$content.html | 34 + doc/sims/math$package.html | 16 + doc/sims/math/Matrix22$object.html | 98 +++ doc/sims/math/Matrix22.html | 448 +++++++++++++ doc/sims/prefabs$content.html | 54 ++ doc/sims/prefabs$package.html | 17 + doc/sims/prefabs/Net.html | 232 +++++++ doc/sims/prefabs/Prefab.html | 121 ++++ doc/sims/prefabs/Pylon.html | 272 ++++++++ doc/sims/prefabs/Ragdoll.html | 432 +++++++++++++ doc/sims/util$content.html | 56 ++ doc/sims/util$package.html | 18 + doc/sims/util/Polar$object.html | 82 +++ doc/sims/util/Polar.html | 302 +++++++++ doc/sims/util/Positioning$object.html | 201 ++++++ doc/sims/util/RelativeVector.html | 278 +++++++++ doc/style.css | 148 +++++ 152 files changed, 31065 insertions(+) create mode 100644 doc/all-classes.html create mode 100644 doc/graphyx$content.html create mode 100644 doc/graphyx$package.html create mode 100644 doc/graphyx/Graphyx$object.html create mode 100644 doc/graphyx/actors$content.html create mode 100644 doc/graphyx/actors$package.html create mode 100644 doc/graphyx/actors/Exit$object.html create mode 100644 doc/graphyx/actors/FireEvent$object.html create mode 100644 doc/graphyx/actors/GUIActor.html create mode 100644 doc/graphyx/actors/PhysicsActor.html create mode 100644 doc/graphyx/actors/SetWorld$object.html create mode 100644 doc/graphyx/actors/SetWorld.html create mode 100644 doc/graphyx/actors/Start$object.html create mode 100644 doc/graphyx/actors/Stop$object.html create mode 100644 doc/graphyx/graphics$content.html create mode 100644 doc/graphyx/graphics$package.html create mode 100644 doc/graphyx/graphics/Drawable.html create mode 100644 doc/graphyx/graphics/GraphicalAABB$object.html create mode 100644 doc/graphyx/graphics/GraphicalAABB.html create mode 100644 doc/graphyx/graphics/GraphicalBody$object.html create mode 100644 doc/graphyx/graphics/GraphicalBody.html create mode 100644 doc/graphyx/graphics/GraphicalCircle$object.html create mode 100644 doc/graphyx/graphics/GraphicalCircle.html create mode 100644 doc/graphyx/graphics/GraphicalCollision$object.html create mode 100644 doc/graphyx/graphics/GraphicalCollision.html create mode 100644 doc/graphyx/graphics/GraphicalDistanceJoint$object.html create mode 100644 doc/graphyx/graphics/GraphicalDistanceJoint.html create mode 100644 doc/graphyx/graphics/GraphicalJoint.html create mode 100644 doc/graphyx/graphics/GraphicalObject.html create mode 100644 doc/graphyx/graphics/GraphicalPair$object.html create mode 100644 doc/graphyx/graphics/GraphicalPair.html create mode 100644 doc/graphyx/graphics/GraphicalRectangle$object.html create mode 100644 doc/graphyx/graphics/GraphicalRectangle.html create mode 100644 doc/graphyx/graphics/GraphicalRegularPolygon$object.html create mode 100644 doc/graphyx/graphics/GraphicalRegularPolygon.html create mode 100644 doc/graphyx/graphics/GraphicalRevoluteJoint$object.html create mode 100644 doc/graphyx/graphics/GraphicalRevoluteJoint.html create mode 100644 doc/graphyx/graphics/GraphicalShape.html create mode 100644 doc/graphyx/graphics/GraphicalSpringJoint$object.html create mode 100644 doc/graphyx/graphics/GraphicalSpringJoint.html create mode 100644 doc/graphyx/graphics/GraphicalWorld$object.html create mode 100644 doc/graphyx/graphics/GraphicalWorld.html create mode 100644 doc/graphyx/graphics/Parser$object.html create mode 100644 doc/graphyx/graphics/Scene$object.html create mode 100644 doc/graphyx/graphics/Scene.html create mode 100644 doc/graphyx/gui$content.html create mode 100644 doc/graphyx/gui$package.html create mode 100644 doc/graphyx/gui/BodyPopup.html create mode 100644 doc/graphyx/gui/Container.html create mode 100644 doc/graphyx/gui/ControlPanel.html create mode 100644 doc/graphyx/gui/GrabbedBody.html create mode 100644 doc/graphyx/gui/GravityPanel.html create mode 100644 doc/graphyx/gui/InfoPanel.html create mode 100644 doc/graphyx/gui/MainFrame.html create mode 100644 doc/graphyx/gui/MainPanel.html create mode 100644 doc/graphyx/gui/OptionsPanel.html create mode 100644 doc/graphyx/gui/PopupMenu.html create mode 100644 doc/graphyx/gui/ShapeInfoPanel.html create mode 100644 doc/graphyx/gui/WorldPanel.html create mode 100644 doc/graphyx/tests$content.html create mode 100644 doc/graphyx/tests$package.html create mode 100644 doc/graphyx/tests/BallStack$object.html create mode 100644 doc/graphyx/tests/Chain$object.html create mode 100644 doc/graphyx/tests/CompositeShape$object.html create mode 100644 doc/graphyx/tests/Cup$object.html create mode 100644 doc/graphyx/tests/EmptyTest$object.html create mode 100644 doc/graphyx/tests/Friction$object.html create mode 100644 doc/graphyx/tests/Friction2$object.html create mode 100644 doc/graphyx/tests/General1$object.html create mode 100644 doc/graphyx/tests/General2$object.html create mode 100644 doc/graphyx/tests/Joints1$object.html create mode 100644 doc/graphyx/tests/Joints2$object.html create mode 100644 doc/graphyx/tests/Net$object.html create mode 100644 doc/graphyx/tests/RagdollTest$object.html create mode 100644 doc/graphyx/tests/Restitution$object.html create mode 100644 doc/graphyx/tests/Stacking$object.html create mode 100644 doc/graphyx/tests/Test.html create mode 100644 doc/index.html create mode 100644 doc/modules.html create mode 100644 doc/nav-classes.html create mode 100644 doc/root-content.html create mode 100644 doc/script.js create mode 100644 doc/sims/collision$content.html create mode 100644 doc/sims/collision$package.html create mode 100644 doc/sims/collision/AABB$object.html create mode 100644 doc/sims/collision/AABB.html create mode 100644 doc/sims/collision/CircleCollision$object.html create mode 100644 doc/sims/collision/CircleCollision.html create mode 100644 doc/sims/collision/Collision$object.html create mode 100644 doc/sims/collision/Collision.html create mode 100644 doc/sims/collision/Detector.html create mode 100644 doc/sims/collision/GridDetector.html create mode 100644 doc/sims/collision/Overlap$object.html create mode 100644 doc/sims/collision/Overlap.html create mode 100644 doc/sims/collision/Pair$object.html create mode 100644 doc/sims/collision/Pair.html create mode 100644 doc/sims/collision/PolyCircleCollision$object.html create mode 100644 doc/sims/collision/PolyCircleCollision.html create mode 100644 doc/sims/collision/PolyCollision$object.html create mode 100644 doc/sims/collision/PolyCollision.html create mode 100644 doc/sims/dynamics$content.html create mode 100644 doc/sims/dynamics$package.html create mode 100644 doc/sims/dynamics/Body$object.html create mode 100644 doc/sims/dynamics/Body.html create mode 100644 doc/sims/dynamics/Circle$object.html create mode 100644 doc/sims/dynamics/Circle.html create mode 100644 doc/sims/dynamics/Constraint.html create mode 100644 doc/sims/dynamics/Rectangle$object.html create mode 100644 doc/sims/dynamics/Rectangle.html create mode 100644 doc/sims/dynamics/RegularPolygon$object.html create mode 100644 doc/sims/dynamics/RegularPolygon.html create mode 100644 doc/sims/dynamics/Shape$object.html create mode 100644 doc/sims/dynamics/Shape.html create mode 100644 doc/sims/dynamics/World.html create mode 100644 doc/sims/dynamics/joints$content.html create mode 100644 doc/sims/dynamics/joints$package.html create mode 100644 doc/sims/dynamics/joints/DistanceJoint$object.html create mode 100644 doc/sims/dynamics/joints/DistanceJoint.html create mode 100644 doc/sims/dynamics/joints/ForceJoint.html create mode 100644 doc/sims/dynamics/joints/Joint.html create mode 100644 doc/sims/dynamics/joints/RevoluteJoint$object.html create mode 100644 doc/sims/dynamics/joints/RevoluteJoint.html create mode 100644 doc/sims/dynamics/joints/SpringJoint$object.html create mode 100644 doc/sims/dynamics/joints/SpringJoint.html create mode 100644 doc/sims/geometry$content.html create mode 100644 doc/sims/geometry$package.html create mode 100644 doc/sims/geometry/ConvexPolygon.html create mode 100644 doc/sims/geometry/Projection$object.html create mode 100644 doc/sims/geometry/Projection.html create mode 100644 doc/sims/geometry/Ray$object.html create mode 100644 doc/sims/geometry/Ray.html create mode 100644 doc/sims/geometry/Segment$object.html create mode 100644 doc/sims/geometry/Segment.html create mode 100644 doc/sims/geometry/Vector2D$object.html create mode 100644 doc/sims/geometry/Vector2D.html create mode 100644 doc/sims/math$content.html create mode 100644 doc/sims/math$package.html create mode 100644 doc/sims/math/Matrix22$object.html create mode 100644 doc/sims/math/Matrix22.html create mode 100644 doc/sims/prefabs$content.html create mode 100644 doc/sims/prefabs$package.html create mode 100644 doc/sims/prefabs/Net.html create mode 100644 doc/sims/prefabs/Prefab.html create mode 100644 doc/sims/prefabs/Pylon.html create mode 100644 doc/sims/prefabs/Ragdoll.html create mode 100644 doc/sims/util$content.html create mode 100644 doc/sims/util$package.html create mode 100644 doc/sims/util/Polar$object.html create mode 100644 doc/sims/util/Polar.html create mode 100644 doc/sims/util/Positioning$object.html create mode 100644 doc/sims/util/RelativeVector.html create mode 100644 doc/style.css (limited to 'doc') diff --git a/doc/all-classes.html b/doc/all-classes.html new file mode 100644 index 0000000..086233b --- /dev/null +++ b/doc/all-classes.html @@ -0,0 +1,131 @@ + + + List of all classes and objects + + +
Classes
+
Objects
+ \ No newline at end of file diff --git a/doc/graphyx$content.html b/doc/graphyx$content.html new file mode 100644 index 0000000..b78a5ec --- /dev/null +++ b/doc/graphyx$content.html @@ -0,0 +1,21 @@ + + + All classes and objects in graphyx + + +
Simple Mechanics Simulator (SiMS) API

This document is the API specification for SiMS

+ + + + + + +
Object Summary
+ object + + Graphyx + extends AnyRef + + +
+ \ No newline at end of file diff --git a/doc/graphyx$package.html b/doc/graphyx$package.html new file mode 100644 index 0000000..ce0ccc2 --- /dev/null +++ b/doc/graphyx$package.html @@ -0,0 +1,14 @@ + + + List of classes and objects in package graphyx + + + + +
+
Objects
+ \ No newline at end of file diff --git a/doc/graphyx/Graphyx$object.html b/doc/graphyx/Graphyx$object.html new file mode 100644 index 0000000..1e705a8 --- /dev/null +++ b/doc/graphyx/Graphyx$object.html @@ -0,0 +1,221 @@ + + + object Graphyx in graphyx + + + + + + + + + + + +
+ graphyx +

+ object Graphyx +

+
+ [source: graphyx/Graphyx.scala] +

+
+
+ + + object + Graphyx +
+
extends AnyRef
+
+ + + + + + + + + + + + + + + + +
Value Summary
+ val + + guiActor + : GUIActor + + +
+ val + + physicsActor + : PhysicsActor + + +
+ val + + tests + : scala.List[Test] + + +
+ + + + + + + + + + + + + + + + + + +
Method Summary
+ def + + exit + : Unit + + +
+ def + + main + (args : scala.Array[java.lang.String]) : Unit + + +
+ def + + test + : Test + + +
+ def + + test_= + (t : Test) : Unit + + +
+ + +
+ 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 + tests : scala.List[Test] +
+
+

+
+
+ + + val + physicsActor : PhysicsActor +
+
+

+
+
+ + + val + guiActor : GUIActor +
+
+

+ + +
Method Details
+
+ + + def + test : Test +
+
+

+
+
+ + + def + test_=(t : Test) : Unit +
+
+

+
+
+ + + def + main(args : scala.Array[java.lang.String]) : Unit +
+
+

+
+
+ + + def + exit : Unit +
+
+

+ + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/graphyx/actors$content.html b/doc/graphyx/actors$content.html new file mode 100644 index 0000000..03856e4 --- /dev/null +++ b/doc/graphyx/actors$content.html @@ -0,0 +1,100 @@ + + + All classes and objects in graphyx.actors + + +
Simple Mechanics Simulator (SiMS) API

This document is the API specification for SiMS

+ + + + + + + + + + + + + +
Class Summary
+ class + + GUIActor + extends scala.actors.Actor + + +
+ class + + PhysicsActor + extends scala.actors.Actor + + +
+ case class + + SetWorld + (val world : World) extends scala.Product + + +
+ + + + + + + + + + + + + + + + + + + + + + +
Object Summary
+ case object + + Exit + extends scala.Product + + +
+ case object + + FireEvent + extends scala.Product + + +
+ object + + SetWorld + extends (World) => SetWorld + + +
+ case object + + Start + extends scala.Product + + +
+ case object + + Stop + extends scala.Product + + +
+ \ No newline at end of file diff --git a/doc/graphyx/actors$package.html b/doc/graphyx/actors$package.html new file mode 100644 index 0000000..c79a9d8 --- /dev/null +++ b/doc/graphyx/actors$package.html @@ -0,0 +1,22 @@ + + + List of classes and objects in package graphyx.actors + + + + +
Classes
+
Objects
+ \ No newline at end of file diff --git a/doc/graphyx/actors/Exit$object.html b/doc/graphyx/actors/Exit$object.html new file mode 100644 index 0000000..ad24c13 --- /dev/null +++ b/doc/graphyx/actors/Exit$object.html @@ -0,0 +1,205 @@ + + + object Exit in graphyx.actors + + + + + + + + + + + +
+ graphyx.actors +

+ object Exit +

+
+ [source: graphyx/actors/Exit.scala] +

+
+
+ + case + object + Exit +
+
extends scala.Product
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
Method Summary
+ override def + + productArity + : Int + + +
+ override def + + productElement + (arg0 : Int) : Any + + +
+ override def + + productPrefix + : java.lang.String + + +
+ protected def + + readResolve + : AnyRef + + +
+ override final def + + toString + : java.lang.String + +
Returns a string representation of the object.
+
+ + +
+ Methods inherited from AnyRef +
+ getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + + +
Method Details
+
+ + override final + 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 + 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 +
+

+
+
+ + protected + def + readResolve : AnyRef +
+
+

+ + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/graphyx/actors/FireEvent$object.html b/doc/graphyx/actors/FireEvent$object.html new file mode 100644 index 0000000..978fd70 --- /dev/null +++ b/doc/graphyx/actors/FireEvent$object.html @@ -0,0 +1,205 @@ + + + object FireEvent in graphyx.actors + + + + + + + + + + + +
+ graphyx.actors +

+ object FireEvent +

+
+ [source: graphyx/actors/FireEvent.scala] +

+
+
+ + case + object + FireEvent +
+
extends scala.Product
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
Method Summary
+ override def + + productArity + : Int + + +
+ override def + + productElement + (arg0 : Int) : Any + + +
+ override def + + productPrefix + : java.lang.String + + +
+ protected def + + readResolve + : AnyRef + + +
+ override final def + + toString + : java.lang.String + +
Returns a string representation of the object.
+
+ + +
+ Methods inherited from AnyRef +
+ getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + + +
Method Details
+
+ + override final + 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 + 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 +
+

+
+
+ + protected + def + readResolve : AnyRef +
+
+

+ + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/graphyx/actors/GUIActor.html b/doc/graphyx/actors/GUIActor.html new file mode 100644 index 0000000..2dbb266 --- /dev/null +++ b/doc/graphyx/actors/GUIActor.html @@ -0,0 +1,162 @@ + + + class GUIActor in graphyx.actors + + + + + + + + + + + +
+ graphyx.actors +

+ class GUIActor +

+
+ [source: graphyx/actors/GUIActor.scala] +

+
+
+ + + class + GUIActor +
+
extends scala.actors.Actor
+
+ + + + + + + + + + + + +
Value Summary
+ val + + container + : Container + + +
+ var + + continue + : Boolean + + +
+ + +
+ Values and Variables inherited from scala.actors.Actor +
+ scala.actors.Actor.mailbox, scala.actors.Actor.trapExit +
+ + + + + + +
Method Summary
+ def + + act + : Unit + + +
+ + +
+ Methods inherited from scala.actors.Actor +
+ scala.actors.Actor.scheduler, scala.actors.Actor.mailboxSize, scala.actors.Actor.send, scala.actors.Actor.receive, scala.actors.Actor.receiveWithin, scala.actors.Actor.react, scala.actors.Actor.reactWithin, scala.actors.Actor.!, scala.actors.Actor.forward, scala.actors.Actor.!?, scala.actors.Actor.!?, scala.actors.Actor.!!, scala.actors.Actor.!!, scala.actors.Actor.reply, scala.actors.Actor.?, scala.actors.Actor.sender, scala.actors.Actor.receiver, scala.actors.Actor.scheduleActor, scala.actors.Actor.start, scala.actors.Actor.link, scala.actors.Actor.link, scala.actors.Actor.unlink, scala.actors.Actor.exit, scala.actors.Actor.exit +
+ + +
+ 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 + container : Container +
+
+

+
+
+ + + var + continue : Boolean +
+
+

+ + +
Method Details
+
+ + + def + act : Unit +
+
+
+
+ Overrides +
+
+ scala.actors.Actor.scala.actors.Actor.act +
+

+ + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/graphyx/actors/PhysicsActor.html b/doc/graphyx/actors/PhysicsActor.html new file mode 100644 index 0000000..53f230e --- /dev/null +++ b/doc/graphyx/actors/PhysicsActor.html @@ -0,0 +1,202 @@ + + + class PhysicsActor in graphyx.actors + + + + + + + + + + + +
+ graphyx.actors +

+ class PhysicsActor +

+
+ [source: graphyx/actors/PhysicsActor.scala] +

+
+
+ + + class + PhysicsActor +
+
extends scala.actors.Actor
+
+ + + + + + + + + + + + + + + + +
Value Summary
+ var + + continue + : Boolean + + +
+ var + + simulate + : Boolean + + +
+ var + + world + : World + + +
+ + +
+ Values and Variables inherited from scala.actors.Actor +
+ scala.actors.Actor.mailbox, scala.actors.Actor.trapExit +
+ + + + + + + + + + +
Method Summary
+ def + + act + : Unit + + +
+ def + + fps + : Int + + +
+ + +
+ Methods inherited from scala.actors.Actor +
+ scala.actors.Actor.scheduler, scala.actors.Actor.mailboxSize, scala.actors.Actor.send, scala.actors.Actor.receive, scala.actors.Actor.receiveWithin, scala.actors.Actor.react, scala.actors.Actor.reactWithin, scala.actors.Actor.!, scala.actors.Actor.forward, scala.actors.Actor.!?, scala.actors.Actor.!?, scala.actors.Actor.!!, scala.actors.Actor.!!, scala.actors.Actor.reply, scala.actors.Actor.?, scala.actors.Actor.sender, scala.actors.Actor.receiver, scala.actors.Actor.scheduleActor, scala.actors.Actor.start, scala.actors.Actor.link, scala.actors.Actor.link, scala.actors.Actor.unlink, scala.actors.Actor.exit, scala.actors.Actor.exit +
+ + +
+ 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
+
+ + + var + world : World +
+
+

+
+
+ + + var + continue : Boolean +
+
+

+
+
+ + + var + simulate : Boolean +
+
+

+ + +
Method Details
+
+ + + def + fps : Int +
+
+

+
+
+ + + def + act : Unit +
+
+
+
+ Overrides +
+
+ scala.actors.Actor.scala.actors.Actor.act +
+

+ + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/graphyx/actors/SetWorld$object.html b/doc/graphyx/actors/SetWorld$object.html new file mode 100644 index 0000000..c1f59bf --- /dev/null +++ b/doc/graphyx/actors/SetWorld$object.html @@ -0,0 +1,82 @@ + + + object SetWorld in graphyx.actors + + + + + + + + + + + +
+ graphyx.actors +

+ object SetWorld +

+
+ [source: graphyx/actors/SetWorld.scala] +

+
+
+ + + object + SetWorld +
+
extends (World) => SetWorld
+
+ + + + + + +
+ Methods inherited from scala.Function1 +
+ scala.Function1.toString, scala.Function1.compose, scala.Function1.andThen +
+ + +
+ 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/graphyx/actors/SetWorld.html b/doc/graphyx/actors/SetWorld.html new file mode 100644 index 0000000..2eacdd1 --- /dev/null +++ b/doc/graphyx/actors/SetWorld.html @@ -0,0 +1,276 @@ + + + class SetWorld in graphyx.actors + + + + + + + + + + + +
+ graphyx.actors +

+ class SetWorld +

+
+ [source: graphyx/actors/SetWorld.scala] +

+
+
+ + case + class + SetWorld(val world : World) +
+
extends scala.Product
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method Summary
+ 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.
+
+ + +
+ Methods inherited from AnyRef +
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + + +
Method Details
+
+ + 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/graphyx/actors/Start$object.html b/doc/graphyx/actors/Start$object.html new file mode 100644 index 0000000..3d38727 --- /dev/null +++ b/doc/graphyx/actors/Start$object.html @@ -0,0 +1,205 @@ + + + object Start in graphyx.actors + + + + + + + + + + + +
+ graphyx.actors +

+ object Start +

+
+ [source: graphyx/actors/Start.scala] +

+
+
+ + case + object + Start +
+
extends scala.Product
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
Method Summary
+ override def + + productArity + : Int + + +
+ override def + + productElement + (arg0 : Int) : Any + + +
+ override def + + productPrefix + : java.lang.String + + +
+ protected def + + readResolve + : AnyRef + + +
+ override final def + + toString + : java.lang.String + +
Returns a string representation of the object.
+
+ + +
+ Methods inherited from AnyRef +
+ getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + + +
Method Details
+
+ + override final + 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 + 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 +
+

+
+
+ + protected + def + readResolve : AnyRef +
+
+

+ + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/graphyx/actors/Stop$object.html b/doc/graphyx/actors/Stop$object.html new file mode 100644 index 0000000..c4d3caf --- /dev/null +++ b/doc/graphyx/actors/Stop$object.html @@ -0,0 +1,205 @@ + + + object Stop in graphyx.actors + + + + + + + + + + + +
+ graphyx.actors +

+ object Stop +

+
+ [source: graphyx/actors/Stop.scala] +

+
+
+ + case + object + Stop +
+
extends scala.Product
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
Method Summary
+ override def + + productArity + : Int + + +
+ override def + + productElement + (arg0 : Int) : Any + + +
+ override def + + productPrefix + : java.lang.String + + +
+ protected def + + readResolve + : AnyRef + + +
+ override final def + + toString + : java.lang.String + +
Returns a string representation of the object.
+
+ + +
+ Methods inherited from AnyRef +
+ getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + + +
Method Details
+
+ + override final + 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 + 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 +
+

+
+
+ + protected + def + readResolve : AnyRef +
+
+

+ + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/graphyx/graphics$content.html b/doc/graphyx/graphics$content.html new file mode 100644 index 0000000..b9d8189 --- /dev/null +++ b/doc/graphyx/graphics$content.html @@ -0,0 +1,332 @@ + + + All classes and objects in graphyx.graphics + + +
Simple Mechanics Simulator (SiMS) API

This document is the API specification for SiMS

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Class Summary
+ trait + + Drawable + extends AnyRef + +
Enthaelt Methoden und Felder fuer graphische Darstellungen. + Alle Klassen die dieses Trait implementieren koennen graphisch dargestellt werden.
+
+ case class + + GraphicalAABB + (val real : AABB) extends AABB with GraphicalObject + + +
+ case class + + GraphicalBody + (val real : Body) extends GraphicalObject with scala.Product + + +
+ case class + + GraphicalCircle + (val real : Circle) extends Circle with GraphicalShape + + +
+ case class + + GraphicalCollision + (val real : Collision) extends GraphicalObject with scala.Product + + +
+ case class + + GraphicalDistanceJoint + (val real : DistanceJoint) extends GraphicalJoint with scala.Product + + +
+ trait + + GraphicalJoint + extends GraphicalObject + + +
+ trait + + GraphicalObject + extends Drawable + +
Only copies functional info! (e.g. Graphical world does not include shapes, bodies).
+
+ case class + + GraphicalPair + (val real : Pair) extends GraphicalObject with scala.Product + + +
+ case class + + GraphicalRectangle + (val real : Rectangle) extends Rectangle with GraphicalShape + + +
+ case class + + GraphicalRegularPolygon + (val real : RegularPolygon) extends RegularPolygon with GraphicalShape + + +
+ case class + + GraphicalRevoluteJoint + (val real : RevoluteJoint) extends GraphicalJoint with scala.Product + + +
+ trait + + GraphicalShape + extends Shape with GraphicalObject + + +
+ case class + + GraphicalSpringJoint + (val real : SpringJoint) extends GraphicalJoint with scala.Product + + +
+ case class + + GraphicalWorld + (val real : World) extends scala.Product + + +
+ case class + + Scene + (val real : World) extends scala.Product + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Object Summary
+ object + + GraphicalAABB + extends (AABB) => GraphicalAABB + + +
+ object + + GraphicalBody + extends (Body) => GraphicalBody + + +
+ object + + GraphicalCircle + extends (Circle) => GraphicalCircle + + +
+ object + + GraphicalCollision + extends (Collision) => GraphicalCollision + + +
+ object + + GraphicalDistanceJoint + extends (DistanceJoint) => GraphicalDistanceJoint + + +
+ object + + GraphicalPair + extends (Pair) => GraphicalPair + + +
+ object + + GraphicalRectangle + extends (Rectangle) => GraphicalRectangle + + +
+ object + + GraphicalRegularPolygon + extends (RegularPolygon) => GraphicalRegularPolygon + + +
+ object + + GraphicalRevoluteJoint + extends (RevoluteJoint) => GraphicalRevoluteJoint + + +
+ object + + GraphicalSpringJoint + extends (SpringJoint) => GraphicalSpringJoint + + +
+ object + + GraphicalWorld + extends (World) => GraphicalWorld + + +
+ object + + Parser + extends AnyRef + + +
+ object + + Scene + extends (World) => Scene + + +
+ \ No newline at end of file diff --git a/doc/graphyx/graphics$package.html b/doc/graphyx/graphics$package.html new file mode 100644 index 0000000..94f5f77 --- /dev/null +++ b/doc/graphyx/graphics$package.html @@ -0,0 +1,43 @@ + + + List of classes and objects in package graphyx.graphics + + + + +
Classes
+
Objects
+ \ No newline at end of file diff --git a/doc/graphyx/graphics/Drawable.html b/doc/graphyx/graphics/Drawable.html new file mode 100644 index 0000000..f5e00fc --- /dev/null +++ b/doc/graphyx/graphics/Drawable.html @@ -0,0 +1,397 @@ + + + trait Drawable in graphyx.graphics + + + + + + + + + + + +
+ graphyx.graphics +

+ trait Drawable +

+
+ [source: graphyx/graphics/Drawable.scala] +

+
+
+ + + trait + Drawable +
+
extends AnyRef
+
+
Enthaelt Methoden und Felder fuer graphische Darstellungen. + Alle Klassen die dieses Trait implementieren koennen graphisch dargestellt werden.
+
+
+
Direct Known Subclasses:
+
GraphicalObject
+

+ + + + + + + + + + + + + + + + + + + + +
Value Summary
+ var + + g + : java.awt.Graphics + +
Java Graphics Objekt zur graphischen Darstellung
+
+ var + + ppm + : Double + +
Anzahl von Pixeln pro Meter.
+
+ var + + scale + : Double + +
Skala in der die graphischen Objekte gezeichnet werden.
+
+ var + + windowHeight + : Int + +
Hoehe des Fensters in Pixeln.
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method Summary
+ def + + correctY + (y : Double) : Double + +
Korrigiert einen Y-Wert in Bildschirmkoordinaten zu seinem kartesischen Aequivalent.
+
+ abstract def + + draw + : Unit + +
Stellt das graphische Objekt dar.
+
+ def + + drawCircle + (center : Vector2D, radius : Double) : Unit + +
Malt einen Kreis auf g.
+
+ def + + drawLine + (startPoint : Vector2D, endPoint : Vector2D) : Unit + +
Malt eine Linie auf g.
+
+ def + + drawPoint + (point : Vector2D) : Unit + +
Malt einen Punkt auf g.
+
+ def + + drawPolygon + (points : scala.Seq[Vector2D]) : Unit + +
Malt ein Polygon auf g.
+
+ def + + drawVector + (v : Vector2D, p : Vector2D) : Unit + +
Malt einen Vektor auf g.
+
+ def + + fillCircle + (center : Vector2D, radius : Double) : Unit + +
Malt einen massiven Kreis auf g.
+
+ def + + fillPolygon + (points : scala.Seq[Vector2D]) : Unit + +
Malt ein massives Polygon auf g.
+
+ + +
+ 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
+
+ + + var + g : java.awt.Graphics +
+
+
+
Java Graphics Objekt zur graphischen Darstellung
+
+
+
+
+ + + var + ppm : Double +
+
+
+
Anzahl von Pixeln pro Meter.
+
+
+
+
+ + + var + scale : Double +
+
+
+
Skala in der die graphischen Objekte gezeichnet werden.
+
+
+
+
+ + + var + windowHeight : Int +
+
+
+
Hoehe des Fensters in Pixeln.
+
+
+ + +
Method Details
+
+ + + def + correctY(y : Double) : Double +
+
+
+
Korrigiert einen Y-Wert in Bildschirmkoordinaten zu seinem kartesischen Aequivalent.
+
+ Parameters
y - zu korrigierender Wert
+
+
+
+ + + def + drawLine(startPoint : Vector2D, endPoint : Vector2D) : Unit +
+
+
+
Malt eine Linie auf g.
+
+ Parameters
startPoint - Startpunkt in Weltkoordinaten
endPoint - Endpunkt in Weltkoordinaten
+
+
+
+ + + def + fillPolygon(points : scala.Seq[Vector2D]) : Unit +
+
+
+
Malt ein massives Polygon auf g.
+
+ Parameters
points - Eckpunkte des Polygons in Weltkoordinaten
+
+
+
+ + + def + drawPolygon(points : scala.Seq[Vector2D]) : Unit +
+
+
+
Malt ein Polygon auf g.
+
+ Parameters
points - Eckpunkte des Polygons in Weltkoordinaten
+
+
+
+ + + def + fillCircle(center : Vector2D, radius : Double) : Unit +
+
+
+
Malt einen massiven Kreis auf g.
+
+ Parameters
center - Mitte des Kreises in Weltkoordinaten
radius - Radius des Kreises
+
+
+
+ + + def + drawCircle(center : Vector2D, radius : Double) : Unit +
+
+
+
Malt einen Kreis auf g.
+
+ Parameters
center - Mitte des Kreises in Weltkoordinaten
radius - Radius des Kreises
+
+
+
+ + + def + drawPoint(point : Vector2D) : Unit +
+
+
+
Malt einen Punkt auf g. +

+ Der Punkt wird von einem Kreis umgeben.

+
+ Parameters
point - Punkt in Weltkoordinaten
+
+
+
+ + + def + drawVector(v : Vector2D, p : Vector2D) : Unit +
+
+
+
Malt einen Vektor auf g.
+
+ Parameters
v - Vektor in Weltkoordinaten
p - Ursprungspunkt in Weltkoordinaten
+
+
+
+ + abstract + def + draw : Unit +
+
+
+
Stellt das graphische Objekt dar.
+
+
+ + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/graphyx/graphics/GraphicalAABB$object.html b/doc/graphyx/graphics/GraphicalAABB$object.html new file mode 100644 index 0000000..02225f7 --- /dev/null +++ b/doc/graphyx/graphics/GraphicalAABB$object.html @@ -0,0 +1,82 @@ + + + object GraphicalAABB in graphyx.graphics + + + + + + + + + + + +
+ graphyx.graphics +

+ object GraphicalAABB +

+
+ [source: graphyx/graphics/GraphicalAABB.scala] +

+
+
+ + + object + GraphicalAABB +
+
extends (AABB) => GraphicalAABB
+
+ + + + + + +
+ Methods inherited from scala.Function1 +
+ scala.Function1.toString, scala.Function1.compose, scala.Function1.andThen +
+ + +
+ 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/graphyx/graphics/GraphicalAABB.html b/doc/graphyx/graphics/GraphicalAABB.html new file mode 100644 index 0000000..6855bd7 --- /dev/null +++ b/doc/graphyx/graphics/GraphicalAABB.html @@ -0,0 +1,355 @@ + + + class GraphicalAABB in graphyx.graphics + + + + + + + + + + + +
+ graphyx.graphics +

+ class GraphicalAABB +

+
+ [source: graphyx/graphics/GraphicalAABB.scala] +

+
+
+ + case + class + GraphicalAABB(val real : AABB) +
+
extends AABB with GraphicalObject
+
+ + + + + +
+ Values and Variables inherited from Drawable +
+ g, ppm, scale, windowHeight +
+ + +
+ Values and Variables inherited from AABB +
+ minVertex, maxVertex +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method Summary
+ override def + + draw + : Unit + +
Stellt das graphische Objekt dar.
+
+ 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.
+
+ + +
+ Methods inherited from Drawable +
+ correctY, drawLine, fillPolygon, drawPolygon, fillCircle, drawCircle, drawPoint, drawVector +
+ + +
+ Methods inherited from AABB +
+ overlaps +
+ + +
+ Methods inherited from AnyRef +
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + + +
Method Details
+
+ + override + def + draw : Unit +
+
+
+
Stellt das graphische Objekt dar.
+
+
+
+ Overrides +
+
+ GraphicalObject.draw +
+

+
+
+ + 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.

+
+
+ Overrides +
+
+ AABB.hashCode +
+

+
+
+ + 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.

+
+
+ Overrides +
+
+ AABB.toString +
+

+
+
+ + 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.

+
+
+ Overrides +
+
+ AABB.equals +
+

+
+
+ + override + def + productPrefix : java.lang.String +
+
+
+
+ Overrides +
+
+ AABB.productPrefix +
+

+
+
+ + override + def + productArity : Int +
+
+
+
+ Overrides +
+
+ AABB.productArity +
+

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

+ + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/graphyx/graphics/GraphicalBody$object.html b/doc/graphyx/graphics/GraphicalBody$object.html new file mode 100644 index 0000000..cd8f5c8 --- /dev/null +++ b/doc/graphyx/graphics/GraphicalBody$object.html @@ -0,0 +1,82 @@ + + + object GraphicalBody in graphyx.graphics + + + + + + + + + + + +
+ graphyx.graphics +

+ object GraphicalBody +

+
+ [source: graphyx/graphics/GraphicalBody.scala] +

+
+
+ + + object + GraphicalBody +
+
extends (Body) => GraphicalBody
+
+ + + + + + +
+ Methods inherited from scala.Function1 +
+ scala.Function1.toString, scala.Function1.compose, scala.Function1.andThen +
+ + +
+ 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/graphyx/graphics/GraphicalBody.html b/doc/graphyx/graphics/GraphicalBody.html new file mode 100644 index 0000000..8b3c88d --- /dev/null +++ b/doc/graphyx/graphics/GraphicalBody.html @@ -0,0 +1,383 @@ + + + class GraphicalBody in graphyx.graphics + + + + + + + + + + + +
+ graphyx.graphics +

+ class GraphicalBody +

+
+ [source: graphyx/graphics/GraphicalBody.scala] +

+
+
+ + case + class + GraphicalBody(val real : Body) +
+
extends GraphicalObject with scala.Product
+
+ + + + + + + + + + + + + + + + +
Value Summary
+ val + + fixed + : Boolean + + +
+ val + + monitor + : Boolean + + +
+ val + + pos + : Vector2D + + +
+ + +
+ Values and Variables inherited from Drawable +
+ g, ppm, scale, windowHeight +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method Summary
+ def + + draw + : Unit + +
Stellt das graphische Objekt dar.
+
+ 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.
+
+ + +
+ Methods inherited from Drawable +
+ correctY, drawLine, fillPolygon, drawPolygon, fillCircle, drawCircle, drawPoint, drawVector +
+ + +
+ Methods inherited from AnyRef +
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + +
Value Details
+
+ + + val + pos : Vector2D +
+
+

+
+
+ + + val + fixed : Boolean +
+
+

+
+
+ + + val + monitor : Boolean +
+
+

+ + +
Method Details
+
+ + + def + draw : Unit +
+
+
+
Stellt das graphische Objekt dar.
+
+
+
+ Overrides +
+
+ GraphicalObject.draw +
+

+
+
+ + 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/graphyx/graphics/GraphicalCircle$object.html b/doc/graphyx/graphics/GraphicalCircle$object.html new file mode 100644 index 0000000..bdf676e --- /dev/null +++ b/doc/graphyx/graphics/GraphicalCircle$object.html @@ -0,0 +1,82 @@ + + + object GraphicalCircle in graphyx.graphics + + + + + + + + + + + +
+ graphyx.graphics +

+ object GraphicalCircle +

+
+ [source: graphyx/graphics/GraphicalCircle.scala] +

+
+
+ + + object + GraphicalCircle +
+
extends (Circle) => GraphicalCircle
+
+ + + + + + +
+ Methods inherited from scala.Function1 +
+ scala.Function1.toString, scala.Function1.compose, scala.Function1.andThen +
+ + +
+ 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/graphyx/graphics/GraphicalCircle.html b/doc/graphyx/graphics/GraphicalCircle.html new file mode 100644 index 0000000..1cf6174 --- /dev/null +++ b/doc/graphyx/graphics/GraphicalCircle.html @@ -0,0 +1,369 @@ + + + class GraphicalCircle in graphyx.graphics + + + + + + + + + + + +
+ graphyx.graphics +

+ class GraphicalCircle +

+
+ [source: graphyx/graphics/GraphicalCircle.scala] +

+
+
+ + case + class + GraphicalCircle(val real : Circle) +
+
extends Circle with GraphicalShape
+
+ + + + + +
+ Values and Variables inherited from GraphicalShape +
+ uid +
+ + +
+ Values and Variables inherited from Drawable +
+ g, ppm, scale, windowHeight +
+ + +
+ Values and Variables inherited from Circle +
+ radius, density, volume, I +
+ + +
+ Values and Variables inherited from Shape +
+ collidable, restitution, friction, pos, rotation, rotation0, refLocalPos, body, transientShapes +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method Summary
+ override def + + draw + : Unit + +
Stellt das graphische Objekt dar.
+
+ 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.
+
+ + +
+ Methods inherited from Drawable +
+ correctY, drawLine, fillPolygon, drawPolygon, fillCircle, drawCircle, drawPoint, drawVector +
+ + +
+ Methods inherited from Circle +
+ AABB, project, contains +
+ + +
+ Methods inherited from Shape +
+ mass, asBody, ^, ^ +
+ + +
+ Methods inherited from AnyRef +
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + + +
Method Details
+
+ + override + def + draw : Unit +
+
+
+
Stellt das graphische Objekt dar.
+
+
+
+
+ + 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.

+
+
+ Overrides +
+
+ Circle.hashCode +
+

+
+
+ + 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.

+
+
+ Overrides +
+
+ Circle.toString +
+

+
+
+ + 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.

+
+
+ Overrides +
+
+ Circle.equals +
+

+
+
+ + override + def + productPrefix : java.lang.String +
+
+
+
+ Overrides +
+
+ Circle.productPrefix +
+

+
+
+ + override + def + productArity : Int +
+
+
+
+ Overrides +
+
+ Circle.productArity +
+

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

+ + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/graphyx/graphics/GraphicalCollision$object.html b/doc/graphyx/graphics/GraphicalCollision$object.html new file mode 100644 index 0000000..6c382a1 --- /dev/null +++ b/doc/graphyx/graphics/GraphicalCollision$object.html @@ -0,0 +1,82 @@ + + + object GraphicalCollision in graphyx.graphics + + + + + + + + + + + +
+ graphyx.graphics +

+ object GraphicalCollision +

+
+ [source: graphyx/graphics/GraphicalCollision.scala] +

+
+
+ + + object + GraphicalCollision +
+
extends (Collision) => GraphicalCollision
+
+ + + + + + +
+ Methods inherited from scala.Function1 +
+ scala.Function1.toString, scala.Function1.compose, scala.Function1.andThen +
+ + +
+ 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/graphyx/graphics/GraphicalCollision.html b/doc/graphyx/graphics/GraphicalCollision.html new file mode 100644 index 0000000..4d8c1e9 --- /dev/null +++ b/doc/graphyx/graphics/GraphicalCollision.html @@ -0,0 +1,363 @@ + + + class GraphicalCollision in graphyx.graphics + + + + + + + + + + + +
+ graphyx.graphics +

+ class GraphicalCollision +

+
+ [source: graphyx/graphics/GraphicalCollision.scala] +

+
+
+ + case + class + GraphicalCollision(val real : Collision) +
+
extends GraphicalObject with scala.Product
+
+ + + + + + + + + + + + +
Value Summary
+ val + + normal + : Vector2D + + +
+ val + + points + : scala.Iterable[Vector2D] + + +
+ + +
+ Values and Variables inherited from Drawable +
+ g, ppm, scale, windowHeight +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method Summary
+ def + + draw + : Unit + +
Stellt das graphische Objekt dar.
+
+ 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.
+
+ + +
+ Methods inherited from Drawable +
+ correctY, drawLine, fillPolygon, drawPolygon, fillCircle, drawCircle, drawPoint, drawVector +
+ + +
+ Methods inherited from AnyRef +
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + +
Value Details
+
+ + + val + points : scala.Iterable[Vector2D] +
+
+

+
+
+ + + val + normal : Vector2D +
+
+

+ + +
Method Details
+
+ + + def + draw : Unit +
+
+
+
Stellt das graphische Objekt dar.
+
+
+
+ Overrides +
+
+ GraphicalObject.draw +
+

+
+
+ + 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/graphyx/graphics/GraphicalDistanceJoint$object.html b/doc/graphyx/graphics/GraphicalDistanceJoint$object.html new file mode 100644 index 0000000..709089b --- /dev/null +++ b/doc/graphyx/graphics/GraphicalDistanceJoint$object.html @@ -0,0 +1,82 @@ + + + object GraphicalDistanceJoint in graphyx.graphics + + + + + + + + + + + +
+ graphyx.graphics +

+ object GraphicalDistanceJoint +

+
+ [source: graphyx/graphics/GraphicalDistanceJoint.scala] +

+
+
+ + + object + GraphicalDistanceJoint +
+
extends (DistanceJoint) => GraphicalDistanceJoint
+
+ + + + + + +
+ Methods inherited from scala.Function1 +
+ scala.Function1.toString, scala.Function1.compose, scala.Function1.andThen +
+ + +
+ 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/graphyx/graphics/GraphicalDistanceJoint.html b/doc/graphyx/graphics/GraphicalDistanceJoint.html new file mode 100644 index 0000000..bb001e3 --- /dev/null +++ b/doc/graphyx/graphics/GraphicalDistanceJoint.html @@ -0,0 +1,356 @@ + + + class GraphicalDistanceJoint in graphyx.graphics + + + + + + + + + + + +
+ graphyx.graphics +

+ class GraphicalDistanceJoint +

+
+ [source: graphyx/graphics/GraphicalDistanceJoint.scala] +

+
+
+ + case + class + GraphicalDistanceJoint(val real : DistanceJoint) +
+
extends GraphicalJoint with scala.Product
+
+ + + + + + + + + + + + +
Value Summary
+ val + + connection1 + : Vector2D + + +
+ val + + connection2 + : Vector2D + + +
+ + +
+ Values and Variables inherited from Drawable +
+ g, ppm, scale, windowHeight +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method Summary
+ def + + draw + : Unit + +
Stellt das graphische Objekt dar.
+
+ 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.
+
+ + +
+ Methods inherited from Drawable +
+ correctY, drawLine, fillPolygon, drawPolygon, fillCircle, drawCircle, drawPoint, drawVector +
+ + +
+ Methods inherited from AnyRef +
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + +
Value Details
+
+ + + val + connection1 : Vector2D +
+
+

+
+
+ + + val + connection2 : Vector2D +
+
+

+ + +
Method Details
+
+ + + def + draw : Unit +
+
+
+
Stellt das graphische Objekt dar.
+
+
+
+
+ + 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/graphyx/graphics/GraphicalJoint.html b/doc/graphyx/graphics/GraphicalJoint.html new file mode 100644 index 0000000..69c1c32 --- /dev/null +++ b/doc/graphyx/graphics/GraphicalJoint.html @@ -0,0 +1,132 @@ + + + trait GraphicalJoint in graphyx.graphics + + + + + + + + + + + +
+ graphyx.graphics +

+ trait GraphicalJoint +

+
+ [source: graphyx/graphics/GraphicalJoint.scala] +

+
+
+ + + trait + GraphicalJoint +
+
extends GraphicalObject
+
+
Direct Known Subclasses:
+
GraphicalDistanceJoint, GraphicalRevoluteJoint, GraphicalSpringJoint
+

+ + + + + + + + +
Value Summary
+ abstract val + + real + : Joint + +
Pointer to real object.
+
+ + +
+ Values and Variables inherited from Drawable +
+ g, ppm, scale, windowHeight +
+ + + +
+ Methods inherited from Drawable +
+ correctY, drawLine, fillPolygon, drawPolygon, fillCircle, drawCircle, drawPoint, drawVector +
+ + +
+ Methods inherited from AnyRef +
+ getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + +
+ Methods inherited from GraphicalObject +
+ draw (abstract) +
+ + + + + + +
Value Details
+
+ + abstract + val + real : Joint +
+
+
+
Pointer to real object.
+
+
+
+ Overrides +
+
+ GraphicalObject.real +
+

+ + + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/graphyx/graphics/GraphicalObject.html b/doc/graphyx/graphics/GraphicalObject.html new file mode 100644 index 0000000..4add644 --- /dev/null +++ b/doc/graphyx/graphics/GraphicalObject.html @@ -0,0 +1,154 @@ + + + trait GraphicalObject in graphyx.graphics + + + + + + + + + + + +
+ graphyx.graphics +

+ trait GraphicalObject +

+
+ [source: graphyx/graphics/GraphicalObject.scala] +

+
+
+ + + trait + GraphicalObject +
+
extends Drawable
+
+
Only copies functional info! (e.g. Graphical world does not include shapes, bodies).
+
+
+
Direct Known Subclasses:
+
GraphicalAABB, GraphicalBody, GraphicalCollision, GraphicalJoint, GraphicalPair, GraphicalShape
+

+ + + + + + + + +
Value Summary
+ abstract val + + real + : AnyRef + +
Pointer to real object.
+
+ + +
+ Values and Variables inherited from Drawable +
+ g, ppm, scale, windowHeight +
+ + + + + + +
Method Summary
+ abstract def + + draw + : Unit + +
Stellt das graphische Objekt dar.
+
+ + +
+ Methods inherited from Drawable +
+ correctY, drawLine, fillPolygon, drawPolygon, fillCircle, drawCircle, drawPoint, drawVector +
+ + +
+ 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
+
+ + abstract + val + real : AnyRef +
+
+
+
Pointer to real object.
+
+
+ + +
Method Details
+
+ + abstract + def + draw : Unit +
+
+
+
Stellt das graphische Objekt dar.
+
+
+
+ Overrides +
+
+ Drawable.draw +
+

+ + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/graphyx/graphics/GraphicalPair$object.html b/doc/graphyx/graphics/GraphicalPair$object.html new file mode 100644 index 0000000..7b37b60 --- /dev/null +++ b/doc/graphyx/graphics/GraphicalPair$object.html @@ -0,0 +1,82 @@ + + + object GraphicalPair in graphyx.graphics + + + + + + + + + + + +
+ graphyx.graphics +

+ object GraphicalPair +

+
+ [source: graphyx/graphics/GraphicalPair.scala] +

+
+
+ + + object + GraphicalPair +
+
extends (Pair) => GraphicalPair
+
+ + + + + + +
+ Methods inherited from scala.Function1 +
+ scala.Function1.toString, scala.Function1.compose, scala.Function1.andThen +
+ + +
+ 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/graphyx/graphics/GraphicalPair.html b/doc/graphyx/graphics/GraphicalPair.html new file mode 100644 index 0000000..27ad098 --- /dev/null +++ b/doc/graphyx/graphics/GraphicalPair.html @@ -0,0 +1,363 @@ + + + class GraphicalPair in graphyx.graphics + + + + + + + + + + + +
+ graphyx.graphics +

+ class GraphicalPair +

+
+ [source: graphyx/graphics/GraphicalPair.scala] +

+
+
+ + case + class + GraphicalPair(val real : Pair) +
+
extends GraphicalObject with scala.Product
+
+ + + + + + + + + + + + +
Value Summary
+ val + + pos1 + : Vector2D + + +
+ val + + pos2 + : Vector2D + + +
+ + +
+ Values and Variables inherited from Drawable +
+ g, ppm, scale, windowHeight +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method Summary
+ def + + draw + : Unit + +
Stellt das graphische Objekt dar.
+
+ 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.
+
+ + +
+ Methods inherited from Drawable +
+ correctY, drawLine, fillPolygon, drawPolygon, fillCircle, drawCircle, drawPoint, drawVector +
+ + +
+ Methods inherited from AnyRef +
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + +
Value Details
+
+ + + val + pos1 : Vector2D +
+
+

+
+
+ + + val + pos2 : Vector2D +
+
+

+ + +
Method Details
+
+ + + def + draw : Unit +
+
+
+
Stellt das graphische Objekt dar.
+
+
+
+ Overrides +
+
+ GraphicalObject.draw +
+

+
+
+ + 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/graphyx/graphics/GraphicalRectangle$object.html b/doc/graphyx/graphics/GraphicalRectangle$object.html new file mode 100644 index 0000000..cb18cac --- /dev/null +++ b/doc/graphyx/graphics/GraphicalRectangle$object.html @@ -0,0 +1,82 @@ + + + object GraphicalRectangle in graphyx.graphics + + + + + + + + + + + +
+ graphyx.graphics +

+ object GraphicalRectangle +

+
+ [source: graphyx/graphics/GraphicalRectangle.scala] +

+
+
+ + + object + GraphicalRectangle +
+
extends (Rectangle) => GraphicalRectangle
+
+ + + + + + +
+ Methods inherited from scala.Function1 +
+ scala.Function1.toString, scala.Function1.compose, scala.Function1.andThen +
+ + +
+ 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/graphyx/graphics/GraphicalRectangle.html b/doc/graphyx/graphics/GraphicalRectangle.html new file mode 100644 index 0000000..264601b --- /dev/null +++ b/doc/graphyx/graphics/GraphicalRectangle.html @@ -0,0 +1,376 @@ + + + class GraphicalRectangle in graphyx.graphics + + + + + + + + + + + +
+ graphyx.graphics +

+ class GraphicalRectangle +

+
+ [source: graphyx/graphics/GraphicalRectangle.scala] +

+
+
+ + case + class + GraphicalRectangle(val real : Rectangle) +
+
extends Rectangle with GraphicalShape
+
+ + + + + +
+ Values and Variables inherited from GraphicalShape +
+ uid +
+ + +
+ Values and Variables inherited from Drawable +
+ g, ppm, scale, windowHeight +
+ + +
+ Values and Variables inherited from Rectangle +
+ halfWidth, halfHeight, density, volume, I +
+ + +
+ Values and Variables inherited from Shape +
+ collidable, restitution, friction, pos, rotation, rotation0, refLocalPos, body, transientShapes +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method Summary
+ override def + + draw + : Unit + +
Stellt das graphische Objekt dar.
+
+ 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.
+
+ + +
+ Methods inherited from Drawable +
+ correctY, drawLine, fillPolygon, drawPolygon, fillCircle, drawCircle, drawPoint, drawVector +
+ + +
+ Methods inherited from Rectangle +
+ halfDiags, vertices +
+ + +
+ Methods inherited from ConvexPolygon +
+ sides, project, AABB, contains +
+ + +
+ Methods inherited from Shape +
+ mass, asBody, ^, ^ +
+ + +
+ Methods inherited from AnyRef +
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + + +
Method Details
+
+ + override + def + draw : Unit +
+
+
+
Stellt das graphische Objekt dar.
+
+
+
+
+ + 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.

+
+
+ Overrides +
+
+ Rectangle.hashCode +
+

+
+
+ + 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.

+
+
+ Overrides +
+
+ Rectangle.toString +
+

+
+
+ + 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.

+
+
+ Overrides +
+
+ Rectangle.equals +
+

+
+
+ + override + def + productPrefix : java.lang.String +
+
+
+
+ Overrides +
+
+ Rectangle.productPrefix +
+

+
+
+ + override + def + productArity : Int +
+
+
+
+ Overrides +
+
+ Rectangle.productArity +
+

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

+ + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/graphyx/graphics/GraphicalRegularPolygon$object.html b/doc/graphyx/graphics/GraphicalRegularPolygon$object.html new file mode 100644 index 0000000..65d69bc --- /dev/null +++ b/doc/graphyx/graphics/GraphicalRegularPolygon$object.html @@ -0,0 +1,82 @@ + + + object GraphicalRegularPolygon in graphyx.graphics + + + + + + + + + + + +
+ graphyx.graphics +

+ object GraphicalRegularPolygon +

+
+ [source: graphyx/graphics/GraphicalRegularPolygon.scala] +

+
+
+ + + object + GraphicalRegularPolygon +
+
extends (RegularPolygon) => GraphicalRegularPolygon
+
+ + + + + + +
+ Methods inherited from scala.Function1 +
+ scala.Function1.toString, scala.Function1.compose, scala.Function1.andThen +
+ + +
+ 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/graphyx/graphics/GraphicalRegularPolygon.html b/doc/graphyx/graphics/GraphicalRegularPolygon.html new file mode 100644 index 0000000..a86cedf --- /dev/null +++ b/doc/graphyx/graphics/GraphicalRegularPolygon.html @@ -0,0 +1,376 @@ + + + class GraphicalRegularPolygon in graphyx.graphics + + + + + + + + + + + +
+ graphyx.graphics +

+ class GraphicalRegularPolygon +

+
+ [source: graphyx/graphics/GraphicalRegularPolygon.scala] +

+
+
+ + case + class + GraphicalRegularPolygon(val real : RegularPolygon) +
+
extends RegularPolygon with GraphicalShape
+
+ + + + + +
+ Values and Variables inherited from GraphicalShape +
+ uid +
+ + +
+ Values and Variables inherited from Drawable +
+ g, ppm, scale, windowHeight +
+ + +
+ Values and Variables inherited from RegularPolygon +
+ n, radius, density, volume, I +
+ + +
+ Values and Variables inherited from Shape +
+ collidable, restitution, friction, pos, rotation, rotation0, refLocalPos, body, transientShapes +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method Summary
+ override def + + draw + : Unit + +
Stellt das graphische Objekt dar.
+
+ 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.
+
+ + +
+ Methods inherited from Drawable +
+ correctY, drawLine, fillPolygon, drawPolygon, fillCircle, drawCircle, drawPoint, drawVector +
+ + +
+ Methods inherited from RegularPolygon +
+ halfDiags, vertices +
+ + +
+ Methods inherited from ConvexPolygon +
+ sides, project, AABB, contains +
+ + +
+ Methods inherited from Shape +
+ mass, asBody, ^, ^ +
+ + +
+ Methods inherited from AnyRef +
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + + +
Method Details
+
+ + override + def + draw : Unit +
+
+
+
Stellt das graphische Objekt dar.
+
+
+
+
+ + 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.

+
+
+ Overrides +
+
+ RegularPolygon.hashCode +
+

+
+
+ + 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.

+
+
+ Overrides +
+
+ RegularPolygon.toString +
+

+
+
+ + 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.

+
+
+ Overrides +
+
+ RegularPolygon.equals +
+

+
+
+ + override + def + productPrefix : java.lang.String +
+
+
+
+ Overrides +
+
+ RegularPolygon.productPrefix +
+

+
+
+ + override + def + productArity : Int +
+
+
+
+ Overrides +
+
+ RegularPolygon.productArity +
+

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

+ + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/graphyx/graphics/GraphicalRevoluteJoint$object.html b/doc/graphyx/graphics/GraphicalRevoluteJoint$object.html new file mode 100644 index 0000000..ad110a2 --- /dev/null +++ b/doc/graphyx/graphics/GraphicalRevoluteJoint$object.html @@ -0,0 +1,82 @@ + + + object GraphicalRevoluteJoint in graphyx.graphics + + + + + + + + + + + +
+ graphyx.graphics +

+ object GraphicalRevoluteJoint +

+
+ [source: graphyx/graphics/GraphicalRevoluteJoint.scala] +

+
+
+ + + object + GraphicalRevoluteJoint +
+
extends (RevoluteJoint) => GraphicalRevoluteJoint
+
+ + + + + + +
+ Methods inherited from scala.Function1 +
+ scala.Function1.toString, scala.Function1.compose, scala.Function1.andThen +
+ + +
+ 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/graphyx/graphics/GraphicalRevoluteJoint.html b/doc/graphyx/graphics/GraphicalRevoluteJoint.html new file mode 100644 index 0000000..3d0ab61 --- /dev/null +++ b/doc/graphyx/graphics/GraphicalRevoluteJoint.html @@ -0,0 +1,336 @@ + + + class GraphicalRevoluteJoint in graphyx.graphics + + + + + + + + + + + +
+ graphyx.graphics +

+ class GraphicalRevoluteJoint +

+
+ [source: graphyx/graphics/GraphicalRevoluteJoint.scala] +

+
+
+ + case + class + GraphicalRevoluteJoint(val real : RevoluteJoint) +
+
extends GraphicalJoint with scala.Product
+
+ + + + + + + + +
Value Summary
+ val + + connection1 + : Vector2D + + +
+ + +
+ Values and Variables inherited from Drawable +
+ g, ppm, scale, windowHeight +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method Summary
+ def + + draw + : Unit + +
Stellt das graphische Objekt dar.
+
+ 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.
+
+ + +
+ Methods inherited from Drawable +
+ correctY, drawLine, fillPolygon, drawPolygon, fillCircle, drawCircle, drawPoint, drawVector +
+ + +
+ Methods inherited from AnyRef +
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + +
Value Details
+
+ + + val + connection1 : Vector2D +
+
+

+ + +
Method Details
+
+ + + def + draw : Unit +
+
+
+
Stellt das graphische Objekt dar.
+
+
+
+
+ + 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/graphyx/graphics/GraphicalShape.html b/doc/graphyx/graphics/GraphicalShape.html new file mode 100644 index 0000000..5f45529 --- /dev/null +++ b/doc/graphyx/graphics/GraphicalShape.html @@ -0,0 +1,176 @@ + + + trait GraphicalShape in graphyx.graphics + + + + + + + + + + + +
+ graphyx.graphics +

+ trait GraphicalShape +

+
+ [source: graphyx/graphics/GraphicalShape.scala] +

+
+
+ + + trait + GraphicalShape +
+
extends Shape with GraphicalObject
+
+
Direct Known Subclasses:
+
GraphicalCircle, GraphicalRectangle, GraphicalRegularPolygon
+

+ + + + + + + + + + + + +
Value Summary
+ abstract val + + real + : Shape + +
Pointer to real object.
+
+ override val + + uid + : Int + +
Einzigartige Identifikationsnummer.
+
+ + +
+ Values and Variables inherited from Drawable +
+ g, ppm, scale, windowHeight +
+ + +
+ Values and Variables inherited from Shape +
+ density (abstract), volume (abstract), I (abstract), collidable, restitution, friction, pos, rotation, rotation0, refLocalPos, body, transientShapes +
+ + + +
+ Methods inherited from Drawable +
+ correctY, drawLine, fillPolygon, drawPolygon, fillCircle, drawCircle, drawPoint, drawVector +
+ + +
+ Methods inherited from Shape +
+ AABB (abstract), project (abstract), contains (abstract), mass, asBody, ^, ^ +
+ + +
+ Methods inherited from AnyRef +
+ getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + +
+ Methods inherited from GraphicalObject +
+ draw (abstract) +
+ + + + + + +
Value Details
+
+ + abstract + val + real : Shape +
+
+
+
Pointer to real object.
+
+
+
+ Overrides +
+
+ GraphicalObject.real +
+

+
+
+ + override + val + uid : Int +
+
+
+
Einzigartige Identifikationsnummer.
+
+
+
+ Overrides +
+
+ Shape.uid +
+

+ + + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/graphyx/graphics/GraphicalSpringJoint$object.html b/doc/graphyx/graphics/GraphicalSpringJoint$object.html new file mode 100644 index 0000000..0c4853f --- /dev/null +++ b/doc/graphyx/graphics/GraphicalSpringJoint$object.html @@ -0,0 +1,82 @@ + + + object GraphicalSpringJoint in graphyx.graphics + + + + + + + + + + + +
+ graphyx.graphics +

+ object GraphicalSpringJoint +

+
+ [source: graphyx/graphics/GraphicalSpringJoint.scala] +

+
+
+ + + object + GraphicalSpringJoint +
+
extends (SpringJoint) => GraphicalSpringJoint
+
+ + + + + + +
+ Methods inherited from scala.Function1 +
+ scala.Function1.toString, scala.Function1.compose, scala.Function1.andThen +
+ + +
+ 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/graphyx/graphics/GraphicalSpringJoint.html b/doc/graphyx/graphics/GraphicalSpringJoint.html new file mode 100644 index 0000000..5cf80cf --- /dev/null +++ b/doc/graphyx/graphics/GraphicalSpringJoint.html @@ -0,0 +1,356 @@ + + + class GraphicalSpringJoint in graphyx.graphics + + + + + + + + + + + +
+ graphyx.graphics +

+ class GraphicalSpringJoint +

+
+ [source: graphyx/graphics/GraphicalSpringJoint.scala] +

+
+
+ + case + class + GraphicalSpringJoint(val real : SpringJoint) +
+
extends GraphicalJoint with scala.Product
+
+ + + + + + + + + + + + +
Value Summary
+ val + + connection1 + : Vector2D + + +
+ val + + connection2 + : Vector2D + + +
+ + +
+ Values and Variables inherited from Drawable +
+ g, ppm, scale, windowHeight +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method Summary
+ def + + draw + : Unit + +
Stellt das graphische Objekt dar.
+
+ 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.
+
+ + +
+ Methods inherited from Drawable +
+ correctY, drawLine, fillPolygon, drawPolygon, fillCircle, drawCircle, drawPoint, drawVector +
+ + +
+ Methods inherited from AnyRef +
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + +
Value Details
+
+ + + val + connection1 : Vector2D +
+
+

+
+
+ + + val + connection2 : Vector2D +
+
+

+ + +
Method Details
+
+ + + def + draw : Unit +
+
+
+
Stellt das graphische Objekt dar.
+
+
+
+
+ + 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/graphyx/graphics/GraphicalWorld$object.html b/doc/graphyx/graphics/GraphicalWorld$object.html new file mode 100644 index 0000000..2b29226 --- /dev/null +++ b/doc/graphyx/graphics/GraphicalWorld$object.html @@ -0,0 +1,82 @@ + + + object GraphicalWorld in graphyx.graphics + + + + + + + + + + + +
+ graphyx.graphics +

+ object GraphicalWorld +

+
+ [source: graphyx/graphics/GraphicalWorld.scala] +

+
+
+ + + object + GraphicalWorld +
+
extends (World) => GraphicalWorld
+
+ + + + + + +
+ Methods inherited from scala.Function1 +
+ scala.Function1.toString, scala.Function1.compose, scala.Function1.andThen +
+ + +
+ 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/graphyx/graphics/GraphicalWorld.html b/doc/graphyx/graphics/GraphicalWorld.html new file mode 100644 index 0000000..d04da4e --- /dev/null +++ b/doc/graphyx/graphics/GraphicalWorld.html @@ -0,0 +1,439 @@ + + + class GraphicalWorld in graphyx.graphics + + + + + + + + + + + +
+ graphyx.graphics +

+ class GraphicalWorld +

+
+ [source: graphyx/graphics/GraphicalWorld.scala] +

+
+
+ + case + class + GraphicalWorld(val real : World) +
+
extends scala.Product
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Value Summary
+ val + + enableCollisionDetection + : Boolean + + +
+ val + + enablePositionCorrection + : Boolean + + +
+ val + + gravity + : Vector2D + + +
+ val + + iterations + : Int + + +
+ val + + monitorResults + : scala.Seq[java.lang.String] + + +
+ val + + overCWarning + : Boolean + + +
+ val + + time + : Double + + +
+ val + + timeStep + : Double + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Method Summary
+ 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.
+
+ + +
+ Methods inherited from AnyRef +
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + +
Value Details
+
+ + + val + time : Double +
+
+

+
+
+ + + val + timeStep : Double +
+
+

+
+
+ + + val + iterations : Int +
+
+

+
+
+ + + val + overCWarning : Boolean +
+
+

+
+
+ + + val + gravity : Vector2D +
+
+

+
+
+ + + val + monitorResults : scala.Seq[java.lang.String] +
+
+

+
+
+ + + val + enableCollisionDetection : Boolean +
+
+

+
+
+ + + val + enablePositionCorrection : Boolean +
+
+

+ + +
Method Details
+
+ + 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/graphyx/graphics/Parser$object.html b/doc/graphyx/graphics/Parser$object.html new file mode 100644 index 0000000..ae47866 --- /dev/null +++ b/doc/graphyx/graphics/Parser$object.html @@ -0,0 +1,221 @@ + + + object Parser in graphyx.graphics + + + + + + + + + + + +
+ graphyx.graphics +

+ object Parser +

+
+ [source: graphyx/graphics/Parser.scala] +

+
+
+ + + object + Parser +
+
extends AnyRef
+
+ + + + + + + + +
Value Summary
+ val + + throwOnUnknown + : Boolean + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Method Summary
+ def + + toGraphical + (real : AABB) : GraphicalAABB + + +
+ def + + toGraphical + (real : Pair) : GraphicalPair + + +
+ def + + toGraphical + (real : Shape) : GraphicalShape with scala.Product + + +
+ def + + toGraphical + (real : Joint) : GraphicalJoint with scala.Product + + +
+ def + + toGraphical + (real : Collision) : GraphicalCollision + + +
+ def + + toGraphical + (real : Body) : GraphicalBody + + +
+ + +
+ 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 + throwOnUnknown : Boolean +
+
+

+ + +
Method Details
+
+ + + def + toGraphical(real : Shape) : GraphicalShape with scala.Product +
+
+

+
+
+ + + def + toGraphical(real : Joint) : GraphicalJoint with scala.Product +
+
+

+
+
+ + + def + toGraphical(real : Collision) : GraphicalCollision +
+
+

+
+
+ + + def + toGraphical(real : Pair) : GraphicalPair +
+
+

+
+
+ + + def + toGraphical(real : AABB) : GraphicalAABB +
+
+

+
+
+ + + def + toGraphical(real : Body) : GraphicalBody +
+
+

+ + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/graphyx/graphics/Scene$object.html b/doc/graphyx/graphics/Scene$object.html new file mode 100644 index 0000000..e884f9f --- /dev/null +++ b/doc/graphyx/graphics/Scene$object.html @@ -0,0 +1,82 @@ + + + object Scene in graphyx.graphics + + + + + + + + + + + +
+ graphyx.graphics +

+ object Scene +

+
+ [source: graphyx/graphics/Scene.scala] +

+
+
+ + + object + Scene +
+
extends (World) => Scene
+
+ + + + + + +
+ Methods inherited from scala.Function1 +
+ scala.Function1.toString, scala.Function1.compose, scala.Function1.andThen +
+ + +
+ 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/graphyx/graphics/Scene.html b/doc/graphyx/graphics/Scene.html new file mode 100644 index 0000000..06bbfe1 --- /dev/null +++ b/doc/graphyx/graphics/Scene.html @@ -0,0 +1,439 @@ + + + class Scene in graphyx.graphics + + + + + + + + + + + +
+ graphyx.graphics +

+ class Scene +

+
+ [source: graphyx/graphics/Scene.scala] +

+
+
+ + case + class + Scene(val real : World) +
+
extends scala.Product
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Value Summary
+ val + + aabbs + : scala.Seq[GraphicalAABB] + + +
+ val + + bodies + : scala.Seq[GraphicalBody] + + +
+ val + + collisions + : scala.Seq[GraphicalCollision] + + +
+ val + + fps + : Int + + +
+ val + + joints + : scala.Seq[GraphicalJoint with scala.Product] + + +
+ val + + pairs + : scala.Seq[GraphicalPair] + + +
+ val + + shapes + : scala.Seq[GraphicalShape with scala.Product] + + +
+ val + + world + : GraphicalWorld + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Method Summary
+ 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.
+
+ + +
+ Methods inherited from AnyRef +
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + +
Value Details
+
+ + + val + world : GraphicalWorld +
+
+

+
+
+ + + val + shapes : scala.Seq[GraphicalShape with scala.Product] +
+
+

+
+
+ + + val + joints : scala.Seq[GraphicalJoint with scala.Product] +
+
+

+
+
+ + + val + bodies : scala.Seq[GraphicalBody] +
+
+

+
+
+ + + val + collisions : scala.Seq[GraphicalCollision] +
+
+

+
+
+ + + val + pairs : scala.Seq[GraphicalPair] +
+
+

+
+
+ + + val + aabbs : scala.Seq[GraphicalAABB] +
+
+

+
+
+ + + val + fps : Int +
+
+

+ + +
Method Details
+
+ + 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/graphyx/gui$content.html b/doc/graphyx/gui$content.html new file mode 100644 index 0000000..b402d3b --- /dev/null +++ b/doc/graphyx/gui$content.html @@ -0,0 +1,142 @@ + + + All classes and objects in graphyx.gui + + +
Simple Mechanics Simulator (SiMS) API

This document is the API specification for SiMS

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Class Summary
+ class + + BodyPopup + extends PopupMenu + + +
+ class + + Container + extends AnyRef + + +
+ class + + ControlPanel + (container : Container) extends scala.swing.BoxPanel + + +
+ class + + GrabbedBody + (b : Body, point : Vector2D) extends AnyRef + + +
+ class + + GravityPanel + (container : Container) extends scala.swing.GridBagPanel + + +
+ class + + InfoPanel + (container : Container) extends scala.swing.BoxPanel + + +
+ class + + MainFrame + (container : Container) extends scala.swing.Frame + + +
+ class + + MainPanel + (container : Container) extends scala.swing.GridBagPanel + + +
+ class + + OptionsPanel + (container : Container) extends scala.swing.GridPanel + + +
+ class + + PopupMenu + extends scala.swing.Component + + +
+ class + + ShapeInfoPanel + (container : Container) extends scala.swing.GridPanel + + +
+ class + + WorldPanel + (container : Container) extends scala.swing.BoxPanel + + +
+ + \ No newline at end of file diff --git a/doc/graphyx/gui$package.html b/doc/graphyx/gui$package.html new file mode 100644 index 0000000..d822a38 --- /dev/null +++ b/doc/graphyx/gui$package.html @@ -0,0 +1,25 @@ + + + List of classes and objects in package graphyx.gui + + + + +
Classes
+
+ \ No newline at end of file diff --git a/doc/graphyx/gui/BodyPopup.html b/doc/graphyx/gui/BodyPopup.html new file mode 100644 index 0000000..d8fb284 --- /dev/null +++ b/doc/graphyx/gui/BodyPopup.html @@ -0,0 +1,251 @@ + + + class BodyPopup in graphyx.gui + + + + + + + + + + + +
+ graphyx.gui +

+ class BodyPopup +

+
+ [source: graphyx/gui/BodyPopup.scala] +

+
+
+ + + class + BodyPopup +
+
extends PopupMenu
+
+ + + + + + + + + + + + + + + + +
Value Summary
+ val + + btnClose + : scala.swing.MenuItem + + +
+ val + + chckFixed + : scala.swing.CheckMenuItem + + +
+ val + + chckMonitor + : scala.swing.CheckMenuItem + + +
+ + +
+ Values and Variables inherited from PopupMenu +
+ peer +
+ + +
+ Values and Variables inherited from scala.swing.Component +
+ scala.swing.Component.initP +
+ + +
+ Values and Variables inherited from scala.swing.Publisher +
+ scala.swing.Publisher.listeners +
+ + +
+ Values and Variables inherited from scala.swing.Reactor +
+ scala.swing.Reactor.reactions +
+ + + + + + + + + + +
Method Summary
+ def + + body + : Body + + +
+ def + + body_= + (newBody : Body) : Unit + + +
+ + +
+ Methods inherited from PopupMenu +
+ add, setVisible +
+ + +
+ Methods inherited from scala.swing.Component +
+ scala.swing.Component.xLayoutAlignment, scala.swing.Component.xLayoutAlignment_=, scala.swing.Component.yLayoutAlignment, scala.swing.Component.yLayoutAlignment_=, scala.swing.Component.border, scala.swing.Component.border_=, scala.swing.Component.opaque, scala.swing.Component.opaque_=, scala.swing.Component.enabled, scala.swing.Component.enabled_=, scala.swing.Component.tooltip, scala.swing.Component.tooltip_=, scala.swing.Component.inputVerifier, scala.swing.Component.inputVerifier_=, scala.swing.Component.revalidate, scala.swing.Component.requestFocus, scala.swing.Component.paintComponent, scala.swing.Component.paint, scala.swing.Component.toString +
+ + +
+ Methods inherited from scala.swing.Publisher +
+ scala.swing.Publisher.subscribe, scala.swing.Publisher.unsubscribe, scala.swing.Publisher.publish +
+ + +
+ Methods inherited from scala.swing.Reactor +
+ scala.swing.Reactor.listenTo, scala.swing.Reactor.deafTo +
+ + +
+ Methods inherited from scala.swing.UIElement +
+ scala.swing.UIElement.self, scala.swing.UIElement.foreground, scala.swing.UIElement.foreground_=, scala.swing.UIElement.background, scala.swing.UIElement.background_=, scala.swing.UIElement.minimumSize, scala.swing.UIElement.minimumSize_=, scala.swing.UIElement.maximumSize, scala.swing.UIElement.maximumSize_=, scala.swing.UIElement.preferredSize, scala.swing.UIElement.preferredSize_=, scala.swing.UIElement.preferredSize_=, scala.swing.UIElement.font, scala.swing.UIElement.font_=, scala.swing.UIElement.locationOnScreen, scala.swing.UIElement.location, scala.swing.UIElement.bounds, scala.swing.UIElement.size, scala.swing.UIElement.size_=, scala.swing.UIElement.size_=, scala.swing.UIElement.locale, scala.swing.UIElement.toolkit, scala.swing.UIElement.cursor, scala.swing.UIElement.cursor_=, scala.swing.UIElement.visible, scala.swing.UIElement.visible_=, scala.swing.UIElement.showing, scala.swing.UIElement.repaint +
+ + +
+ Methods inherited from scala.Proxy +
+ scala.Proxy.hashCode, scala.Proxy.equals +
+ + +
+ Methods inherited from AnyRef +
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + +
Value Details
+
+ + + val + chckMonitor : scala.swing.CheckMenuItem +
+
+

+
+
+ + + val + chckFixed : scala.swing.CheckMenuItem +
+
+

+
+
+ + + val + btnClose : scala.swing.MenuItem +
+
+

+ + +
Method Details
+
+ + + def + body : Body +
+
+

+
+
+ + + def + body_=(newBody : Body) : Unit +
+
+

+ + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/graphyx/gui/Container.html b/doc/graphyx/gui/Container.html new file mode 100644 index 0000000..aeb0e25 --- /dev/null +++ b/doc/graphyx/gui/Container.html @@ -0,0 +1,181 @@ + + + class Container in graphyx.gui + + + + + + + + + + + +
+ graphyx.gui +

+ class Container +

+
+ [source: graphyx/gui/Container.scala] +

+
+
+ + + class + Container +
+
extends AnyRef
+
+ + + + + + + + + + + + +
Value Summary
+ val + + mainFrame + : MainFrame + + +
+ var + + scene + : Scene + + +
+ + + + + + + + + + + + + + +
Method Summary
+ def + + exitGUI + : Unit + + +
+ def + + show + : Unit + + +
+ def + + update + (s : Scene) : Unit + + +
+ + +
+ 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 + mainFrame : MainFrame +
+
+

+
+
+ + + var + scene : Scene +
+
+

+ + +
Method Details
+
+ + + def + show : Unit +
+
+

+
+
+ + + def + update(s : Scene) : Unit +
+
+

+
+
+ + + def + exitGUI : Unit +
+
+

+ + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/graphyx/gui/ControlPanel.html b/doc/graphyx/gui/ControlPanel.html new file mode 100644 index 0000000..5352ba1 --- /dev/null +++ b/doc/graphyx/gui/ControlPanel.html @@ -0,0 +1,295 @@ + + + class ControlPanel in graphyx.gui + + + + + + + + + + + +
+ graphyx.gui +

+ class ControlPanel +

+
+ [source: graphyx/gui/ControlPanel.scala] +

+
+
+ + + class + ControlPanel(container : Container) +
+
extends scala.swing.BoxPanel
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Value Summary
+ val + + btnExit + : scala.swing.Button + + +
+ val + + btnFire + : scala.swing.Button + + +
+ val + + btnReset + : scala.swing.Button + + +
+ val + + btnStart + : scala.swing.Button + + +
+ val + + btnStep + : scala.swing.Button + + +
+ val + + btnStop + : scala.swing.Button + + +
+ val + + cboTest + : scala.swing.ComboBox[Test] + + +
+ + +
+ Values and Variables inherited from scala.swing.BoxPanel +
+ scala.swing.BoxPanel.peer +
+ + +
+ Values and Variables inherited from scala.swing.SequentialContainer.Wrapper +
+ scala.swing.SequentialContainer.Wrapper.contents +
+ + +
+ Values and Variables inherited from scala.swing.Container.Wrapper +
+ scala.swing.Container.Wrapper._contents +
+ + +
+ Values and Variables inherited from scala.swing.Component +
+ scala.swing.Component.initP +
+ + +
+ Values and Variables inherited from scala.swing.Publisher +
+ scala.swing.Publisher.listeners +
+ + +
+ Values and Variables inherited from scala.swing.Reactor +
+ scala.swing.Reactor.reactions +
+ + + +
+ Methods inherited from scala.swing.Component +
+ scala.swing.Component.xLayoutAlignment, scala.swing.Component.xLayoutAlignment_=, scala.swing.Component.yLayoutAlignment, scala.swing.Component.yLayoutAlignment_=, scala.swing.Component.border, scala.swing.Component.border_=, scala.swing.Component.opaque, scala.swing.Component.opaque_=, scala.swing.Component.enabled, scala.swing.Component.enabled_=, scala.swing.Component.tooltip, scala.swing.Component.tooltip_=, scala.swing.Component.inputVerifier, scala.swing.Component.inputVerifier_=, scala.swing.Component.revalidate, scala.swing.Component.requestFocus, scala.swing.Component.paintComponent, scala.swing.Component.paint, scala.swing.Component.toString +
+ + +
+ Methods inherited from scala.swing.Publisher +
+ scala.swing.Publisher.subscribe, scala.swing.Publisher.unsubscribe, scala.swing.Publisher.publish +
+ + +
+ Methods inherited from scala.swing.Reactor +
+ scala.swing.Reactor.listenTo, scala.swing.Reactor.deafTo +
+ + +
+ Methods inherited from scala.swing.UIElement +
+ scala.swing.UIElement.self, scala.swing.UIElement.foreground, scala.swing.UIElement.foreground_=, scala.swing.UIElement.background, scala.swing.UIElement.background_=, scala.swing.UIElement.minimumSize, scala.swing.UIElement.minimumSize_=, scala.swing.UIElement.maximumSize, scala.swing.UIElement.maximumSize_=, scala.swing.UIElement.preferredSize, scala.swing.UIElement.preferredSize_=, scala.swing.UIElement.preferredSize_=, scala.swing.UIElement.font, scala.swing.UIElement.font_=, scala.swing.UIElement.locationOnScreen, scala.swing.UIElement.location, scala.swing.UIElement.bounds, scala.swing.UIElement.size, scala.swing.UIElement.size_=, scala.swing.UIElement.size_=, scala.swing.UIElement.locale, scala.swing.UIElement.toolkit, scala.swing.UIElement.cursor, scala.swing.UIElement.cursor_=, scala.swing.UIElement.visible, scala.swing.UIElement.visible_=, scala.swing.UIElement.showing, scala.swing.UIElement.repaint +
+ + +
+ Methods inherited from scala.Proxy +
+ scala.Proxy.hashCode, scala.Proxy.equals +
+ + +
+ Methods inherited from AnyRef +
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + +
Value Details
+
+ + + val + btnStart : scala.swing.Button +
+
+

+
+
+ + + val + btnStep : scala.swing.Button +
+
+

+
+
+ + + val + btnStop : scala.swing.Button +
+
+

+
+
+ + + val + btnExit : scala.swing.Button +
+
+

+
+
+ + + val + btnFire : scala.swing.Button +
+
+

+
+
+ + + val + btnReset : scala.swing.Button +
+
+

+
+
+ + + val + cboTest : scala.swing.ComboBox[Test] +
+
+

+ + + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/graphyx/gui/GrabbedBody.html b/doc/graphyx/gui/GrabbedBody.html new file mode 100644 index 0000000..4d9f028 --- /dev/null +++ b/doc/graphyx/gui/GrabbedBody.html @@ -0,0 +1,141 @@ + + + class GrabbedBody in graphyx.gui + + + + + + + + + + + +
+ graphyx.gui +

+ class GrabbedBody +

+
+ [source: graphyx/gui/GrabbedBody.scala] +

+
+
+ + + class + GrabbedBody(b : Body, point : Vector2D) +
+
extends AnyRef
+
+ + + + + + + + + + + + +
Value Summary
+ val + + r + : Vector2D + + +
+ val + + wasFixed + : Boolean + + +
+ + + + + + +
Method Summary
+ def + + body + : Body + + +
+ + +
+ 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 + r : Vector2D +
+
+

+
+
+ + + val + wasFixed : Boolean +
+
+

+ + +
Method Details
+
+ + + def + body : Body +
+
+

+ + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/graphyx/gui/GravityPanel.html b/doc/graphyx/gui/GravityPanel.html new file mode 100644 index 0000000..ca9b299 --- /dev/null +++ b/doc/graphyx/gui/GravityPanel.html @@ -0,0 +1,292 @@ + + + class GravityPanel in graphyx.gui + + + + + + + + + + + +
+ graphyx.gui +

+ class GravityPanel +

+
+ [source: graphyx/gui/GravityPanel.scala] +

+
+
+ + + class + GravityPanel(container : Container) +
+
extends scala.swing.GridBagPanel
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
Value Summary
+ val + + c + : scala.swing.GridBagPanel.Constraints + + +
+ val + + lblX + : scala.swing.Label + + +
+ val + + lblY + : scala.swing.Label + + +
+ val + + sldX + : scala.swing.Slider + + +
+ val + + sldY + : scala.swing.Slider + + +
+ + +
+ Values and Variables inherited from scala.swing.GridBagPanel +
+ scala.swing.GridBagPanel.peer +
+ + +
+ Values and Variables inherited from scala.swing.Container.Wrapper +
+ scala.swing.Container.Wrapper._contents +
+ + +
+ Values and Variables inherited from scala.swing.Component +
+ scala.swing.Component.initP +
+ + +
+ Values and Variables inherited from scala.swing.Publisher +
+ scala.swing.Publisher.listeners +
+ + +
+ Values and Variables inherited from scala.swing.Reactor +
+ scala.swing.Reactor.reactions +
+ + + + + + +
Method Summary
+ def + + update + : Unit + + +
+ + +
+ Methods inherited from scala.swing.GridBagPanel +
+ scala.swing.GridBagPanel.pair2Constraints, scala.swing.GridBagPanel.constraintsFor, scala.swing.GridBagPanel.areValid, scala.swing.GridBagPanel.add +
+ + +
+ Methods inherited from scala.swing.LayoutContainer +
+ scala.swing.LayoutContainer.layout +
+ + +
+ Methods inherited from scala.swing.Container.Wrapper +
+ scala.swing.Container.Wrapper.contents +
+ + +
+ Methods inherited from scala.swing.Component +
+ scala.swing.Component.xLayoutAlignment, scala.swing.Component.xLayoutAlignment_=, scala.swing.Component.yLayoutAlignment, scala.swing.Component.yLayoutAlignment_=, scala.swing.Component.border, scala.swing.Component.border_=, scala.swing.Component.opaque, scala.swing.Component.opaque_=, scala.swing.Component.enabled, scala.swing.Component.enabled_=, scala.swing.Component.tooltip, scala.swing.Component.tooltip_=, scala.swing.Component.inputVerifier, scala.swing.Component.inputVerifier_=, scala.swing.Component.revalidate, scala.swing.Component.requestFocus, scala.swing.Component.paintComponent, scala.swing.Component.paint, scala.swing.Component.toString +
+ + +
+ Methods inherited from scala.swing.Publisher +
+ scala.swing.Publisher.subscribe, scala.swing.Publisher.unsubscribe, scala.swing.Publisher.publish +
+ + +
+ Methods inherited from scala.swing.Reactor +
+ scala.swing.Reactor.listenTo, scala.swing.Reactor.deafTo +
+ + +
+ Methods inherited from scala.swing.UIElement +
+ scala.swing.UIElement.self, scala.swing.UIElement.foreground, scala.swing.UIElement.foreground_=, scala.swing.UIElement.background, scala.swing.UIElement.background_=, scala.swing.UIElement.minimumSize, scala.swing.UIElement.minimumSize_=, scala.swing.UIElement.maximumSize, scala.swing.UIElement.maximumSize_=, scala.swing.UIElement.preferredSize, scala.swing.UIElement.preferredSize_=, scala.swing.UIElement.preferredSize_=, scala.swing.UIElement.font, scala.swing.UIElement.font_=, scala.swing.UIElement.locationOnScreen, scala.swing.UIElement.location, scala.swing.UIElement.bounds, scala.swing.UIElement.size, scala.swing.UIElement.size_=, scala.swing.UIElement.size_=, scala.swing.UIElement.locale, scala.swing.UIElement.toolkit, scala.swing.UIElement.cursor, scala.swing.UIElement.cursor_=, scala.swing.UIElement.visible, scala.swing.UIElement.visible_=, scala.swing.UIElement.showing, scala.swing.UIElement.repaint +
+ + +
+ Methods inherited from scala.Proxy +
+ scala.Proxy.hashCode, scala.Proxy.equals +
+ + +
+ Methods inherited from AnyRef +
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + +
Value Details
+
+ + + val + c : scala.swing.GridBagPanel.Constraints +
+
+

+
+
+ + + val + sldX : scala.swing.Slider +
+
+

+
+
+ + + val + lblX : scala.swing.Label +
+
+

+
+
+ + + val + sldY : scala.swing.Slider +
+
+

+
+
+ + + val + lblY : scala.swing.Label +
+
+

+ + +
Method Details
+
+ + + def + update : Unit +
+
+

+ + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/graphyx/gui/InfoPanel.html b/doc/graphyx/gui/InfoPanel.html new file mode 100644 index 0000000..94dd11f --- /dev/null +++ b/doc/graphyx/gui/InfoPanel.html @@ -0,0 +1,198 @@ + + + class InfoPanel in graphyx.gui + + + + + + + + + + + +
+ graphyx.gui +

+ class InfoPanel +

+
+ [source: graphyx/gui/InfoPanel.scala] +

+
+
+ + + class + InfoPanel(container : Container) +
+
extends scala.swing.BoxPanel
+
+ + + + + + + + +
Value Summary
+ val + + out + : scala.swing.TextArea + + +
+ + +
+ Values and Variables inherited from scala.swing.BoxPanel +
+ scala.swing.BoxPanel.peer +
+ + +
+ Values and Variables inherited from scala.swing.SequentialContainer.Wrapper +
+ scala.swing.SequentialContainer.Wrapper.contents +
+ + +
+ Values and Variables inherited from scala.swing.Container.Wrapper +
+ scala.swing.Container.Wrapper._contents +
+ + +
+ Values and Variables inherited from scala.swing.Component +
+ scala.swing.Component.initP +
+ + +
+ Values and Variables inherited from scala.swing.Publisher +
+ scala.swing.Publisher.listeners +
+ + +
+ Values and Variables inherited from scala.swing.Reactor +
+ scala.swing.Reactor.reactions +
+ + + + + + +
Method Summary
+ def + + update + : Unit + + +
+ + +
+ Methods inherited from scala.swing.Component +
+ scala.swing.Component.xLayoutAlignment, scala.swing.Component.xLayoutAlignment_=, scala.swing.Component.yLayoutAlignment, scala.swing.Component.yLayoutAlignment_=, scala.swing.Component.border, scala.swing.Component.border_=, scala.swing.Component.opaque, scala.swing.Component.opaque_=, scala.swing.Component.enabled, scala.swing.Component.enabled_=, scala.swing.Component.tooltip, scala.swing.Component.tooltip_=, scala.swing.Component.inputVerifier, scala.swing.Component.inputVerifier_=, scala.swing.Component.revalidate, scala.swing.Component.requestFocus, scala.swing.Component.paintComponent, scala.swing.Component.paint, scala.swing.Component.toString +
+ + +
+ Methods inherited from scala.swing.Publisher +
+ scala.swing.Publisher.subscribe, scala.swing.Publisher.unsubscribe, scala.swing.Publisher.publish +
+ + +
+ Methods inherited from scala.swing.Reactor +
+ scala.swing.Reactor.listenTo, scala.swing.Reactor.deafTo +
+ + +
+ Methods inherited from scala.swing.UIElement +
+ scala.swing.UIElement.self, scala.swing.UIElement.foreground, scala.swing.UIElement.foreground_=, scala.swing.UIElement.background, scala.swing.UIElement.background_=, scala.swing.UIElement.minimumSize, scala.swing.UIElement.minimumSize_=, scala.swing.UIElement.maximumSize, scala.swing.UIElement.maximumSize_=, scala.swing.UIElement.preferredSize, scala.swing.UIElement.preferredSize_=, scala.swing.UIElement.preferredSize_=, scala.swing.UIElement.font, scala.swing.UIElement.font_=, scala.swing.UIElement.locationOnScreen, scala.swing.UIElement.location, scala.swing.UIElement.bounds, scala.swing.UIElement.size, scala.swing.UIElement.size_=, scala.swing.UIElement.size_=, scala.swing.UIElement.locale, scala.swing.UIElement.toolkit, scala.swing.UIElement.cursor, scala.swing.UIElement.cursor_=, scala.swing.UIElement.visible, scala.swing.UIElement.visible_=, scala.swing.UIElement.showing, scala.swing.UIElement.repaint +
+ + +
+ Methods inherited from scala.Proxy +
+ scala.Proxy.hashCode, scala.Proxy.equals +
+ + +
+ Methods inherited from AnyRef +
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + +
Value Details
+
+ + + val + out : scala.swing.TextArea +
+
+

+ + +
Method Details
+
+ + + def + update : Unit +
+
+

+ + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/graphyx/gui/MainFrame.html b/doc/graphyx/gui/MainFrame.html new file mode 100644 index 0000000..fbc978a --- /dev/null +++ b/doc/graphyx/gui/MainFrame.html @@ -0,0 +1,161 @@ + + + class MainFrame in graphyx.gui + + + + + + + + + + + +
+ graphyx.gui +

+ class MainFrame +

+
+ [source: graphyx/gui/MainFrame.scala] +

+
+
+ + + class + MainFrame(container : Container) +
+
extends scala.swing.Frame
+
+ + + + + + + + +
Value Summary
+ val + + mainPanel + : MainPanel + + +
+ + +
+ Values and Variables inherited from scala.swing.Frame +
+ scala.swing.Frame.peer +
+ + +
+ Values and Variables inherited from scala.swing.Publisher +
+ scala.swing.Publisher.listeners +
+ + +
+ Values and Variables inherited from scala.swing.Reactor +
+ scala.swing.Reactor.reactions +
+ + + +
+ Methods inherited from scala.swing.Frame +
+ scala.swing.Frame.title, scala.swing.Frame.title_=, scala.swing.Frame.contents_=, scala.swing.Frame.defaultButton, scala.swing.Frame.defaultButton_=, scala.swing.Frame.defaultButton_=, scala.swing.Frame.dispose, scala.swing.Frame.pack, scala.swing.Frame.menuBar, scala.swing.Frame.menuBar_=, scala.swing.Frame.setLocationRelativeTo, scala.swing.Frame.location_=, scala.swing.Frame.iconImage, scala.swing.Frame.iconImage_= +
+ + +
+ Methods inherited from scala.swing.Publisher +
+ scala.swing.Publisher.subscribe, scala.swing.Publisher.unsubscribe, scala.swing.Publisher.publish +
+ + +
+ Methods inherited from scala.swing.Reactor +
+ scala.swing.Reactor.listenTo, scala.swing.Reactor.deafTo +
+ + +
+ Methods inherited from scala.swing.RootPanel +
+ scala.swing.RootPanel.contents +
+ + +
+ Methods inherited from scala.swing.UIElement +
+ scala.swing.UIElement.self, scala.swing.UIElement.foreground, scala.swing.UIElement.foreground_=, scala.swing.UIElement.background, scala.swing.UIElement.background_=, scala.swing.UIElement.minimumSize, scala.swing.UIElement.minimumSize_=, scala.swing.UIElement.maximumSize, scala.swing.UIElement.maximumSize_=, scala.swing.UIElement.preferredSize, scala.swing.UIElement.preferredSize_=, scala.swing.UIElement.preferredSize_=, scala.swing.UIElement.font, scala.swing.UIElement.font_=, scala.swing.UIElement.locationOnScreen, scala.swing.UIElement.location, scala.swing.UIElement.bounds, scala.swing.UIElement.size, scala.swing.UIElement.size_=, scala.swing.UIElement.size_=, scala.swing.UIElement.locale, scala.swing.UIElement.toolkit, scala.swing.UIElement.cursor, scala.swing.UIElement.cursor_=, scala.swing.UIElement.visible, scala.swing.UIElement.visible_=, scala.swing.UIElement.showing, scala.swing.UIElement.repaint +
+ + +
+ Methods inherited from scala.Proxy +
+ scala.Proxy.hashCode, scala.Proxy.equals, scala.Proxy.toString +
+ + +
+ Methods inherited from AnyRef +
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + +
Value Details
+
+ + + val + mainPanel : MainPanel +
+
+

+ + + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/graphyx/gui/MainPanel.html b/doc/graphyx/gui/MainPanel.html new file mode 100644 index 0000000..a02c4c1 --- /dev/null +++ b/doc/graphyx/gui/MainPanel.html @@ -0,0 +1,329 @@ + + + class MainPanel in graphyx.gui + + + + + + + + + + + +
+ graphyx.gui +

+ class MainPanel +

+
+ [source: graphyx/gui/MainPanel.scala] +

+
+
+ + + class + MainPanel(container : Container) +
+
extends scala.swing.GridBagPanel
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Value Summary
+ val + + c + : scala.swing.GridBagPanel.Constraints + + +
+ val + + controlPanel + : ControlPanel + + +
+ val + + gravityPanel + : GravityPanel + + +
+ val + + infoPanel + : InfoPanel + + +
+ val + + optionsPanel + : OptionsPanel + + +
+ val + + shapeInfoPanel + : ShapeInfoPanel + + +
+ val + + splitter + : scala.swing.SplitPane + + +
+ val + + worldPanel + : WorldPanel + + +
+ + +
+ Values and Variables inherited from scala.swing.GridBagPanel +
+ scala.swing.GridBagPanel.peer +
+ + +
+ Values and Variables inherited from scala.swing.Container.Wrapper +
+ scala.swing.Container.Wrapper._contents +
+ + +
+ Values and Variables inherited from scala.swing.Component +
+ scala.swing.Component.initP +
+ + +
+ Values and Variables inherited from scala.swing.Publisher +
+ scala.swing.Publisher.listeners +
+ + +
+ Values and Variables inherited from scala.swing.Reactor +
+ scala.swing.Reactor.reactions +
+ + + +
+ Methods inherited from scala.swing.GridBagPanel +
+ scala.swing.GridBagPanel.pair2Constraints, scala.swing.GridBagPanel.constraintsFor, scala.swing.GridBagPanel.areValid, scala.swing.GridBagPanel.add +
+ + +
+ Methods inherited from scala.swing.LayoutContainer +
+ scala.swing.LayoutContainer.layout +
+ + +
+ Methods inherited from scala.swing.Container.Wrapper +
+ scala.swing.Container.Wrapper.contents +
+ + +
+ Methods inherited from scala.swing.Component +
+ scala.swing.Component.xLayoutAlignment, scala.swing.Component.xLayoutAlignment_=, scala.swing.Component.yLayoutAlignment, scala.swing.Component.yLayoutAlignment_=, scala.swing.Component.border, scala.swing.Component.border_=, scala.swing.Component.opaque, scala.swing.Component.opaque_=, scala.swing.Component.enabled, scala.swing.Component.enabled_=, scala.swing.Component.tooltip, scala.swing.Component.tooltip_=, scala.swing.Component.inputVerifier, scala.swing.Component.inputVerifier_=, scala.swing.Component.revalidate, scala.swing.Component.requestFocus, scala.swing.Component.paintComponent, scala.swing.Component.paint, scala.swing.Component.toString +
+ + +
+ Methods inherited from scala.swing.Publisher +
+ scala.swing.Publisher.subscribe, scala.swing.Publisher.unsubscribe, scala.swing.Publisher.publish +
+ + +
+ Methods inherited from scala.swing.Reactor +
+ scala.swing.Reactor.listenTo, scala.swing.Reactor.deafTo +
+ + +
+ Methods inherited from scala.swing.UIElement +
+ scala.swing.UIElement.self, scala.swing.UIElement.foreground, scala.swing.UIElement.foreground_=, scala.swing.UIElement.background, scala.swing.UIElement.background_=, scala.swing.UIElement.minimumSize, scala.swing.UIElement.minimumSize_=, scala.swing.UIElement.maximumSize, scala.swing.UIElement.maximumSize_=, scala.swing.UIElement.preferredSize, scala.swing.UIElement.preferredSize_=, scala.swing.UIElement.preferredSize_=, scala.swing.UIElement.font, scala.swing.UIElement.font_=, scala.swing.UIElement.locationOnScreen, scala.swing.UIElement.location, scala.swing.UIElement.bounds, scala.swing.UIElement.size, scala.swing.UIElement.size_=, scala.swing.UIElement.size_=, scala.swing.UIElement.locale, scala.swing.UIElement.toolkit, scala.swing.UIElement.cursor, scala.swing.UIElement.cursor_=, scala.swing.UIElement.visible, scala.swing.UIElement.visible_=, scala.swing.UIElement.showing, scala.swing.UIElement.repaint +
+ + +
+ Methods inherited from scala.Proxy +
+ scala.Proxy.hashCode, scala.Proxy.equals +
+ + +
+ Methods inherited from AnyRef +
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + +
Value Details
+
+ + + val + c : scala.swing.GridBagPanel.Constraints +
+
+

+
+
+ + + val + worldPanel : WorldPanel +
+
+

+
+
+ + + val + controlPanel : ControlPanel +
+
+

+
+
+ + + val + infoPanel : InfoPanel +
+
+

+
+
+ + + val + optionsPanel : OptionsPanel +
+
+

+
+
+ + + val + shapeInfoPanel : ShapeInfoPanel +
+
+

+
+
+ + + val + gravityPanel : GravityPanel +
+
+

+
+
+ + + val + splitter : scala.swing.SplitPane +
+
+

+ + + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/graphyx/gui/OptionsPanel.html b/doc/graphyx/gui/OptionsPanel.html new file mode 100644 index 0000000..b4f3ec6 --- /dev/null +++ b/doc/graphyx/gui/OptionsPanel.html @@ -0,0 +1,625 @@ + + + class OptionsPanel in graphyx.gui + + + + + + + + + + + +
+ graphyx.gui +

+ class OptionsPanel +

+
+ [source: graphyx/gui/OptionsPanel.scala] +

+
+
+ + + class + OptionsPanel(container : Container) +
+
extends scala.swing.GridPanel
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Value Summary
+ val + + chckCD + : scala.swing.CheckBox + + +
+ val + + chckDrawAABBs + : scala.swing.CheckBox + + +
+ val + + chckDrawBodies + : scala.swing.CheckBox + + +
+ val + + chckDrawCollisions + : scala.swing.CheckBox + + +
+ val + + chckDrawJoints + : scala.swing.CheckBox + + +
+ val + + chckDrawPairs + : scala.swing.CheckBox + + +
+ val + + chckDrawShapes + : scala.swing.CheckBox + + +
+ val + + chckPC + : scala.swing.CheckBox + + +
+ val + + components + : scala.List[scala.swing.Component] + + +
+ val + + lblCD + : scala.swing.Label + + +
+ val + + lblDraw + : scala.swing.Label + + +
+ val + + lblDrawAABBs + : scala.swing.Label + + +
+ val + + lblDrawBodies + : scala.swing.Label + + +
+ val + + lblDrawCollisions + : scala.swing.Label + + +
+ val + + lblDrawJoints + : scala.swing.Label + + +
+ val + + lblDrawPairs + : scala.swing.Label + + +
+ val + + lblDrawShapes + : scala.swing.Label + + +
+ val + + lblIterations + : scala.swing.Label + + +
+ val + + lblPC + : scala.swing.Label + + +
+ val + + lblTimeStep + : scala.swing.Label + + +
+ val + + txtIterations + : scala.swing.TextField + + +
+ val + + txtTimeStep + : scala.swing.TextField + + +
+ + +
+ Values and Variables inherited from scala.swing.GridPanel +
+ scala.swing.GridPanel.peer +
+ + +
+ Values and Variables inherited from scala.swing.SequentialContainer.Wrapper +
+ scala.swing.SequentialContainer.Wrapper.contents +
+ + +
+ Values and Variables inherited from scala.swing.Container.Wrapper +
+ scala.swing.Container.Wrapper._contents +
+ + +
+ Values and Variables inherited from scala.swing.Component +
+ scala.swing.Component.initP +
+ + +
+ Values and Variables inherited from scala.swing.Publisher +
+ scala.swing.Publisher.listeners +
+ + +
+ Values and Variables inherited from scala.swing.Reactor +
+ scala.swing.Reactor.reactions +
+ + + + + + +
Method Summary
+ def + + update + : Unit + + +
+ + +
+ Methods inherited from scala.swing.GridPanel +
+ scala.swing.GridPanel.rows, scala.swing.GridPanel.rows_=, scala.swing.GridPanel.columns, scala.swing.GridPanel.columns_=, scala.swing.GridPanel.vGap, scala.swing.GridPanel.vGap_=, scala.swing.GridPanel.hGap, scala.swing.GridPanel.hGap_= +
+ + +
+ Methods inherited from scala.swing.Component +
+ scala.swing.Component.xLayoutAlignment, scala.swing.Component.xLayoutAlignment_=, scala.swing.Component.yLayoutAlignment, scala.swing.Component.yLayoutAlignment_=, scala.swing.Component.border, scala.swing.Component.border_=, scala.swing.Component.opaque, scala.swing.Component.opaque_=, scala.swing.Component.enabled, scala.swing.Component.enabled_=, scala.swing.Component.tooltip, scala.swing.Component.tooltip_=, scala.swing.Component.inputVerifier, scala.swing.Component.inputVerifier_=, scala.swing.Component.revalidate, scala.swing.Component.requestFocus, scala.swing.Component.paintComponent, scala.swing.Component.paint, scala.swing.Component.toString +
+ + +
+ Methods inherited from scala.swing.Publisher +
+ scala.swing.Publisher.subscribe, scala.swing.Publisher.unsubscribe, scala.swing.Publisher.publish +
+ + +
+ Methods inherited from scala.swing.Reactor +
+ scala.swing.Reactor.listenTo, scala.swing.Reactor.deafTo +
+ + +
+ Methods inherited from scala.swing.UIElement +
+ scala.swing.UIElement.self, scala.swing.UIElement.foreground, scala.swing.UIElement.foreground_=, scala.swing.UIElement.background, scala.swing.UIElement.background_=, scala.swing.UIElement.minimumSize, scala.swing.UIElement.minimumSize_=, scala.swing.UIElement.maximumSize, scala.swing.UIElement.maximumSize_=, scala.swing.UIElement.preferredSize, scala.swing.UIElement.preferredSize_=, scala.swing.UIElement.preferredSize_=, scala.swing.UIElement.font, scala.swing.UIElement.font_=, scala.swing.UIElement.locationOnScreen, scala.swing.UIElement.location, scala.swing.UIElement.bounds, scala.swing.UIElement.size, scala.swing.UIElement.size_=, scala.swing.UIElement.size_=, scala.swing.UIElement.locale, scala.swing.UIElement.toolkit, scala.swing.UIElement.cursor, scala.swing.UIElement.cursor_=, scala.swing.UIElement.visible, scala.swing.UIElement.visible_=, scala.swing.UIElement.showing, scala.swing.UIElement.repaint +
+ + +
+ Methods inherited from scala.Proxy +
+ scala.Proxy.hashCode, scala.Proxy.equals +
+ + +
+ Methods inherited from AnyRef +
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + +
Value Details
+
+ + + val + lblTimeStep : scala.swing.Label +
+
+

+
+
+ + + val + txtTimeStep : scala.swing.TextField +
+
+

+
+
+ + + val + lblIterations : scala.swing.Label +
+
+

+
+
+ + + val + txtIterations : scala.swing.TextField +
+
+

+
+
+ + + val + lblCD : scala.swing.Label +
+
+

+
+
+ + + val + chckCD : scala.swing.CheckBox +
+
+

+
+
+ + + val + lblPC : scala.swing.Label +
+
+

+
+
+ + + val + chckPC : scala.swing.CheckBox +
+
+

+
+
+ + + val + lblDraw : scala.swing.Label +
+
+

+
+
+ + + val + lblDrawBodies : scala.swing.Label +
+
+

+
+
+ + + val + chckDrawBodies : scala.swing.CheckBox +
+
+

+
+
+ + + val + lblDrawShapes : scala.swing.Label +
+
+

+
+
+ + + val + chckDrawShapes : scala.swing.CheckBox +
+
+

+
+
+ + + val + lblDrawJoints : scala.swing.Label +
+
+

+
+
+ + + val + chckDrawJoints : scala.swing.CheckBox +
+
+

+
+
+ + + val + lblDrawAABBs : scala.swing.Label +
+
+

+
+
+ + + val + chckDrawAABBs : scala.swing.CheckBox +
+
+

+
+
+ + + val + lblDrawPairs : scala.swing.Label +
+
+

+
+
+ + + val + chckDrawPairs : scala.swing.CheckBox +
+
+

+
+
+ + + val + lblDrawCollisions : scala.swing.Label +
+
+

+
+
+ + + val + chckDrawCollisions : scala.swing.CheckBox +
+
+

+
+
+ + + val + components : scala.List[scala.swing.Component] +
+
+

+ + +
Method Details
+
+ + + def + update : Unit +
+
+

+ + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/graphyx/gui/PopupMenu.html b/doc/graphyx/gui/PopupMenu.html new file mode 100644 index 0000000..96c8a2e --- /dev/null +++ b/doc/graphyx/gui/PopupMenu.html @@ -0,0 +1,207 @@ + + + class PopupMenu in graphyx.gui + + + + + + + + + + + +
+ graphyx.gui +

+ class PopupMenu +

+
+ [source: graphyx/gui/PopupMenu.scala] +

+
+
+ + + class + PopupMenu +
+
extends scala.swing.Component
+
+
Direct Known Subclasses:
+
BodyPopup
+

+ + + + + + + + +
Value Summary
+ override lazy val + + peer + : javax.swing.JPopupMenu + + +
+ + +
+ Values and Variables inherited from scala.swing.Component +
+ scala.swing.Component.initP +
+ + +
+ Values and Variables inherited from scala.swing.Publisher +
+ scala.swing.Publisher.listeners +
+ + +
+ Values and Variables inherited from scala.swing.Reactor +
+ scala.swing.Reactor.reactions +
+ + + + + + + + + + +
Method Summary
+ def + + add + (item : scala.swing.MenuItem) : Unit + + +
+ def + + setVisible + (visible : Boolean) : Unit + + +
+ + +
+ Methods inherited from scala.swing.Component +
+ scala.swing.Component.xLayoutAlignment, scala.swing.Component.xLayoutAlignment_=, scala.swing.Component.yLayoutAlignment, scala.swing.Component.yLayoutAlignment_=, scala.swing.Component.border, scala.swing.Component.border_=, scala.swing.Component.opaque, scala.swing.Component.opaque_=, scala.swing.Component.enabled, scala.swing.Component.enabled_=, scala.swing.Component.tooltip, scala.swing.Component.tooltip_=, scala.swing.Component.inputVerifier, scala.swing.Component.inputVerifier_=, scala.swing.Component.revalidate, scala.swing.Component.requestFocus, scala.swing.Component.paintComponent, scala.swing.Component.paint, scala.swing.Component.toString +
+ + +
+ Methods inherited from scala.swing.Publisher +
+ scala.swing.Publisher.subscribe, scala.swing.Publisher.unsubscribe, scala.swing.Publisher.publish +
+ + +
+ Methods inherited from scala.swing.Reactor +
+ scala.swing.Reactor.listenTo, scala.swing.Reactor.deafTo +
+ + +
+ Methods inherited from scala.swing.UIElement +
+ scala.swing.UIElement.self, scala.swing.UIElement.foreground, scala.swing.UIElement.foreground_=, scala.swing.UIElement.background, scala.swing.UIElement.background_=, scala.swing.UIElement.minimumSize, scala.swing.UIElement.minimumSize_=, scala.swing.UIElement.maximumSize, scala.swing.UIElement.maximumSize_=, scala.swing.UIElement.preferredSize, scala.swing.UIElement.preferredSize_=, scala.swing.UIElement.preferredSize_=, scala.swing.UIElement.font, scala.swing.UIElement.font_=, scala.swing.UIElement.locationOnScreen, scala.swing.UIElement.location, scala.swing.UIElement.bounds, scala.swing.UIElement.size, scala.swing.UIElement.size_=, scala.swing.UIElement.size_=, scala.swing.UIElement.locale, scala.swing.UIElement.toolkit, scala.swing.UIElement.cursor, scala.swing.UIElement.cursor_=, scala.swing.UIElement.visible, scala.swing.UIElement.visible_=, scala.swing.UIElement.showing, scala.swing.UIElement.repaint +
+ + +
+ Methods inherited from scala.Proxy +
+ scala.Proxy.hashCode, scala.Proxy.equals +
+ + +
+ Methods inherited from AnyRef +
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + +
Value Details
+
+ + override + lazy val + peer : javax.swing.JPopupMenu +
+
+
+
+ Overrides +
+
+ scala.swing.Component.scala.swing.Component.peer +
+

+ + +
Method Details
+
+ + + def + add(item : scala.swing.MenuItem) : Unit +
+
+

+
+
+ + + def + setVisible(visible : Boolean) : Unit +
+
+

+ + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/graphyx/gui/ShapeInfoPanel.html b/doc/graphyx/gui/ShapeInfoPanel.html new file mode 100644 index 0000000..452968a --- /dev/null +++ b/doc/graphyx/gui/ShapeInfoPanel.html @@ -0,0 +1,262 @@ + + + class ShapeInfoPanel in graphyx.gui + + + + + + + + + + + +
+ graphyx.gui +

+ class ShapeInfoPanel +

+
+ [source: graphyx/gui/ShapeInfoPanel.scala] +

+
+
+ + + class + ShapeInfoPanel(container : Container) +
+
extends scala.swing.GridPanel
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
Value Summary
+ val + + components + : scala.List[scala.swing.Label] + + +
+ val + + lblBody + : scala.swing.Label + + +
+ val + + lblShape + : scala.swing.Label + + +
+ val + + lblValBody + : scala.swing.Label + + +
+ val + + lblValShape + : scala.swing.Label + + +
+ + +
+ Values and Variables inherited from scala.swing.GridPanel +
+ scala.swing.GridPanel.peer +
+ + +
+ Values and Variables inherited from scala.swing.SequentialContainer.Wrapper +
+ scala.swing.SequentialContainer.Wrapper.contents +
+ + +
+ Values and Variables inherited from scala.swing.Container.Wrapper +
+ scala.swing.Container.Wrapper._contents +
+ + +
+ Values and Variables inherited from scala.swing.Component +
+ scala.swing.Component.initP +
+ + +
+ Values and Variables inherited from scala.swing.Publisher +
+ scala.swing.Publisher.listeners +
+ + +
+ Values and Variables inherited from scala.swing.Reactor +
+ scala.swing.Reactor.reactions +
+ + + +
+ Methods inherited from scala.swing.GridPanel +
+ scala.swing.GridPanel.rows, scala.swing.GridPanel.rows_=, scala.swing.GridPanel.columns, scala.swing.GridPanel.columns_=, scala.swing.GridPanel.vGap, scala.swing.GridPanel.vGap_=, scala.swing.GridPanel.hGap, scala.swing.GridPanel.hGap_= +
+ + +
+ Methods inherited from scala.swing.Component +
+ scala.swing.Component.xLayoutAlignment, scala.swing.Component.xLayoutAlignment_=, scala.swing.Component.yLayoutAlignment, scala.swing.Component.yLayoutAlignment_=, scala.swing.Component.border, scala.swing.Component.border_=, scala.swing.Component.opaque, scala.swing.Component.opaque_=, scala.swing.Component.enabled, scala.swing.Component.enabled_=, scala.swing.Component.tooltip, scala.swing.Component.tooltip_=, scala.swing.Component.inputVerifier, scala.swing.Component.inputVerifier_=, scala.swing.Component.revalidate, scala.swing.Component.requestFocus, scala.swing.Component.paintComponent, scala.swing.Component.paint, scala.swing.Component.toString +
+ + +
+ Methods inherited from scala.swing.Publisher +
+ scala.swing.Publisher.subscribe, scala.swing.Publisher.unsubscribe, scala.swing.Publisher.publish +
+ + +
+ Methods inherited from scala.swing.Reactor +
+ scala.swing.Reactor.listenTo, scala.swing.Reactor.deafTo +
+ + +
+ Methods inherited from scala.swing.UIElement +
+ scala.swing.UIElement.self, scala.swing.UIElement.foreground, scala.swing.UIElement.foreground_=, scala.swing.UIElement.background, scala.swing.UIElement.background_=, scala.swing.UIElement.minimumSize, scala.swing.UIElement.minimumSize_=, scala.swing.UIElement.maximumSize, scala.swing.UIElement.maximumSize_=, scala.swing.UIElement.preferredSize, scala.swing.UIElement.preferredSize_=, scala.swing.UIElement.preferredSize_=, scala.swing.UIElement.font, scala.swing.UIElement.font_=, scala.swing.UIElement.locationOnScreen, scala.swing.UIElement.location, scala.swing.UIElement.bounds, scala.swing.UIElement.size, scala.swing.UIElement.size_=, scala.swing.UIElement.size_=, scala.swing.UIElement.locale, scala.swing.UIElement.toolkit, scala.swing.UIElement.cursor, scala.swing.UIElement.cursor_=, scala.swing.UIElement.visible, scala.swing.UIElement.visible_=, scala.swing.UIElement.showing, scala.swing.UIElement.repaint +
+ + +
+ Methods inherited from scala.Proxy +
+ scala.Proxy.hashCode, scala.Proxy.equals +
+ + +
+ Methods inherited from AnyRef +
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + +
Value Details
+
+ + + val + lblBody : scala.swing.Label +
+
+

+
+
+ + + val + lblValBody : scala.swing.Label +
+
+

+
+
+ + + val + lblShape : scala.swing.Label +
+
+

+
+
+ + + val + lblValShape : scala.swing.Label +
+
+

+
+
+ + + val + components : scala.List[scala.swing.Label] +
+
+

+ + + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/graphyx/gui/WorldPanel.html b/doc/graphyx/gui/WorldPanel.html new file mode 100644 index 0000000..959812e --- /dev/null +++ b/doc/graphyx/gui/WorldPanel.html @@ -0,0 +1,638 @@ + + + class WorldPanel in graphyx.gui + + + + + + + + + + + +
+ graphyx.gui +

+ class WorldPanel +

+
+ [source: graphyx/gui/WorldPanel.scala] +

+
+
+ + + class + WorldPanel(container : Container) +
+
extends scala.swing.BoxPanel
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Value Summary
+ var + + drawAABBs + : Boolean + + +
+ var + + drawBodies + : Boolean + + +
+ var + + drawCollisions + : Boolean + + +
+ var + + drawJoints + : Boolean + + +
+ var + + drawPairs + : Boolean + + +
+ var + + drawShapes + : Boolean + + +
+ var + + endPoint + : java.awt.Point + + +
+ var + + grabbedBody + : scala.Option[GrabbedBody] + + +
+ val + + lblBody + : scala.swing.Label + + +
+ var + + mousePressed + : Boolean + + +
+ var + + offset + : Vector2D + + +
+ val + + popup + : BodyPopup + + +
+ val + + ppm + : Double + + +
+ var + + scale + : Double + + +
+ var + + startPoint + : java.awt.Point + + +
+ + +
+ Values and Variables inherited from scala.swing.BoxPanel +
+ scala.swing.BoxPanel.peer +
+ + +
+ Values and Variables inherited from scala.swing.SequentialContainer.Wrapper +
+ scala.swing.SequentialContainer.Wrapper.contents +
+ + +
+ Values and Variables inherited from scala.swing.Container.Wrapper +
+ scala.swing.Container.Wrapper._contents +
+ + +
+ Values and Variables inherited from scala.swing.Component +
+ scala.swing.Component.initP +
+ + +
+ Values and Variables inherited from scala.swing.Publisher +
+ scala.swing.Publisher.listeners +
+ + +
+ Values and Variables inherited from scala.swing.Reactor +
+ scala.swing.Reactor.reactions +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method Summary
+ def + + drawAxes + (g : java.awt.Graphics) : Unit + + +
+ def + + drawParts + (parts : scala.Iterable[Drawable], g : java.awt.Graphics) : Unit + + +
+ def + + getBody + (p : Vector2D) : scala.Option[Body] + + +
+ def + + grab + (b : Body, p : Vector2D) : Unit + + +
+ override def + + paintComponent + (g : java.awt.Graphics) : Unit + + +
+ implicit def + + point2Vector + (p : java.awt.Point) : Vector2D + + +
+ def + + release + : Unit + + +
+ def + + scene + : Scene + + +
+ def + + update + : Unit + + +
+ + +
+ Methods inherited from scala.swing.Component +
+ scala.swing.Component.xLayoutAlignment, scala.swing.Component.xLayoutAlignment_=, scala.swing.Component.yLayoutAlignment, scala.swing.Component.yLayoutAlignment_=, scala.swing.Component.border, scala.swing.Component.border_=, scala.swing.Component.opaque, scala.swing.Component.opaque_=, scala.swing.Component.enabled, scala.swing.Component.enabled_=, scala.swing.Component.tooltip, scala.swing.Component.tooltip_=, scala.swing.Component.inputVerifier, scala.swing.Component.inputVerifier_=, scala.swing.Component.revalidate, scala.swing.Component.requestFocus, scala.swing.Component.paint, scala.swing.Component.toString +
+ + +
+ Methods inherited from scala.swing.Publisher +
+ scala.swing.Publisher.subscribe, scala.swing.Publisher.unsubscribe, scala.swing.Publisher.publish +
+ + +
+ Methods inherited from scala.swing.Reactor +
+ scala.swing.Reactor.listenTo, scala.swing.Reactor.deafTo +
+ + +
+ Methods inherited from scala.swing.UIElement +
+ scala.swing.UIElement.self, scala.swing.UIElement.foreground, scala.swing.UIElement.foreground_=, scala.swing.UIElement.background, scala.swing.UIElement.background_=, scala.swing.UIElement.minimumSize, scala.swing.UIElement.minimumSize_=, scala.swing.UIElement.maximumSize, scala.swing.UIElement.maximumSize_=, scala.swing.UIElement.preferredSize, scala.swing.UIElement.preferredSize_=, scala.swing.UIElement.preferredSize_=, scala.swing.UIElement.font, scala.swing.UIElement.font_=, scala.swing.UIElement.locationOnScreen, scala.swing.UIElement.location, scala.swing.UIElement.bounds, scala.swing.UIElement.size, scala.swing.UIElement.size_=, scala.swing.UIElement.size_=, scala.swing.UIElement.locale, scala.swing.UIElement.toolkit, scala.swing.UIElement.cursor, scala.swing.UIElement.cursor_=, scala.swing.UIElement.visible, scala.swing.UIElement.visible_=, scala.swing.UIElement.showing, scala.swing.UIElement.repaint +
+ + +
+ Methods inherited from scala.Proxy +
+ scala.Proxy.hashCode, scala.Proxy.equals +
+ + +
+ Methods inherited from AnyRef +
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + +
Value Details
+
+ + + val + lblBody : scala.swing.Label +
+
+

+
+
+ + + val + popup : BodyPopup +
+
+

+
+
+ + + val + ppm : Double +
+
+

+
+
+ + + var + scale : Double +
+
+

+
+
+ + + var + offset : Vector2D +
+
+

+
+
+ + + var + drawBodies : Boolean +
+
+

+
+
+ + + var + drawShapes : Boolean +
+
+

+
+
+ + + var + drawJoints : Boolean +
+
+

+
+
+ + + var + drawAABBs : Boolean +
+
+

+
+
+ + + var + drawPairs : Boolean +
+
+

+
+
+ + + var + drawCollisions : Boolean +
+
+

+
+
+ + + var + mousePressed : Boolean +
+
+

+
+
+ + + var + startPoint : java.awt.Point +
+
+

+
+
+ + + var + endPoint : java.awt.Point +
+
+

+
+
+ + + var + grabbedBody : scala.Option[GrabbedBody] +
+
+

+ + +
Method Details
+
+ + implicit + def + point2Vector(p : java.awt.Point) : Vector2D +
+
+

+
+
+ + + def + scene : Scene +
+
+

+
+
+ + + def + update : Unit +
+
+

+
+
+ + override + def + paintComponent(g : java.awt.Graphics) : Unit +
+
+

+
+
+ + + def + drawAxes(g : java.awt.Graphics) : Unit +
+
+

+
+
+ + + def + drawParts(parts : scala.Iterable[Drawable], g : java.awt.Graphics) : Unit +
+
+

+
+
+ + + def + getBody(p : Vector2D) : scala.Option[Body] +
+
+

+
+
+ + + def + grab(b : Body, p : Vector2D) : Unit +
+
+

+
+
+ + + def + release : Unit +
+
+

+ + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/graphyx/tests$content.html b/doc/graphyx/tests$content.html new file mode 100644 index 0000000..c136e55 --- /dev/null +++ b/doc/graphyx/tests$content.html @@ -0,0 +1,188 @@ + + + All classes and objects in graphyx.tests + + +
Simple Mechanics Simulator (SiMS) API

This document is the API specification for SiMS

+ + + + + +
Class Summary
+ trait + + Test + extends AnyRef + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Object Summary
+ object + + BallStack + extends Test + + +
+ object + + Chain + extends Test + + +
+ object + + CompositeShape + extends Test + + +
+ object + + Cup + extends Test + + +
+ object + + EmptyTest + extends Test + + +
+ object + + Friction + extends Test + + +
+ object + + Friction2 + extends Test + + +
+ object + + General1 + extends Test + + +
+ object + + General2 + extends Test + + +
+ object + + Joints1 + extends Test + + +
+ object + + Joints2 + extends Test + + +
+ object + + Net + extends Test + + +
+ object + + RagdollTest + extends Test + + +
+ object + + Restitution + extends Test + + +
+ object + + Stacking + extends Test + + +
+ \ No newline at end of file diff --git a/doc/graphyx/tests$package.html b/doc/graphyx/tests$package.html new file mode 100644 index 0000000..b3a9adc --- /dev/null +++ b/doc/graphyx/tests$package.html @@ -0,0 +1,30 @@ + + + List of classes and objects in package graphyx.tests + + + + +
Classes
+
Objects
+ \ No newline at end of file diff --git a/doc/graphyx/tests/BallStack$object.html b/doc/graphyx/tests/BallStack$object.html new file mode 100644 index 0000000..092ce96 --- /dev/null +++ b/doc/graphyx/tests/BallStack$object.html @@ -0,0 +1,169 @@ + + + object BallStack in graphyx.tests + + + + + + + + + + + +
+ graphyx.tests +

+ object BallStack +

+
+ [source: graphyx/tests/BallStack.scala] +

+
+
+ + + object + BallStack +
+
extends Test
+
+ + + + + + + + + + + + +
Value Summary
+ val + + title + : java.lang.String + + +
+ val + + world + : World + + +
+ + + + + + +
Method Summary
+ def + + init + : Unit + + +
+ + +
+ Methods inherited from Test +
+ fireEvent, toString +
+ + +
+ Methods inherited from AnyRef +
+ getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + +
Value Details
+
+ + + val + world : World +
+
+
+
+ Overrides +
+
+ Test.world +
+

+
+
+ + + val + title : java.lang.String +
+
+
+
+ Overrides +
+
+ Test.title +
+

+ + +
Method Details
+
+ + + def + init : Unit +
+
+
+
+ Overrides +
+
+ Test.init +
+

+ + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/graphyx/tests/Chain$object.html b/doc/graphyx/tests/Chain$object.html new file mode 100644 index 0000000..0818b71 --- /dev/null +++ b/doc/graphyx/tests/Chain$object.html @@ -0,0 +1,169 @@ + + + object Chain in graphyx.tests + + + + + + + + + + + +
+ graphyx.tests +

+ object Chain +

+
+ [source: graphyx/tests/Chain.scala] +

+
+
+ + + object + Chain +
+
extends Test
+
+ + + + + + + + + + + + +
Value Summary
+ override val + + title + : java.lang.String + + +
+ val + + world + : World + + +
+ + + + + + +
Method Summary
+ def + + init + : Unit + + +
+ + +
+ Methods inherited from Test +
+ fireEvent, toString +
+ + +
+ Methods inherited from AnyRef +
+ getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + +
Value Details
+
+ + override + val + title : java.lang.String +
+
+
+
+ Overrides +
+
+ Test.title +
+

+
+
+ + + val + world : World +
+
+
+
+ Overrides +
+
+ Test.world +
+

+ + +
Method Details
+
+ + + def + init : Unit +
+
+
+
+ Overrides +
+
+ Test.init +
+

+ + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/graphyx/tests/CompositeShape$object.html b/doc/graphyx/tests/CompositeShape$object.html new file mode 100644 index 0000000..2eb9a85 --- /dev/null +++ b/doc/graphyx/tests/CompositeShape$object.html @@ -0,0 +1,169 @@ + + + object CompositeShape in graphyx.tests + + + + + + + + + + + +
+ graphyx.tests +

+ object CompositeShape +

+
+ [source: graphyx/tests/CompositeShape.scala] +

+
+
+ + + object + CompositeShape +
+
extends Test
+
+ + + + + + + + + + + + +
Value Summary
+ val + + title + : java.lang.String + + +
+ val + + world + : World + + +
+ + + + + + +
Method Summary
+ def + + init + : Unit + + +
+ + +
+ Methods inherited from Test +
+ fireEvent, toString +
+ + +
+ Methods inherited from AnyRef +
+ getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + +
Value Details
+
+ + + val + title : java.lang.String +
+
+
+
+ Overrides +
+
+ Test.title +
+

+
+
+ + + val + world : World +
+
+
+
+ Overrides +
+
+ Test.world +
+

+ + +
Method Details
+
+ + + def + init : Unit +
+
+
+
+ Overrides +
+
+ Test.init +
+

+ + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/graphyx/tests/Cup$object.html b/doc/graphyx/tests/Cup$object.html new file mode 100644 index 0000000..b3c46a8 --- /dev/null +++ b/doc/graphyx/tests/Cup$object.html @@ -0,0 +1,169 @@ + + + object Cup in graphyx.tests + + + + + + + + + + + +
+ graphyx.tests +

+ object Cup +

+
+ [source: graphyx/tests/Cup.scala] +

+
+
+ + + object + Cup +
+
extends Test
+
+ + + + + + + + + + + + +
Value Summary
+ val + + title + : java.lang.String + + +
+ val + + world + : World + + +
+ + + + + + +
Method Summary
+ def + + init + : Unit + + +
+ + +
+ Methods inherited from Test +
+ fireEvent, toString +
+ + +
+ Methods inherited from AnyRef +
+ getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + +
Value Details
+
+ + + val + title : java.lang.String +
+
+
+
+ Overrides +
+
+ Test.title +
+

+
+
+ + + val + world : World +
+
+
+
+ Overrides +
+
+ Test.world +
+

+ + +
Method Details
+
+ + + def + init : Unit +
+
+
+
+ Overrides +
+
+ Test.init +
+

+ + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/graphyx/tests/EmptyTest$object.html b/doc/graphyx/tests/EmptyTest$object.html new file mode 100644 index 0000000..ff540a7 --- /dev/null +++ b/doc/graphyx/tests/EmptyTest$object.html @@ -0,0 +1,169 @@ + + + object EmptyTest in graphyx.tests + + + + + + + + + + + +
+ graphyx.tests +

+ object EmptyTest +

+
+ [source: graphyx/tests/EmptyTest.scala] +

+
+
+ + + object + EmptyTest +
+
extends Test
+
+ + + + + + + + + + + + +
Value Summary
+ override val + + title + : java.lang.String + + +
+ val + + world + : World + + +
+ + + + + + +
Method Summary
+ def + + init + : Unit + + +
+ + +
+ Methods inherited from Test +
+ fireEvent, toString +
+ + +
+ Methods inherited from AnyRef +
+ getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + +
Value Details
+
+ + override + val + title : java.lang.String +
+
+
+
+ Overrides +
+
+ Test.title +
+

+
+
+ + + val + world : World +
+
+
+
+ Overrides +
+
+ Test.world +
+

+ + +
Method Details
+
+ + + def + init : Unit +
+
+
+
+ Overrides +
+
+ Test.init +
+

+ + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/graphyx/tests/Friction$object.html b/doc/graphyx/tests/Friction$object.html new file mode 100644 index 0000000..7b3b691 --- /dev/null +++ b/doc/graphyx/tests/Friction$object.html @@ -0,0 +1,256 @@ + + + object Friction in graphyx.tests + + + + + + + + + + + +
+ graphyx.tests +

+ object Friction +

+
+ [source: graphyx/tests/Friction.scala] +

+
+
+ + + object + Friction +
+
extends Test
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
Value Summary
+ var + + r1 + : RevoluteJoint + + +
+ var + + r2 + : RevoluteJoint + + +
+ var + + r3 + : RevoluteJoint + + +
+ val + + title + : java.lang.String + + +
+ val + + world + : World + + +
+ + + + + + + + + + +
Method Summary
+ override def + + fireEvent + : Unit + + +
+ def + + init + : Unit + + +
+ + +
+ Methods inherited from Test +
+ toString +
+ + +
+ Methods inherited from AnyRef +
+ getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + +
Value Details
+
+ + + val + title : java.lang.String +
+
+
+
+ Overrides +
+
+ Test.title +
+

+
+
+ + + val + world : World +
+
+
+
+ Overrides +
+
+ Test.world +
+

+
+
+ + + var + r1 : RevoluteJoint +
+
+

+
+
+ + + var + r2 : RevoluteJoint +
+
+

+
+
+ + + var + r3 : RevoluteJoint +
+
+

+ + +
Method Details
+
+ + + def + init : Unit +
+
+
+
+ Overrides +
+
+ Test.init +
+

+
+
+ + override + def + fireEvent : Unit +
+
+
+
+ Overrides +
+
+ Test.fireEvent +
+

+ + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/graphyx/tests/Friction2$object.html b/doc/graphyx/tests/Friction2$object.html new file mode 100644 index 0000000..427e527 --- /dev/null +++ b/doc/graphyx/tests/Friction2$object.html @@ -0,0 +1,169 @@ + + + object Friction2 in graphyx.tests + + + + + + + + + + + +
+ graphyx.tests +

+ object Friction2 +

+
+ [source: graphyx/tests/Friction2.scala] +

+
+
+ + + object + Friction2 +
+
extends Test
+
+ + + + + + + + + + + + +
Value Summary
+ val + + title + : java.lang.String + + +
+ val + + world + : World + + +
+ + + + + + +
Method Summary
+ def + + init + : Unit + + +
+ + +
+ Methods inherited from Test +
+ fireEvent, toString +
+ + +
+ Methods inherited from AnyRef +
+ getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + +
Value Details
+
+ + + val + title : java.lang.String +
+
+
+
+ Overrides +
+
+ Test.title +
+

+
+
+ + + val + world : World +
+
+
+
+ Overrides +
+
+ Test.world +
+

+ + +
Method Details
+
+ + + def + init : Unit +
+
+
+
+ Overrides +
+
+ Test.init +
+

+ + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/graphyx/tests/General1$object.html b/doc/graphyx/tests/General1$object.html new file mode 100644 index 0000000..2484144 --- /dev/null +++ b/doc/graphyx/tests/General1$object.html @@ -0,0 +1,216 @@ + + + object General1 in graphyx.tests + + + + + + + + + + + +
+ graphyx.tests +

+ object General1 +

+
+ [source: graphyx/tests/General1.scala] +

+
+
+ + + object + General1 +
+
extends Test
+
+ + + + + + + + + + + + +
Value Summary
+ override val + + title + : java.lang.String + + +
+ val + + world + : World + + +
+ + + + + + + + + + + + + + +
Method Summary
+ def + + blastBomb + : Unit + + +
+ override def + + fireEvent + : Unit + + +
+ def + + init + : Unit + + +
+ + +
+ Methods inherited from Test +
+ toString +
+ + +
+ Methods inherited from AnyRef +
+ getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + +
Value Details
+
+ + override + val + title : java.lang.String +
+
+
+
+ Overrides +
+
+ Test.title +
+

+
+
+ + + val + world : World +
+
+
+
+ Overrides +
+
+ Test.world +
+

+ + +
Method Details
+
+ + + def + init : Unit +
+
+
+
+ Overrides +
+
+ Test.init +
+

+
+
+ + override + def + fireEvent : Unit +
+
+
+
+ Overrides +
+
+ Test.fireEvent +
+

+
+
+ + + def + blastBomb : Unit +
+
+

+ + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/graphyx/tests/General2$object.html b/doc/graphyx/tests/General2$object.html new file mode 100644 index 0000000..099672b --- /dev/null +++ b/doc/graphyx/tests/General2$object.html @@ -0,0 +1,169 @@ + + + object General2 in graphyx.tests + + + + + + + + + + + +
+ graphyx.tests +

+ object General2 +

+
+ [source: graphyx/tests/General2.scala] +

+
+
+ + + object + General2 +
+
extends Test
+
+ + + + + + + + + + + + +
Value Summary
+ val + + title + : java.lang.String + + +
+ val + + world + : World + + +
+ + + + + + +
Method Summary
+ def + + init + : Unit + + +
+ + +
+ Methods inherited from Test +
+ fireEvent, toString +
+ + +
+ Methods inherited from AnyRef +
+ getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + +
Value Details
+
+ + + val + title : java.lang.String +
+
+
+
+ Overrides +
+
+ Test.title +
+

+
+
+ + + val + world : World +
+
+
+
+ Overrides +
+
+ Test.world +
+

+ + +
Method Details
+
+ + + def + init : Unit +
+
+
+
+ Overrides +
+
+ Test.init +
+

+ + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/graphyx/tests/Joints1$object.html b/doc/graphyx/tests/Joints1$object.html new file mode 100644 index 0000000..808acb0 --- /dev/null +++ b/doc/graphyx/tests/Joints1$object.html @@ -0,0 +1,169 @@ + + + object Joints1 in graphyx.tests + + + + + + + + + + + +
+ graphyx.tests +

+ object Joints1 +

+
+ [source: graphyx/tests/Joints1.scala] +

+
+
+ + + object + Joints1 +
+
extends Test
+
+ + + + + + + + + + + + +
Value Summary
+ override val + + title + : java.lang.String + + +
+ val + + world + : World + + +
+ + + + + + +
Method Summary
+ def + + init + : Unit + + +
+ + +
+ Methods inherited from Test +
+ fireEvent, toString +
+ + +
+ Methods inherited from AnyRef +
+ getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + +
Value Details
+
+ + override + val + title : java.lang.String +
+
+
+
+ Overrides +
+
+ Test.title +
+

+
+
+ + + val + world : World +
+
+
+
+ Overrides +
+
+ Test.world +
+

+ + +
Method Details
+
+ + + def + init : Unit +
+
+
+
+ Overrides +
+
+ Test.init +
+

+ + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/graphyx/tests/Joints2$object.html b/doc/graphyx/tests/Joints2$object.html new file mode 100644 index 0000000..b141a42 --- /dev/null +++ b/doc/graphyx/tests/Joints2$object.html @@ -0,0 +1,169 @@ + + + object Joints2 in graphyx.tests + + + + + + + + + + + +
+ graphyx.tests +

+ object Joints2 +

+
+ [source: graphyx/tests/Joints2.scala] +

+
+
+ + + object + Joints2 +
+
extends Test
+
+ + + + + + + + + + + + +
Value Summary
+ override val + + title + : java.lang.String + + +
+ val + + world + : World + + +
+ + + + + + +
Method Summary
+ def + + init + : Unit + + +
+ + +
+ Methods inherited from Test +
+ fireEvent, toString +
+ + +
+ Methods inherited from AnyRef +
+ getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + +
Value Details
+
+ + override + val + title : java.lang.String +
+
+
+
+ Overrides +
+
+ Test.title +
+

+
+
+ + + val + world : World +
+
+
+
+ Overrides +
+
+ Test.world +
+

+ + +
Method Details
+
+ + + def + init : Unit +
+
+
+
+ Overrides +
+
+ Test.init +
+

+ + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/graphyx/tests/Net$object.html b/doc/graphyx/tests/Net$object.html new file mode 100644 index 0000000..3bf8f69 --- /dev/null +++ b/doc/graphyx/tests/Net$object.html @@ -0,0 +1,169 @@ + + + object Net in graphyx.tests + + + + + + + + + + + +
+ graphyx.tests +

+ object Net +

+
+ [source: graphyx/tests/Net.scala] +

+
+
+ + + object + Net +
+
extends Test
+
+ + + + + + + + + + + + +
Value Summary
+ val + + title + : java.lang.String + + +
+ val + + world + : World + + +
+ + + + + + +
Method Summary
+ def + + init + : Unit + + +
+ + +
+ Methods inherited from Test +
+ fireEvent, toString +
+ + +
+ Methods inherited from AnyRef +
+ getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + +
Value Details
+
+ + + val + title : java.lang.String +
+
+
+
+ Overrides +
+
+ Test.title +
+

+
+
+ + + val + world : World +
+
+
+
+ Overrides +
+
+ Test.world +
+

+ + +
Method Details
+
+ + + def + init : Unit +
+
+
+
+ Overrides +
+
+ Test.init +
+

+ + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/graphyx/tests/RagdollTest$object.html b/doc/graphyx/tests/RagdollTest$object.html new file mode 100644 index 0000000..6457166 --- /dev/null +++ b/doc/graphyx/tests/RagdollTest$object.html @@ -0,0 +1,169 @@ + + + object RagdollTest in graphyx.tests + + + + + + + + + + + +
+ graphyx.tests +

+ object RagdollTest +

+
+ [source: graphyx/tests/RagdollTest.scala] +

+
+
+ + + object + RagdollTest +
+
extends Test
+
+ + + + + + + + + + + + +
Value Summary
+ val + + title + : java.lang.String + + +
+ val + + world + : World + + +
+ + + + + + +
Method Summary
+ def + + init + : Unit + + +
+ + +
+ Methods inherited from Test +
+ fireEvent, toString +
+ + +
+ Methods inherited from AnyRef +
+ getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + +
Value Details
+
+ + + val + title : java.lang.String +
+
+
+
+ Overrides +
+
+ Test.title +
+

+
+
+ + + val + world : World +
+
+
+
+ Overrides +
+
+ Test.world +
+

+ + +
Method Details
+
+ + + def + init : Unit +
+
+
+
+ Overrides +
+
+ Test.init +
+

+ + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/graphyx/tests/Restitution$object.html b/doc/graphyx/tests/Restitution$object.html new file mode 100644 index 0000000..29c62a6 --- /dev/null +++ b/doc/graphyx/tests/Restitution$object.html @@ -0,0 +1,169 @@ + + + object Restitution in graphyx.tests + + + + + + + + + + + +
+ graphyx.tests +

+ object Restitution +

+
+ [source: graphyx/tests/Restitution.scala] +

+
+
+ + + object + Restitution +
+
extends Test
+
+ + + + + + + + + + + + +
Value Summary
+ val + + title + : java.lang.String + + +
+ val + + world + : World + + +
+ + + + + + +
Method Summary
+ def + + init + : Unit + + +
+ + +
+ Methods inherited from Test +
+ fireEvent, toString +
+ + +
+ Methods inherited from AnyRef +
+ getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + +
Value Details
+
+ + + val + title : java.lang.String +
+
+
+
+ Overrides +
+
+ Test.title +
+

+
+
+ + + val + world : World +
+
+
+
+ Overrides +
+
+ Test.world +
+

+ + +
Method Details
+
+ + + def + init : Unit +
+
+
+
+ Overrides +
+
+ Test.init +
+

+ + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/graphyx/tests/Stacking$object.html b/doc/graphyx/tests/Stacking$object.html new file mode 100644 index 0000000..c84e2c0 --- /dev/null +++ b/doc/graphyx/tests/Stacking$object.html @@ -0,0 +1,169 @@ + + + object Stacking in graphyx.tests + + + + + + + + + + + +
+ graphyx.tests +

+ object Stacking +

+
+ [source: graphyx/tests/Stacking.scala] +

+
+
+ + + object + Stacking +
+
extends Test
+
+ + + + + + + + + + + + +
Value Summary
+ val + + title + : java.lang.String + + +
+ val + + world + : World + + +
+ + + + + + +
Method Summary
+ def + + init + : Unit + + +
+ + +
+ Methods inherited from Test +
+ fireEvent, toString +
+ + +
+ Methods inherited from AnyRef +
+ getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + +
Value Details
+
+ + + val + world : World +
+
+
+
+ Overrides +
+
+ Test.world +
+

+
+
+ + + val + title : java.lang.String +
+
+
+
+ Overrides +
+
+ Test.title +
+

+ + +
Method Details
+
+ + + def + init : Unit +
+
+
+
+ Overrides +
+
+ Test.init +
+

+ + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/graphyx/tests/Test.html b/doc/graphyx/tests/Test.html new file mode 100644 index 0000000..78cec07 --- /dev/null +++ b/doc/graphyx/tests/Test.html @@ -0,0 +1,190 @@ + + + trait Test in graphyx.tests + + + + + + + + + + + +
+ graphyx.tests +

+ trait Test +

+
+ [source: graphyx/tests/Test.scala] +

+
+
+ + + trait + Test +
+
extends AnyRef
+
+
Direct Known Subclasses:
+
BallStack, Chain, CompositeShape, Cup, EmptyTest, Friction, Friction2, General1, General2, Joints1, Joints2, Net, RagdollTest, Restitution, Stacking
+

+ + + + + + + + + + + + +
Value Summary
+ abstract val + + title + : java.lang.String + + +
+ abstract val + + world + : World + + +
+ + + + + + + + + + + + + + +
Method Summary
+ def + + fireEvent + : Unit + + +
+ abstract def + + init + : Unit + + +
+ override def + + toString + : java.lang.String + +
Returns a string representation of the object.
+
+ + +
+ Methods inherited from AnyRef +
+ getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + +
Value Details
+
+ + abstract + val + world : World +
+
+

+
+
+ + abstract + val + title : java.lang.String +
+
+

+ + +
Method Details
+
+ + abstract + def + init : Unit +
+
+

+
+
+ + + def + fireEvent : Unit +
+
+

+
+
+ + 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.

+
+ + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/index.html b/doc/index.html new file mode 100644 index 0000000..33257d7 --- /dev/null +++ b/doc/index.html @@ -0,0 +1,14 @@ + + + SiMS + + + + + + + + + + + \ No newline at end of file diff --git a/doc/modules.html b/doc/modules.html new file mode 100644 index 0000000..8edb9c7 --- /dev/null +++ b/doc/modules.html @@ -0,0 +1,34 @@ + + + List of all packages + + +
+
SiMS
+ All objects and classes +
Packages
+ \ No newline at end of file diff --git a/doc/nav-classes.html b/doc/nav-classes.html new file mode 100644 index 0000000..505f7c6 --- /dev/null +++ b/doc/nav-classes.html @@ -0,0 +1,27 @@ + + + navigation + + +
+ + A +B +C +D +E +G +I +L +M +P +R +T +V +X + +
+ \ No newline at end of file diff --git a/doc/root-content.html b/doc/root-content.html new file mode 100644 index 0000000..e5c8a85 --- /dev/null +++ b/doc/root-content.html @@ -0,0 +1,69 @@ + + + All Packages + + +
Simple Mechanics Simulator (SiMS) API

This document is the API specification for SiMS


+ + + + + + + + + + + + + +
Package Summary
+ package + graphyx + +
+ package + graphyx.actors + +
+ package + graphyx.graphics + +
+ package + graphyx.gui + +
+ package + graphyx.tests + +
+ package + sims.collision + +
+ package + sims.dynamics + +
+ package + sims.dynamics.joints + +
+ package + sims.geometry + +
+ package + sims.math + +
+ package + sims.prefabs + +
+ package + sims.util + +
+ \ No newline at end of file diff --git a/doc/script.js b/doc/script.js new file mode 100644 index 0000000..9728804 --- /dev/null +++ b/doc/script.js @@ -0,0 +1,112 @@ + + diff --git a/doc/sims/collision$content.html b/doc/sims/collision$content.html new file mode 100644 index 0000000..d34c535 --- /dev/null +++ b/doc/sims/collision$content.html @@ -0,0 +1,191 @@ + + + All classes and objects in sims.collision + + +
Simple Mechanics Simulator (SiMS) API

This document is the API specification for SiMS

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Class Summary
+ case class + + AABB + (val minVertex : Vector2D, val maxVertex : Vector2D) extends scala.Product + +
Axis Aligned Bounding Boxes, kurz AABBs, sind Rechtecke die eine bestimmte Form umhuellen. + Da AABBs nach den X- und Y-Achsen orientiert sind, ermoeglichen sie eine schnelle + und einfache Feststellung ob zwei AABBs sich ueberschneiden.
+
+ case class + + CircleCollision + (val c1 : Circle, val c2 : Circle) extends Collision with scala.Product + +
Kollision zwischen zwei Kreisen.
+
+ abstract class + + Collision + extends Constraint with AnyRef + +
Kollisionen zwischen zwei Formen enthalten Methoden zur Berrechnen der Kollisionsreaktion.
+
+ abstract class + + Detector + extends AnyRef + +
Eine Welt ermittelt ihre Kollisionen durch konkrete Implementierungen dieser Klasse.
+
+ class + + GridDetector + (val override world : World) extends Detector + +
Eine konkrete Implementierung von Detector. GridDetector ermittelt + alle Kollisionen mit einem Gittersystem.
+
+ case class + + Overlap + (val poly : ConvexPolygon, val sideNum : Int, val overlap : Double) extends scala.Product + + +
+ case class + + Pair + (val s1 : Shape, val s2 : Shape) extends (Shape, Shape) + +
Formenpaar.
+
+ case class + + PolyCircleCollision + (val p : ConvexPolygon, val c : Circle) extends Collision with scala.Product + +
Kollision zwischen einem konvexen Polygon und einem Kreis.
+
+ case class + + PolyCollision + (val p1 : ConvexPolygon, val p2 : ConvexPolygon) extends Collision with scala.Product + +
Kollision zwischen zwei konvexen Polygonen.
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Object Summary
+ object + + AABB + extends (Vector2D, Vector2D) => AABB + + +
+ object + + CircleCollision + extends (Circle, Circle) => CircleCollision + + +
+ object + + Collision + extends AnyRef + + +
+ object + + Overlap + extends (ConvexPolygon, Int, Double) => Overlap + + +
+ object + + Pair + extends (Shape, Shape) => Pair + + +
+ object + + PolyCircleCollision + extends (ConvexPolygon, Circle) => PolyCircleCollision + + +
+ object + + PolyCollision + extends (ConvexPolygon, ConvexPolygon) => PolyCollision + + +
+ \ No newline at end of file diff --git a/doc/sims/collision$package.html b/doc/sims/collision$package.html new file mode 100644 index 0000000..0871d60 --- /dev/null +++ b/doc/sims/collision$package.html @@ -0,0 +1,30 @@ + + + List of classes and objects in package sims.collision + + + + +
Classes
+
Objects
+ \ No newline at end of file diff --git a/doc/sims/collision/AABB$object.html b/doc/sims/collision/AABB$object.html new file mode 100644 index 0000000..6d5d29d --- /dev/null +++ b/doc/sims/collision/AABB$object.html @@ -0,0 +1,82 @@ + + + object AABB in sims.collision + + + + + + + + + + + +
+ sims.collision +

+ object AABB +

+
+ [source: sims/collision/AABB.scala] +

+
+
+ + + object + AABB +
+
extends (Vector2D, Vector2D) => AABB
+
+ + + + + + +
+ Methods inherited from scala.Function2 +
+ scala.Function2.toString, scala.Function2.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/collision/AABB.html b/doc/sims/collision/AABB.html new file mode 100644 index 0000000..d4759f1 --- /dev/null +++ b/doc/sims/collision/AABB.html @@ -0,0 +1,309 @@ + + + class AABB in sims.collision + + + + + + + + + + + +
+ sims.collision +

+ class AABB +

+
+ [source: sims/collision/AABB.scala] +

+
+
+ + case + class + AABB(val minVertex : Vector2D, val maxVertex : Vector2D) +
+
extends scala.Product
+
+
Axis Aligned Bounding Boxes, kurz AABBs, sind Rechtecke die eine bestimmte Form umhuellen. + Da AABBs nach den X- und Y-Achsen orientiert sind, ermoeglichen sie eine schnelle + und einfache Feststellung ob zwei AABBs sich ueberschneiden.
+
+ Parameters
minVertex - Ortsvektor der minimalen Ecke des AABBs
maxVertex - Ortsvektor der maximalen Ecke des AABBs
+
+
Direct Known Subclasses:
+
GraphicalAABB
+

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method Summary
+ 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.
+
+ def + + overlaps + (box : AABB) : Boolean + +
Ueberprueft ob dieses AABB sich mit dem AABB box ueberschneidet.
+
+ 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.
+
+ + +
+ Methods inherited from AnyRef +
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + + +
Method Details
+
+ + + def + overlaps(box : AABB) : Boolean +
+
+
+
Ueberprueft ob dieses AABB sich mit dem AABB box ueberschneidet.
+
+ Parameters
box - das mit diesem auf Ueberschneidung zu ueberpruefende AABB
+
+
+
+ + 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/collision/CircleCollision$object.html b/doc/sims/collision/CircleCollision$object.html new file mode 100644 index 0000000..c175c15 --- /dev/null +++ b/doc/sims/collision/CircleCollision$object.html @@ -0,0 +1,82 @@ + + + object CircleCollision in sims.collision + + + + + + + + + + + +
+ sims.collision +

+ object CircleCollision +

+
+ [source: sims/collision/CircleCollision.scala] +

+
+
+ + + object + CircleCollision +
+
extends (Circle, Circle) => CircleCollision
+
+ + + + + + +
+ Methods inherited from scala.Function2 +
+ scala.Function2.toString, scala.Function2.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/collision/CircleCollision.html b/doc/sims/collision/CircleCollision.html new file mode 100644 index 0000000..d305be6 --- /dev/null +++ b/doc/sims/collision/CircleCollision.html @@ -0,0 +1,409 @@ + + + class CircleCollision in sims.collision + + + + + + + + + + + +
+ sims.collision +

+ class CircleCollision +

+
+ [source: sims/collision/CircleCollision.scala] +

+
+
+ + case + class + CircleCollision(val c1 : Circle, val c2 : Circle) +
+
extends Collision with scala.Product
+
+
Kollision zwischen zwei Kreisen.
+
+ + + + + + + + + + + + + + + + + + + + + +
Value Summary
+ val + + normal + : Vector2D + +
Normalenvektor zu der Kollisionsebene.
+
+ val + + points + : scala.List[Vector2D] + +
Kollisionspunkte.
+
+ val + + shape1 + : Circle + +
Erste Kollisionsform (Referenz).
+
+ val + + shape2 + : Circle + +
Zweite Kollisionsform (eindringend).
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Method Summary
+ 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.
+
+ + +
+ Methods inherited from Collision +
+ correctVelocity, correctFriction, correctPosition +
+ + +
+ Methods inherited from AnyRef +
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + +
Value Details
+
+ + + val + shape1 : Circle +
+
+
+
Erste Kollisionsform (Referenz).
+
+
+
+ Overrides +
+
+ Collision.shape1 +
+

+
+
+ + + val + shape2 : Circle +
+
+
+
Zweite Kollisionsform (eindringend).
+
+
+
+ Overrides +
+
+ Collision.shape2 +
+

+
+
+ + + val + normal : Vector2D +
+
+
+
Normalenvektor zu der Kollisionsebene.
+
+
+
+ Overrides +
+
+ Collision.normal +
+

+
+
+ + + val + points : scala.List[Vector2D] +
+
+
+
Kollisionspunkte.
+
+
+
+ Overrides +
+
+ Collision.points +
+

+ + +
Method Details
+
+ + 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/collision/Collision$object.html b/doc/sims/collision/Collision$object.html new file mode 100644 index 0000000..de0b9de --- /dev/null +++ b/doc/sims/collision/Collision$object.html @@ -0,0 +1,101 @@ + + + object Collision in sims.collision + + + + + + + + + + + +
+ sims.collision +

+ object Collision +

+
+ [source: sims/collision/Collision.scala] +

+
+
+ + + object + Collision +
+
extends AnyRef
+
+ + + + + + + + +
Value Summary
+ val + + ToleratedOverlap + : Double + +
Erlaubte Ueberlappung.
+
+ + + +
+ 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 + ToleratedOverlap : Double +
+
+
+
Erlaubte Ueberlappung.
+
+
+ + + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/sims/collision/Collision.html b/doc/sims/collision/Collision.html new file mode 100644 index 0000000..8b97de9 --- /dev/null +++ b/doc/sims/collision/Collision.html @@ -0,0 +1,259 @@ + + + class Collision in sims.collision + + + + + + + + + + + +
+ sims.collision +

+ class Collision +

+
+ [source: sims/collision/Collision.scala] +

+
+
+ + abstract + class + Collision +
+
extends Constraint with AnyRef
+
+
Kollisionen zwischen zwei Formen enthalten Methoden zur Berrechnen der Kollisionsreaktion.
+
+
+
Direct Known Subclasses:
+
CircleCollision, PolyCircleCollision, PolyCollision
+

+ + + + + + + + + + + + + + + + + + + + +
Value Summary
+ abstract val + + normal + : Vector2D + +
Normalenvektor zu der Kollisionsebene.
+
+ abstract val + + points + : scala.Iterable[Vector2D] + +
Kollisionspunkte.
+
+ abstract val + + shape1 + : Shape + +
Erste Kollisionsform (Referenz).
+
+ abstract val + + shape2 + : Shape + +
Zweite Kollisionsform (eindringend).
+
+ + + + + + + + + + + + + + +
Method Summary
+ def + + correctFriction + (point : Vector2D, normalForce : Double, h : Double) : Unit + + +
+ def + + correctPosition + (h : Double) : Unit + +
Korrigiert die Position der Koerper damit diese den Randbedingungen entsprechen.
+
+ def + + correctVelocity + (h : Double) : Unit + +
Korrigiert die Geschwindigkeit der Koerper damit diese den Randbedingungen entsprechen.
+
+ + +
+ 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
+
+ + abstract + val + shape1 : Shape +
+
+
+
Erste Kollisionsform (Referenz).
+
+
+
+
+ + abstract + val + shape2 : Shape +
+
+
+
Zweite Kollisionsform (eindringend).
+
+
+
+
+ + abstract + val + points : scala.Iterable[Vector2D] +
+
+
+
Kollisionspunkte.
+
+
+
+
+ + abstract + val + normal : Vector2D +
+
+
+
Normalenvektor zu der Kollisionsebene.
+
+
+ + +
Method Details
+
+ + + def + correctVelocity(h : Double) : Unit +
+
+
+
Korrigiert die Geschwindigkeit der Koerper damit diese den Randbedingungen entsprechen.
+
+
+
+ Overrides +
+
+ Constraint.correctVelocity +
+

+
+
+ + + def + correctFriction(point : Vector2D, normalForce : Double, h : Double) : Unit +
+
+

+
+
+ + + def + correctPosition(h : Double) : Unit +
+
+
+
Korrigiert die Position der Koerper damit diese den Randbedingungen entsprechen.
+
+
+
+ Overrides +
+
+ Constraint.correctPosition +
+

+ + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/sims/collision/Detector.html b/doc/sims/collision/Detector.html new file mode 100644 index 0000000..7aaa1e4 --- /dev/null +++ b/doc/sims/collision/Detector.html @@ -0,0 +1,133 @@ + + + class Detector in sims.collision + + + + + + + + + + + +
+ sims.collision +

+ class Detector +

+
+ [source: sims/collision/Detector.scala] +

+
+
+ + abstract + class + Detector +
+
extends AnyRef
+
+
Eine Welt ermittelt ihre Kollisionen durch konkrete Implementierungen dieser Klasse.
+
+
+
Direct Known Subclasses:
+
GridDetector
+

+ + + + + + + + +
Value Summary
+ abstract val + + world + : World + +
Die Welt dessen Formen auf Kollisionen ueberprueft werden sollen.
+
+ + + + + + +
Method Summary
+ abstract def + + collisions + : scala.Seq[Collision] + +
Ergibt alle Kollisionen zwischen Formen der Welt world.
+
+ + +
+ 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
+
+ + abstract + val + world : World +
+
+
+
Die Welt dessen Formen auf Kollisionen ueberprueft werden sollen.
+
+
+ + +
Method Details
+
+ + abstract + def + collisions : scala.Seq[Collision] +
+
+
+
Ergibt alle Kollisionen zwischen Formen der Welt world.
+
+
+ + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/sims/collision/GridDetector.html b/doc/sims/collision/GridDetector.html new file mode 100644 index 0000000..43dc1f6 --- /dev/null +++ b/doc/sims/collision/GridDetector.html @@ -0,0 +1,311 @@ + + + class GridDetector in sims.collision + + + + + + + + + + + +
+ sims.collision +

+ class GridDetector +

+
+ [source: sims/collision/GridDetector.scala] +

+
+
+ + + class + GridDetector(val override world : World) +
+
extends Detector
+
+
Eine konkrete Implementierung von Detector. GridDetector ermittelt + alle Kollisionen mit einem Gittersystem.
+
+ + + + + + + + + + + + + + + + + +
Value Summary
+ val + + collisionMethods + : scala.collection.mutable.ArrayBuffer[scala.PartialFunction[(Shape, Shape), Collision]] + +
Array von Kollisionsmethoden fuer Formenpaare.
+
+ val + + detectionMethods + : scala.collection.mutable.ArrayBuffer[scala.PartialFunction[(Shape, Shape), Boolean]] + +
Array von Kollisionserkennungsmethoden fuer Formenpaare.
+
+ var + + gridSide + : Double + +
Breite und Hoehe einer Gitterzelle.
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Method Summary
+ def + + colliding + (p : Pair) : Boolean + +
Gibt an, ob das Formenpaar p kollidiert.
+
+ def + + collidingPairs + : scala.Seq[Pair] + +
Ergibt alle kollidierenden Paare.
+
+ def + + collision + (p : Pair) : Collision + +
Gibt die Kollision des Formenpaares p zurueck.
+
+ def + + collisions + : scala.Seq[Collision] + +
Ergibt alle Kollisionen.
+
+ def + + getPairs + : scala.Seq[Pair] + +
Ergibt potenzielle Kollisionspaare der Welt world.
+
+ def + + pairs + : scala.Seq[Pair] + +
Alle potentiellen Kollisionspaare der Welt.
+
+ + +
+ 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 + detectionMethods : scala.collection.mutable.ArrayBuffer[scala.PartialFunction[(Shape, Shape), Boolean]] +
+
+
+
Array von Kollisionserkennungsmethoden fuer Formenpaare.
+
+
+
+
+ + + val + collisionMethods : scala.collection.mutable.ArrayBuffer[scala.PartialFunction[(Shape, Shape), Collision]] +
+
+
+
Array von Kollisionsmethoden fuer Formenpaare.
+
+
+
+
+ + + var + gridSide : Double +
+
+
+
Breite und Hoehe einer Gitterzelle.
+
+
+ + +
Method Details
+
+ + + def + colliding(p : Pair) : Boolean +
+
+
+
Gibt an, ob das Formenpaar p kollidiert.
+
+ Parameters
p - Formenpaar.
+
+
+
+ + + def + collision(p : Pair) : Collision +
+
+
+
Gibt die Kollision des Formenpaares p zurueck.
+
+ Parameters
p - Formenpaar.
+
+
+
+ + + def + getPairs : scala.Seq[Pair] +
+
+
+
Ergibt potenzielle Kollisionspaare der Welt world. +

+ Ein Kollisionspaar ist ein Paar aus zwei verschiedenen Formen, das folgenden Bedingungen unterliegt: +

    +
  • Die Formen muessen sich in der gleichen Gitterzelle befinden.
  • +
  • Ihre AABBs muessen sich ueberlappen.
  • +
  • Die Formen duerfen nicht von dem gleichen Koerper sein.
  • +
  • Mindestens eine Form darf nicht Fixiert sein.
  • +
  • Beide muessen {@link dynamics.Shape#collidable collidierbar} sein.
  • +
+
+
+
+
+ + + def + pairs : scala.Seq[Pair] +
+
+
+
Alle potentiellen Kollisionspaare der Welt.
+
+ See Also
getPairs
+
+
+
+ + + def + collidingPairs : scala.Seq[Pair] +
+
+
+
Ergibt alle kollidierenden Paare.
+
+
+
+
+ + + def + collisions : scala.Seq[Collision] +
+
+
+
Ergibt alle Kollisionen.
+
+
+
+ Overrides +
+
+ Detector.collisions +
+

+ + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/sims/collision/Overlap$object.html b/doc/sims/collision/Overlap$object.html new file mode 100644 index 0000000..0989c48 --- /dev/null +++ b/doc/sims/collision/Overlap$object.html @@ -0,0 +1,82 @@ + + + object Overlap in sims.collision + + + + + + + + + + + +
+ sims.collision +

+ object Overlap +

+
+ [source: sims/collision/Overlap.scala] +

+
+
+ + + object + Overlap +
+
extends (ConvexPolygon, Int, Double) => Overlap
+
+ + + + + + +
+ Methods inherited from scala.Function3 +
+ scala.Function3.toString, scala.Function3.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/collision/Overlap.html b/doc/sims/collision/Overlap.html new file mode 100644 index 0000000..f76df7e --- /dev/null +++ b/doc/sims/collision/Overlap.html @@ -0,0 +1,276 @@ + + + class Overlap in sims.collision + + + + + + + + + + + +
+ sims.collision +

+ class Overlap +

+
+ [source: sims/collision/Overlap.scala] +

+
+
+ + case + class + Overlap(val poly : ConvexPolygon, val sideNum : Int, val overlap : Double) +
+
extends scala.Product
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method Summary
+ 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.
+
+ + +
+ Methods inherited from AnyRef +
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + + +
Method Details
+
+ + 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/collision/Pair$object.html b/doc/sims/collision/Pair$object.html new file mode 100644 index 0000000..fab5d78 --- /dev/null +++ b/doc/sims/collision/Pair$object.html @@ -0,0 +1,82 @@ + + + object Pair in sims.collision + + + + + + + + + + + +
+ sims.collision +

+ object Pair +

+
+ [source: sims/collision/Pair.scala] +

+
+
+ + + object + Pair +
+
extends (Shape, Shape) => Pair
+
+ + + + + + +
+ Methods inherited from scala.Function2 +
+ scala.Function2.toString, scala.Function2.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/collision/Pair.html b/doc/sims/collision/Pair.html new file mode 100644 index 0000000..15b53bf --- /dev/null +++ b/doc/sims/collision/Pair.html @@ -0,0 +1,257 @@ + + + class Pair in sims.collision + + + + + + + + + + + +
+ sims.collision +

+ class Pair +

+
+ [source: sims/collision/Pair.scala] +

+
+
+ + case + class + Pair(val s1 : Shape, val s2 : Shape) +
+
extends (Shape, Shape)
+
+
Formenpaar.
+
+ + + + + + + +
Additional Constructor Summary
+ def + + this + (t : (Shape, Shape)) : Pair + + +
+ + + + +
+ Values and Variables inherited from scala.Tuple2 +
+ scala.Tuple2._1, scala.Tuple2._2 +
+ + + + + + + + + + + + + + +
Method Summary
+ override def + + equals + (other : 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 + + productPrefix + : java.lang.String + + +
+ + +
+ Methods inherited from scala.Tuple2 +
+ scala.Tuple2.toString, scala.Tuple2.swap +
+ + +
+ Methods inherited from scala.Product2 +
+ scala.Product2.productArity, scala.Product2.productElement +
+ + +
+ 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(t : (Shape, Shape)) : Pair +
+
+

+ + + + +
Method Details
+
+ + override + def + equals(other : 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.

+
+
+ Overrides +
+
+ scala.Tuple2.scala.Tuple2.equals +
+

+
+
+ + 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.

+
+
+ Overrides +
+
+ scala.Tuple2.scala.Tuple2.hashCode +
+

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

+ + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/sims/collision/PolyCircleCollision$object.html b/doc/sims/collision/PolyCircleCollision$object.html new file mode 100644 index 0000000..7ccdcf3 --- /dev/null +++ b/doc/sims/collision/PolyCircleCollision$object.html @@ -0,0 +1,82 @@ + + + object PolyCircleCollision in sims.collision + + + + + + + + + + + +
+ sims.collision +

+ object PolyCircleCollision +

+
+ [source: sims/collision/PolyCircleCollision.scala] +

+
+
+ + + object + PolyCircleCollision +
+
extends (ConvexPolygon, Circle) => PolyCircleCollision
+
+ + + + + + +
+ Methods inherited from scala.Function2 +
+ scala.Function2.toString, scala.Function2.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/collision/PolyCircleCollision.html b/doc/sims/collision/PolyCircleCollision.html new file mode 100644 index 0000000..eb30399 --- /dev/null +++ b/doc/sims/collision/PolyCircleCollision.html @@ -0,0 +1,409 @@ + + + class PolyCircleCollision in sims.collision + + + + + + + + + + + +
+ sims.collision +

+ class PolyCircleCollision +

+
+ [source: sims/collision/PolyCircleCollision.scala] +

+
+
+ + case + class + PolyCircleCollision(val p : ConvexPolygon, val c : Circle) +
+
extends Collision with scala.Product
+
+
Kollision zwischen einem konvexen Polygon und einem Kreis.
+
+ + + + + + + + + + + + + + + + + + + + + +
Value Summary
+ val + + normal + : Vector2D + +
Normalenvektor zu der Kollisionsebene.
+
+ val + + points + : scala.List[Vector2D] + +
Kollisionspunkte.
+
+ val + + shape1 + : Shape + +
Erste Kollisionsform (Referenz).
+
+ val + + shape2 + : Circle + +
Zweite Kollisionsform (eindringend).
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Method Summary
+ 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.
+
+ + +
+ Methods inherited from Collision +
+ correctVelocity, correctFriction, correctPosition +
+ + +
+ Methods inherited from AnyRef +
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + +
Value Details
+
+ + + val + shape1 : Shape +
+
+
+
Erste Kollisionsform (Referenz).
+
+
+
+ Overrides +
+
+ Collision.shape1 +
+

+
+
+ + + val + shape2 : Circle +
+
+
+
Zweite Kollisionsform (eindringend).
+
+
+
+ Overrides +
+
+ Collision.shape2 +
+

+
+
+ + + val + normal : Vector2D +
+
+
+
Normalenvektor zu der Kollisionsebene.
+
+
+
+ Overrides +
+
+ Collision.normal +
+

+
+
+ + + val + points : scala.List[Vector2D] +
+
+
+
Kollisionspunkte.
+
+
+
+ Overrides +
+
+ Collision.points +
+

+ + +
Method Details
+
+ + 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/collision/PolyCollision$object.html b/doc/sims/collision/PolyCollision$object.html new file mode 100644 index 0000000..a9642ae --- /dev/null +++ b/doc/sims/collision/PolyCollision$object.html @@ -0,0 +1,82 @@ + + + object PolyCollision in sims.collision + + + + + + + + + + + +
+ sims.collision +

+ object PolyCollision +

+
+ [source: sims/collision/PolyCollision.scala] +

+
+
+ + + object + PolyCollision +
+
extends (ConvexPolygon, ConvexPolygon) => PolyCollision
+
+ + + + + + +
+ Methods inherited from scala.Function2 +
+ scala.Function2.toString, scala.Function2.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/collision/PolyCollision.html b/doc/sims/collision/PolyCollision.html new file mode 100644 index 0000000..dbfe30b --- /dev/null +++ b/doc/sims/collision/PolyCollision.html @@ -0,0 +1,469 @@ + + + class PolyCollision in sims.collision + + + + + + + + + + + +
+ sims.collision +

+ class PolyCollision +

+
+ [source: sims/collision/PolyCollision.scala] +

+
+
+ + case + class + PolyCollision(val p1 : ConvexPolygon, val p2 : ConvexPolygon) +
+
extends Collision with scala.Product
+
+
Kollision zwischen zwei konvexen Polygonen.
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Value Summary
+ var + + minOverlap + : Overlap + + +
+ lazy val + + normal + : Vector2D + +
Normalenvektor zu der Kollisionsebene.
+
+ lazy val + + overlaps + : scala.RandomAccessSeq[Overlap] + + +
+ lazy val + + points + : scala.Seq[Vector2D] + +
Kollisionspunkte.
+
+ lazy val + + shape1 + : Shape + +
Erste Kollisionsform (Referenz).
+
+ lazy val + + shape2 + : Shape + +
Zweite Kollisionsform (eindringend).
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method Summary
+ 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.
+
+ def + + overlap + (axis : Vector2D) : Double + + +
+ 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.
+
+ + +
+ Methods inherited from Collision +
+ correctVelocity, correctFriction, correctPosition +
+ + +
+ Methods inherited from AnyRef +
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + +
Value Details
+
+ + + lazy val + overlaps : scala.RandomAccessSeq[Overlap] +
+
+

+
+
+ + + var + minOverlap : Overlap +
+
+

+
+
+ + + lazy val + shape1 : Shape +
+
+
+
Erste Kollisionsform (Referenz).
+
+
+
+ Overrides +
+
+ Collision.shape1 +
+

+
+
+ + + lazy val + shape2 : Shape +
+
+
+
Zweite Kollisionsform (eindringend).
+
+
+
+ Overrides +
+
+ Collision.shape2 +
+

+
+
+ + + lazy val + normal : Vector2D +
+
+
+
Normalenvektor zu der Kollisionsebene.
+
+
+
+ Overrides +
+
+ Collision.normal +
+

+
+
+ + + lazy val + points : scala.Seq[Vector2D] +
+
+
+
Kollisionspunkte.
+
+
+
+ Overrides +
+
+ Collision.points +
+

+ + +
Method Details
+
+ + + def + overlap(axis : Vector2D) : Double +
+
+

+
+
+ + 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$content.html b/doc/sims/dynamics$content.html new file mode 100644 index 0000000..256ead8 --- /dev/null +++ b/doc/sims/dynamics$content.html @@ -0,0 +1,146 @@ + + + All classes and objects in sims.dynamics + + +
Simple Mechanics Simulator (SiMS) API

This document is the API specification for SiMS

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Class Summary
+ class + + Body + (shps : Shape*) extends AnyRef + +
Ein 2-Dimensionaler Koerper besteht aus mehreren Formen. Im gegensatz zu letzteren, enthaelt ein Koerper dynamische Informationen (v, F, etc...).
+
+ case class + + Circle + (val radius : Double, val density : Double) extends Shape with scala.Product + +
Circle ist die Definition eines Kreises.
+
+ trait + + Constraint + extends AnyRef + +
Randbedingungen erben von dem Trait Constraint. + Fuer jeden Constraint koennen Position und Geschwindigkeit korrigiert werden. + Ihre Implementierung wurde von Erin Catto's box2d inspiriert.
+
+ case class + + Rectangle + (val halfWidth : Double, val halfHeight : Double, val density : Double) extends Shape with ConvexPolygon with scala.Product + +
Rechteck ist eine Art Polygon.
+
+ case class + + RegularPolygon + (val n : Int, val radius : Double, val density : Double) extends Shape with ConvexPolygon with scala.Product + +
Ein regelmaessiges Polygon mit n Seiten, dass der Kreis mit radius radius umschreibt.
+
+ abstract class + + Shape + extends AnyRef + +
Eine abstrakte Form.
+
+ class + + World + extends AnyRef + +
Eine Welt enthaelt und Simuliert ein System aus Koerpern und Verbindungen.
+
+ + + + + + + + + + + + + + + + + + + + + + +
Object Summary
+ object + + Body + extends AnyRef + + +
+ object + + Circle + extends (Double, Double) => Circle + + +
+ object + + Rectangle + extends (Double, Double, Double) => Rectangle + + +
+ object + + RegularPolygon + extends (Int, Double, Double) => RegularPolygon + + +
+ object + + Shape + extends AnyRef + + +
+ \ No newline at end of file diff --git a/doc/sims/dynamics$package.html b/doc/sims/dynamics$package.html new file mode 100644 index 0000000..b2430c2 --- /dev/null +++ b/doc/sims/dynamics$package.html @@ -0,0 +1,26 @@ + + + List of classes and objects in package sims.dynamics + + + + +
Classes
+
Objects
+ \ No newline at end of file diff --git a/doc/sims/dynamics/Body$object.html b/doc/sims/dynamics/Body$object.html new file mode 100644 index 0000000..fe5fec2 --- /dev/null +++ b/doc/sims/dynamics/Body$object.html @@ -0,0 +1,75 @@ + + + object Body in sims.dynamics + + + + + + + + + + + +
+ sims.dynamics +

+ object Body +

+
+ [source: sims/dynamics/Body.scala] +

+
+
+ + + object + Body +
+
extends AnyRef
+
+ + + + + + +
+ Methods inherited from AnyRef +
+ getClass, hashCode, equals, clone, toString, 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/Body.html b/doc/sims/dynamics/Body.html new file mode 100644 index 0000000..20abf83 --- /dev/null +++ b/doc/sims/dynamics/Body.html @@ -0,0 +1,659 @@ + + + class Body in sims.dynamics + + + + + + + + + + + +
+ sims.dynamics +

+ class Body +

+
+ [source: sims/dynamics/Body.scala] +

+
+
+ + + class + Body(shps : Shape*) +
+
extends AnyRef
+
+
Ein 2-Dimensionaler Koerper besteht aus mehreren Formen. Im gegensatz zu letzteren, enthaelt ein Koerper dynamische Informationen (v, F, etc...).
+
+ Parameters
shps - zu dem Koerper gehoerende Formen.
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Value Summary
+ var + + angularVelocity + : Double + +
Winkelgeschwindigkeit dieses Koerpers.
+
+ var + + force + : Vector2D + +
Resultierende Kraft auf den Schwerpunkt dieses Koerpers.
+
+ var + + linearVelocity + : Vector2D + +
Lineargeschwindigkeit dieses Koerpers.
+
+ var + + monitor + : Boolean + +
Gibt an ob die Eigenschaften dieses Koerpers ueberwacht werden sollen.
+
+ val + + shapes + : scala.List[Shape] + +
Formen aus denen dieser Koerper besteht.
+
+ var + + torque + : Double + +
Resultierender Drehmoment zu dem Schwerpunkt dieses Koerpers.
+
+ val + + uid + : Int + +
Einzigartige Identifikationsnummer dieses Koerpers.
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method Summary
+ def + + I + : Double + +
Ergibt den Traegheitsmoment zu dem Schwerpunkt dieses Koerpers. Der Traegheitsmoment wird mit Hilfe des Steinerschen Satzes errechnet.
+
+ def + + ^ + (s : Shape) : Body + +
Erstellt einen neuen Koerper der zusaetzlich die Form s enthaelt.
+
+ def + + ^ + (b : Body) : Body + +
Erstellt einen neuen Koerper der zusaetzlich die Formen von dem Koerper b enthaelt.
+
+ def + + applyForce + (force : Vector2D, point : Vector2D) : Unit + +
Wendet eine Kraft auf einen Punkt dieses Koerpers an. Achtung: der gegebene Punkt wird nicht auf angehoerigkeit dieses + Koerpers ueberprueft.
+
+ def + + applyForce + (force : Vector2D) : Unit + +
Wendet eine Kraft auf den Schwerpunkt dieses Koerpers an.
+
+ def + + applyImpulse + (impulse : Vector2D, point : Vector2D) : Unit + +
Wendet einen Impuls auf einen Punkt dieses Koerpers an. Achtung: der gegebene Punkt wird nicht auf angehoerigkeit dieses + Koerpers ueberprueft.
+
+ def + + applyImpulse + (impulse : Vector2D) : Unit + +
Wendet einen Impuls auf den Schwerpunkt dieses Koerpers an.
+
+ def + + contains + (point : Vector2D) : Boolean + +
Ueberprueft ob der gegebene Punkt point sich in diesem Koerper befindet.
+
+ def + + fixed + : Boolean + +
Gibt an ob dieser Koerper fixiert ist.
+
+ def + + fixed_= + (value : Boolean) : Unit + +
Fixiert oder unfixiert diesen Koerper.
+
+ def + + mass + : Double + +
Ergibt die Masse dieses Koerpers. Die Masse ist gleich die Summe aller Massen seiner Formen.
+
+ def + + pos + : Vector2D + +
Ermittelt die Position dieses Koerpers. Die Position entspricht dem Schwerpunkt.
+
+ def + + pos_= + (newPos : Vector2D) : Unit + +
Setzt die Position dieses Koerpers und verschiebt dadurch die Positionen seiner Formen.
+
+ def + + rotation + : Double + +
Ergibt die aktuelle Rotation dieses Koerpers.
+
+ def + + rotation_= + (newRotation : Double) : Unit + +
Setzt die Rotation dieses Koerpers. Dazu werden auch die Positionen und Rotationen seiner Formen entsprechend veraendert.
+
+ override def + + toString + : java.lang.String + +
Returns a string representation of the object.
+
+ def + + velocityOfPoint + (point : Vector2D) : Vector2D + +
Lineargeschwindigkeit des gegebenen Punktes auf diesem Koerper. In Weltkoordinaten.
+
+ + +
+ Methods inherited from AnyRef +
+ getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + +
Value Details
+
+ + + val + uid : Int +
+
+
+
Einzigartige Identifikationsnummer dieses Koerpers.
+
+
+
+
+ + + val + shapes : scala.List[Shape] +
+
+
+
Formen aus denen dieser Koerper besteht.
+
+
+
+
+ + + var + monitor : Boolean +
+
+
+
Gibt an ob die Eigenschaften dieses Koerpers ueberwacht werden sollen.
+
+ See Also
World#monitors
+
+
+
+ + + var + linearVelocity : Vector2D +
+
+
+
Lineargeschwindigkeit dieses Koerpers.
+
+
+
+
+ + + var + angularVelocity : Double +
+
+
+
Winkelgeschwindigkeit dieses Koerpers.
+
+
+
+
+ + + var + force : Vector2D +
+
+
+
Resultierende Kraft auf den Schwerpunkt dieses Koerpers.
+
+
+
+
+ + + var + torque : Double +
+
+
+
Resultierender Drehmoment zu dem Schwerpunkt dieses Koerpers.
+
+
+ + +
Method Details
+
+ + + def + fixed : Boolean +
+
+
+
Gibt an ob dieser Koerper fixiert ist.
+
+
+
+
+ + + def + fixed_=(value : Boolean) : Unit +
+
+
+
Fixiert oder unfixiert diesen Koerper.
+
+
+
+
+ + + def + pos : Vector2D +
+
+
+
Ermittelt die Position dieses Koerpers. Die Position entspricht dem Schwerpunkt.
+
+ Returns
Position dieses Koerpers
+
+
+
+ + + def + pos_=(newPos : Vector2D) : Unit +
+
+
+
Setzt die Position dieses Koerpers und verschiebt dadurch die Positionen seiner Formen.
+
+ Parameters
newPos - neue Position
+
+
+
+ + + def + rotation : Double +
+
+
+
Ergibt die aktuelle Rotation dieses Koerpers.
+
+ Returns
aktuelle Rotation dieses Koerpers
+
+
+
+ + + def + rotation_=(newRotation : Double) : Unit +
+
+
+
Setzt die Rotation dieses Koerpers. Dazu werden auch die Positionen und Rotationen seiner Formen entsprechend veraendert.
+
+ Parameters
r - neue Rotation
+
+
+
+ + + def + velocityOfPoint(point : Vector2D) : Vector2D +
+
+
+
Lineargeschwindigkeit des gegebenen Punktes auf diesem Koerper. In Weltkoordinaten.
+
+
+
+
+ + + def + mass : Double +
+
+
+
Ergibt die Masse dieses Koerpers. Die Masse ist gleich die Summe aller Massen seiner Formen.
+
+ Returns
Masse des Koerpers
+
+
+
+ + + def + I : Double +
+
+
+
Ergibt den Traegheitsmoment zu dem Schwerpunkt dieses Koerpers. Der Traegheitsmoment wird mit Hilfe des Steinerschen Satzes errechnet.
+
+ Returns
Traegheitsmoment relativ zu dem Schwerpunkt dieses Koerpers
+
+
+
+ + + def + applyForce(force : Vector2D) : Unit +
+
+
+
Wendet eine Kraft auf den Schwerpunkt dieses Koerpers an.
+
+ Parameters
force - anzuwendender Kraftvektor
+
+
+
+ + + def + applyForce(force : Vector2D, point : Vector2D) : Unit +
+
+
+
Wendet eine Kraft auf einen Punkt dieses Koerpers an. Achtung: der gegebene Punkt wird nicht auf angehoerigkeit dieses + Koerpers ueberprueft.
+
+ Parameters
force - anzuwendender Kraftvektor
point - Ortsvektor des Punktes auf den die Kraft wirken soll (gegeben in Weltkoordinaten).
+
+
+
+ + + def + applyImpulse(impulse : Vector2D) : Unit +
+
+
+
Wendet einen Impuls auf den Schwerpunkt dieses Koerpers an.
+
+ Parameters
impulse - anzuwendender Impulsvektor
+
+
+
+ + + def + applyImpulse(impulse : Vector2D, point : Vector2D) : Unit +
+
+
+
Wendet einen Impuls auf einen Punkt dieses Koerpers an. Achtung: der gegebene Punkt wird nicht auf angehoerigkeit dieses + Koerpers ueberprueft.
+
+ Parameters
impulse - anzuwendender Impulsvektor
point - Ortsvektor des Punktes auf den der Impuls wirken soll (gegeben in Weltkoordinaten).
+
+
+
+ + + def + contains(point : Vector2D) : Boolean +
+
+
+
Ueberprueft ob der gegebene Punkt point sich in diesem Koerper befindet.
+
+
+
+
+ + 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.

+
+
+
+ + + def + ^(s : Shape) : Body +
+
+
+
Erstellt einen neuen Koerper der zusaetzlich die Form s enthaelt.
+
+ Parameters
s - zusaetzliche Form
+ Returns
neuer Koerper
+
+
+
+ + + def + ^(b : Body) : Body +
+
+
+
Erstellt einen neuen Koerper der zusaetzlich die Formen von dem Koerper b enthaelt.
+
+ Parameters
b - Koerper mit zusaetzlichen Formen
+ Returns
neuer Koerper
+
+ + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/sims/dynamics/Circle$object.html b/doc/sims/dynamics/Circle$object.html new file mode 100644 index 0000000..086b684 --- /dev/null +++ b/doc/sims/dynamics/Circle$object.html @@ -0,0 +1,82 @@ + + + object Circle in sims.dynamics + + + + + + + + + + + +
+ sims.dynamics +

+ object Circle +

+
+ [source: sims/dynamics/Circle.scala] +

+
+
+ + + object + Circle +
+
extends (Double, Double) => Circle
+
+ + + + + + +
+ Methods inherited from scala.Function2 +
+ scala.Function2.toString, scala.Function2.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/Circle.html b/doc/sims/dynamics/Circle.html new file mode 100644 index 0000000..d6807a8 --- /dev/null +++ b/doc/sims/dynamics/Circle.html @@ -0,0 +1,456 @@ + + + class Circle in sims.dynamics + + + + + + + + + + + +
+ sims.dynamics +

+ class Circle +

+
+ [source: sims/dynamics/Circle.scala] +

+
+
+ + case + class + Circle(val radius : Double, val density : Double) +
+
extends Shape with scala.Product
+
+
Circle ist die Definition eines Kreises.
+
+ Parameters
radius - Radius dieses Kreises
density - Dichte dieses Kreises
+
+
Direct Known Subclasses:
+
GraphicalCircle
+

+ + + + + + + + + + + + +
Value Summary
+ val + + I + : Double + +
Errechnet Traegheitsmoment zum Schwerpunkt dieser Form.
+
+ val + + volume + : Double + +
Volumen. Entspricht eigentlich der Flaeche dieser Form (in 2D) wird aber zum Errechnen der Masse verwendet.
+
+ + +
+ Values and Variables inherited from Shape +
+ uid, collidable, restitution, friction, pos, rotation, rotation0, refLocalPos, body, transientShapes +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method Summary
+ def + + AABB + : AABB + +
Gibt das umfassende AABB dieser Form zurueck.
+
+ def + + contains + (point : Vector2D) : Boolean + +
Ermittelt ob der gebene Punkt point in dieser Form enthalten ist.
+
+ 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 + + +
+ def + + project + (axis : Vector2D) : Projection + +
Ergibt die Projektion dieser Form auf eine Gerade gegeben durch den + Richtungsvektor axis.
+
+ override def + + toString + : java.lang.String + +
Returns a string representation of the object.
+
+ + +
+ Methods inherited from Shape +
+ mass, asBody, ^, ^ +
+ + +
+ Methods inherited from AnyRef +
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + +
Value Details
+
+ + + val + volume : Double +
+
+
+
Volumen. Entspricht eigentlich der Flaeche dieser Form (in 2D) wird aber zum Errechnen der Masse verwendet.
+
+
+
+ Overrides +
+
+ Shape.volume +
+

+
+
+ + + val + I : Double +
+
+
+
Errechnet Traegheitsmoment zum Schwerpunkt dieser Form.
+
+ Returns
Traegheitsmoment zum Schwerpunkt
+
+
+ Overrides +
+
+ Shape.I +
+

+ + +
Method Details
+
+ + + def + AABB : AABB +
+
+
+
Gibt das umfassende AABB dieser Form zurueck.
+
+ Returns
umfassendes AABB
+
+
+ Overrides +
+
+ Shape.AABB +
+

+
+
+ + + def + project(axis : Vector2D) : Projection +
+
+
+
Ergibt die Projektion dieser Form auf eine Gerade gegeben durch den + Richtungsvektor axis.
+
+ Parameters
axis - Richtungsvektor der Geraden
+ Returns
Projektion dieser Form
+
+
+ Overrides +
+
+ Shape.project +
+

+
+
+ + + def + contains(point : Vector2D) : Boolean +
+
+
+
Ermittelt ob der gebene Punkt point in dieser Form enthalten ist.
+
+
+
+ Overrides +
+
+ Shape.contains +
+

+
+
+ + 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/Constraint.html b/doc/sims/dynamics/Constraint.html new file mode 100644 index 0000000..556e5c3 --- /dev/null +++ b/doc/sims/dynamics/Constraint.html @@ -0,0 +1,132 @@ + + + trait Constraint in sims.dynamics + + + + + + + + + + + +
+ sims.dynamics +

+ trait Constraint +

+
+ [source: sims/dynamics/Constraint.scala] +

+
+
+ + + trait + Constraint +
+
extends AnyRef
+
+
Randbedingungen erben von dem Trait Constraint. + Fuer jeden Constraint koennen Position und Geschwindigkeit korrigiert werden. + Ihre Implementierung wurde von Erin Catto's box2d inspiriert.
+
+
+
Direct Known Subclasses:
+
Collision, Joint
+

+ + + + + + + + + + + + + +
Method Summary
+ abstract def + + correctPosition + (h : Double) : Unit + +
Korrigiert die Position der Koerper damit diese den Randbedingungen entsprechen.
+
+ abstract def + + correctVelocity + (h : Double) : Unit + +
Korrigiert die Geschwindigkeit der Koerper damit diese den Randbedingungen entsprechen.
+
+ + +
+ Methods inherited from AnyRef +
+ getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + + +
Method Details
+
+ + abstract + def + correctVelocity(h : Double) : Unit +
+
+
+
Korrigiert die Geschwindigkeit der Koerper damit diese den Randbedingungen entsprechen.
+
+
+
+
+ + abstract + def + correctPosition(h : Double) : Unit +
+
+
+
Korrigiert die Position der Koerper damit diese den Randbedingungen entsprechen.
+
+
+ + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/sims/dynamics/Rectangle$object.html b/doc/sims/dynamics/Rectangle$object.html new file mode 100644 index 0000000..7c76345 --- /dev/null +++ b/doc/sims/dynamics/Rectangle$object.html @@ -0,0 +1,82 @@ + + + object Rectangle in sims.dynamics + + + + + + + + + + + +
+ sims.dynamics +

+ object Rectangle +

+
+ [source: sims/dynamics/Rectangle.scala] +

+
+
+ + + object + Rectangle +
+
extends (Double, Double, Double) => Rectangle
+
+ + + + + + +
+ Methods inherited from scala.Function3 +
+ scala.Function3.toString, scala.Function3.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/Rectangle.html b/doc/sims/dynamics/Rectangle.html new file mode 100644 index 0000000..a002d40 --- /dev/null +++ b/doc/sims/dynamics/Rectangle.html @@ -0,0 +1,431 @@ + + + class Rectangle in sims.dynamics + + + + + + + + + + + +
+ sims.dynamics +

+ class Rectangle +

+
+ [source: sims/dynamics/Rectangle.scala] +

+
+
+ + case + class + Rectangle(val halfWidth : Double, val halfHeight : Double, val density : Double) +
+
extends Shape with ConvexPolygon with scala.Product
+
+
Rechteck ist eine Art Polygon.
+
+ Parameters
halfWidth - halbe Breite dieses Rechtecks
halfHeight - halbe Hoehe dieses Rechtecks
density - dichte dieses Rechtecks
+
+
Direct Known Subclasses:
+
GraphicalRectangle
+

+ + + + + + + + + + + + +
Value Summary
+ val + + I + : Double + +
Errechnet Traegheitsmoment zum Schwerpunkt dieser Form.
+
+ val + + volume + : Double + +
Volumen. Entspricht eigentlich der Flaeche dieser Form (in 2D) wird aber zum Errechnen der Masse verwendet.
+
+ + +
+ Values and Variables inherited from Shape +
+ uid, collidable, restitution, friction, pos, rotation, rotation0, refLocalPos, body, transientShapes +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method Summary
+ override def + + equals + (arg0 : Any) : Boolean + +
This method is used to compare the receiver object (this) + with the argument object (arg0) for equivalence.
+
+ def + + halfDiags + : scala.Array[Vector2D] + +
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.
+
+ 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 + + vertices + : scala.Array[Vector2D] + +
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.
+
+ + +
+ Methods inherited from ConvexPolygon +
+ sides, project, AABB, contains +
+ + +
+ Methods inherited from Shape +
+ mass, asBody, ^, ^ +
+ + +
+ Methods inherited from AnyRef +
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + +
Value Details
+
+ + + val + volume : Double +
+
+
+
Volumen. Entspricht eigentlich der Flaeche dieser Form (in 2D) wird aber zum Errechnen der Masse verwendet.
+
+
+
+ Overrides +
+
+ Shape.volume +
+

+
+
+ + + val + I : Double +
+
+
+
Errechnet Traegheitsmoment zum Schwerpunkt dieser Form.
+
+ Returns
Traegheitsmoment zum Schwerpunkt
+
+
+ Overrides +
+
+ Shape.I +
+

+ + +
Method Details
+
+ + + def + halfDiags : scala.Array[Vector2D] +
+
+
+
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.
+
+ Returns
Vektoren vom Zentrum dieses Rectecks bis zu den Ecken
+
+
+
+ + + def + vertices : scala.Array[Vector2D] +
+
+
+
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.
+
+ Returns
Ortsvektoren der Ecken dieses Rechtecks
+
+
+ Overrides +
+
+ ConvexPolygon.vertices +
+

+
+
+ + 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/RegularPolygon$object.html b/doc/sims/dynamics/RegularPolygon$object.html new file mode 100644 index 0000000..b2d8a0e --- /dev/null +++ b/doc/sims/dynamics/RegularPolygon$object.html @@ -0,0 +1,82 @@ + + + object RegularPolygon in sims.dynamics + + + + + + + + + + + +
+ sims.dynamics +

+ object RegularPolygon +

+
+ [source: sims/dynamics/RegularPolygon.scala] +

+
+
+ + + object + RegularPolygon +
+
extends (Int, Double, Double) => RegularPolygon
+
+ + + + + + +
+ Methods inherited from scala.Function3 +
+ scala.Function3.toString, scala.Function3.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/RegularPolygon.html b/doc/sims/dynamics/RegularPolygon.html new file mode 100644 index 0000000..764f13c --- /dev/null +++ b/doc/sims/dynamics/RegularPolygon.html @@ -0,0 +1,419 @@ + + + class RegularPolygon in sims.dynamics + + + + + + + + + + + +
+ sims.dynamics +

+ class RegularPolygon +

+
+ [source: sims/dynamics/RegularPolygon.scala] +

+
+
+ + case + class + RegularPolygon(val n : Int, val radius : Double, val density : Double) +
+
extends Shape with ConvexPolygon with scala.Product
+
+
Ein regelmaessiges Polygon mit n Seiten, dass der Kreis mit radius radius umschreibt.
+
+ Parameters
n - Anzahl der Seiten.
radius - Radius des umschreibenden Kreises.
density - Dichte.
+
+
Direct Known Subclasses:
+
GraphicalRegularPolygon
+

+ + + + + + + + + + + + +
Value Summary
+ val + + I + : Double + +
Errechnet Traegheitsmoment zum Schwerpunkt dieser Form.
+
+ val + + volume + : Double + +
Volumen. Entspricht eigentlich der Flaeche dieser Form (in 2D) wird aber zum Errechnen der Masse verwendet.
+
+ + +
+ Values and Variables inherited from Shape +
+ uid, collidable, restitution, friction, pos, rotation, rotation0, refLocalPos, body, transientShapes +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method Summary
+ override def + + equals + (arg0 : Any) : Boolean + +
This method is used to compare the receiver object (this) + with the argument object (arg0) for equivalence.
+
+ def + + halfDiags + : scala.Array[Vector2D] + + +
+ 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 + + vertices + : scala.Array[Vector2D] + +
Ergibt Position aller Ecken dieses Polygons. Die Ecken sind gegen den Uhrzeigersinn folgend.
+
+ + +
+ Methods inherited from ConvexPolygon +
+ sides, project, AABB, contains +
+ + +
+ Methods inherited from Shape +
+ mass, asBody, ^, ^ +
+ + +
+ Methods inherited from AnyRef +
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + +
Value Details
+
+ + + val + volume : Double +
+
+
+
Volumen. Entspricht eigentlich der Flaeche dieser Form (in 2D) wird aber zum Errechnen der Masse verwendet.
+
+
+
+ Overrides +
+
+ Shape.volume +
+

+
+
+ + + val + I : Double +
+
+
+
Errechnet Traegheitsmoment zum Schwerpunkt dieser Form.
+
+ Returns
Traegheitsmoment zum Schwerpunkt
+
+
+ Overrides +
+
+ Shape.I +
+

+ + +
Method Details
+
+ + + def + halfDiags : scala.Array[Vector2D] +
+
+

+
+
+ + + def + vertices : scala.Array[Vector2D] +
+
+
+
Ergibt Position aller Ecken dieses Polygons. Die Ecken sind gegen den Uhrzeigersinn folgend.
+
+ Returns
Ortsvektoren der Ecken
+
+
+ Overrides +
+
+ ConvexPolygon.vertices +
+

+
+
+ + 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/Shape$object.html b/doc/sims/dynamics/Shape$object.html new file mode 100644 index 0000000..a90e5ee --- /dev/null +++ b/doc/sims/dynamics/Shape$object.html @@ -0,0 +1,75 @@ + + + object Shape in sims.dynamics + + + + + + + + + + + +
+ sims.dynamics +

+ object Shape +

+
+ [source: sims/dynamics/Shape.scala] +

+
+
+ + + object + Shape +
+
extends AnyRef
+
+ + + + + + +
+ Methods inherited from AnyRef +
+ getClass, hashCode, equals, clone, toString, 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/Shape.html b/doc/sims/dynamics/Shape.html new file mode 100644 index 0000000..c62245d --- /dev/null +++ b/doc/sims/dynamics/Shape.html @@ -0,0 +1,559 @@ + + + class Shape in sims.dynamics + + + + + + + + + + + +
+ sims.dynamics +

+ class Shape +

+
+ [source: sims/dynamics/Shape.scala] +

+
+
+ + abstract + class + Shape +
+
extends AnyRef
+
+
Eine abstrakte Form.
+
+
+
Direct Known Subclasses:
+
GraphicalShape, Circle, Rectangle, RegularPolygon
+

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Value Summary
+ abstract val + + I + : Double + +
Errechnet Traegheitsmoment zum Schwerpunkt dieser Form.
+
+ var + + body + : Body + +
Beinhaltender Koerper. Sollte nicht selbst bei Initialisierung definiert werden.
+
+ var + + collidable + : Boolean + +
Kollisionsfaehigkeit.
+
+ abstract val + + density + : Double + +
Dichte. (Masse pro Flaeche)
+
+ var + + friction + : Double + +
Teil des Reibungskoeffizienten bei einer Kollision zwischen dieser Form und einer anderen. + Der Reibungskoeffizient wird aus dem Produkt der beiden Teile der Formen errechnet.
+
+ var + + pos + : Vector2D + +
Position des Schwerpunktes in Welt.
+
+ var + + refLocalPos + : Vector2D + +
Referenzposition in Koerper. Wird zur Rotation von Formen in Koerpern verwendet.
+
+ var + + restitution + : Double + +
Teil der Stosszahl bei einer Kollision zwischen dieser Form und einer anderen. + Die Stosszahl wird aus dem Produkt der beiden Teile der Formen errechnet.
+
+ var + + rotation + : Double + +
Rotation. Entspricht Laenge des Rotationsvektors.
+
+ var + + rotation0 + : Double + +
Initiale Rotation. (Rotation ohne Koerper)
+
+ val + + transientShapes + : scala.collection.mutable.Set[Shape] + +
Formen mit denen diese Form nicht Kollidiert.
+
+ val + + uid + : Int + +
Einzigartige Identifikationsnummer.
+
+ abstract val + + volume + : Double + +
Volumen. Entspricht eigentlich der Flaeche dieser Form (in 2D) wird aber zum Errechnen der Masse verwendet.
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method Summary
+ abstract def + + AABB + : AABB + +
Gibt das umfassende AABB dieser Form zurueck.
+
+ def + + ^ + (b : Body) : Body + +
Erstellt einen Koerper aus dieser Form und den Formen des Koerpers b.
+
+ def + + ^ + (s : Shape) : Body + +
Erstellt einen Koerper aus dieser Form und der Form s.
+
+ def + + asBody + : Body + +
Baut einen Koerper aus dieser Form.
+
+ abstract def + + contains + (point : Vector2D) : Boolean + +
Ermittelt ob der gebene Punkt point in dieser Form enthalten ist.
+
+ def + + mass + : Double + +
Errechnet die Masse dieser Form. Masse ist gleich Volumen mal Dichte.
+
+ abstract def + + project + (axis : Vector2D) : Projection + +
Ergibt die Projektion dieser Form auf eine Gerade gegeben durch den + Richtungsvektor axis.
+
+ + +
+ 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 + uid : Int +
+
+
+
Einzigartige Identifikationsnummer.
+
+
+
+
+ + + var + collidable : Boolean +
+
+
+
Kollisionsfaehigkeit.
+
+
+
+
+ + + var + restitution : Double +
+
+
+
Teil der Stosszahl bei einer Kollision zwischen dieser Form und einer anderen. + Die Stosszahl wird aus dem Produkt der beiden Teile der Formen errechnet.
+
+
+
+
+ + + var + friction : Double +
+
+
+
Teil des Reibungskoeffizienten bei einer Kollision zwischen dieser Form und einer anderen. + Der Reibungskoeffizient wird aus dem Produkt der beiden Teile der Formen errechnet.
+
+
+
+
+ + + var + pos : Vector2D +
+
+
+
Position des Schwerpunktes in Welt.
+
+
+
+
+ + + var + rotation : Double +
+
+
+
Rotation. Entspricht Laenge des Rotationsvektors.
+
+
+
+
+ + + var + rotation0 : Double +
+
+
+
Initiale Rotation. (Rotation ohne Koerper)
+
+
+
+
+ + + var + refLocalPos : Vector2D +
+
+
+
Referenzposition in Koerper. Wird zur Rotation von Formen in Koerpern verwendet.
+
+
+
+
+ + abstract + val + density : Double +
+
+
+
Dichte. (Masse pro Flaeche)
+
+
+
+
+ + abstract + val + volume : Double +
+
+
+
Volumen. Entspricht eigentlich der Flaeche dieser Form (in 2D) wird aber zum Errechnen der Masse verwendet.
+
+
+
+
+ + abstract + val + I : Double +
+
+
+
Errechnet Traegheitsmoment zum Schwerpunkt dieser Form.
+
+ Returns
Traegheitsmoment zum Schwerpunkt
+
+
+
+ + + var + body : Body +
+
+
+
Beinhaltender Koerper. Sollte nicht selbst bei Initialisierung definiert werden.
+
+
+
+
+ + + val + transientShapes : scala.collection.mutable.Set[Shape] +
+
+
+
Formen mit denen diese Form nicht Kollidiert.
+
+
+ + +
Method Details
+
+ + + def + mass : Double +
+
+
+
Errechnet die Masse dieser Form. Masse ist gleich Volumen mal Dichte.
+
+ Returns
Masse der Form
+
+
+
+ + abstract + def + AABB : AABB +
+
+
+
Gibt das umfassende AABB dieser Form zurueck.
+
+ Returns
umfassendes AABB
+
+
+
+ + abstract + def + project(axis : Vector2D) : Projection +
+
+
+
Ergibt die Projektion dieser Form auf eine Gerade gegeben durch den + Richtungsvektor axis.
+
+ Parameters
axis - Richtungsvektor der Geraden
+ Returns
Projektion dieser Form
+
+
+
+ + abstract + def + contains(point : Vector2D) : Boolean +
+
+
+
Ermittelt ob der gebene Punkt point in dieser Form enthalten ist.
+
+
+
+
+ + + def + asBody : Body +
+
+
+
Baut einen Koerper aus dieser Form.
+
+ Returns
ein Koerper bestehend aus dieser Form.
+
+
+
+ + + def + ^(s : Shape) : Body +
+
+
+
Erstellt einen Koerper aus dieser Form und der Form s.
+
+
+
+
+ + + def + ^(b : Body) : Body +
+
+
+
Erstellt einen Koerper aus dieser Form und den Formen des Koerpers b.
+
+
+ + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/sims/dynamics/World.html b/doc/sims/dynamics/World.html new file mode 100644 index 0000000..df1948a --- /dev/null +++ b/doc/sims/dynamics/World.html @@ -0,0 +1,692 @@ + + + class World in sims.dynamics + + + + + + + + + + + +
+ sims.dynamics +

+ class World +

+
+ [source: sims/dynamics/World.scala] +

+
+
+ + + class + World +
+
extends AnyRef
+
+
Eine Welt enthaelt und Simuliert ein System aus Koerpern und Verbindungen.
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Value Summary
+ val + + bodies + : scala.collection.mutable.ArrayBuffer[Body] + +
Alle Koerper die diese Welt simuliert.
+
+ val + + detector + : Detector + +
Kollisionsdetektor dieser Welt.
+
+ var + + enableCollisionDetection + : Boolean + +
Kollisionerkennung.
+
+ var + + enablePositionCorrection + : Boolean + +
Positionskorrekturen.
+
+ var + + gravity + : Vector2D + +
Schwerkraft die in dieser Welt herrscht.
+
+ var + + iterations + : Int + +
Anzahl der Constraint-Korrekturen pro Zeitschritt.
+
+ val + + joints + : scala.collection.mutable.ArrayBuffer[Joint] + +
Alle Verbindungen die diese Welt simuliert.
+
+ var + + minAngularVelocity + : Double + +
Die minimale, nicht als null geltende Winkelgeschwindigkeit.
+
+ var + + minLinearVelocity + : Double + +
Die minimale, nicht als null geltende Geschwindigkeit.
+
+ val + + monitors + : scala.collection.mutable.ArrayBuffer[(java.lang.String, (Body) => java.lang.String)] + +
Ueberwachungsfunktionen fuer Koerper.
+
+ var + + overCWarning + : Boolean + +
Warnung wenn Koerper schneller als Lichtgeschwindigkeit.
+
+ var + + time + : Double + +
Aktuelle Zeit in Sekunden dieser Welt. Nach jedem Zeitschritt wird die Zeit erhoeht.
+
+ var + + timeStep + : Double + +
Zeitschritt in dem diese Welt die Simulation vorranschreiten laesst.
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method Summary
+ def + + ++= + (bs : scala.Seq[Body]) : Unit + + +
+ def + + += + (joint : Joint) : Unit + +
Fuegt dieser Welt eine Verbindung hinzu.
+
+ def + + += + (body : Body) : Unit + +
Fuegt dieser Welt einen Koerper hinzu.
+
+ def + + += + (p : Prefab) : Unit + +
Fuegt dieser Welt ein vorangefertigtes System vaus Koerpern und Verbindungen hinzu.
+
+ def + + --= + (bs : scala.Seq[Body]) : Unit + + +
+ def + + -= + (joint : Joint) : Unit + +
Entfernt die gegebene Verbindung aus dieser Welt.
+
+ def + + -= + (p : Prefab) : Unit + +
Entfernt das gegebene System aus Koerpern und Verbindungen aus dieser Welt.
+
+ def + + -= + (body : Body) : Unit + +
Entfernt den gegebenen Koerper aus dieser Welt.
+
+ def + + clear + : Unit + +
Entfernt alle Koerper, Verbindungen und Ueberwachungsfunktionen dieser Welt.
+
+ def + + info + : java.lang.String + +
Ergibt Informationen ueber diese Welt.
+
+ def + + postStep + : Unit + +
Wird nach jedem Zeitschritt ausgefuehrt.
+
+ def + + shapes + : scala.Seq[Shape] + +
Ergibt alle Formen aus allen Koerpern in dieser Welt.
+
+ def + + step + : Unit + +
Simuliert einen von timeStep 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.
+
+ + +
+ 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
+
+ + + var + timeStep : Double +
+
+
+
Zeitschritt in dem diese Welt die Simulation vorranschreiten laesst.
+
+
+
+
+ + + var + iterations : Int +
+
+
+
Anzahl der Constraint-Korrekturen pro Zeitschritt.
+
+
+
+
+ + + var + gravity : Vector2D +
+
+
+
Schwerkraft die in dieser Welt herrscht.
+
+
+
+
+ + + val + bodies : scala.collection.mutable.ArrayBuffer[Body] +
+
+
+
Alle Koerper die diese Welt simuliert.
+
+
+
+
+ + + val + joints : scala.collection.mutable.ArrayBuffer[Joint] +
+
+
+
Alle Verbindungen die diese Welt simuliert.
+
+
+
+
+ + + val + monitors : scala.collection.mutable.ArrayBuffer[(java.lang.String, (Body) => java.lang.String)] +
+
+
+
Ueberwachungsfunktionen fuer Koerper. +

+ Das erste Element des Tuples ist die Ueberschrift und das zweite Element, der Wert.

+
+
+
+
+ + + val + detector : Detector +
+
+
+
Kollisionsdetektor dieser Welt.
+
+
+
+
+ + + var + overCWarning : Boolean +
+
+
+
Warnung wenn Koerper schneller als Lichtgeschwindigkeit.
+
+
+
+
+ + + var + enableCollisionDetection : Boolean +
+
+
+
Kollisionerkennung.
+
+
+
+
+ + + var + enablePositionCorrection : Boolean +
+
+
+
Positionskorrekturen.
+
+
+
+
+ + + var + minLinearVelocity : Double +
+
+
+
Die minimale, nicht als null geltende Geschwindigkeit.
+
+
+
+
+ + + var + minAngularVelocity : Double +
+
+
+
Die minimale, nicht als null geltende Winkelgeschwindigkeit.
+
+
+
+
+ + + var + time : Double +
+
+
+
Aktuelle Zeit in Sekunden dieser Welt. Nach jedem Zeitschritt wird die Zeit erhoeht.
+
+
+ + +
Method Details
+
+ + + def + shapes : scala.Seq[Shape] +
+
+
+
Ergibt alle Formen aus allen Koerpern in dieser Welt.
+
+
+
+
+ + + def + +=(body : Body) : Unit +
+
+
+
Fuegt dieser Welt einen Koerper hinzu.
+
+
+
+
+ + + def + +=(joint : Joint) : Unit +
+
+
+
Fuegt dieser Welt eine Verbindung hinzu.
+
+
+
+
+ + + def + +=(p : Prefab) : Unit +
+
+
+
Fuegt dieser Welt ein vorangefertigtes System vaus Koerpern und Verbindungen hinzu.
+
+
+
+
+ + + def + ++=(bs : scala.Seq[Body]) : Unit +
+
+

+
+
+ + + def + -=(body : Body) : Unit +
+
+
+
Entfernt den gegebenen Koerper aus dieser Welt.
+
+
+
+
+ + + def + -=(joint : Joint) : Unit +
+
+
+
Entfernt die gegebene Verbindung aus dieser Welt.
+
+
+
+
+ + + def + -=(p : Prefab) : Unit +
+
+
+
Entfernt das gegebene System aus Koerpern und Verbindungen aus dieser Welt.
+
+
+
+
+ + + def + --=(bs : scala.Seq[Body]) : Unit +
+
+

+
+
+ + + def + clear : Unit +
+
+
+
Entfernt alle Koerper, Verbindungen und Ueberwachungsfunktionen dieser Welt.
+
+
+
+
+ + + def + step : Unit +
+
+
+
Simuliert einen von timeStep 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. +

+ Der Zeitschritt wird in folgenden Phasen ausgefuehrt: +

    +
  1. Kraefte wirken auf die Koerper (z.B Schwerkraft, andere Kraftfaehige Objekte).
  2. +
  3. Beschleunigungen werden integriert.
  4. +
  5. Geschwindigkeiten werden korrigiert.
  6. +
  7. Geschwindigkeiten werden integriert.
  8. +
  9. Positionen werden korrigiert.
  10. +
  11. Die Methode postStep() wird ausgefuehrt.
  12. +
+
+
+
+
+ + + def + postStep : Unit +
+
+
+
Wird nach jedem Zeitschritt ausgefuehrt.
+
+
+
+
+ + + def + info : java.lang.String +
+
+
+
Ergibt Informationen ueber diese Welt.
+
+
+ + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/sims/dynamics/joints$content.html b/doc/sims/dynamics/joints$content.html new file mode 100644 index 0000000..4652a21 --- /dev/null +++ b/doc/sims/dynamics/joints$content.html @@ -0,0 +1,101 @@ + + + All classes and objects in sims.dynamics.joints + + +
Simple Mechanics Simulator (SiMS) API

This document is the API specification for SiMS

+ + + + + + + + + + + + + + + + + + + + + +
Class Summary
+ case class + + DistanceJoint + (val node1 : Body, val anchor1 : Vector2D, val node2 : Body, val anchor2 : Vector2D) extends Joint with scala.Product + +
DistanceJoints halten die Bindungspunkte auf ihren Bindungskoerpern bei einem konstanten Abstand.
+
+ trait + + ForceJoint + extends AnyRef + +
Eine Verbindung die Kraft auf ihre Bindungskoerper ausueben kann.
+
+ abstract class + + Joint + extends Constraint with AnyRef + +
Joints sind Verbindungen die die Bewegung zwischen zwei Koerpern einschraenken. + Ihre Implementierung wurde von Erin Catto's box2d inspiriert.
+
+ case class + + RevoluteJoint + (val node1 : Body, val node2 : Body, val anchor : Vector2D) extends Joint with scala.Product + +
Ein Gelenk, dass zwei Koerper an einem Punkt verbindet. Inspiriert von JBox2D.
+
+ case class + + SpringJoint + (val node1 : Body, val anchor1 : Vector2D, val node2 : Body, val anchor2 : Vector2D, val springConstant : Double, val initialLength : Double) extends Joint with ForceJoint with scala.Product + +
Eine Hooksche Feder.
+
+ + + + + + + + + + + + + + +
Object Summary
+ object + + DistanceJoint + extends (Body, Vector2D, Body, Vector2D) => DistanceJoint + + +
+ object + + RevoluteJoint + extends (Body, Body, Vector2D) => RevoluteJoint + + +
+ object + + SpringJoint + extends (Body, Vector2D, Body, Vector2D, Double, Double) => SpringJoint + + +
+ \ No newline at end of file diff --git a/doc/sims/dynamics/joints$package.html b/doc/sims/dynamics/joints$package.html new file mode 100644 index 0000000..dde0590 --- /dev/null +++ b/doc/sims/dynamics/joints$package.html @@ -0,0 +1,22 @@ + + + List of classes and objects in package sims.dynamics.joints + + + + +
Classes
+
Objects
+ \ No newline at end of file diff --git a/doc/sims/dynamics/joints/DistanceJoint$object.html b/doc/sims/dynamics/joints/DistanceJoint$object.html new file mode 100644 index 0000000..e4121b3 --- /dev/null +++ b/doc/sims/dynamics/joints/DistanceJoint$object.html @@ -0,0 +1,82 @@ + + + object DistanceJoint in sims.dynamics.joints + + + + + + + + + + + +
+ sims.dynamics.joints +

+ object DistanceJoint +

+
+ [source: sims/dynamics/joints/DistanceJoint.scala] +

+
+
+ + + object + DistanceJoint +
+
extends (Body, Vector2D, Body, Vector2D) => DistanceJoint
+
+ + + + + + +
+ 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/DistanceJoint.html b/doc/sims/dynamics/joints/DistanceJoint.html new file mode 100644 index 0000000..80a0f2d --- /dev/null +++ b/doc/sims/dynamics/joints/DistanceJoint.html @@ -0,0 +1,481 @@ + + + class DistanceJoint in sims.dynamics.joints + + + + + + + + + + + +
+ sims.dynamics.joints +

+ class DistanceJoint +

+
+ [source: sims/dynamics/joints/DistanceJoint.scala] +

+
+
+ + case + class + DistanceJoint(val node1 : Body, val anchor1 : Vector2D, val node2 : Body, val anchor2 : Vector2D) +
+
extends Joint with scala.Product
+
+
DistanceJoints halten die Bindungspunkte auf ihren Bindungskoerpern bei einem konstanten Abstand.
+
+ Parameters
node1 - erster Koerper der Verbindung
anchor1 - Bindungspunkt auf Koerper eins
node2 - zweiter Koerper der Verbindung
anchor2 - Bindungspunkt auf Koerper zwei
+ + + + + + + +
Additional Constructor Summary
+ def + + this + (node1 : Body, node2 : Body) : DistanceJoint + + +
+ + + + + + + +
Value Summary
+ val + + distance + : Double + +
Abstand der beiden Bindungspunkte bei initialisierung (der gewollte Abstand).
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method Summary
+ def + + connection1 + : Vector2D + +
Ergibt den Bindungspunkt auf Koerper eins.
+
+ def + + connection2 + : Vector2D + +
Ergibt den Bindungspunkt auf Koerper zwei.
+
+ override def + + correctPosition + (h : Double) : Unit + +
Korrigiert die Position der Koerper damit diese den Randbedingungen der Verbindung entsprechen.
+
+ override def + + correctVelocity + (h : Double) : Unit + +
Korrigiert die Geschwindigkeit der Koerper damit diese den Randbedingungen der Verbindung entsprechen.
+
+ 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 + +
Relative Geschwindigkeit der Bindungspunkte.
+
+ def + + x + : Vector2D + +
Relative Position der Bindungspunkte.
+
+ + +
+ 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) : DistanceJoint +
+
+

+ + + +
Value Details
+
+ + + val + distance : Double +
+
+
+
Abstand der beiden Bindungspunkte bei initialisierung (der gewollte Abstand).
+
+
+ + +
Method Details
+
+ + + def + connection1 : Vector2D +
+
+
+
Ergibt den Bindungspunkt auf Koerper eins.
+
+
+
+
+ + + def + connection2 : Vector2D +
+
+
+
Ergibt den Bindungspunkt auf Koerper zwei.
+
+
+
+
+ + + def + x : Vector2D +
+
+
+
Relative Position der Bindungspunkte.
+
+
+
+
+ + + def + v : Vector2D +
+
+
+
Relative Geschwindigkeit der Bindungspunkte.
+
+
+
+
+ + override + def + correctVelocity(h : Double) : Unit +
+
+
+
Korrigiert die Geschwindigkeit der Koerper damit diese den Randbedingungen der Verbindung entsprechen.
+
+
+
+ Overrides +
+
+ Joint.correctVelocity +
+

+
+
+ + override + def + correctPosition(h : Double) : Unit +
+
+
+
Korrigiert die Position der Koerper damit diese den Randbedingungen der Verbindung entsprechen.
+
+
+
+ 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/ForceJoint.html b/doc/sims/dynamics/joints/ForceJoint.html new file mode 100644 index 0000000..bf8ac9f --- /dev/null +++ b/doc/sims/dynamics/joints/ForceJoint.html @@ -0,0 +1,107 @@ + + + trait ForceJoint in sims.dynamics.joints + + + + + + + + + + + +
+ sims.dynamics.joints +

+ trait ForceJoint +

+
+ [source: sims/dynamics/joints/ForceJoint.scala] +

+
+
+ + + trait + ForceJoint +
+
extends AnyRef
+
+
Eine Verbindung die Kraft auf ihre Bindungskoerper ausueben kann.
+
+
+
Direct Known Subclasses:
+
SpringJoint
+

+ + + + + + + + + +
Method Summary
+ abstract def + + applyForce + : Unit + +
Uebt eine Kraft auf die Bindungskoerper aus.
+
+ + +
+ Methods inherited from AnyRef +
+ getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + + +
Method Details
+
+ + abstract + def + applyForce : Unit +
+
+
+
Uebt eine Kraft auf die Bindungskoerper aus.
+
+
+ + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/sims/dynamics/joints/Joint.html b/doc/sims/dynamics/joints/Joint.html new file mode 100644 index 0000000..a577cde --- /dev/null +++ b/doc/sims/dynamics/joints/Joint.html @@ -0,0 +1,194 @@ + + + class Joint in sims.dynamics.joints + + + + + + + + + + + +
+ sims.dynamics.joints +

+ class Joint +

+
+ [source: sims/dynamics/joints/Joint.scala] +

+
+
+ + abstract + class + Joint +
+
extends Constraint with AnyRef
+
+
Joints sind Verbindungen die die Bewegung zwischen zwei Koerpern einschraenken. + Ihre Implementierung wurde von Erin Catto's box2d inspiriert.
+
+
+
Direct Known Subclasses:
+
DistanceJoint, RevoluteJoint, SpringJoint
+

+ + + + + + + + + + + + +
Value Summary
+ abstract val + + node1 + : Body + +
Erster Koerper der Verbindung.
+
+ abstract val + + node2 + : Body + +
Zweiter Koerper der Verbindung.
+
+ + + + + + + + + + +
Method Summary
+ abstract def + + correctPosition + (h : Double) : Unit + +
Korrigiert die Position der Koerper damit diese den Randbedingungen der Verbindung entsprechen.
+
+ abstract def + + correctVelocity + (h : Double) : Unit + +
Korrigiert die Geschwindigkeit der Koerper damit diese den Randbedingungen der Verbindung entsprechen.
+
+ + +
+ 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
+
+ + abstract + val + node1 : Body +
+
+
+
Erster Koerper der Verbindung.
+
+
+
+
+ + abstract + val + node2 : Body +
+
+
+
Zweiter Koerper der Verbindung.
+
+
+ + +
Method Details
+
+ + abstract + def + correctVelocity(h : Double) : Unit +
+
+
+
Korrigiert die Geschwindigkeit der Koerper damit diese den Randbedingungen der Verbindung entsprechen.
+
+
+
+ Overrides +
+
+ Constraint.correctVelocity +
+

+
+
+ + abstract + def + correctPosition(h : Double) : Unit +
+
+
+
Korrigiert die Position der Koerper damit diese den Randbedingungen der Verbindung entsprechen.
+
+
+
+ Overrides +
+
+ Constraint.correctPosition +
+

+ + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/sims/dynamics/joints/RevoluteJoint$object.html b/doc/sims/dynamics/joints/RevoluteJoint$object.html new file mode 100644 index 0000000..c8a5d71 --- /dev/null +++ b/doc/sims/dynamics/joints/RevoluteJoint$object.html @@ -0,0 +1,82 @@ + + + object RevoluteJoint in sims.dynamics.joints + + + + + + + + + + + +
+ sims.dynamics.joints +

+ object RevoluteJoint +

+
+ [source: sims/dynamics/joints/RevoluteJoint.scala] +

+
+
+ + + object + RevoluteJoint +
+
extends (Body, Body, Vector2D) => RevoluteJoint
+
+ + + + + + +
+ Methods inherited from scala.Function3 +
+ scala.Function3.toString, scala.Function3.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/RevoluteJoint.html b/doc/sims/dynamics/joints/RevoluteJoint.html new file mode 100644 index 0000000..b3059de --- /dev/null +++ b/doc/sims/dynamics/joints/RevoluteJoint.html @@ -0,0 +1,419 @@ + + + class RevoluteJoint in sims.dynamics.joints + + + + + + + + + + + +
+ sims.dynamics.joints +

+ class RevoluteJoint +

+
+ [source: sims/dynamics/joints/RevoluteJoint.scala] +

+
+
+ + case + class + RevoluteJoint(val node1 : Body, val node2 : Body, val anchor : Vector2D) +
+
extends Joint with scala.Product
+
+
Ein Gelenk, dass zwei Koerper an einem Punkt verbindet. Inspiriert von JBox2D.
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method Summary
+ def + + connection1 + : Vector2D + + +
+ def + + connection2 + : Vector2D + + +
+ def + + correctPosition + (h : Double) : Unit + +
Korrigiert die Position der Koerper damit diese den Randbedingungen der Verbindung entsprechen.
+
+ def + + correctVelocity + (h : Double) : Unit + +
Korrigiert die Geschwindigkeit der Koerper damit diese den Randbedingungen der Verbindung entsprechen.
+
+ 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 +
+ + + + + + + +
Method Details
+
+ + + def + connection1 : Vector2D +
+
+

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

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

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

+
+
+ + + def + correctVelocity(h : Double) : Unit +
+
+
+
Korrigiert die Geschwindigkeit der Koerper damit diese den Randbedingungen der Verbindung entsprechen.
+
+
+
+ Overrides +
+
+ Joint.correctVelocity +
+

+
+
+ + + def + correctPosition(h : Double) : Unit +
+
+
+
Korrigiert die Position der Koerper damit diese den Randbedingungen der Verbindung entsprechen.
+
+
+
+ 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/SpringJoint$object.html b/doc/sims/dynamics/joints/SpringJoint$object.html new file mode 100644 index 0000000..7730d19 --- /dev/null +++ b/doc/sims/dynamics/joints/SpringJoint$object.html @@ -0,0 +1,82 @@ + + + object SpringJoint in sims.dynamics.joints + + + + + + + + + + + +
+ sims.dynamics.joints +

+ object SpringJoint +

+
+ [source: sims/dynamics/joints/SpringJoint.scala] +

+
+
+ + + object + SpringJoint +
+
extends (Body, Vector2D, Body, Vector2D, Double, Double) => SpringJoint
+
+ + + + + + +
+ Methods inherited from scala.Function6 +
+ scala.Function6.toString, scala.Function6.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/SpringJoint.html b/doc/sims/dynamics/joints/SpringJoint.html new file mode 100644 index 0000000..ba601bb --- /dev/null +++ b/doc/sims/dynamics/joints/SpringJoint.html @@ -0,0 +1,551 @@ + + + class SpringJoint in sims.dynamics.joints + + + + + + + + + + + +
+ sims.dynamics.joints +

+ class SpringJoint +

+
+ [source: sims/dynamics/joints/SpringJoint.scala] +

+
+
+ + case + class + SpringJoint(val node1 : Body, val anchor1 : Vector2D, val node2 : Body, val anchor2 : Vector2D, val springConstant : Double, val initialLength : Double) +
+
extends Joint with ForceJoint with scala.Product
+
+
Eine Hooksche Feder.
+
+ 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
+ + + + + + + + + + + + + + + +
Additional Constructor Summary
+ def + + this + (node1 : Body, node2 : Body, springConstant : Double) : SpringJoint + + +
+ def + + this + (node1 : Body, node2 : Body, springConstant : Double, initialLength : Double) : SpringJoint + + +
+ def + + this + (node1 : Body, anchor1 : Vector2D, node2 : Body, anchor2 : Vector2D, springConstant : Double) : SpringJoint + + +
+ + + + + + + +
Value Summary
+ var + + damping + : Double + +
Daempfung.
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method Summary
+ def + + applyForce + : Unit + +
Uebt die Federkraft auf die Bindungspunkte aus.
+
+ def + + connection1 + : Vector2D + +
Ergibt den Bindungspunkt auf Koerper eins.
+
+ def + + connection2 + : Vector2D + +
Ergibt den Bindungspunkt auf Koerper zwei.
+
+ def + + correctPosition + (h : Double) : Unit + +
Korrigiert die Position der Koerper damit diese den Randbedingungen der Verbindung entsprechen.
+
+ def + + correctVelocity + (h : Double) : Unit + +
Korrigiert die Geschwindigkeit der Koerper damit diese den Randbedingungen der Verbindung entsprechen.
+
+ override def + + equals + (arg0 : Any) : Boolean + +
This method is used to compare the receiver object (this) + with the argument object (arg0) for equivalence.
+
+ def + + force + : Double + +
Ergibt die Federkraft nach dem Hookschen Gesetz.
+
+ 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 + + x + : Vector2D + +
Relative Position der Bindungspunkte.
+
+ + +
+ 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, anchor1 : Vector2D, node2 : Body, anchor2 : Vector2D, springConstant : Double) : SpringJoint +
+
+

+
+
+ + + def + this(node1 : Body, node2 : Body, springConstant : Double, initialLength : Double) : SpringJoint +
+
+

+
+
+ + + def + this(node1 : Body, node2 : Body, springConstant : Double) : SpringJoint +
+
+

+ + + +
Value Details
+
+ + + var + damping : Double +
+
+
+
Daempfung.
+
+
+ + +
Method Details
+
+ + + def + connection1 : Vector2D +
+
+
+
Ergibt den Bindungspunkt auf Koerper eins.
+
+
+
+
+ + + def + connection2 : Vector2D +
+
+
+
Ergibt den Bindungspunkt auf Koerper zwei.
+
+
+
+
+ + + def + x : Vector2D +
+
+
+
Relative Position der Bindungspunkte.
+
+
+
+
+ + + def + force : Double +
+
+
+
Ergibt die Federkraft nach dem Hookschen Gesetz.
+
+
+
+
+ + + def + applyForce : Unit +
+
+
+
Uebt die Federkraft auf die Bindungspunkte aus.
+
+
+
+ Overrides +
+
+ ForceJoint.applyForce +
+

+
+
+ + + def + correctPosition(h : Double) : Unit +
+
+
+
Korrigiert die Position der Koerper damit diese den Randbedingungen der Verbindung entsprechen.
+
+
+
+ Overrides +
+
+ Joint.correctPosition +
+

+
+
+ + + def + correctVelocity(h : Double) : Unit +
+
+
+
Korrigiert die Geschwindigkeit der Koerper damit diese den Randbedingungen der Verbindung entsprechen.
+
+
+
+ Overrides +
+
+ Joint.correctVelocity +
+

+
+
+ + 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/geometry$content.html b/doc/sims/geometry$content.html new file mode 100644 index 0000000..e3cf2bb --- /dev/null +++ b/doc/sims/geometry$content.html @@ -0,0 +1,111 @@ + + + All classes and objects in sims.geometry + + +
Simple Mechanics Simulator (SiMS) API

This document is the API specification for SiMS

+ + + + + + + + + + + + + + + + + + + + + +
Class Summary
+ trait + + ConvexPolygon + extends AnyRef + +
Gemeinsame Eigenschaften aller konvexen Polygone.
+
+ case class + + Projection + (val axis : Vector2D, val lower : Double, val upper : Double) extends scala.Product + +
Projektion auf eine Achse.
+
+ case class + + Ray + (val point : Vector2D, val direction : Vector2D) extends scala.Product + +
Eine Halbgerade wird definiert durch:
+
+ case class + + Segment + (val vertex1 : Vector2D, val vertex2 : Vector2D) extends scala.Product + +
Ein Segment wird durch seine beiden Extrempunkte gegeben.
+
+ case class + + Vector2D + (val x : Double, val y : Double) extends scala.Product + +
Ein 2-dimensionaler Vektor.
+
+ + + + + + + + + + + + + + + + + + +
Object Summary
+ object + + Projection + extends (Vector2D, Double, Double) => Projection + + +
+ object + + Ray + extends (Vector2D, Vector2D) => Ray + + +
+ object + + Segment + extends (Vector2D, Vector2D) => Segment + + +
+ object + + Vector2D + extends AnyRef + +
Dieses Objekt enthaelt spezielle Vektoren.
+
+ \ No newline at end of file diff --git a/doc/sims/geometry$package.html b/doc/sims/geometry$package.html new file mode 100644 index 0000000..c3a4d63 --- /dev/null +++ b/doc/sims/geometry$package.html @@ -0,0 +1,23 @@ + + + List of classes and objects in package sims.geometry + + + + +
Classes
+
Objects
+ \ No newline at end of file diff --git a/doc/sims/geometry/ConvexPolygon.html b/doc/sims/geometry/ConvexPolygon.html new file mode 100644 index 0000000..0545761 --- /dev/null +++ b/doc/sims/geometry/ConvexPolygon.html @@ -0,0 +1,215 @@ + + + trait ConvexPolygon in sims.geometry + + + + + + + + + + + +
+ sims.geometry +

+ trait ConvexPolygon +

+
+ [source: sims/geometry/ConvexPolygon.scala] +

+
+
+ + + trait + ConvexPolygon +
+
extends AnyRef
+
+
Gemeinsame Eigenschaften aller konvexen Polygone.
+
+
+
Direct Known Subclasses:
+
Rectangle, RegularPolygon
+

+ + + + + + + + + + + + + + + + + + + + + + + + + +
Method Summary
+ def + + AABB + : AABB + +
Errechnet das AABB dieses Polygons
+
+ def + + contains + (point : Vector2D) : Boolean + +
Ueberprueft ob sich der gegebene Punkt point in diesem Polygon befindet.
+
+ def + + project + (axis : Vector2D) : Projection + +
Ergibt die Projektion dieses Polygons auf eine Gerade gegeben durch den + Richtungsvektor axis
+
+ def + + sides + : scala.Array[Segment] + +
Ergibt alle Seiten dieses Polygons.
+
+ abstract def + + vertices + : scala.Seq[Vector2D] + +
Ergibt Position aller Ecken dieses Polygons. Die Ecken sind gegen den Uhrzeigersinn folgend.
+
+ + +
+ Methods inherited from AnyRef +
+ getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + + +
Method Details
+
+ + abstract + def + vertices : scala.Seq[Vector2D] +
+
+
+
Ergibt Position aller Ecken dieses Polygons. Die Ecken sind gegen den Uhrzeigersinn folgend.
+
+ Returns
Ortsvektoren der Ecken
+
+
+
+ + + def + sides : scala.Array[Segment] +
+
+
+
Ergibt alle Seiten dieses Polygons.
+
+ Returns
Seiten dieses Polygons
+
+
+
+ + + def + project(axis : Vector2D) : Projection +
+
+
+
Ergibt die Projektion dieses Polygons auf eine Gerade gegeben durch den + Richtungsvektor axis
+
+ Parameters
axis - Richtungsvektor der Geraden
+ Returns
Projektion dieses Polygons
+
+
+
+ + + def + AABB : AABB +
+
+
+
Errechnet das AABB dieses Polygons
+
+ Returns
umfassendes AABB
+ See Also
collision.AABB
+
+
+
+ + + def + contains(point : Vector2D) : Boolean +
+
+
+
Ueberprueft ob sich der gegebene Punkt point in diesem Polygon befindet. +

+ Hierzu wird eine Halbgerade von dem Punkt in Richtung der X-Achse gezogen (koennte aber auch beliebig sein). + Dann wird die Anzahl der Ueberschneidungen der Halbgeraden mit den Seiten und Ecken des Polygons ermittelt. + Ist die Anzahl der Ueberschneidungen ungerade, so befindet sich der Punkt in dem Polygon. + Es gibt jedoch Ausnahmen, und zwar wenn die Halbgerade eine Ecke ueberschneidet, ueberschneidet sie sowohl auch zwei Seiten. + Daher wird eine generelle Anzahl von Uerberschneidungen errechnet, gegeben durch die Anzahl der Ueberschneidungen mit den Seiten minus + die mit den Ecken. + Diese Zahl wird dann wie oben geschildert geprueft.

+
+
+ + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/sims/geometry/Projection$object.html b/doc/sims/geometry/Projection$object.html new file mode 100644 index 0000000..4b01917 --- /dev/null +++ b/doc/sims/geometry/Projection$object.html @@ -0,0 +1,82 @@ + + + object Projection in sims.geometry + + + + + + + + + + + +
+ sims.geometry +

+ object Projection +

+
+ [source: sims/geometry/Projection.scala] +

+
+
+ + + object + Projection +
+
extends (Vector2D, Double, Double) => Projection
+
+ + + + + + +
+ Methods inherited from scala.Function3 +
+ scala.Function3.toString, scala.Function3.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/geometry/Projection.html b/doc/sims/geometry/Projection.html new file mode 100644 index 0000000..3599777 --- /dev/null +++ b/doc/sims/geometry/Projection.html @@ -0,0 +1,328 @@ + + + class Projection in sims.geometry + + + + + + + + + + + +
+ sims.geometry +

+ class Projection +

+
+ [source: sims/geometry/Projection.scala] +

+
+
+ + case + class + Projection(val axis : Vector2D, val lower : Double, val upper : Double) +
+
extends scala.Product
+
+
Projektion auf eine Achse. +

+ Ueblicherweise werden Projektionen in SiMS fuer Kollisionserkennung benutzt.

+
+ Parameters
axis - Achse der Projektion
lower - unterer Wert der Projektion
upper - oberer Wert der Projektion
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method Summary
+ 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.
+
+ def + + overlap + (other : Projection) : Double + +
Ergibt die Ueberlappung dieser Projektion und der Projektion other.
+
+ def + + overlaps + (other : Projection) : Boolean + +
Ueberprueft ob sich diese Projektion mit der Projektion other ueberschneidet.
+
+ 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.
+
+ + +
+ Methods inherited from AnyRef +
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + + +
Method Details
+
+ + + def + overlaps(other : Projection) : Boolean +
+
+
+
Ueberprueft ob sich diese Projektion mit der Projektion other ueberschneidet.
+
+
+
+
+ + + def + overlap(other : Projection) : Double +
+
+
+
Ergibt die Ueberlappung dieser Projektion und der Projektion other.
+
+
+
+
+ + 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/geometry/Ray$object.html b/doc/sims/geometry/Ray$object.html new file mode 100644 index 0000000..199fc55 --- /dev/null +++ b/doc/sims/geometry/Ray$object.html @@ -0,0 +1,82 @@ + + + object Ray in sims.geometry + + + + + + + + + + + +
+ sims.geometry +

+ object Ray +

+
+ [source: sims/geometry/Ray.scala] +

+
+
+ + + object + Ray +
+
extends (Vector2D, Vector2D) => Ray
+
+ + + + + + +
+ Methods inherited from scala.Function2 +
+ scala.Function2.toString, scala.Function2.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/geometry/Ray.html b/doc/sims/geometry/Ray.html new file mode 100644 index 0000000..558153d --- /dev/null +++ b/doc/sims/geometry/Ray.html @@ -0,0 +1,334 @@ + + + class Ray in sims.geometry + + + + + + + + + + + +
+ sims.geometry +

+ class Ray +

+
+ [source: sims/geometry/Ray.scala] +

+
+
+ + case + class + Ray(val point : Vector2D, val direction : Vector2D) +
+
extends scala.Product
+
+
Eine Halbgerade wird definiert durch:
+
+ Parameters
point - ein Aufpunkt
direction - ein Richtungsvektor
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method Summary
+ def + + contains + (p : Vector2D) : Boolean + +
Ueberprueft ob diese Halbgerade den gegebenen Punkt enthaelt. +
+ Hierzu wird der Vektor von dem Ursprungspunkt zu dem zu ueberpruefenden Punkt gebildet. Dieser wird dann mit dem Richtungsvektor + auf Kolinearitaet geprueft.
+
+ 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.
+
+ def + + intersects + (s : Segment) : Boolean + +
Ueberprueft ob diese Halbgerade das gegebene Segment ueberschneidet.
+
+ 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.
+
+ + +
+ Methods inherited from AnyRef +
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + + +
Method Details
+
+ + + def + intersects(s : Segment) : Boolean +
+
+
+
Ueberprueft ob diese Halbgerade das gegebene Segment ueberschneidet.
+
+ Parameters
das - auf Ueberschneidung zu uerberpruefende Segment
+
+
+
+ + + def + contains(p : Vector2D) : Boolean +
+
+
+
Ueberprueft ob diese Halbgerade den gegebenen Punkt enthaelt. +
+ Hierzu wird der Vektor von dem Ursprungspunkt zu dem zu ueberpruefenden Punkt gebildet. Dieser wird dann mit dem Richtungsvektor + auf Kolinearitaet geprueft.
+
+ Parameters
p - Ortsvektor des oben genannten Punkt
+
+
+
+ + 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/geometry/Segment$object.html b/doc/sims/geometry/Segment$object.html new file mode 100644 index 0000000..fae9e31 --- /dev/null +++ b/doc/sims/geometry/Segment$object.html @@ -0,0 +1,82 @@ + + + object Segment in sims.geometry + + + + + + + + + + + +
+ sims.geometry +

+ object Segment +

+
+ [source: sims/geometry/Segment.scala] +

+
+
+ + + object + Segment +
+
extends (Vector2D, Vector2D) => Segment
+
+ + + + + + +
+ Methods inherited from scala.Function2 +
+ scala.Function2.toString, scala.Function2.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/geometry/Segment.html b/doc/sims/geometry/Segment.html new file mode 100644 index 0000000..2cc0453 --- /dev/null +++ b/doc/sims/geometry/Segment.html @@ -0,0 +1,441 @@ + + + class Segment in sims.geometry + + + + + + + + + + + +
+ sims.geometry +

+ class Segment +

+
+ [source: sims/geometry/Segment.scala] +

+
+
+ + case + class + Segment(val vertex1 : Vector2D, val vertex2 : Vector2D) +
+
extends scala.Product
+
+
Ein Segment wird durch seine beiden Extrempunkte gegeben.
+
+ Parameters
vertex1 - Ortsvektor des 1. Extrempunkts
vertex2 - Ortsvektor des 2. Extrempunkts
+ + + + + + + + + + + + + + + + + + + + + + + + + +
Value Summary
+ val + + d + : Vector2D + +
Vektor von EP1 zu EP2.
+
+ val + + d0 + : Vector2D + +
Einheitsrichtungsvektor.
+
+ val + + length + : Double + +
Laenge dieses Segments.
+
+ val + + n + : Vector2D + +
Normalenvektor. Richtung: 90 Grad rechts zu d.
+
+ val + + n0 + : Vector2D + +
Normaleneinheitsvektor. Richtung: 90 Grad rechts zu d.
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method Summary
+ def + + clipToSegment + (s : Segment) : scala.Option[Vector2D] + + +
+ def + + distance + (point : Vector2D) : Double + +
Kleinster Abstand zwischen diesem Segment und dem Punkt p.
+
+ 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.
+
+ + +
+ Methods inherited from AnyRef +
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + +
Value Details
+
+ + + val + length : Double +
+
+
+
Laenge dieses Segments.
+
+
+
+
+ + + val + d : Vector2D +
+
+
+
Vektor von EP1 zu EP2.
+
+
+
+
+ + + val + d0 : Vector2D +
+
+
+
Einheitsrichtungsvektor.
+
+
+
+
+ + + val + n : Vector2D +
+
+
+
Normalenvektor. Richtung: 90 Grad rechts zu d.
+
+
+
+
+ + + val + n0 : Vector2D +
+
+
+
Normaleneinheitsvektor. Richtung: 90 Grad rechts zu d.
+
+
+ + +
Method Details
+
+ + + def + distance(point : Vector2D) : Double +
+
+
+
Kleinster Abstand zwischen diesem Segment und dem Punkt p.
+
+
+
+
+ + + def + clipToSegment(s : Segment) : scala.Option[Vector2D] +
+
+

+
+
+ + 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/geometry/Vector2D$object.html b/doc/sims/geometry/Vector2D$object.html new file mode 100644 index 0000000..188f206 --- /dev/null +++ b/doc/sims/geometry/Vector2D$object.html @@ -0,0 +1,150 @@ + + + object Vector2D in sims.geometry + + + + + + + + + + + +
+ sims.geometry +

+ object Vector2D +

+
+ [source: sims/geometry/Vector2D.scala] +

+
+
+ + + object + Vector2D +
+
extends AnyRef
+
+
Dieses Objekt enthaelt spezielle Vektoren.
+
+ + + + + + + + + + + + + + + + + +
Value Summary
+ val + + Null + : Vector2D + +
Nullvektor.
+
+ val + + i + : Vector2D + +
Ein horizontaler Einheitsvektor mit den Komponenten (1;0).
+
+ val + + j + : Vector2D + +
Ein vertikaler Einheitsvektor mit den Komponenten (0;1).
+
+ + + +
+ 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 + Null : Vector2D +
+
+
+
Nullvektor.
+
+
+
+
+ + + val + i : Vector2D +
+
+
+
Ein horizontaler Einheitsvektor mit den Komponenten (1;0).
+
+
+
+
+ + + val + j : Vector2D +
+
+
+
Ein vertikaler Einheitsvektor mit den Komponenten (0;1).
+
+
+ + + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/sims/geometry/Vector2D.html b/doc/sims/geometry/Vector2D.html new file mode 100644 index 0000000..5e541fb --- /dev/null +++ b/doc/sims/geometry/Vector2D.html @@ -0,0 +1,644 @@ + + + class Vector2D in sims.geometry + + + + + + + + + + + +
+ sims.geometry +

+ class Vector2D +

+
+ [source: sims/geometry/Vector2D.scala] +

+
+
+ + case + class + Vector2D(val x : Double, val y : Double) +
+
extends scala.Product
+
+
Ein 2-dimensionaler Vektor.
+
+ Parameters
x - 1. Komponente
y - 2. Komponente
+ + + + + + + + + +
Value Summary
+ val + + length + : Double + +
Norm dieses Vektors.
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method Summary
+ def + + * + (n : Double) : Vector2D + +
Multiplikation mit einem Skalar.
+
+ def + + + + (v : Vector2D) : Vector2D + +
Vektoraddition.
+
+ def + + - + (v : Vector2D) : Vector2D + +
Vektorsubstraktion.
+
+ def + + / + (n : Double) : Vector2D + +
Division durch ein Skalar.
+
+ def + + components + : scala.List[Double] + +
Ergibt eine Liste der Komponenten dieses Vektors.
+
+ def + + cross + (v : Vector2D) : Double + +
Kreuzprodukt. (Norm des Kreuzproduktes)
+
+ def + + dot + (v : Vector2D) : Double + +
Skalarprodukt.
+
+ 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.
+
+ def + + isNull + : Boolean + +
Ueberprueft, ob die Komponenten dieses Vektors gleich Null sind.
+
+ def + + leftNormal + : Vector2D + +
Linker Normalenvektor. (-y, x)
+
+ override def + + productArity + : Int + + +
+ override def + + productElement + (arg0 : Int) : Any + + +
+ override def + + productPrefix + : java.lang.String + + +
+ def + + project + (v : Vector2D) : Vector2D + +
Errechnet die Projektion dieses- auf einen anderen Vektor.
+
+ def + + rightNormal + : Vector2D + +
Rechter Normalenvektor. (y, -x)
+
+ def + + rotate + (angle : Double) : Vector2D + +
Errechnet eine Rotation dieses Vektors.
+
+ override def + + toString + : java.lang.String + +
Returns a string representation of the object.
+
+ def + + unary_- + : Vector2D + +
Minusvorzeichen.
+
+ def + + unit + : Vector2D + +
Einheitsvektor dieses Vektors.
+
+ + +
+ Methods inherited from AnyRef +
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + +
Value Details
+
+ + + val + length : Double +
+
+
+
Norm dieses Vektors.
+
+
+ + +
Method Details
+
+ + + def + +(v : Vector2D) : Vector2D +
+
+
+
Vektoraddition.
+
+ Parameters
v - zu addierender Vektor
+ Returns
dieser Vektor addiert mit v
+
+
+
+ + + def + -(v : Vector2D) : Vector2D +
+
+
+
Vektorsubstraktion.
+
+ Parameters
v - zu substrahierender Vektor
+ Returns
dieser Vektor substrahiert mit v
+
+
+
+ + + def + *(n : Double) : Vector2D +
+
+
+
Multiplikation mit einem Skalar.
+
+ Parameters
n - Faktor
+ Returns
dieser Vektor multipliziert mit n
+
+
+
+ + + def + /(n : Double) : Vector2D +
+
+
+
Division durch ein Skalar.
+
+ Parameters
n - Nenner
+ Returns
dieser Vektor dividiert durch n
+
+
+
+ + + def + unary_- : Vector2D +
+
+
+
Minusvorzeichen.
+
+
+
+
+ + + def + dot(v : Vector2D) : Double +
+
+
+
Skalarprodukt.
+
+ Parameters
v - ein anderer Vektor
+ Returns
Skalarprodukt von diesem Vektor mit v
+
+
+
+ + + def + cross(v : Vector2D) : Double +
+
+
+
Kreuzprodukt. (Norm des Kreuzproduktes)
+
+ Parameters
v - ein anderer Vektor
+ Returns
Norm des Kreuzproduktes dieses Vektors mit v. Die Richtung wuerde der x3-Achse entsprechen.
+
+
+
+ + + def + unit : Vector2D +
+
+
+
Einheitsvektor dieses Vektors.
+
+
+
+
+ + + def + project(v : Vector2D) : Vector2D +
+
+
+
Errechnet die Projektion dieses- auf einen anderen Vektor.
+
+ Parameters
v - oben gennanter Vektor
+ Returns
Projektion dieses Vektors auf v
+
+
+
+ + + def + rotate(angle : Double) : Vector2D +
+
+
+
Errechnet eine Rotation dieses Vektors.
+
+ Parameters
angle - Winkel in Radian
+ Returns
der um angle rad rotierte Vektor
+
+
+
+ + + def + leftNormal : Vector2D +
+
+
+
Linker Normalenvektor. (-y, x)
+
+
+
+
+ + + def + rightNormal : Vector2D +
+
+
+
Rechter Normalenvektor. (y, -x)
+
+
+
+
+ + + def + isNull : Boolean +
+
+
+
Ueberprueft, ob die Komponenten dieses Vektors gleich Null sind.
+
+
+
+
+ + + def + components : scala.List[Double] +
+
+
+
Ergibt eine Liste der Komponenten dieses Vektors.
+
+
+
+
+ + 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/math$content.html b/doc/sims/math$content.html new file mode 100644 index 0000000..871d764 --- /dev/null +++ b/doc/sims/math$content.html @@ -0,0 +1,34 @@ + + + All classes and objects in sims.math + + +
Simple Mechanics Simulator (SiMS) API

This document is the API specification for SiMS

+ + + + + +
Class Summary
+ case class + + Matrix22 + (val c11 : Double, val c12 : Double, val c21 : Double, val c22 : Double) extends scala.Product + +
Eine 2x2, quadratische Matrix.
+
+ + + + + + +
Object Summary
+ object + + Matrix22 + extends AnyRef + + +
+ \ No newline at end of file diff --git a/doc/sims/math$package.html b/doc/sims/math$package.html new file mode 100644 index 0000000..ac34016 --- /dev/null +++ b/doc/sims/math$package.html @@ -0,0 +1,16 @@ + + + List of classes and objects in package sims.math + + + + +
Classes
+
Objects
+ \ No newline at end of file diff --git a/doc/sims/math/Matrix22$object.html b/doc/sims/math/Matrix22$object.html new file mode 100644 index 0000000..9411340 --- /dev/null +++ b/doc/sims/math/Matrix22$object.html @@ -0,0 +1,98 @@ + + + object Matrix22 in sims.math + + + + + + + + + + + +
+ sims.math +

+ object Matrix22 +

+
+ [source: sims/math/Matrix22.scala] +

+
+
+ + + object + Matrix22 +
+
extends AnyRef
+
+ + + + + + + + + +
Method Summary
+ def + + apply + (c1 : Vector2D, c2 : Vector2D) : Matrix22 + + +
+ + +
+ Methods inherited from AnyRef +
+ getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + + +
Method Details
+
+ + + def + apply(c1 : Vector2D, c2 : Vector2D) : Matrix22 +
+
+

+ + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/sims/math/Matrix22.html b/doc/sims/math/Matrix22.html new file mode 100644 index 0000000..82cf176 --- /dev/null +++ b/doc/sims/math/Matrix22.html @@ -0,0 +1,448 @@ + + + class Matrix22 in sims.math + + + + + + + + + + + +
+ sims.math +

+ class Matrix22 +

+
+ [source: sims/math/Matrix22.scala] +

+
+
+ + case + class + Matrix22(val c11 : Double, val c12 : Double, val c21 : Double, val c22 : Double) +
+
extends scala.Product
+
+
Eine 2x2, quadratische Matrix.
+
+ Parameters
c11 - Komponente 1,1
c12 - Komponente 1,2
c21 - Komponente 2,1
c22 - Komponente 2,2
+ + + + + + + +
Additional Constructor Summary
+ def + + this + (c1 : Vector2D, c2 : Vector2D) : Matrix22 + +
Eine 2x2-dimensionale, quadratische Matrix kann auch mit zwei 2-dimensionalen + Vektoren erstellt werden. In diesem Fall repraesentiert jeder Vektor eine Spalte.
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method Summary
+ def + + * + (v : Vector2D) : Vector2D + +
Multiplikation mit einer 2x1-Matrix (2-dimensionaler Vektor).
+
+ def + + * + (n : Double) : Matrix22 + +
Multiplikation mit einem Skalar.
+
+ def + + * + (m : Matrix22) : Matrix22 + +
Multiplikation mit einer anderen 2x2-Matrix.
+
+ def + + + + (m : Matrix22) : Matrix22 + +
Addition.
+
+ def + + det + : Double + +
Ergibt die Determinante dieser Matrix.
+
+ 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.
+
+ def + + invert + : Matrix22 + +
Inverse.
+
+ 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.
+
+ + +
+ 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(c1 : Vector2D, c2 : Vector2D) : Matrix22 +
+
+
+
Eine 2x2-dimensionale, quadratische Matrix kann auch mit zwei 2-dimensionalen + Vektoren erstellt werden. In diesem Fall repraesentiert jeder Vektor eine Spalte.
+
+ Parameters
c1 - erste Spalte
c2 - zweite Spalte
+
+ + + + +
Method Details
+
+ + + def + det : Double +
+
+
+
Ergibt die Determinante dieser Matrix.
+
+ Returns
Determinante dieser Matrix
+
+
+
+ + + def + +(m : Matrix22) : Matrix22 +
+
+
+
Addition.
+
+
+
+
+ + + def + *(n : Double) : Matrix22 +
+
+
+
Multiplikation mit einem Skalar.
+
+
+
+
+ + + def + *(m : Matrix22) : Matrix22 +
+
+
+
Multiplikation mit einer anderen 2x2-Matrix.
+
+
+
+
+ + + def + *(v : Vector2D) : Vector2D +
+
+
+
Multiplikation mit einer 2x1-Matrix (2-dimensionaler Vektor).
+
+
+
+
+ + + def + invert : Matrix22 +
+
+
+
Inverse.
+
+
+
+
+ + 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/prefabs$content.html b/doc/sims/prefabs$content.html new file mode 100644 index 0000000..dad597c --- /dev/null +++ b/doc/sims/prefabs$content.html @@ -0,0 +1,54 @@ + + + All classes and objects in sims.prefabs + + +
Simple Mechanics Simulator (SiMS) API

This document is the API specification for SiMS

+ + + + + + + + + + + + + + + + + +
Class Summary
+ class + + Net + (width : Int, height : Int, initPos : Vector2D) extends Prefab + + +
+ trait + + Prefab + extends AnyRef + + +
+ class + + Pylon + extends Prefab + + +
+ class + + Ragdoll + (position : Vector2D) extends Prefab + + +
+ + \ No newline at end of file diff --git a/doc/sims/prefabs$package.html b/doc/sims/prefabs$package.html new file mode 100644 index 0000000..490a2cf --- /dev/null +++ b/doc/sims/prefabs$package.html @@ -0,0 +1,17 @@ + + + List of classes and objects in package sims.prefabs + + + + +
Classes
+
+ \ No newline at end of file diff --git a/doc/sims/prefabs/Net.html b/doc/sims/prefabs/Net.html new file mode 100644 index 0000000..0298260 --- /dev/null +++ b/doc/sims/prefabs/Net.html @@ -0,0 +1,232 @@ + + + class Net in sims.prefabs + + + + + + + + + + + +
+ sims.prefabs +

+ class Net +

+
+ [source: sims/prefabs/Net.scala] +

+
+
+ + + class + Net(width : Int, height : Int, initPos : Vector2D) +
+
extends Prefab
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Value Summary
+ override val + + bodies + : scala.List[Body] + + +
+ override val + + joints + : scala.List[DistanceJoint] + + +
+ val + + nodeDensity + : Double + + +
+ val + + nodeDistance + : Double + + +
+ val + + nodeRadius + : Double + + +
+ val + + springConstant + : Double + + +
+ val + + springDamping + : Double + + +
+ + + +
+ 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 + nodeDistance : Double +
+
+

+
+
+ + + val + nodeRadius : Double +
+
+

+
+
+ + + val + nodeDensity : Double +
+
+

+
+
+ + + val + springConstant : Double +
+
+

+
+
+ + + val + springDamping : Double +
+
+

+
+
+ + override + val + bodies : scala.List[Body] +
+
+
+
+ Overrides +
+
+ Prefab.bodies +
+

+
+
+ + override + val + joints : scala.List[DistanceJoint] +
+
+
+
+ Overrides +
+
+ Prefab.joints +
+

+ + + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/sims/prefabs/Prefab.html b/doc/sims/prefabs/Prefab.html new file mode 100644 index 0000000..83deb42 --- /dev/null +++ b/doc/sims/prefabs/Prefab.html @@ -0,0 +1,121 @@ + + + trait Prefab in sims.prefabs + + + + + + + + + + + +
+ sims.prefabs +

+ trait Prefab +

+
+ [source: sims/prefabs/Prefab.scala] +

+
+
+ + + trait + Prefab +
+
extends AnyRef
+
+
Direct Known Subclasses:
+
Net, Pylon, Ragdoll
+

+ + + + + + + + + + + + +
Value Summary
+ val + + bodies + : scala.Iterable[Body] + + +
+ val + + joints + : scala.Iterable[Joint] + + +
+ + + +
+ 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 + bodies : scala.Iterable[Body] +
+
+

+
+
+ + + val + joints : scala.Iterable[Joint] +
+
+

+ + + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/sims/prefabs/Pylon.html b/doc/sims/prefabs/Pylon.html new file mode 100644 index 0000000..cec9b30 --- /dev/null +++ b/doc/sims/prefabs/Pylon.html @@ -0,0 +1,272 @@ + + + class Pylon in sims.prefabs + + + + + + + + + + + +
+ sims.prefabs +

+ class Pylon +

+
+ [source: sims/prefabs/Pylon.scala] +

+
+
+ + + class + Pylon +
+
extends Prefab
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Value Summary
+ val + + beamHeight + : Double + + +
+ val + + beamNumber + : Int + + +
+ val + + beamWidth + : Double + + +
+ lazy val + + beams + : scala.List[DistanceJoint] + + +
+ override val + + bodies + : scala.List[Body] + + +
+ override val + + joints + : scala.List[DistanceJoint] + + +
+ val + + nodeDensity + : Double + + +
+ lazy val + + nodes + : scala.List[Body] + + +
+ val + + position + : 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 + position : Vector2D +
+
+

+
+
+ + + val + nodeDensity : Double +
+
+

+
+
+ + + val + beamHeight : Double +
+
+

+
+
+ + + val + beamWidth : Double +
+
+

+
+
+ + + val + beamNumber : Int +
+
+

+
+
+ + + lazy val + nodes : scala.List[Body] +
+
+

+
+
+ + + lazy val + beams : scala.List[DistanceJoint] +
+
+

+
+
+ + override + val + bodies : scala.List[Body] +
+
+
+
+ Overrides +
+
+ Prefab.bodies +
+

+
+
+ + override + val + joints : scala.List[DistanceJoint] +
+
+
+
+ Overrides +
+
+ Prefab.joints +
+

+ + + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/sims/prefabs/Ragdoll.html b/doc/sims/prefabs/Ragdoll.html new file mode 100644 index 0000000..f7cc846 --- /dev/null +++ b/doc/sims/prefabs/Ragdoll.html @@ -0,0 +1,432 @@ + + + class Ragdoll in sims.prefabs + + + + + + + + + + + +
+ sims.prefabs +

+ class Ragdoll +

+
+ [source: sims/prefabs/Ragdoll.scala] +

+
+
+ + + class + Ragdoll(position : Vector2D) +
+
extends Prefab
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Value Summary
+ override val + + bodies + : scala.List[Body] + + +
+ val + + foot1 + : Body + + +
+ val + + foot2 + : Body + + +
+ val + + forearm1 + : Body + + +
+ val + + forearm2 + : Body + + +
+ val + + hand1 + : Body + + +
+ val + + hand2 + : Body + + +
+ val + + headTorso + : Body + + +
+ override val + + joints + : scala.List[RevoluteJoint] + + +
+ val + + shoulder1 + : RevoluteJoint + + +
+ val + + shoulder2 + : RevoluteJoint + + +
+ val + + thigh1 + : Body + + +
+ val + + thigh2 + : Body + + +
+ val + + tibia1 + : Body + + +
+ val + + tibia2 + : Body + + +
+ val + + upperArm1 + : Body + + +
+ val + + upperArm2 + : Body + + +
+ + + +
+ 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 + headTorso : Body +
+
+

+
+
+ + + val + thigh1 : Body +
+
+

+
+
+ + + val + thigh2 : Body +
+
+

+
+
+ + + val + tibia1 : Body +
+
+

+
+
+ + + val + tibia2 : Body +
+
+

+
+
+ + + val + foot1 : Body +
+
+

+
+
+ + + val + foot2 : Body +
+
+

+
+
+ + + val + upperArm1 : Body +
+
+

+
+
+ + + val + upperArm2 : Body +
+
+

+
+
+ + + val + forearm1 : Body +
+
+

+
+
+ + + val + forearm2 : Body +
+
+

+
+
+ + + val + hand1 : Body +
+
+

+
+
+ + + val + hand2 : Body +
+
+

+
+
+ + override + val + bodies : scala.List[Body] +
+
+
+
+ Overrides +
+
+ Prefab.bodies +
+

+
+
+ + + val + shoulder1 : RevoluteJoint +
+
+

+
+
+ + + val + shoulder2 : RevoluteJoint +
+
+

+
+
+ + override + val + joints : scala.List[RevoluteJoint] +
+
+
+
+ Overrides +
+
+ Prefab.joints +
+

+ + + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/sims/util$content.html b/doc/sims/util$content.html new file mode 100644 index 0000000..48b8a1e --- /dev/null +++ b/doc/sims/util$content.html @@ -0,0 +1,56 @@ + + + All classes and objects in sims.util + + +
Simple Mechanics Simulator (SiMS) API

This document is the API specification for SiMS

+ + + + + + + + + +
Class Summary
+ case class + + Polar + (val distance : Double, val angle : Double) extends scala.Product + +
Polare Koordinaten.
+
+ class + + RelativeVector + (val x : Double, val y : Double) extends AnyRef + + +
+ + + + + + + + + + +
Object Summary
+ object + + Polar + extends (Double, Double) => Polar + + +
+ object + + Positioning + extends AnyRef + +
Objekt mit Hiflsfunktionen fuer komfortables Positionieren von Koerpern.
+
+ \ No newline at end of file diff --git a/doc/sims/util$package.html b/doc/sims/util$package.html new file mode 100644 index 0000000..61c5bdc --- /dev/null +++ b/doc/sims/util$package.html @@ -0,0 +1,18 @@ + + + List of classes and objects in package sims.util + + + + +
Classes
+
Objects
+ \ No newline at end of file diff --git a/doc/sims/util/Polar$object.html b/doc/sims/util/Polar$object.html new file mode 100644 index 0000000..c1ae2b3 --- /dev/null +++ b/doc/sims/util/Polar$object.html @@ -0,0 +1,82 @@ + + + object Polar in sims.util + + + + + + + + + + + +
+ sims.util +

+ object Polar +

+
+ [source: sims/util/Polar.scala] +

+
+
+ + + object + Polar +
+
extends (Double, Double) => Polar
+
+ + + + + + +
+ Methods inherited from scala.Function2 +
+ scala.Function2.toString, scala.Function2.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/util/Polar.html b/doc/sims/util/Polar.html new file mode 100644 index 0000000..7f3f444 --- /dev/null +++ b/doc/sims/util/Polar.html @@ -0,0 +1,302 @@ + + + class Polar in sims.util + + + + + + + + + + + +
+ sims.util +

+ class Polar +

+
+ [source: sims/util/Polar.scala] +

+
+
+ + case + class + Polar(val distance : Double, val angle : Double) +
+
extends scala.Product
+
+
Polare Koordinaten.
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method Summary
+ 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 + + +
+ def + + toCarthesian + : Vector2D + +
Ergibt die Vektorrepraesantation dieser polaren Koordinaten.
+
+ override def + + toString + : java.lang.String + +
Returns a string representation of the object.
+
+ + +
+ Methods inherited from AnyRef +
+ getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + + +
Method Details
+
+ + + def + toCarthesian : Vector2D +
+
+
+
Ergibt die Vektorrepraesantation dieser polaren Koordinaten.
+
+
+
+
+ + 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/util/Positioning$object.html b/doc/sims/util/Positioning$object.html new file mode 100644 index 0000000..eecdee9 --- /dev/null +++ b/doc/sims/util/Positioning$object.html @@ -0,0 +1,201 @@ + + + object Positioning in sims.util + + + + + + + + + + + +
+ sims.util +

+ object Positioning +

+
+ [source: sims/util/Positioning.scala] +

+
+
+ + + object + Positioning +
+
extends AnyRef
+
+
Objekt mit Hiflsfunktionen fuer komfortables Positionieren von Koerpern.
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method Summary
+ implicit def + + double2RelativeVector + (x : Double) : RelativeVector + + +
+ implicit def + + int2RelativeVector + (x : Int) : RelativeVector + + +
+ implicit def + + polar2Carthesian + (p : Polar) : Vector2D + + +
+ implicit def + + polar2RelativeVector + (p : Polar) : RelativeVector + + +
+ def + + position + (s : Shape)(a : Vector2D) : Unit + + +
+ implicit def + + vector2RelativeVector + (v : Vector2D) : RelativeVector + + +
+ + +
+ Methods inherited from AnyRef +
+ getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized +
+ + +
+ Methods inherited from Any +
+ ==, !=, isInstanceOf, asInstanceOf +
+ + + + + + + +
Method Details
+
+ + implicit + def + int2RelativeVector(x : Int) : RelativeVector +
+
+

+
+
+ + implicit + def + double2RelativeVector(x : Double) : RelativeVector +
+
+

+
+
+ + implicit + def + vector2RelativeVector(v : Vector2D) : RelativeVector +
+
+

+
+
+ + implicit + def + polar2Carthesian(p : Polar) : Vector2D +
+
+

+
+
+ + implicit + def + polar2RelativeVector(p : Polar) : RelativeVector +
+
+

+
+
+ + + def + position(s : Shape)(a : Vector2D) : Unit +
+
+

+ + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/sims/util/RelativeVector.html b/doc/sims/util/RelativeVector.html new file mode 100644 index 0000000..defc526 --- /dev/null +++ b/doc/sims/util/RelativeVector.html @@ -0,0 +1,278 @@ + + + class RelativeVector in sims.util + + + + + + + + + + + +
+ sims.util +

+ class RelativeVector +

+
+ [source: sims/util/RelativeVector.scala] +

+
+
+ + + class + RelativeVector(val x : Double, val y : Double) +
+
extends AnyRef
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method Summary
+ def + + above + (s : Shape) : Vector2D + + +
+ def + + above + (point : Vector2D) : Vector2D + + +
+ def + + below + (point : Vector2D) : Vector2D + + +
+ def + + below + (s : Shape) : Vector2D + + +
+ def + + from + (s : Shape) : Vector2D + + +
+ def + + from + (point : Vector2D) : Vector2D + + +
+ def + + left + (point : Vector2D) : Vector2D + + +
+ def + + left + (s : Shape) : Vector2D + + +
+ def + + right + (point : Vector2D) : Vector2D + + +
+ def + + right + (s : Shape) : 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 +
+ + + + + + + +
Method Details
+
+ + + def + above(point : Vector2D) : Vector2D +
+
+

+
+
+ + + def + below(point : Vector2D) : Vector2D +
+
+

+
+
+ + + def + left(point : Vector2D) : Vector2D +
+
+

+
+
+ + + def + right(point : Vector2D) : Vector2D +
+
+

+
+
+ + + def + from(point : Vector2D) : Vector2D +
+
+

+
+
+ + + def + above(s : Shape) : Vector2D +
+
+

+
+
+ + + def + below(s : Shape) : Vector2D +
+
+

+
+
+ + + def + left(s : Shape) : Vector2D +
+
+

+
+
+ + + def + right(s : Shape) : Vector2D +
+
+

+
+
+ + + def + from(s : Shape) : Vector2D +
+
+

+ + +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/style.css b/doc/style.css new file mode 100644 index 0000000..e243249 --- /dev/null +++ b/doc/style.css @@ -0,0 +1,148 @@ +/* Scaladoc style sheet */ + +a:link { + color: #0000ee; +} + +a:visited { + color: #551a8b; +} + +a:active { + color: #0000ee; +} + +body { + background-color: #ffffff; +} + +div.entity { + margin: 18px 0px 18px 0px; + font-size: x-large; + font-weight: bold; +} + +div.doctitle { + font-weight: bold; + font-style: italic; +} + +div.doctitle-larger { + margin: 0px 0px 10px 0px; + font-size: larger; + font-weight: bold; +} + +div.kinds { + margin: 0.6em 0 0 0; /* top right bottom left */ + font-weight: bold; +} + +div.page-title { + margin: 15px 0px 15px 0px; + font-size: x-large; + font-weight: bold; + text-align: center; +} + +div.source { + font-size: smaller; + color: gray; +} + +span.entity { + color: #ff6666; +} + +table.member { + margin: 0 0 1.2em 0; /* top rigth bottom left */ + border-collapse: collapse; + border: 2px inset #888888; + width: 100%; +} + +table.member td.title { + border: 2px inset #888888; + background-color: #ccccff; + font-size: x-large; + font-weight: bold; +} + +table.inherited { + margin: 0 0 1.2em 0; /* top rigth bottom left */ + border-collapse: collapse; + border: 2px inset #888888; + width: 100%; +} + +table.inherited td.title { + background-color: #eeeeff; + font-weight: bold; +} + +table.member-detail { + margin: 10px 0px 0px 0px; + border-collapse: collapse; + border: 2px inset #888888; + background-color: #ffffff; + width: 100%; +} + +table.member-detail td.title { + border: 2px inset #888888; + background-color: #ccccff; + font-size: x-large; + font-weight: bold; +} + +table.navigation { + border-collapse: collapse; + width: 100%; + font-family: Arial,Helvetica,Sans-Serif; +} + +td.inherited-members { + border-top: 2px inset #888888; + border-right: 0px; +} + +td.inherited-owner { + background-color: #eeeeff; + font-weight: bold; +} + +td.modifiers { + border-top: 2px inset #888888; + border-right: 2px inset #888888; + width: 50px; + text-align: right; +} + +td.navigation-enabled { + font-weight: bold; + color: #000000; + background-color: #eeeeff; +} + +td.navigation-links { + width: 100%; + background-color: #eeeeff; +} + +td.navigation-selected { + font-weight: bold; + color: #ffffff; + background-color: #00008b; +} + +td.signature { + border-top: 2px inset #888888; + width: 90%; +} + +ul.list { + margin: 0; + padding: 0; + list-style: none; +} + -- cgit v1.2.3