FieldOfView2D

class FieldOfView2D<T>(environment: Physics2DEnvironment<T>, owner: Node<T>, distance: Double, aperture: Double) : InfluenceSphere2D<T> (source)

A sphere of influence representing the sight of a node in the Euclidean world.

Parameters

environment
      the environment where this sphere of influence is defined
owner
      the node that owns this sphere of influence
distance
      the maximum sight distance in meters
aperture
      the amplitude of the field of view in radians

Type Parameters

T
      the concentration type

Constructors

Link copied to clipboard
constructor(environment: Physics2DEnvironment<T>, owner: Node<T>, distance: Double, aperture: Double)

Functions

Link copied to clipboard
open override fun influentialNodes(): List<Node<T>>

List of influential nodes. (e.g. nodes withing a field of view).