Click here to Skip to main content
15,898,371 members
Home / Discussions / C#
   

C#

 
AnswerRe: difference b/w abstract method and interfaces Pin
Colin Angus Mackay26-Nov-07 6:09
Colin Angus Mackay26-Nov-07 6:09 
AnswerRe: difference b/w abstract method and interfaces Pin
J4amieC26-Nov-07 6:10
J4amieC26-Nov-07 6:10 
AnswerRe: difference b/w abstract method and interfaces Pin
m@u26-Nov-07 6:19
m@u26-Nov-07 6:19 
AnswerRe: difference b/w abstract method and interfaces Pin
PIEBALDconsult26-Nov-07 9:02
mvePIEBALDconsult26-Nov-07 9:02 
Questionthread synchronization Pin
invictus326-Nov-07 5:30
invictus326-Nov-07 5:30 
AnswerRe: thread synchronization Pin
Rob Philpott26-Nov-07 5:40
Rob Philpott26-Nov-07 5:40 
AnswerRe: thread synchronization Pin
Ennis Ray Lynch, Jr.26-Nov-07 7:16
Ennis Ray Lynch, Jr.26-Nov-07 7:16 
QuestionLine Segments [modified] Pin
Jim Warburton26-Nov-07 5:13
Jim Warburton26-Nov-07 5:13 
Hi,

I have millions of 3D line segments. Each segment is denoted by a point at a each end. One line segment would be v1, v4 (where v1 and v4 are x,y,z). If multiple lines radiate out from one point there will be multiple lines for that point (theoretical v1 could have an infinite number of lines radiating out). There is no ordering in the assignment of x,y,z to points or in the number of points- both are random. There may be 2 or more line segments which form a continuous straight line (v1, v4, v17, vn). I want to find those longer lines and have a single segment replace the multiple segments (v1, v4, v17, vn results in v1, vn). I have been experimenting with the dot product (a result of 1 or -1 is a straight line) and it works. I also have processor and memory issues (neither unlimited) and a time constraint. My question, is there a more efficient way to search for the line segments which form a straight lines (lose the square root) and is there a way to search for line segments radiating from a point (currently I have O^2, unacceptable). Thanks in advance for any help.


-- modified at 12:29 Monday 26th November, 2007
I have developed an efficient routine for finding if line segments are straight continuations of previous lines. Wondering if anyone knows of a search which can be done in a reasonable time frame?

this thing looks like it was written by an epileptic ferret
Dave Kreskowiak

AnswerRe: Line Segments Pin
Skippums26-Nov-07 7:03
Skippums26-Nov-07 7:03 
GeneralRe: Line Segments Pin
Jim Warburton26-Nov-07 8:10
Jim Warburton26-Nov-07 8:10 
GeneralRe: Line Segments Pin
Skippums26-Nov-07 9:56
Skippums26-Nov-07 9:56 
GeneralRe: Line Segments Pin
Jim Warburton29-Nov-07 4:23
Jim Warburton29-Nov-07 4:23 
AnswerRe: Line Segments Pin
Luc Pattyn26-Nov-07 7:10
sitebuilderLuc Pattyn26-Nov-07 7:10 
GeneralRe: Line Segments Pin
Jim Warburton26-Nov-07 7:57
Jim Warburton26-Nov-07 7:57 
GeneralRe: Line Segments Pin
Luc Pattyn26-Nov-07 8:32
sitebuilderLuc Pattyn26-Nov-07 8:32 
GeneralRe: Line Segments Pin
Jim Warburton26-Nov-07 8:59
Jim Warburton26-Nov-07 8:59 
QuestionHow to know which tree view node on master page is clicked on the form level Pin
ss.mmm26-Nov-07 5:09
ss.mmm26-Nov-07 5:09 
AnswerRe: How to know which tree view node on master page is clicked on the form level Pin
SABhatti26-Nov-07 8:53
SABhatti26-Nov-07 8:53 
QuestionUpdating controls from non-gui thread. Pin
Rob Philpott26-Nov-07 5:09
Rob Philpott26-Nov-07 5:09 
AnswerRe: Updating controls from non-gui thread. Pin
m@u26-Nov-07 5:21
m@u26-Nov-07 5:21 
GeneralRe: Updating controls from non-gui thread. Pin
Rob Philpott26-Nov-07 5:25
Rob Philpott26-Nov-07 5:25 
GeneralRe: Updating controls from non-gui thread. Pin
m@u26-Nov-07 5:38
m@u26-Nov-07 5:38 
AnswerRe: Updating controls from non-gui thread. Pin
Luc Pattyn26-Nov-07 6:23
sitebuilderLuc Pattyn26-Nov-07 6:23 
QuestionInserting into excel from C# Pin
GreekTreat26-Nov-07 5:06
GreekTreat26-Nov-07 5:06 
AnswerRe: Inserting into excel from C# Pin
GuyThiebaut26-Nov-07 5:16
professionalGuyThiebaut26-Nov-07 5:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.