Class Abstract2DShape

  • All Implemented Interfaces:
    it.unibo.alchemist.loader.filters.Filter , java.util.function.Predicate , kotlin.Function , kotlin.jvm.functions.Function1

    
    public abstract class Abstract2DShape<P extends Position2D<P>>
     implements Filter<P>
                        

    A bidimensional Alchemist Filter that relies on AWT java.awt.Shape.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final boolean contains(P position) Checks if the position is inside the shape.
      String toString()
      • Methods inherited from class it.unibo.alchemist.loader.filters.Filter

        invoke, test
      • Methods inherited from class java.util.function.Predicate

        and, isEqual, negate, not, or, test
      • Methods inherited from class kotlin.jvm.functions.Function1

        invoke
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait