All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.gov.nasa.worldwindx.applications.sar.SARPosition Maven / Gradle / Ivy

Go to download

World Wind is a collection of components that interactively display 3D geographic information within Java applications or applets.

There is a newer version: 2.0.0-986
Show newest version
/*
 * Copyright (C) 2012 United States Government as represented by the Administrator of the
 * National Aeronautics and Space Administration.
 * All Rights Reserved.
 */
package gov.nasa.worldwindx.applications.sar;

import gov.nasa.worldwind.geom.*;

/**
 * @author tag
 * @version $Id: SARPosition.java 1171 2013-02-11 21:45:02Z dcollins $
 */
public class SARPosition extends Position
{
    public static class Info
    {
        private final String author;
        private final long editTime;
        private final String comment;

        public Info(String author, long editTime, String comment)
        {
            this.author = author;
            this.editTime = editTime;
            this.comment = comment;
        }
    }

    private Info info;

    public SARPosition()
    {
        super(Angle.ZERO, Angle.ZERO, 0d);
    }

    public SARPosition(Angle latitude, Angle longitude, double elevation)
    {
        super(latitude, longitude, elevation);
    }

    public SARPosition(Position pos)
    {
        super(pos.getLatitude(), pos.getLongitude(), pos.getElevation());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy