Class LineSegmentFloat

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

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

    • LineSegmentFloat

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

    • getStart

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

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