Class TravellingVessel


  • public class TravellingVessel
    extends java.lang.Object
    Author:
    Andi Hotz, (c) Sahits GmbH, 2016 Created on Jan 08, 2016
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.List<javafx.geometry.Point2D> calculatablePath
      List of points representing the path.
      private javafx.scene.shape.Path drwawablePath
      Path that can be used to display on the map.
      private javafx.beans.property.DoubleProperty positionOnPath
      Value between 0 and 1 indicating the position of the path.
      private INavigableVessel vessel  
    • Field Detail

      • drwawablePath

        private javafx.scene.shape.Path drwawablePath
        Path that can be used to display on the map. This path is smoothed.
      • calculatablePath

        private java.util.List<javafx.geometry.Point2D> calculatablePath
        List of points representing the path. This list is used to calculate the position of the vessel.
      • positionOnPath

        private javafx.beans.property.DoubleProperty positionOnPath
        Value between 0 and 1 indicating the position of the path.
    • Constructor Detail

      • TravellingVessel

        public TravellingVessel()
    • Method Detail

      • positionOnPathProperty

        public javafx.beans.property.DoubleProperty positionOnPathProperty()
      • setPositionOnPath

        public void setPositionOnPath​(double positionOnPath)
      • getPositionOnPath

        public double getPositionOnPath()