Hello Martin,

I've looked into your changes and start to rewrite the code for new 
MappedPosition, but I've  realized one small problem that I've forgot to take 
care about in last e-mail. Using the previous MappedPostion was useful because 
it was just extending  DirectPosition. During triangulation I need to make a 
TIN from source points and then map these triangles to triangles made by 
destination points – so during TIN generation I cast it to DircetPosition 
and TriangulationFactory generates the source TIN. Then I cast it back to 
MappedPosition so I can easily map source triangle to target triangles. 
I'm unable to think up the way how to do that with new MappedPosition. I 
propose two ways how to solve it:

* Make Inner class under MappedTriangulatioFactory that will look like old 
MappedPosition and will be used just for generating map of source and 
destination triangles.
OR
* Rewrite TriangulationFactory  to be able to work with new MappedPosition 
instead of DirectPosition.

I prefer the first approach, but may be you can help me how to do this better.
So what do you think?
Thanks for any help.

Cheers, 
Jan.


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to