View Single Post
  #3 (permalink)  
Old 08-22-2009, 03:25 PM
ceaser's Avatar
ceaser ceaser is offline
Basic4ppc Veteran
 
Join Date: May 2008
Location: Paarl, South Africa
Posts: 306
Default

Hi Ariel

I have a lot of points (topographical survey points) and these points are defined by X, Y and Z coordinates. These points then get triangulated with the help of Agraham's Delauney dll

Now, when I tap with my stylus inside any triangle, the program will return the X and Y position where I tapped on the screen. The program then uses these X and Y values to find out in which triangle I have tapped.

Now comes the difficult part. Using the X, Y and Z coordinates of the triangle in which I have tapped, the program needs to calculate a "Z" (height) value of the point where I have tapped, using the values of the 3 corners of the triangle.

Like I have said previously, it works with least squares adjustment, but only to a certain point.

Hope you can help

Thanks
Michael
Reply With Quote