RectangularArea

The node occupies a rectangular width x height area.

Constructors

Link copied to clipboard
constructor(environment: Physics2DEnvironment<T>, node: Node<T>, width: Double, height: Double)

Properties

Link copied to clipboard

The environment in which node is moving.

Link copied to clipboard

The rectangle height.

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

The node to which the capability is added.

Link copied to clipboard
open override val shape: Euclidean2DShape

The node's shape.

Link copied to clipboard

The rectangle width.

Functions

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

Clones this property to be added on a new node.

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