Class AwtMutableConvexPolygon

  • All Implemented Interfaces:
    it.unibo.alchemist.model.geometry.AwtShapeCompatible , it.unibo.alchemist.model.geometry.ConvexPolygon , it.unibo.alchemist.model.geometry.ConvexShape , it.unibo.alchemist.model.geometry.MutableConvexPolygon , it.unibo.alchemist.model.geometry.Shape , java.io.Serializable

    
    public class AwtMutableConvexPolygon
    extends AbstractConvexPolygon implements MutableConvexPolygon
                        

    MutableConvexPolygon partly delegated to AwtEuclidean2DShape and java.awt.geom. Each modification operation on this object has a time complexity of O(n), where n is the number of vertices/edges. Collinear points are allowed.