Interface Segment2D

  • All Implemented Interfaces:

    
    public interface Segment2D
    
                        

    A basic 2-dimensional segment.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Number getX1()
      abstract Number getY1()
      abstract Number getX2()
      abstract Number getY2()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getX1

         abstract Number getX1()
        Returns:

        x coordinate of point 1

      • getY1

         abstract Number getY1()
        Returns:

        y coordinate of point 1

      • getX2

         abstract Number getX2()
        Returns:

        x coordinate of point 2

      • getY2

         abstract Number getY2()
        Returns:

        y coordinate of point 2