Interface ILcdRoute

All Superinterfaces:
Cloneable, ILcdBounded, ILcdCloneable, ILcdDataObject, ILcdShape, ILcdShapeList, Serializable
All Known Subinterfaces:
ILcdATSRoute, ILcdEditableATSRoute, ILcdEditableMilitaryTrainingRoute, ILcdEditableRoute, ILcdMilitaryTrainingRoute
All Known Implementing Classes:
TLcdATSRoute, TLcdFeaturedATSRoute, TLcdFeaturedMilitaryTrainingRoute, TLcdMilitaryTrainingRoute, TLcdSegmentBasedRoute

public interface ILcdRoute extends ILcdDataObject, ILcdShapeList
This interface describes the geometry and the relationships of a route. Routes are considered to be shape lists. The shape list contains one or more polylines. Each polyline consists of route segments. These segments can be accessed directly via the 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 return a specified default value for these new attributes or relationships (for instance 'null'). This will require a minimal effort to update existing code to a new version of AIS.

  • Method Details

    • getSegment

      ILcdRouteSegment getSegment(int aIndex)
      Returns the segment at the specified index.
      Parameters:
      aIndex - the index of the segment to be retrieved
      Returns:
      the segment at the specified index.
    • getSegmentCount

      int getSegmentCount()
      Returns the number of segments of this route.
      Returns:
      the number of segments of this route.