Click here to Skip to main content
15,914,111 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: Join lines text file using binary difference Pin
muttleychess1-Sep-16 7:49
muttleychess1-Sep-16 7:49 
GeneralRe: Join lines text file using binary difference Pin
Gerry Schmitz1-Sep-16 8:43
mveGerry Schmitz1-Sep-16 8:43 
QuestionConsesus algorithms Raft and Paxos comparison question Pin
Member 1270735628-Aug-16 1:40
Member 1270735628-Aug-16 1:40 
AnswerRe: Consesus algorithms Raft and Paxos comparison question Pin
Richard MacCutchan28-Aug-16 1:45
mveRichard MacCutchan28-Aug-16 1:45 
GeneralRe: Consesus algorithms Raft and Paxos comparison question Pin
Member 1270735628-Aug-16 3:14
Member 1270735628-Aug-16 3:14 
QuestionTranslating this flowchart into pseudocode Pin
Ambus Dondon26-Aug-16 18:47
Ambus Dondon26-Aug-16 18:47 
AnswerRe: Translating this flowchart into pseudocode Pin
Peter_in_278026-Aug-16 21:56
professionalPeter_in_278026-Aug-16 21:56 
GeneralRe: Translating this flowchart into pseudocode Pin
Ambus Dondon27-Aug-16 1:13
Ambus Dondon27-Aug-16 1:13 
SuggestionRe: Translating this flowchart into pseudocode Pin
enhzflep27-Aug-16 1:48
enhzflep27-Aug-16 1:48 
GeneralRe: Translating this flowchart into pseudocode Pin
Ambus Dondon27-Aug-16 2:15
Ambus Dondon27-Aug-16 2:15 
GeneralRe: Translating this flowchart into pseudocode Pin
enhzflep27-Aug-16 4:11
enhzflep27-Aug-16 4:11 
AnswerRe: Translating this flowchart into pseudocode Pin
Patrice T27-Aug-16 4:53
mvePatrice T27-Aug-16 4:53 
GeneralRe: Translating this flowchart into pseudocode Pin
Ambus Dondon27-Aug-16 14:27
Ambus Dondon27-Aug-16 14:27 
QuestionData Structures and Algorithm Pin
Chayan Mehta26-Aug-16 5:21
Chayan Mehta26-Aug-16 5:21 
AnswerRe: Data Structures and Algorithm Pin
Richard Deeming26-Aug-16 5:41
mveRichard Deeming26-Aug-16 5:41 
AnswerRe: Data Structures and Algorithm Pin
Beginner Luck30-Aug-16 17:56
professionalBeginner Luck30-Aug-16 17:56 
QuestionHow to do Ray and Triangle-Edge Intersect/Picking? Pin
Farhad Reza7-Aug-16 3:45
Farhad Reza7-Aug-16 3:45 
AnswerRe: How to do Ray and Triangle-Edge Intersect/Picking? Pin
Kenneth Haugland10-Aug-16 5:55
mvaKenneth Haugland10-Aug-16 5:55 
AnswerRe: How to do Ray and Triangle-Edge Intersect/Picking? Pin
patbob18-Aug-16 11:57
patbob18-Aug-16 11:57 
GeneralRe: How to do Ray and Triangle-Edge Intersect/Picking? Pin
Farhad Reza18-Aug-16 23:38
Farhad Reza18-Aug-16 23:38 
GeneralRe: How to do Ray and Triangle-Edge Intersect/Picking? Pin
patbob19-Aug-16 5:50
patbob19-Aug-16 5:50 
Actually, now that I've thought about it, sphere math is overkill, and probably not what you're wanting anyway. It'll work, but it's be simpler to just calculate nearest point on a line to a 3D point, and then decide if A) that falls within the endpoints of the line segment, and B) the distance between the two are close enough.

However, if you're using your "ray" to describe corner points of a 3D prism that's the selection bounding volume, then its just point inside a volume, and 3D plane/line-segment intersection math.
We can program with only 1's, but if all you've got are zeros, you've got nothing.

QuestionPackage Calculations for Shipping, do you see room for improvement Pin
jkirkerx4-Aug-16 9:26
professionaljkirkerx4-Aug-16 9:26 
SuggestionRe: Package Calculations for Shipping, do you see room for improvement Pin
Richard Deeming4-Aug-16 10:29
mveRichard Deeming4-Aug-16 10:29 
GeneralRe: Package Calculations for Shipping, do you see room for improvement Pin
jkirkerx4-Aug-16 12:10
professionaljkirkerx4-Aug-16 12:10 
GeneralRe: Package Calculations for Shipping, do you see room for improvement Pin
Slacker00710-Aug-16 3:35
professionalSlacker00710-Aug-16 3:35 

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.