public class TLcdGeoPath extends Object implements ILcdEditableGeoPath
ILcdGeoPath
interface.Constructor and Description |
---|
TLcdGeoPath() |
Modifier and Type | Method and Description |
---|---|
void |
addLeg(ILcdGeoPathLeg aLeg)
Adds the specified leg to the end of this GeoPath.
|
protected Object |
clone()
Creates and returns a copy of this object.
|
ILcdGeoPathLeg |
getLeg(int aIndex)
Returns the
ILcdGeoPathLeg at the given index. |
int |
getLegCount()
Returns the number of legs in this
ILcdGeoPath . |
void |
insertLegAt(ILcdGeoPathLeg aLeg,
int anIndex)
Adds a
ILcdGeoPathLeg object to the ILcdEditableGeoPath
on the specified index. |
boolean |
removeLeg(ILcdGeoPathLeg aLeg) |
void |
removeLegAt(int anIndex)
Removes the
ILcdGeoPathLeg object on the specified index from the
from ILcdEditableGeoPath . |
public int getLegCount()
ILcdGeoPath
ILcdGeoPath
.getLegCount
in interface ILcdGeoPath
ILcdGeoPath
.public ILcdGeoPathLeg getLeg(int aIndex)
ILcdGeoPath
ILcdGeoPathLeg
at the given index.getLeg
in interface ILcdGeoPath
aIndex
- an index.ILcdGeoPathLeg
at the given index.public void addLeg(ILcdGeoPathLeg aLeg)
ILcdEditableGeoPath
addLeg
in interface ILcdEditableGeoPath
aLeg
- an ILcdGeoPathLeg
public boolean removeLeg(ILcdGeoPathLeg aLeg)
public void insertLegAt(ILcdGeoPathLeg aLeg, int anIndex)
ILcdEditableGeoPath
ILcdGeoPathLeg
object to the ILcdEditableGeoPath
on the specified index.insertLegAt
in interface ILcdEditableGeoPath
aLeg
- the ILcdGeoPathLeg
object to be added to the
ILcdEditableGeoPath
.anIndex
- the index in the ILcdEditableAirspace
where the
ILcdAirspaceSegment
object must be added.public void removeLegAt(int anIndex)
ILcdEditableGeoPath
ILcdGeoPathLeg
object on the specified index from the
from ILcdEditableGeoPath
.removeLegAt
in interface ILcdEditableGeoPath
anIndex
- the index in the ILcdEditableGeoPath
where the
ILcdGeoPathLeg
object must be removed.protected Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException