Perceptive

data class Perceptive<T>(val node: Node<T>, val fieldOfView: InfluenceSphere<T>) : AbstractNodeProperty<T> , PerceptiveProperty<T>

Base implementation of a pedestrian's capability to influence each other.

Constructors

Link copied to clipboard
constructor(node: Node<T>, fieldOfView: InfluenceSphere<T>)

Properties

Link copied to clipboard
open override val fieldOfView: InfluenceSphere<T>

The agent's primary field of view.

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

The node to which the capability is added.

Link copied to clipboard

The set of influence spheres associated with this pedestrian. By default only fieldOfView is present.

Functions

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

Clones this property to be added on a new node.

Link copied to clipboard
infix fun NodeProperty<*>.shouldEqual(other: NodeProperty<*>)