public interface ILcdArcBand extends ILcdShape
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.
Modifier and Type | Field and Description |
---|---|
static int |
MAX_RADIUS_END_CORNER
Specifies the corner point at maximum radius and the end angle.
|
static int |
MAX_RADIUS_START_CORNER
Specifies the corner point at maximum radius and the start angle.
|
static int |
MIN_RADIUS_END_CORNER
Specifies the corner point at minimum radius and the end angle.
|
static int |
MIN_RADIUS_START_CORNER
Specifies the corner point at minimum radius and the start angle.
|
Modifier and Type | Method and Description |
---|---|
void |
corner2DEditablePointSFCT(int aCorner,
ILcd2DEditablePoint a2DEditablePointSFCT)
Computes the position of the specified corner of this
ILcdArcBand . |
double |
getArcAngle()
Returns the angle over which the arc extends (in degrees).
|
ILcdPoint |
getCenter()
Returns the center point of this
ILcdArcBand . |
double |
getMaxRadius()
Returns the maximum radius of this
ILcdArcBand . |
double |
getMinRadius()
Returns the minimum radius of this
ILcdArcBand . |
double |
getStartAngle()
Returns the start angle of the arc (in degrees).
|
contains2D, contains2D, contains3D, contains3D, getFocusPoint
getBounds
clone
static final int MIN_RADIUS_START_CORNER
static final int MAX_RADIUS_START_CORNER
static final int MIN_RADIUS_END_CORNER
static final int MAX_RADIUS_END_CORNER
ILcdPoint getCenter()
ILcdArcBand
.ILcdArcBand
.double getMinRadius()
ILcdArcBand
.ILcdArcBand
.double getMaxRadius()
ILcdArcBand
.ILcdArcBand
.double getStartAngle()
double getArcAngle()
void corner2DEditablePointSFCT(int aCorner, ILcd2DEditablePoint a2DEditablePointSFCT)
ILcdArcBand
.aCorner
- the corner:
ILcdArcBand.MIN_RADIUS_START_CORNER
,
ILcdArcBand.MAX_RADIUS_START_CORNER
,
ILcdArcBand.MIN_RADIUS_END_CORNER
, or
ILcdArcBand.MAX_RADIUS_END_CORNER
.a2DEditablePointSFCT
- an ILcd2DEditablePoint
into which the result is written as a
side-effect.