Class Line



  • public class Line
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      PointD P1  
      PointD P2  
    • Constructor Summary

      Constructors 
      Constructor Description
      Line​()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isHorizontal​()
      Determine if the line is horizontal
      boolean isVertical​()
      Determine if the line is vertical
      • Methods inherited from class java.lang.Object

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

      • Line

        public Line​()
    • Method Detail

      • isHorizontal

        public boolean isHorizontal​()
        Determine if the line is horizontal
        Returns:
        Boolean
      • isVertical

        public boolean isVertical​()
        Determine if the line is vertical
        Returns:
        Boolean