Class Rectangle

  • All Implemented Interfaces:
    it.unibo.alchemist.model.PositionBasedFilter , java.util.function.Predicate , kotlin.Function , kotlin.jvm.functions.Function1

    
    public class Rectangle<P extends Position2D<P>>
    extends Abstract2DShape<P>
                        

    A Rectangle.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      Rectangle(double x, double y, double w, double h)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      • Methods inherited from class it.unibo.alchemist.model.positionfilters.Abstract2DShape

        contains, toString
      • Methods inherited from class it.unibo.alchemist.model.PositionBasedFilter

        contains, 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
    • Constructor Detail

      • Rectangle

        Rectangle(double x, double y, double w, double h)
        Parameters:
        x - start x point
        y - start y point
        w - width
        h - height
    • Method Detail