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

gov.nasa.worldwind.symbology.TacticalCircle Maven / Gradle / Ivy

The 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.worldwind.symbology;

/**
 * An interface for circular tactical graphics. This interface provides methods to access the radius of the circle. The
 * radius can also be set using the SymbologyConstants.DISTANCE modifier.
 *
 * @author pabercrombie
 * @version $Id: TacticalCircle.java 1171 2013-02-11 21:45:02Z dcollins $
 * @see TacticalGraphicFactory#createCircle(String, gov.nasa.worldwind.geom.Position, double,
 *      gov.nasa.worldwind.avlist.AVList)
 */
public interface TacticalCircle extends TacticalPoint
{
    /**
     * Indicates the radius of this circle. Calling this method is equivalent to calling
     * getModifier(SymbologyConstants.DISTANCE ).
     *
     * @return The radius of this circle, in meters.
     */
    double getRadius();

    /**
     * Specifies the radius of this circle. Calling this method is equivalent to calling
     * setModifier(SymbologyConstants.DISTANCE, value).
     *
     * @param radius New radius, in meters.
     */
    void setRadius(double radius);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy