Class AdimensionalShape

  • All Implemented Interfaces:
    it.unibo.alchemist.model.interfaces.geometry.GeometricShape , java.io.Serializable

    
    public final class AdimensionalShape<S extends Vector<S>, A extends GeometricTransformation<S>>
     implements GeometricShape<S, A>
                        

    A special shape which does not occupy space and does not intersect with any other, not even with itself. It also ignores any transformation.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Double getDiameter()
      S getCentroid()
      Boolean intersects(GeometricShape<S, A> other)
      Boolean contains(S vector)
      AdimensionalShape<S, A> transformed(Function1<A, Unit> transformation) Any transformation is ignored.
      • Methods inherited from class it.unibo.alchemist.model.interfaces.geometry.GeometricShape

        getRadius
      • Methods inherited from class java.lang.Object

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