CircularArea

The node occupies a circular space with the provided radius.

Constructors

Link copied to clipboard
constructor(environment: Physics2DEnvironment<T>, node: Node<T>, radius: Double = 0.3)

Properties

Link copied to clipboard

The environment in witch the node moves.

Link copied to clipboard
open override val node: Node<T>

The node to which the capability is added.

Link copied to clipboard
val radius: Double = 0.3

The radius of this circular area.

Link copied to clipboard
open override val shape: Euclidean2DShape

The node's shape.

Functions

Link copied to clipboard
open override fun cloneOnNewNode(node: Node<T>): CircularArea<T>

Clones this property to be added on a new node.

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