Package com.luciad.shape
Interface ILcdArcBand
- All Superinterfaces:
Cloneable
,ILcdBounded
,ILcdCloneable
,ILcdShape
,Serializable
- All Known Subinterfaces:
ILcd2DEditableArcBand
,ILcdEditableSector
,ILcdSector
- All Known Implementing Classes:
TLcdAISArcBand
,TLcdFeaturedSector
,TLcdLonLatArcBand
,TLcdNVG15ArcBand
,TLcdNVG20ArcBandRing
,TLcdSector
,TLcdXYArcBand
An
ILcdArcBand
is an ILcdShape
that represents a circular arc with a width, in the 2D space.
All of its points lie in the band with a minimum radius and a maximum radius
from the center point.
The arc band starts at a start angle and extends over an arc angle.
The angles are measured from the 3 o'clock position, positive
counter-clockwise.
The parameters of the arc band can only be read, not modified.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Specifies the corner point at maximum radius and the end angle.static final int
Specifies the corner point at maximum radius and the start angle.static final int
Specifies the corner point at minimum radius and the end angle.static final int
Specifies the corner point at minimum radius and the start angle. -
Method Summary
Modifier and TypeMethodDescriptionvoid
corner2DEditablePointSFCT
(int aCorner, ILcd2DEditablePoint a2DEditablePointSFCT) Computes the position of the specified corner of thisILcdArcBand
.double
Returns the angle over which the arc extends (in degrees).Returns the center point of thisILcdArcBand
.double
Returns the maximum radius of thisILcdArcBand
.double
Returns the minimum radius of thisILcdArcBand
.double
Returns the start angle of the arc (in degrees).Methods inherited from interface com.luciad.shape.ILcdBounded
getBounds
Methods inherited from interface com.luciad.util.ILcdCloneable
clone
Methods inherited from interface com.luciad.shape.ILcdShape
contains2D, contains2D, contains3D, contains3D, getFocusPoint
-
Field Details
-
MIN_RADIUS_START_CORNER
static final int MIN_RADIUS_START_CORNERSpecifies the corner point at minimum radius and the start angle.- See Also:
-
MAX_RADIUS_START_CORNER
static final int MAX_RADIUS_START_CORNERSpecifies the corner point at maximum radius and the start angle.- See Also:
-
MIN_RADIUS_END_CORNER
static final int MIN_RADIUS_END_CORNERSpecifies the corner point at minimum radius and the end angle.- See Also:
-
MAX_RADIUS_END_CORNER
static final int MAX_RADIUS_END_CORNERSpecifies the corner point at maximum radius and the end angle.- See Also:
-
-
Method Details
-
getCenter
ILcdPoint getCenter()Returns the center point of thisILcdArcBand
.- Returns:
- the center point of this
ILcdArcBand
.
-
getMinRadius
double getMinRadius()Returns the minimum radius of thisILcdArcBand
.- Returns:
- the minimum radius of this
ILcdArcBand
.
-
getMaxRadius
double getMaxRadius()Returns the maximum radius of thisILcdArcBand
.- Returns:
- the maximum radius of this
ILcdArcBand
.
-
getStartAngle
double getStartAngle()Returns the start angle of the arc (in degrees). The angle is measured from 3 o'clock position, positive counter-clockwise.- Returns:
- the start angle of the arc (in degrees). The angle is measured from 3 o'clock position, positive counter-clockwise.
-
getArcAngle
double getArcAngle()Returns the angle over which the arc extends (in degrees). The angle is positive counter-clockwise.- Returns:
- the angle over which the arc extends (in degrees). The angle is positive counter-clockwise.
-
corner2DEditablePointSFCT
Computes the position of the specified corner of thisILcdArcBand
.- Parameters:
aCorner
- the corner:ILcdArcBand.MIN_RADIUS_START_CORNER
,ILcdArcBand.MAX_RADIUS_START_CORNER
,ILcdArcBand.MIN_RADIUS_END_CORNER
, orILcdArcBand.MAX_RADIUS_END_CORNER
.a2DEditablePointSFCT
- anILcd2DEditablePoint
into which the result is written as a side-effect.
-