15h
awarded Notable Question
Feb
4
awarded Popular Question
Feb
4
awarded Nice Answer
Jan
27
revised Given a line on the surface of a cylinder and a point. What is the closest point on the line.
added 65 characters in body
Jan
27
comment Given a line on the surface of a cylinder and a point. What is the closest point on the line.
All distances are measured along the surface of the cylinder. Updated question to make this clear sorry.
Jan
27
revised Given a line on the surface of a cylinder and a point. What is the closest point on the line.
added 15 characters in body
Jan
27
comment Given a line on the surface of a cylinder and a point. What is the closest point on the line.
I think you have misunderstood. It is a straight line in the coordinate system of the surface of the cylinder. In 3D it is a helix. I updated the question to make that clear.
Jan
27
revised Given a line on the surface of a cylinder and a point. What is the closest point on the line.
added 146 characters in body
Jan
27
asked Given a line on the surface of a cylinder and a point. What is the closest point on the line.
Jan
21
comment CAD engine for .NET (WPF)
I don't think that is true. Hoops has wpf support now. docs.techsoft3d.com/visualize/3df/latest/build/general/…
Jan
18
comment Line intersection algorithms for lines on 2D conic surfaces.
Obvious when you think about it!! Thanks. If you write this as an answer I'll pick it as the correct one. In reality we have finite helices but this is a trivial extension.
Jan
18
asked Line intersection algorithms for lines on 2D conic surfaces.
Dec
18
comment Is it possible to test if a pixel is on a bresenham generated line without generating the line?
If you feel that I am mistaken please add a worked answer showing it and if it is correct I'll give you the points.
Dec
18
comment Is it possible to test if a pixel is on a bresenham generated line without generating the line?
I'm not looking to see if a pixel is on the real line. I'm looking to see if it is on the bresenham line. Different thing. Or to think about it differently. Given a point that is on the real line can you tell me the pixel that will be generated without running the full algorithm. In this case the answer will be no. However my question is subtly different but I suspect the answer is still no.
Dec
18
comment Is it possible to test if a pixel is on a bresenham generated line without generating the line?
@AndrewMorton the section you link to is for real numbers not pixels.
Dec
18
comment Is it possible to test if a pixel is on a bresenham generated line without generating the line?
The linked article shows how to generate a bresenham line. It does not as far as I can see provide a predicate to see if a random pixel is on the generated line without actually generating all the pixels.
Dec
18
asked Is it possible to test if a pixel is on a bresenham generated line without generating the line?
Dec
17
answered Looking for a sorted C# collection with ability to find nearest neighbours
Dec
17
comment Looking for a sorted C# collection with ability to find nearest neighbours
SortedList has poor insert delete performance as it uses a linear array to store all the nodes.
Dec
17
asked Looking for a sorted C# collection with ability to find nearest neighbours
1 2 3 4 5