SegmentReference constructor
- String segmentId = "",
- TravelDirection travelDirection = TravelDirection.bidirectional,
- double offsetStart = 0.0,
- double offsetEnd = 1.0,
- int tilePartitionId = 0,
- int? localId = 0,
Creates a new instance.
segmentIdTopology segment id representing a unique identifier within the HERE platform catalogs.travelDirectionTravel direction of the segment.offsetStartThe start offset is a non-negative number between 0 and 1, representing the start of the referenced range using a proportion of the length of the segment. 0 represents the start and 1 the end of the segment, relative to the indicated direction (or positive direction in case of undirected segments)offsetEndThe end offset is a non-negative number between 0 and 1, representing the end of the referenced range using a proportion of the length of the segment. 0 represents the start and 1 the end of the segment, relative to the indicated direction (or positive direction in case of undirected segments)tilePartitionIdHERE tile partition id (Morton-encoding + level indicator) of the segment. As in HERE Map Content.localIdLocal ID of the segment inside the OCM tile.
Implementation
SegmentReference([String segmentId = "", TravelDirection travelDirection = TravelDirection.bidirectional, double offsetStart = 0.0, double offsetEnd = 1.0, int tilePartitionId = 0, int? localId = 0])
: segmentId = segmentId, travelDirection = travelDirection, offsetStart = offsetStart, offsetEnd = offsetEnd, tilePartitionId = tilePartitionId, localId = localId;