Top "Line" questions

The shortest distance between two points.

PowerShell get number of lines of big (large) file

One of the ways to get number of lines from a file is this method in PowerShell: PS C:\Users\…

powershell line
Reading a file line by line in C#

I am trying to read some text files, where each line needs to be processed. At the moment I am …

c# linq line
Skip first line while reading CSV file in Java

I am writing a parser code to read a .csv file and parse it to XML. This is the code …

java csv line skip
How to draw a directed arrow line in Java?

I want to draw a directed arrow line through Java. At present, I am using java.awt.Line2D.Double …

java drawing line java-2d
Process very large (>20GB) text file line by line

I have a number of very large text files which I need to process, the largest being about 60GB. Each …

python line
How to find the intersection point between a line and a rectangle?

I have a line that goes from points A to B; I have (x,y) of both points. I also …

algorithm geometry line intersection
Matplotlib: Plotting numerous disconnected line segments with different colors

I have a set of data records like this: (s1, t1), (u1, v1), color1 (s2, t2), (u2, v2), color2 . . . (sN, …

python matplotlib plot line
Number of non repeating lines - unique count

Here is my problem: Any number of lines of text is given from standard input. Output: number of non repeating …

bash shell line unique
3D Line-Plane Intersection

If given a line (represented by either a vector or two points on the line) how do I find the …

3d line intersection plane
Check is a point (x,y) is between two points drawn on a straight line

I have drawn a line between two points A(x,y)---B(x,y) Now I have a third point …

java line