Class WayPoint

    • Field Detail

      • drawLine

        public boolean drawLine
        true indicates that the line before this point should be drawn
      • dir

        public int dir
        The direction of the line before this point. Used as cache to speed up drawing. Should not be relied on.
      • lat

        private final double lat
      • lon

        private final double lon
      • east

        private double east
      • north

        private double north
    • Constructor Detail

      • WayPoint

        public WayPoint​(WayPoint p)
        Constructs a new WayPoint from an existing one. Except for PT_TIME attribute, all attribute objects are shallow copied. This means modification of attr objects will affect original and new WayPoint.
        Parameters:
        p - existing waypoint
      • WayPoint

        public WayPoint​(LatLon ll)
        Constructs a new WayPoint from lat/lon coordinates.
        Parameters:
        ll - lat/lon coordinates