RectangularArea

class RectangularArea<T>(    val environment: Physics2DEnvironment<T>,     val node: Node<T>,     val width: Double,     val height: Double) : AbstractNodeProperty<T> , OccupiesSpaceProperty<T, Euclidean2DPosition, Euclidean2DTransformation> (source)

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>
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>
Link copied to clipboard
open override fun toString(): String