Package com.luciad.earth.view.gxy.util
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
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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumA 2-dimensional vector parameterization. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedALcdEarth2DVectorIcon(ALcdEarth2DVectorIcon.Parameterization aParameterization) Constructs a vector icon of the specified type. -
Method Summary
Modifier and TypeMethodDescriptionprotected doublegetAngle(double[] aParameters) Gets the angle in radians for the specified parameters.Returns the parameterization type.protected doublegetStrength(double[] aParameters) Gets the strength for the specified parameters.voidsetParameterization(ALcdEarth2DVectorIcon.Parameterization aParameterization) Sets the parameterization type.Methods inherited from class com.luciad.earth.view.gxy.util.ALcdEarthParameterizedIcon
anchorPointSFCTMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.luciad.format.raster.ILcdParameterizedIcon
getHeight, getWidth, paintIcon
-
Constructor Details
-
ALcdEarth2DVectorIcon
Constructs a vector icon of the specified type.- Parameters:
aParameterization- the parameterization type
-
-
Method Details
-
getParameterization
Returns the parameterization type.- Returns:
- the parameterization type
-
setParameterization
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
-