Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 





Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > The Conversation Pit > Programming
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read

Programming A discussion forum for programs and programming used in tech-related businesses.

Reply
 
Thread Tools
Old 04-19-2008, 07:32 AM   #1 (permalink)
Registered User
 
Join Date: Sep 2005
Location: Manchester
Posts: 92
OS: Win XP Pro SP2

My System

algorithm issues

Hey there,

I need to write an algorithm that will do the following (sounds oh so simple now, but I just can't get it :P):

for a specified point with known co-ordinates, find out whether this point lies within a particular volume.

Sounds pretty simple, but I can't find a path that'll make it work! My volume is described by a path function (an equation of any sorts, most probably cubic spline interpolation but for the same of the algorithm, anything will do to start with), and then a cross-sectional area which is swept along perpendicular to this line.

My problem is, that I could easily find out whether the point sits on the line, but once i start including the volume constraint, i get totally lost. to start with, I don't know how to fully define the volume, as with a curved path, it's not a simple, single equation definition.

once the volume is defined (if ever!), i also have problems as I can't just check if the point is within the cross-section for that given x-co-ordinate, as with the curved path, if I look at it in slices, the cross-section changes.

once i've got a methodolgy defined, i'm looking to code a routine in python to do all of this automatically (however, i might just start in matlab for now, but that's not really the issue at the forefront).

It's not particularly easy to describe, but if someone thinks they might be able to help, i'd appreciate it enormously! I guess if someone already knows of some existing code that can do the same job, that would be even better :) You'd really be digging me out of a hole, i'm going round in circles and not getting anywhere!

Thanks very much,
(a very mathed-out) potticus
__________________
Don't think you're safe, cuz it's not over.
potticus is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -7. The time now is 02:07 PM.



Copyright 2001 - 2008, Tech Support Forum

Search Engine Friendly URLs by vBSEO

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81