Package com.luciad.ais.shape
Class TLcdGeoPath
java.lang.Object
com.luciad.ais.shape.TLcdGeoPath
- All Implemented Interfaces:
ILcdEditableGeoPath,ILcdGeoPath
- Direct Known Subclasses:
ALcdDiscretizedGeoPath
An implementation of the
ILcdGeoPath interface.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddLeg(ILcdGeoPathLeg aLeg) Adds the specified leg to the end of this GeoPath.protected Objectclone()Creates and returns a copy of this object.getLeg(int aIndex) Returns theILcdGeoPathLegat the given index.intReturns the number of legs in thisILcdGeoPath.voidinsertLegAt(ILcdGeoPathLeg aLeg, int anIndex) Adds aILcdGeoPathLegobject to theILcdEditableGeoPathon the specified index.booleanremoveLeg(ILcdGeoPathLeg aLeg) voidremoveLegAt(int anIndex) Removes theILcdGeoPathLegobject on the specified index from the fromILcdEditableGeoPath.
-
Constructor Details
-
TLcdGeoPath
public TLcdGeoPath()
-
-
Method Details
-
getLegCount
public int getLegCount()Description copied from interface:ILcdGeoPathReturns the number of legs in thisILcdGeoPath.- Specified by:
getLegCountin interfaceILcdGeoPath- Returns:
- The number of legs in this
ILcdGeoPath.
-
getLeg
Description copied from interface:ILcdGeoPathReturns theILcdGeoPathLegat the given index.- Specified by:
getLegin interfaceILcdGeoPath- Parameters:
aIndex- an index.- Returns:
- The
ILcdGeoPathLegat the given index.
-
addLeg
Description copied from interface:ILcdEditableGeoPathAdds the specified leg to the end of this GeoPath.- Specified by:
addLegin interfaceILcdEditableGeoPath- Parameters:
aLeg- anILcdGeoPathLeg
-
removeLeg
-
insertLegAt
Description copied from interface:ILcdEditableGeoPathAdds aILcdGeoPathLegobject to theILcdEditableGeoPathon the specified index.- Specified by:
insertLegAtin interfaceILcdEditableGeoPath- Parameters:
aLeg- theILcdGeoPathLegobject to be added to theILcdEditableGeoPath.anIndex- the index in theILcdEditableAirspacewhere theILcdAirspaceSegmentobject must be added.
-
removeLegAt
public void removeLegAt(int anIndex) Description copied from interface:ILcdEditableGeoPathRemoves theILcdGeoPathLegobject on the specified index from the fromILcdEditableGeoPath.- Specified by:
removeLegAtin interfaceILcdEditableGeoPath- Parameters:
anIndex- the index in theILcdEditableGeoPathwhere theILcdGeoPathLegobject must be removed.
-
clone
Creates and returns a copy of this object. The legs of this GeoPath are cloned.- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-