Class Line.LineBuilder

java.lang.Object
org.ivoa.dm.adqlgeom.Line.LineBuilder
Enclosing class:
Line

public static class Line.LineBuilder extends Object
A builder class for Line, mainly for use in the functional builder pattern.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    org.javastro.ivoacore.pgsphere.types.Point
    start point of line.
    org.javastro.ivoacore.pgsphere.types.Point
    end point of line.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    create a Line from this builder.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • begin

      public org.javastro.ivoacore.pgsphere.types.Point begin
      start point of line.
    • end

      public org.javastro.ivoacore.pgsphere.types.Point end
      end point of line.
  • Constructor Details

    • LineBuilder

      public LineBuilder()
  • Method Details

    • create

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