CircularDeformableCell

class CircularDeformableCell @JvmOverloads constructor(    environment: Environment<Double, Euclidean2DPosition>,     val node: Node<Double>,     val maximumDiameter: Double,     val rigidity: Double,     val junctions: MutableMap<Junction, MutableMap<Node<Double>, Int>> = LinkedHashMap()) : AbstractNodeProperty<Double> , CircularDeformableCellProperty, CircularCellProperty

Base implementation of a CircularCellProperty.

Constructors

Link copied to clipboard
fun CircularDeformableCell(    environment: Environment<Double, Euclidean2DPosition>,     node: Node<Double>,     maximumDiameter: Double,     rigidity: Double,     junctions: MutableMap<Junction, MutableMap<Node<Double>, Int>> = LinkedHashMap())

Functions

Link copied to clipboard
open override fun addJunction(junction: Junction, neighbor: Node<Double>)

Add a junction to the current node. junction the junction. neighbor the neighbor node at the other side of the junction.

Link copied to clipboard
open override fun addPolarizationVersor(versor: Euclidean2DPosition)

add versor to the polarization versor inside the cell; useful for considering the combination of various stimuli in a cell.

Link copied to clipboard
open override fun cloneOnNewNode(node: Node<Double>): NodeProperty<Double>
Link copied to clipboard
open override fun containsJunction(junction: Junction): Boolean

Return true if a junction is present in the current node, false otherwise. Note: a junction is considered present if the method junction.equals(j) return true. junction the junction.

Link copied to clipboard
open override fun getAllNodesLinkWithJunction(): Set<Node<Double>>

Returns set of Nodes which are linked by a junction with the current node.

Link copied to clipboard
open override fun getNeighborLinkWithJunction(junction: Junction): Set<Node<Double>>

Returns a set of Nodes which are linked with the current node by a junction of the type junction.

Link copied to clipboard
open override fun removeJunction(junction: Junction, neighbor: Node<Double>)

Removes a junction from this node.

Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
open override val diameter: Double

The diameter of the cell.

Link copied to clipboard
open override val junctions: MutableMap<Junction, MutableMap<Node<Double>, Int>>

The map junction - node - quantity.

Link copied to clipboard
open override val junctionsCount: Int
Link copied to clipboard
open override val maximumDiameter: Double

The max diameter that this cell can have, e.g. the diameter that this cell has if no other cell is around.

Link copied to clipboard
open val maximumRadius: Double

The max radius that this cell can have, e.g. the radius that this cell has if no other cell is around.

Link copied to clipboard
open override val node: Node<Double>
Link copied to clipboard
open override var polarizationVersor: Euclidean2DPosition
Link copied to clipboard
open override val radius: Double

The radius of the cell.

Link copied to clipboard
open override val rigidity: Double

Cellular rigidity.