|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.maps.IlvMapGeometry
ilog.views.maps.geometry.IlvMapCurve
ilog.views.maps.geometry.IlvMapCircle
public class IlvMapCircle
This class defines a circle.
The instances of this class can be
rendered by an IlvDefaultFeatureRenderer or by an
IlvDefaultCurveRenderer.
| Constructor Summary | |
|---|---|
IlvMapCircle(IlvCoordinate center,
double radius)
Initializes an instance of circle by specifying its center and its radius. |
|
IlvMapCircle(IlvCoordinate control1,
IlvCoordinate control2,
IlvCoordinate control3)
Initializes an instance of IlvMapCircle
by giving the three different points that are on the circle. |
|
| Method Summary | |
|---|---|
Rectangle2D |
getBounds(Rectangle2D result)
Returns the bounds of this IlvMapGeometry |
IlvCoordinate |
getCenter()
Returns the center of the circle. |
double |
getRadius()
Returns the radius of the circle. |
void |
setCenter(IlvCoordinate c)
Sets the center of the circle. |
void |
setRadius(double r)
Sets the radius of the circle. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IlvMapCircle(IlvCoordinate center,
double radius)
center - The center of the circle.radius - The radius of the circle.
public IlvMapCircle(IlvCoordinate control1,
IlvCoordinate control2,
IlvCoordinate control3)
IlvMapCircle
by giving the three different points that are on the circle.
control1 - First control point.control2 - Second control point.control3 - Third control point.| Method Detail |
|---|
public IlvCoordinate getCenter()
public double getRadius()
public void setCenter(IlvCoordinate c)
c - The new center of the circle.public void setRadius(double r)
r - The new radius of the circle.public Rectangle2D getBounds(Rectangle2D result)
IlvMapGeometry
getBounds in class IlvMapGeometry
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||