Physical Node
interface PhysicalNode<T, P : Position<P>, Vector<P>, A : GeometricTransformation<P>, F : GeometricShapeFactory<P, A>> : NodeWithShape<T, P, A>
Content copied to clipboard
A NodeWithShape capable of interacting physically with others (e.g. bumping into each other). Each physical node is responsible for the computation of the physical forces to which it is subject.
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun physicalForces(environment: PhysicsEnvironment<T, P, A, F>): List<P>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard