Class Circle

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

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

    A circle.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      Circle(double centerx, double centery, double radius)
    • 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

      • Circle

        Circle(double centerx, double centery, double radius)
        Parameters:
        centerx - x coordinate of the center of the circle
        centery - y coordinate of the center of the circle
        radius - the circle radius
    • Method Detail