code: private LineSegment2D_F32 convertToLineSegment(List<Edgel> matchSet, LinePolar2D_F32 model) {
  		float minT = Float.MAX_VALUE;
  		float maxT = -Float.MAX_VALUE;
  
  		LineParametric2D_F32 line = UtilLine2D_F32.convert(model,(LineParametric2D_F32)null);
  
  		Point2D_F32 p = new Point2D_F32();
  		for( Edgel e : matchSet ) {
  			p.set(e.x,e.y);
  			float t = ClosestPoint2D_F32.closestPointT(line,e);
  			if( minT > t )
  				minT = t;
  			if( maxT < t )
  				maxT = t;
  		}
  
  		LineSegment2D_F32 segment = new LineSegment2D_F32();
  
  		segment.a.x = line.p.x + line.slope.x * minT;
  		segment.a.y = line.p.y + line.slope.y * minT;
  		segment.b.x = line.p.x + line.slope.x * maxT;
  		segment.b.y = line.p.y + line.slope.y * maxT;
  
  		return segment;
  	}
docs: Lines are found in polar form and this coverts them into line segments by finding
  the extreme points of points on the line.
  
  @param matchSet Set of points belonging to the line.
  @param model Detected line.
  @return Line segement.