import com.motorola.location.Position2D;
/*
 * PositionData.java
 *
 * Created on 21 ottobre 2005, 20.47
 *
 * To change this template, choose Tools | Options and locate the template under
 * the Source Creation and Management node. Right-click the template and choose
 * Open. You can then make changes to the template in the Source Editor.
 */

/**
 *
 * @author Enrico
 */
public class PositionData {
    public int Latitude, Longitude, Altitude, PointingDirection, Speed;
    public int Accuracy;
    
    
    
    /** Creates a new instance of PositionData */
    public PositionData(PositionData other) {
        this.Accuracy = other.Accuracy;
        this.Altitude = other.Altitude;
        this.Latitude = other.Latitude;
        this.Longitude = other.Longitude;
        this.PointingDirection = other.PointingDirection;
        this.Speed = other.Speed;
    }
    
    public PositionData() {
        this.Accuracy = Position2D.UNAVAILABLE;
        this.Altitude = Position2D.UNAVAILABLE;
        this.Latitude = Position2D.UNAVAILABLE;
        this.Longitude = Position2D.UNAVAILABLE;
        this.PointingDirection = Position2D.UNAVAILABLE;
        this.Speed = Position2D.UNAVAILABLE;
    }
    
}
