Atavism Version 2018.1AGIS API

atavism.server.physics
Class Box

java.lang.Object
  extended by atavism.server.physics.Box
All Implemented Interfaces:
Geometry

public class Box
extends java.lang.Object
implements Geometry


Constructor Summary
Box()
           
Box(AOVector _halfExtents)
           
 
Method Summary
 java.util.List<AOVector> computeIntersection(Plane plane)
          I'm not really happy with this method signature.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Box

public Box()

Box

public Box(AOVector _halfExtents)
Method Detail

computeIntersection

public java.util.List<AOVector> computeIntersection(Plane plane)
Description copied from interface: Geometry
I'm not really happy with this method signature. The idea here is that we get a list of AOVectors, which represents the polygon formed by the intersection of our geometry with the plane.

Specified by:
computeIntersection in interface Geometry
Returns:

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2018 Dragonsan Studios Sp. z o.o.