Class AlignInLineAction.Line

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private double a
      Line equation ax + by + c = 0 Such as a^2 + b^2 = 1, ie (-b, a) is a unit vector of line
      private double b  
      private double c  
      private double xM
      (xM, yM) are coordinates of a point of the line
      private double yM  
    • Constructor Summary

      Constructors 
      Constructor Description
      Line​(Node first, Node last)
      Init a line by 2 nodes.
      Line​(Way way)
      Init a line equation from a way.