Class LineSegmentFloat


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

      Constructors 
      Constructor Description
      LineSegmentFloat​(PointF start, PointF end)
      Constructs LineSegmentFloat with the given params.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      PointF getEnd()
      Getter for end field.
      PointF getStart()
      Getter for start field.
      • Methods inherited from class java.lang.Object

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

      • 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 Detail

      • 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