summaryrefslogblamecommitdiff
path: root/doc/sims/collision$content.html
blob: d34c535e96f6897850919ebfd4ede862f7da6986 (plain) (tree)






























































































































































































                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
        <head><title>All classes and objects in sims.collision</title>
        <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../script.js"></script>
        </head>
        <body onload="init()"><div class="page-title"><div>Simple Mechanics Simulator (SiMS) API</div></div><p><div>This document is the API specification for SiMS</div></p><table summary="" cellpadding="3" class="member">
        <tr><td class="title" colspan="2">Class Summary</td></tr>
        <tr>
      <td class="modifiers" valign="top"> 
        <code>case class</code>
      </td>
      <td class="signature">
        <em><a href="../sims/collision/AABB.html" target="_self">AABB</a></em>
        (<code>val </code><em>minVertex</em> : <a href="../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <code>val </code><em>maxVertex</em> : <a href="../sims/geometry/Vector2D.html" target="_self">Vector2D</a>)<code> extends </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a>
        
        <div>Axis Aligned Bounding Boxes, kurz AABBs, sind Rechtecke die eine bestimmte Form umhuellen.
 Da AABBs nach den X- und Y-Achsen orientiert sind, ermoeglichen sie eine schnelle
 und einfache Feststellung ob zwei AABBs sich ueberschneiden.</div>
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code>case class</code>
      </td>
      <td class="signature">
        <em><a href="../sims/collision/CircleCollision.html" target="_self">CircleCollision</a></em>
        (<code>val </code><em>c1</em> : <a href="../sims/dynamics/Circle.html" target="_self">Circle</a>, <code>val </code><em>c2</em> : <a href="../sims/dynamics/Circle.html" target="_self">Circle</a>)<code> extends </code><a href="../sims/collision/Collision.html" target="_self">Collision</a><code> with </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a>
        
        <div>Kollision zwischen zwei Kreisen.</div>
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code>abstract class</code>
      </td>
      <td class="signature">
        <em><a href="../sims/collision/Collision.html" target="_self">Collision</a></em>
        <code> extends </code><a href="../sims/dynamics/Constraint.html" target="_self">Constraint</a><code> with </code><a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a>
        
        <div>Kollisionen zwischen zwei Formen enthalten Methoden zur Berrechnen der Kollisionsreaktion.</div>
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code>abstract class</code>
      </td>
      <td class="signature">
        <em><a href="../sims/collision/Detector.html" target="_self">Detector</a></em>
        <code> extends </code><a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a>
        
        <div>Eine Welt ermittelt ihre Kollisionen durch konkrete Implementierungen dieser Klasse.</div>
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code> class</code>
      </td>
      <td class="signature">
        <em><a href="../sims/collision/GridDetector.html" target="_self">GridDetector</a></em>
        (<code>val override </code><em>world</em> : <a href="../sims/dynamics/World.html" target="_self">World</a>)<code> extends </code><a href="../sims/collision/Detector.html" target="_self">Detector</a>
        
        <div>Eine konkrete Implementierung von <code>Detector</code>. <code>GridDetector</code> ermittelt
 alle Kollisionen mit einem Gittersystem.</div>
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code>case class</code>
      </td>
      <td class="signature">
        <em><a href="../sims/collision/Overlap.html" target="_self">Overlap</a></em>
        (<code>val </code><em>poly</em> : <a href="../sims/geometry/ConvexPolygon.html" target="_self">ConvexPolygon</a>, <code>val </code><em>sideNum</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>, <code>val </code><em>overlap</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>)<code> extends </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a>
        
        
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code>case class</code>
      </td>
      <td class="signature">
        <em><a href="../sims/collision/Pair.html" target="_self">Pair</a></em>
        (<code>val </code><em>s1</em> : <a href="../sims/dynamics/Shape.html" target="_self">Shape</a>, <code>val </code><em>s2</em> : <a href="../sims/dynamics/Shape.html" target="_self">Shape</a>)<code> extends </code>(<a href="../sims/dynamics/Shape.html" target="_self">Shape</a>, <a href="../sims/dynamics/Shape.html" target="_self">Shape</a>)
        
        <div>Formenpaar.</div>
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code>case class</code>
      </td>
      <td class="signature">
        <em><a href="../sims/collision/PolyCircleCollision.html" target="_self">PolyCircleCollision</a></em>
        (<code>val </code><em>p</em> : <a href="../sims/geometry/ConvexPolygon.html" target="_self">ConvexPolygon</a>, <code>val </code><em>c</em> : <a href="../sims/dynamics/Circle.html" target="_self">Circle</a>)<code> extends </code><a href="../sims/collision/Collision.html" target="_self">Collision</a><code> with </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a>
        
        <div>Kollision zwischen einem konvexen Polygon und einem Kreis.</div>
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code>case class</code>
      </td>
      <td class="signature">
        <em><a href="../sims/collision/PolyCollision.html" target="_self">PolyCollision</a></em>
        (<code>val </code><em>p1</em> : <a href="../sims/geometry/ConvexPolygon.html" target="_self">ConvexPolygon</a>, <code>val </code><em>p2</em> : <a href="../sims/geometry/ConvexPolygon.html" target="_self">ConvexPolygon</a>)<code> extends </code><a href="../sims/collision/Collision.html" target="_self">Collision</a><code> with </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a>
        
        <div>Kollision zwischen zwei konvexen Polygonen.</div>
      </td>
    </tr>        
        </table>
<table summary="" cellpadding="3" class="member">
        <tr><td class="title" colspan="2">Object Summary</td></tr>
        <tr>
      <td class="modifiers" valign="top"> 
        <code> object</code>
      </td>
      <td class="signature">
        <em><a href="../sims/collision/AABB$object.html" target="_self">AABB</a></em>
        <code> extends </code>(<a href="../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <a href="../sims/geometry/Vector2D.html" target="_self">Vector2D</a>) =&gt; <a href="../sims/collision/AABB.html" target="_self">AABB</a>
        
        
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code> object</code>
      </td>
      <td class="signature">
        <em><a href="../sims/collision/CircleCollision$object.html" target="_self">CircleCollision</a></em>
        <code> extends </code>(<a href="../sims/dynamics/Circle.html" target="_self">Circle</a>, <a href="../sims/dynamics/Circle.html" target="_self">Circle</a>) =&gt; <a href="../sims/collision/CircleCollision.html" target="_self">CircleCollision</a>
        
        
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code> object</code>
      </td>
      <td class="signature">
        <em><a href="../sims/collision/Collision$object.html" target="_self">Collision</a></em>
        <code> extends </code><a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a>
        
        
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code> object</code>
      </td>
      <td class="signature">
        <em><a href="../sims/collision/Overlap$object.html" target="_self">Overlap</a></em>
        <code> extends </code>(<a href="../sims/geometry/ConvexPolygon.html" target="_self">ConvexPolygon</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) =&gt; <a href="../sims/collision/Overlap.html" target="_self">Overlap</a>
        
        
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code> object</code>
      </td>
      <td class="signature">
        <em><a href="../sims/collision/Pair$object.html" target="_self">Pair</a></em>
        <code> extends </code>(<a href="../sims/dynamics/Shape.html" target="_self">Shape</a>, <a href="../sims/dynamics/Shape.html" target="_self">Shape</a>) =&gt; <a href="../sims/collision/Pair.html" target="_self">Pair</a>
        
        
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code> object</code>
      </td>
      <td class="signature">
        <em><a href="../sims/collision/PolyCircleCollision$object.html" target="_self">PolyCircleCollision</a></em>
        <code> extends </code>(<a href="../sims/geometry/ConvexPolygon.html" target="_self">ConvexPolygon</a>, <a href="../sims/dynamics/Circle.html" target="_self">Circle</a>) =&gt; <a href="../sims/collision/PolyCircleCollision.html" target="_self">PolyCircleCollision</a>
        
        
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code> object</code>
      </td>
      <td class="signature">
        <em><a href="../sims/collision/PolyCollision$object.html" target="_self">PolyCollision</a></em>
        <code> extends </code>(<a href="../sims/geometry/ConvexPolygon.html" target="_self">ConvexPolygon</a>, <a href="../sims/geometry/ConvexPolygon.html" target="_self">ConvexPolygon</a>) =&gt; <a href="../sims/collision/PolyCollision.html" target="_self">PolyCollision</a>
        
        
      </td>
    </tr>        
        </table></body>
      </html>