// Get specified amount of lines with highest intensity private HoughLine[] GetMostIntensiveLines(int count) { // lines count int n = Math.Min(count, lines.Count); // result array HoughLine[] dst = new HoughLine[n]; lines.CopyTo(0, dst, 0, n); return(dst); }
// Get specified amount of lines with highest intensity private HoughLine[] GetMostIntensiveLines( int count ) { // lines count int n = Math.Min( count, lines.Count ); // result array HoughLine[] dst = new HoughLine[n]; lines.CopyTo( 0, dst, 0, n ); return dst; }