Click here to Skip to main content
15,879,095 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: Predict next colour Pin
3fraction15-Sep-08 8:53
3fraction15-Sep-08 8:53 
GeneralRe: Predict next colour Pin
Alan Balkany16-Sep-08 4:00
Alan Balkany16-Sep-08 4:00 
QuestionWhat's the shortest path for connecting point with specific conditions Pin
fifothekid29-Aug-08 0:33
fifothekid29-Aug-08 0:33 
AnswerRe: What's the shortest path for connecting point with specific conditions Pin
fifothekid29-Aug-08 0:56
fifothekid29-Aug-08 0:56 
AnswerSince you are new here let me explain something Pin
MikeMarq29-Aug-08 12:34
MikeMarq29-Aug-08 12:34 
GeneralRe: Since you are new here let me explain something Pin
fifothekid29-Aug-08 20:20
fifothekid29-Aug-08 20:20 
Questioncreate a plane thru 3 points Pin
raesa28-Aug-08 20:50
raesa28-Aug-08 20:50 
AnswerRe: create a plane thru 3 points [modified] Pin
cp987628-Aug-08 21:34
cp987628-Aug-08 21:34 
one way:

all variables are vectors, the three points are defined by their position vectors r1, r2, r3, and the given point is simply r.

v1 = r1 - r3
v2 = r2 - r3

unit normal on plane
n = (v1 x v2) / |v1 x v2|

then the position vector of the projection point is
r - ((r - r1).n)n

[edit]
forgot to add that the equation of the plane is
(r - r1).n = 0
where r is the position vector to a point on the plane
[/edit]

Peter
"Until the invention of the computer, the machine gun was the device that enabled humans to make the most mistakes in the smallest amount of time."

modified on Friday, August 29, 2008 5:09 AM

GeneralRe: create a plane thru 3 points Pin
raesa28-Aug-08 22:06
raesa28-Aug-08 22:06 
QuestionCount Car on Traffic Algorithm Pin
Erdem İsenkul26-Aug-08 23:06
Erdem İsenkul26-Aug-08 23:06 
AnswerRe: Count Car on Traffic Algorithm Pin
Tim Craig27-Aug-08 22:20
Tim Craig27-Aug-08 22:20 
AnswerRe: Count Car on Traffic Algorithm Pin
Tim Craig28-Aug-08 19:21
Tim Craig28-Aug-08 19:21 
QuestionFactor vs Coefficient Pin
Jim Warburton26-Aug-08 8:36
Jim Warburton26-Aug-08 8:36 
AnswerRe: Factor vs Coefficient Pin
CPallini26-Aug-08 21:38
mveCPallini26-Aug-08 21:38 
QuestionComparing Two Values to get the percentage increase? Pin
Ian Uy19-Aug-08 7:29
Ian Uy19-Aug-08 7:29 
AnswerRe: Comparing Two Values to get the percentage increase? [modified] Pin
Robert.C.Cartaino19-Aug-08 8:36
Robert.C.Cartaino19-Aug-08 8:36 
GeneralRe: Comparing Two Values to get the percentage increase? Pin
Ian Uy20-Aug-08 4:12
Ian Uy20-Aug-08 4:12 
GeneralRe: Comparing Two Values to get the percentage increase? Pin
Robert.C.Cartaino20-Aug-08 5:12
Robert.C.Cartaino20-Aug-08 5:12 
GeneralRe: Comparing Two Values to get the percentage increase? Pin
Ian Uy20-Aug-08 5:29
Ian Uy20-Aug-08 5:29 
GeneralRe: Comparing Two Values to get the percentage increase? Pin
Robert.C.Cartaino20-Aug-08 11:26
Robert.C.Cartaino20-Aug-08 11:26 
GeneralRe: Comparing Two Values to get the percentage increase? Pin
Member 419459320-Aug-08 12:53
Member 419459320-Aug-08 12:53 
GeneralRe: Comparing Two Values to get the percentage increase? Pin
Ian Uy21-Aug-08 0:54
Ian Uy21-Aug-08 0:54 
GeneralRe: Comparing Two Values to get the percentage increase? Pin
cp987620-Aug-08 14:08
cp987620-Aug-08 14:08 
GeneralRe: Comparing Two Values to get the percentage increase? Pin
Roger Wright21-Aug-08 6:39
professionalRoger Wright21-Aug-08 6:39 
GeneralRe: Comparing Two Values to get the percentage increase? Pin
Member 419459323-Aug-08 6:18
Member 419459323-Aug-08 6:18 

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.