Class Polygon2D

All Implemented Interfaces:
Serializable, Cloneable, Iterable, Collection, List, RandomAccess, SequencedCollection

public class Polygon2D extends Vector
Clase que representa un polígono 2D
Author:
"Luis W. Sevilla" invalid input: '<'sevilla_lui@gva.es>
See Also:
  • Constructor Details

    • Polygon2D

      public Polygon2D()
  • Method Details

    • addPoint

      public void addPoint(Point2D pt)
      Añade un vertice al po?ígono
      Parameters:
      pt - punto 2D que representa el vertice añadido