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.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      • Methods inherited from class it.unibo.alchemist.model.physics.InfluenceSphere2D

        influentialNodes
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.
    • Method Detail