Class Polygon.PolygonBuilder

java.lang.Object
org.ivoa.dm.proposal.prop.Polygon.PolygonBuilder
Enclosing class:
Polygon

public static class Polygon.PolygonBuilder extends Object
A builder class for Polygon, mainly for use in the functional builder pattern.
  • Field Details

    • points

      public List<org.ivoa.dm.stc.coords.EquatorialPoint> points
      an array of points....
    • name

      public String name
      .
  • Constructor Details

    • PolygonBuilder

      public PolygonBuilder()
  • Method Details

    • create

      public Polygon create()
      create a Polygon from this builder.
      Returns:
      an object initialized from the builder.