Atavism Version 2018.1AGIS API

atavism.server.physics
Class Shape<T extends Geometry>

java.lang.Object
  extended by atavism.server.physics.Shape<T>

public class Shape<T extends Geometry>
extends java.lang.Object


Constructor Summary
Shape()
           
 
Method Summary
 void addTransform(Transform t)
          Add the transform to the transform chain.
 java.util.List<AOVector> computeIntersection(Plane objectSpacePlane)
           
 T getGeometry()
           
 Matrix4 getTransform()
           
 void setGeometry(T geom)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Shape

public Shape()
Method Detail

setGeometry

public void setGeometry(T geom)

getGeometry

public T getGeometry()

addTransform

public void addTransform(Transform t)
Add the transform to the transform chain. It is added to the end of the list of transforms, which corresponds to being applied after the other transforms.

Parameters:
t -

getTransform

public Matrix4 getTransform()

computeIntersection

public java.util.List<AOVector> computeIntersection(Plane objectSpacePlane)

toString

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


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