Package it.unibo.alchemist.model.physics
Class FieldOfView2D
-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.physics.InfluenceSphere
public final class FieldOfView2D<T extends Object> extends InfluenceSphere2D<T>
A sphere of influence representing the sight of a node in the Euclidean world.
-
-
Constructor Summary
Constructors Constructor Description FieldOfView2D(Physics2DEnvironment<T> environment, Node<T> owner, Double distance, Double aperture)
-
Method Summary
Modifier and Type Method Description -
-
Constructor Detail
-
FieldOfView2D
FieldOfView2D(Physics2DEnvironment<T> environment, Node<T> owner, Double distance, Double aperture)
- Parameters:
environment
-the environment where this sphere of influence is.
owner
-the node who owns this sphere of influence.
distance
-the distance in meters at which the sight arrives.
aperture
-the amplitude of the field of view in radians.
-
-
-
-