Package com.luciad.ais.model.route
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
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 Summary
Modifier and TypeMethodDescriptiongetSegment
(int aIndex) Returns the segment at the specified index.int
Returns the number of segments of this route.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.shape.ILcdShape
contains2D, contains2D, contains3D, contains3D, getFocusPoint
Methods inherited from interface com.luciad.shape.ILcdShapeList
getShape, getShapeCount
-
Method Details
-
getSegment
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.
-