Package com.luciad.ais.model.route
Interface ILcdEditableRoute
- All Superinterfaces:
Cloneable
,ILcdBounded
,ILcdCloneable
,ILcdDataObject
,ILcdRoute
,ILcdShape
,ILcdShapeList
,Serializable
- All Known Subinterfaces:
ILcdEditableATSRoute
,ILcdEditableMilitaryTrainingRoute
- All Known Implementing Classes:
TLcdATSRoute
,TLcdFeaturedATSRoute
,TLcdFeaturedMilitaryTrainingRoute
,TLcdMilitaryTrainingRoute
,TLcdSegmentBasedRoute
This interface is an extension of the
ILcdRoute
interface that allows to change the attributes, relationships
and geometry of a route.
Attributes and relationships in AIS domain objects can be required or optional. When unspecified, an attribute or relationship is optional. Note that most optional attributes are modeled using features.
In future releases of AIS, optional attributes or relationship may be added to this interface. When this would happen, existing implementations may just provide an empty implementation modifying or setting these new attributes or relationships. This will require a minimal effort to update existing code to a new version of AIS.
-
Method Summary
Modifier and TypeMethodDescriptionint
addSegmentBySequenceNumber
(ILcdRouteSegment aSegment) Adds a segment to this route.int
insertSegmentAt
(ILcdRouteSegment aSegment, int aIndex) Adds a segment to this route at the specified index.void
removeSegment
(ILcdRouteSegment aSegment) Removes aILcdRouteSegment
object from this route.void
removeSegmentAt
(int anIndex) Removes theILcdRouteSegment
object on the specified index from theILcdEditableRoute
.Methods inherited from interface com.luciad.shape.ILcdBounded
getBounds
Methods inherited from interface com.luciad.util.ILcdCloneable
clone
Methods inherited from interface com.luciad.datamodel.ILcdDataObject
getDataType, getValue, getValue, hasValue, hasValue, setValue, setValue
Methods inherited from interface com.luciad.ais.model.route.ILcdRoute
getSegment, getSegmentCount
Methods inherited from interface com.luciad.shape.ILcdShape
contains2D, contains2D, contains3D, contains3D, getFocusPoint
Methods inherited from interface com.luciad.shape.ILcdShapeList
getShape, getShapeCount
-
Method Details
-
insertSegmentAt
Adds a segment to this route at the specified index.- Parameters:
aSegment
- theILcdRouteSegment
to be added.aIndex
- the index at which the segment is to be inserted- Returns:
- the position of the added segment in this route
-
addSegmentBySequenceNumber
Adds a segment to this route. The position at which the segment is inserted is determined by looking at the segment's sequence number.- Parameters:
aSegment
- theILcdRouteSegment
to be added.- Returns:
- the position of the added segment in this route
-
removeSegment
Removes aILcdRouteSegment
object from this route.- Parameters:
aSegment
- theILcdRouteSegment
object to be removed
-
removeSegmentAt
void removeSegmentAt(int anIndex) Removes theILcdRouteSegment
object on the specified index from theILcdEditableRoute
.- Parameters:
anIndex
- the index in theILcdEditableRoute
where theILcdRouteSegment
object must be removed
-