Click here to Skip to main content
15,897,891 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: 2D collision detection between a square and rectangle Pin
venomation8-Mar-10 14:49
venomation8-Mar-10 14:49 
QuestionDesigning Parallel Algorithms Pin
ProtoBytes2-Mar-10 7:43
ProtoBytes2-Mar-10 7:43 
AnswerRe: Designing Parallel Algorithms Pin
Chris Losinger5-Mar-10 8:51
professionalChris Losinger5-Mar-10 8:51 
AnswerRe: Designing Parallel Algorithms [Modified - Spell Checked] [modified] Pin
ProtoBytes5-Mar-10 11:57
ProtoBytes5-Mar-10 11:57 
GeneralRe: Designing Parallel Algorithms [Modified - Spell Checked] Pin
Chris Losinger8-Mar-10 4:27
professionalChris Losinger8-Mar-10 4:27 
AnswerRe: Designing Parallel Algorithms Pin
Fatbuddha 119-Mar-10 2:24
Fatbuddha 119-Mar-10 2:24 
QuestionClosest Polygon Pin
Richard Andrew x6418-Feb-10 17:36
professionalRichard Andrew x6418-Feb-10 17:36 
AnswerRe: Closest Polygon Pin
Som Shekhar18-Feb-10 19:00
Som Shekhar18-Feb-10 19:00 
Do you mean closest to the walls or closest to the doors?

Because if it is about tracking an asset, it should be closest to the door.

This could be one approach:
You could create a virtual circle around the point and find all polygon falling on it. if there are none, increase the size of circle. eg a circle of 10, 20,40,80 and so on. when you do encounter one polygon, thats your winner. In case you get more than one, reduce the circle slowly till you get a single.
GeneralRe: Closest Polygon Pin
Richard Andrew x6419-Feb-10 6:10
professionalRichard Andrew x6419-Feb-10 6:10 
AnswerRe: Closest Polygon Pin
Luc Pattyn18-Feb-10 21:29
sitebuilderLuc Pattyn18-Feb-10 21:29 
GeneralRe: Closest Polygon Pin
Richard Andrew x6419-Feb-10 6:11
professionalRichard Andrew x6419-Feb-10 6:11 
AnswerRe: Closest Polygon Pin
ProtoBytes19-Feb-10 4:45
ProtoBytes19-Feb-10 4:45 
GeneralRepost Pin
Luc Pattyn19-Feb-10 4:58
sitebuilderLuc Pattyn19-Feb-10 4:58 
GeneralRe: Closest Polygon Pin
Richard Andrew x6419-Feb-10 6:12
professionalRichard Andrew x6419-Feb-10 6:12 
AnswerRe: Closest Polygon [modified] Pin
harold aptroot19-Feb-10 6:47
harold aptroot19-Feb-10 6:47 
GeneralRe: Closest Polygon Pin
Richard Andrew x6419-Feb-10 6:55
professionalRichard Andrew x6419-Feb-10 6:55 
GeneralRe: Closest Polygon Pin
harold aptroot19-Feb-10 7:05
harold aptroot19-Feb-10 7:05 
GeneralRe: Closest Polygon Pin
Richard Andrew x6419-Feb-10 7:07
professionalRichard Andrew x6419-Feb-10 7:07 
GeneralRe: Closest Polygon Pin
RichardM121-Feb-10 16:17
RichardM121-Feb-10 16:17 
AnswerRe: Closest Polygon Pin
Member 419459315-Apr-10 14:25
Member 419459315-Apr-10 14:25 
AnswerRe: Closest Polygon Pin
Member 419459315-Apr-10 15:12
Member 419459315-Apr-10 15:12 
QuestionLinear-time suffix array construction Pin
harold aptroot18-Feb-10 7:43
harold aptroot18-Feb-10 7:43 
AnswerRe: Linear-time suffix array construction Pin
Luc Pattyn18-Feb-10 8:01
sitebuilderLuc Pattyn18-Feb-10 8:01 
GeneralRe: Linear-time suffix array construction Pin
harold aptroot18-Feb-10 8:24
harold aptroot18-Feb-10 8:24 
AnswerRe: Linear-time suffix array construction Pin
Luc Pattyn18-Feb-10 8:43
sitebuilderLuc Pattyn18-Feb-10 8:43 

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.