Uploaded image for project: 'OpenTrafficSim'
  1. OpenTrafficSim
  2. OTS-120

Create a getCenter() method in all GTUs

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Done
    • Priority: Medium
    • Resolution: Unresolved
    • Labels:
      None
    • Epic Link:
    • Sprint:
      Sprint 4
    • Organization:
      Generic
    • Java Project:
      ots-core

      Description

      getReference() is assumed to be the center, but that is not necessarily true. Therefore a getCenter() method needs to be added to all GTUs to determine the center position. Animation should use the (calculated) center position rather than the reference position, which could be at the back of the GTU.

        Attachments

          Activity

            People

            • Assignee:
              averbraeck Alexander Verbraeck
              Reporter:
              averbraeck Alexander Verbraeck
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Time Tracking

                Estimated:
                Original Estimate - 30 minutes
                30m
                Remaining:
                0m
                Logged:
                Time Not Required
                Not Specified