BioRect2DEnvironmentNoOverlap

Implements a limited environment supporting cells with a defined shape, avoiding any overlapping among them.

Constructors

Link copied to clipboard
constructor(incarnation: BiochemistryIncarnation)
Returns an infinite BioRect2DEnvironment.
constructor(incarnation: BiochemistryIncarnation, minX: Double, maxX: Double, minY: Double, maxY: Double)
Returns a limited rectangular BioRect2DEnvironment.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val nodes: ListSet<Node<T>>
Link copied to clipboard
Link copied to clipboard
open var simulation: Simulation<T, P>

Functions

Link copied to clipboard
Link copied to clipboard
fun addLayer(p: Molecule, p1: Layer<T, P>)
Link copied to clipboard
fun addNode(p: Node<T>, p1: P): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun forEach(p: Consumer<in Node<T>>)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun getHeading(p: Node<T>): P
Link copied to clipboard
Link copied to clipboard
fun getLayers(): ListSet<Layer<T, P>>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun getNodeByID(p: Int): Node<T>
Link copied to clipboard
Link copied to clipboard
fun getNodesWithinRange(p: Node<T>, p1: Double): ListSet<Node<T>>
Link copied to clipboard
Link copied to clipboard
open fun getOrigin(): P
Link copied to clipboard
fun getPosition(p: Node<T>): P
Link copied to clipboard
Link copied to clipboard
abstract fun getShapeFactory(): F
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun iterator(): Iterator<T>
Link copied to clipboard
Link copied to clipboard
open fun moveNode(p: Node<T>, p1: P)
fun moveNode(node: Node<Double>, @Nonnull direction: Euclidean2DPosition)
Link copied to clipboard
open fun moveNodeToPosition(@Nonnull node: Node<Double>, newPos: Euclidean2DPosition)
Link copied to clipboard
Link copied to clipboard
fun removeNode(p: Node<T>)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun toString(): String