Hi Agraham

ceaser

Active Member
Licensed User
Hi Agraham:sign0188:

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
 

agraham

Expert
Licensed User
Longtime User
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.
 

ceaser

Active Member
Licensed User
Hi Agraham

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

Regards
Michael
 

ceaser

Active Member
Licensed User
Hi Agraham

Thanks for clearing that up for me!:signOops:

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

Thanks
Michael
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…