RectangularArea

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

The node occupies a rectangular width x height area.

Constructors

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

Functions

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

Properties

Link copied to clipboard
val environment: Physics2DEnvironment<T>

The environment in which node is moving.

Link copied to clipboard
val height: Double

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
val width: Double

The rectangle width.