I'm currently using the GeoTools toolkit to do calculations on marine vessel data, such as calculating the Great Circle distance between two lon/lat points. I have two other requirements that I need to satisfy, but I'm not sure where to look in GeoTools to find classes to do these kind of calculations.
REQUIREMENT #1: Calculate a Dead Reckoning position for a moving vessel.
INPUT VALUES:
- current longitude
- current latitude
- current speed (which can be easily converted to a distance, given a time 'T')
- current course
EXPECTED OUTPUTS:
- estimated longitude/latitude position after time 'T' has elapsed
REQUIREMENT #2: Calculate the course from position 'A' to position 'B'.
INPUT VALUES:
- longitude 'A'
- latitude 'A'
- longitude 'B'
- latitude 'B'
EXPECTED OUTPUTS:
- course that points directly from 'A' to 'B'
QUESTION
Can anyone direct me to classes in GeoTools that are capable of performing these calculations? I'm overwhelmed by the sheer number of classes in GeoTools and I can't seem to find what I need to do this.