|
||||||||||
| 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.IlvMapMultiCurve
public class IlvMapMultiCurve
This class defines a curve that is composed of a list of
IlvMapCurve.
| Constructor Summary | |
|---|---|
IlvMapMultiCurve()
Constructs a new, empty instance of IlvMapMultiCurve. |
|
| Method Summary | |
|---|---|
void |
addCurve(IlvMapCurve c)
Adds the specified curve c to this multicurve. |
Rectangle2D |
getBounds(Rectangle2D result)
Returns the bounds of this IlvMapGeometry |
int |
getCardinal()
Returns the number of curves contained in this multicurve. |
IlvMapCurve |
getCurve(int index)
Returns the curve at the specified index. |
void |
removeAll()
Removes all the sub curves of this multicurve. |
IlvMapCurve |
removeCurve(IlvMapCurve c)
Removes the specified curve from this multicurve. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IlvMapMultiCurve()
IlvMapMultiCurve.
| Method Detail |
|---|
public int getCardinal()
public IlvMapCurve getCurve(int index)
index - The index of the sub-curve, in the range
[0, getCardinal()-1].
IlvMapCurve object that should not be modified.public void addCurve(IlvMapCurve c)
c to this multicurve.
After c has been added to this multicurve, it should not
be modified anymore.
c - The curve to be added.public IlvMapCurve removeCurve(IlvMapCurve c)
c - The curve to be removed.
null if the specified curve is
not part of this multicurve.public void removeAll()
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 | |||||||||