CircularArea

class CircularArea<T> @JvmOverloads constructor(    val environment: Physics2DEnvironment<T>,     val node: Node<T>,     val radius: Double = 0.3) : AbstractNodeProperty<T> , OccupiesSpaceProperty<T, Euclidean2DPosition, Euclidean2DTransformation>

The node occupies a circular space with the provided radius.

Constructors

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

Functions

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

Properties

Link copied to clipboard
val environment: Physics2DEnvironment<T>

The environment in witch the node moves.

Link copied to clipboard
open override val node: Node<T>
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.