Class LineSegmentInt

java.lang.Object
io.scanbot.sdk.geometry.LineSegmentInt

public class LineSegmentInt extends Object
Represents a line segment in 2D space.
  • Constructor Details

    • LineSegmentInt

      public LineSegmentInt(Point start, Point end)
      Constructs LineSegmentInt with the given params.
      Parameters:
      start - Start point of the segment.
      end - End point of the segment.
  • Method Details

    • getStart

      public Point getStart()
      Getter for start field. See constructor documentation for more information about the field.
      Returns:
      start
    • getEnd

      public Point getEnd()
      Getter for end field. See constructor documentation for more information about the field.
      Returns:
      end