Package com.luciad.ais.model.route
Interface ILcdRouteSegment
- All Superinterfaces:
Cloneable
,ILcdDataObject
,ILcdPointList
,Serializable
- All Known Subinterfaces:
ILcdEditableRouteSegment
- All Known Implementing Classes:
TLcdFeaturedRouteSegment
,TLcdRouteSegment
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 Summary
Modifier and TypeMethodDescriptionclone()
Override protected method in Object.Returns the first point of this route segment.Returns the second point of this route segment.int
Returns the segment number of this route segment.Methods inherited from interface com.luciad.datamodel.ILcdDataObject
getDataType, getValue, getValue, hasValue, hasValue, setValue, setValue
Methods inherited from interface com.luciad.shape.ILcdPointList
getPoint, getPointCount, getPointSFCT, getX, getY, getZ
-
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.
-