Hi Martin,

> For example i have a linestring ( 0 0 , 5 5 , .... )
>
> so i calculate the linear function between the first two points => (0,0) and
> (5,5) that would be f(x) = x
>
> and now i have the information that the moving object can move 2 meters per
> step how can i get the next point?

Yes - exactly.

> And does geotools have such operations implemented? If so i could save much
> implementation time!

The classes in the JTS package linearref are your friends:
http://tsusiatsoftware.net/jts/javadoc/com/vividsolutions/jts/linearref/package-summary.html

Hope this helps.

Michael

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to