public class IlvMapMultiCurve extends IlvMapCurve
IlvMapCurve
.Constructor and Description |
---|
IlvMapMultiCurve()
Constructs a new, empty instance of
IlvMapMultiCurve . |
Modifier and Type | Method and Description |
---|---|
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.
|
public IlvMapMultiCurve()
IlvMapMultiCurve
.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
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.