Class ALcdEarth2DVectorIcon

java.lang.Object
com.luciad.earth.view.gxy.util.ALcdEarthParameterizedIcon
com.luciad.earth.view.gxy.util.ALcdEarth2DVectorIcon
All Implemented Interfaces:
ILcdParameterizedIcon
Direct Known Subclasses:
TLcdEarthArrowIcon, TLcdEarthSparseIcon, TLcdEarthWindIcon

public abstract class ALcdEarth2DVectorIcon extends ALcdEarthParameterizedIcon
A base class for ILcdParameterizedIcons that paint a 2-dimensional vector.

This class provides support for multiple ALcdEarth2DVectorIcon.Parameterizations for a 2-dimensional vector.

Since:
10.1
  • Constructor Details

    • ALcdEarth2DVectorIcon

      protected ALcdEarth2DVectorIcon(ALcdEarth2DVectorIcon.Parameterization aParameterization)
      Constructs a vector icon of the specified type.
      Parameters:
      aParameterization - the parameterization type
  • Method Details

    • getParameterization

      public ALcdEarth2DVectorIcon.Parameterization getParameterization()
      Returns the parameterization type.
      Returns:
      the parameterization type
    • setParameterization

      public void setParameterization(ALcdEarth2DVectorIcon.Parameterization aParameterization)
      Sets the parameterization type.
      Parameters:
      aParameterization - the parameterization type
    • getAngle

      protected double getAngle(double[] aParameters)
      Gets the angle in radians for the specified parameters. The angle is measured from 3 o'clock position, positive counter-clockwise.
      Parameters:
      aParameters - the parameters
      Returns:
      the angle in radians
    • getStrength

      protected double getStrength(double[] aParameters)
      Gets the strength for the specified parameters.
      Parameters:
      aParameters - the parameters
      Returns:
      the strength