Interface ILcdRouteSegment

All Superinterfaces:
Cloneable, ILcdDataObject, ILcdPointList, Serializable
All Known Subinterfaces:
ILcdEditableRouteSegment
All Known Implementing Classes:
TLcdFeaturedRouteSegment, TLcdRouteSegment

public interface ILcdRouteSegment extends ILcdDataObject, ILcdPointList, Cloneable
This interface describes the geometry and the relationships of a route segment. Routes segments are defined by two points. ILcdRouteSegment also implements ILcdPointList. Any implementation should make sure that this point list returns 2 points, the start point for index 0 and the end point for index 1.

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

    • getSequenceNumber

      int getSequenceNumber()
      Returns the segment number of this route segment.
      Returns:
      the segment number of this route segment.
    • getBeginPoint

      ILcdPoint getBeginPoint()
      Returns the first point of this route segment.
      Returns:
      the first point of this route segment.
    • getEndPoint

      ILcdPoint getEndPoint()
      Returns the second point of this route segment.
      Returns:
      the second point of this route segment.
    • clone

      Object clone()
      Override protected method in Object.
      Returns:
      a clone of this object.