TTMSFNCRouteCalculatorSegment Class
Represents one segment between route points.
API unit family: TMSFNCRoutecalculator
Inherits from: TCollectionItem
Syntax
TTMSFNCRouteCalculatorSegment = class(TCollectionItem)
Properties
| Name | Description |
|---|---|
| AlternativeSegments | Provides alternative paths for the segment. |
| Coordinates | Specifies the coordinates that define the route geometry. |
| DataBoolean | Stores caller-defined Boolean data. True has the caller-defined meaning. |
| DataInteger | Stores caller-defined integer data. |
| DataObject | Stores caller-defined object data. |
| DataPointer | Stores caller-defined pointer data. |
| DataString | Stores caller-defined string data. |
| Distance | Specifies the route distance in meters. |
| Duration | Specifies the route duration in seconds. |
| EndAddress | Specifies the segment end address. |
| EndCoordinate | Specifies the segment end coordinate. |
| ID | Returns or stores the generated identifier. |
| NextSegment | Returns the next segment in the route. |
| Polyline | Returns the route or segment polyline coordinates. |
| PreviousSegment | Returns the previous segment in the route. |
| Route | Returns the owning route. |
| Segments | Provides the route segments. |
| StartAddress | Specifies the segment start address. |
| StartCoordinate | Specifies the segment start coordinate. |