Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > General > Chit Chat
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Chit Chat The place for open discussions.

Hi Agraham

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-18-2009, 12:14 PM
ceaser's Avatar
Basic4ppc Veteran
 
Join Date: May 2008
Location: Paarl, South Africa
Posts: 306
Default Hi Agraham

Hi Agraham

Sorry to bother you.

With your Delauney dll, is it please possible to amend the dll in order that the user can enter a "search" distance in? If the points are further apart than say "x" meters then they should not be included in the Tin Model.

You have a command:

Triangles() = D2D.TriangulatePoints(Points())

Maybe have
Triangles() = D2D.TriangulatePoints(Points(),D)

where D=distance (maximum length of any side in a Triangle)

Where this will come handy is on a road that has many curves in. What I do is to convert my design (horizontal, vertical, widths, crossfalls, etc) to Y, X and Z points every 20m. These points then get triangulated using your dll which gets send to the controller in the field to assist with the control of the project.

What happens is that on a curve, the dll will calculate a Triangle from the start of the curve across to the end of the curve (takes shortcut!). I have a routine to erase Triangles from this model, but it would be nice to enter a maximum "Triangle Leg Distance" to cut down on the editing of the Tin Model.

Regards
Michael
Reply With Quote
  #2 (permalink)  
Old 10-18-2009, 05:18 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 5,953
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

I think it is better to post process yourself as you are probably doing now. The Delauney algorithm doesn't seem to lend itself to easily returning partial reasults so to avoid possibly upsetting the algorithm I would post process the results anyway. You can get almost as good performance as the library could by using my MathRecompiler on the finished app to speed things up and that way you know what is happening to the output of the Delauney algorithm.
__________________
Sorry, but I don't answer questions by PM or email.
Please post your queries in the forum.
Reply With Quote
  #3 (permalink)  
Old 10-18-2009, 06:34 PM
ceaser's Avatar
Basic4ppc Veteran
 
Join Date: May 2008
Location: Paarl, South Africa
Posts: 306
Default

Hi Agraham

I do not have the faintest glue what you are talking about!

Regards
Michael
Reply With Quote
  #4 (permalink)  
Old 10-18-2009, 06:54 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 5,953
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Quote:
Originally Posted by ceaser View Post
I have a routine to erase Triangles from this model
This is post processing. My MathRecompiler could speed the search through the triangle list as it seems to work quite well with Single as well as Double arrays.
__________________
Sorry, but I don't answer questions by PM or email.
Please post your queries in the forum.
Reply With Quote
  #5 (permalink)  
Old 10-19-2009, 06:00 PM
ceaser's Avatar
Basic4ppc Veteran
 
Join Date: May 2008
Location: Paarl, South Africa
Posts: 306
Default

Hi Agraham

Thanks for clearing that up for me!

I am not always the brighest of people......only a surveyor

Thanks
Michael
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On

Similar Threads
Thread Thread Starter Forum Replies Last Post
a question for erel or agraham or anyone else Ricky D Questions (Windows Mobile) 14 10-29-2008 07:43 PM
a question for agraham Ricky D Questions (Windows Mobile) 21 10-19-2008 05:38 PM
Merging agraham libraries with the exe agraham Additional Libraries 10 05-28-2008 05:40 PM
Two new awards were given to agraham and dzt Erel Forum Discussion 14 01-27-2008 02:08 AM
I vote for agraham! dzt Chit Chat 7 10-26-2007 07:47 PM


All times are GMT. The time now is 08:01 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0