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

Functions

Link copied to clipboard
Link copied to clipboard
open fun addLayer(p: Molecule, p1: Layer<T, P>)
Link copied to clipboard
open fun addNode(p: Node<T>, p1: P): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun forEach(p: Consumer<in Node<T>>)
Link copied to clipboard
Link copied to clipboard
open fun getDistanceBetweenNodes(p: Node<T>, p1: Node<T>): Double
Link copied to clipboard
open fun getGlobalReactions(): ListSet<GlobalReaction<T>>
Link copied to clipboard
abstract fun getHeading(p: Node<T>): P
Link copied to clipboard
open fun getLayer(p: Molecule): Layer<T, P>
Link copied to clipboard
open fun getLayers(): ListSet<Layer<T, P>>
Link copied to clipboard
Link copied to clipboard
open fun getNodeByID(p: Int): Node<T>
Link copied to clipboard
Link copied to clipboard
open 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
open 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
open fun isTerminated(): Boolean
Link copied to clipboard
open fun iterator(): Iterator<Node<T>>
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
Link copied to clipboard
Link copied to clipboard
open 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