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
ILcdParameterizedIcon
s that paint a 2-dimensional vector.
This class provides support for multiple ALcdEarth2DVectorIcon.Parameterization
s
for a 2-dimensional vector.- Since:
- 10.1
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
A 2-dimensional vector parameterization. -
Constructor Summary
ModifierConstructorDescriptionprotected
ALcdEarth2DVectorIcon
(ALcdEarth2DVectorIcon.Parameterization aParameterization) Constructs a vector icon of the specified type. -
Method Summary
Modifier and TypeMethodDescriptionprotected double
getAngle
(double[] aParameters) Gets the angle in radians for the specified parameters.Returns the parameterization type.protected double
getStrength
(double[] aParameters) Gets the strength for the specified parameters.void
setParameterization
(ALcdEarth2DVectorIcon.Parameterization aParameterization) Sets the parameterization type.Methods inherited from class com.luciad.earth.view.gxy.util.ALcdEarthParameterizedIcon
anchorPointSFCT
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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
-