SegmentGeoPoint | iOS SDK | Urbi Documentation

SegmentGeoPoint

Describes a geographic point on the segment and the direction of the segment. The route geometry is a sequence of points that form segments in pairs. For all functions working with the route geometry, it is considered that the first point of the pair forming the segment is included in this segment, and the second one is not: [point_1, point_2),[point_2, point_3),...,[point_n-1, point_n)[point_last]. The last point forms a zero-length segment with itself. Thus, each point of the route belongs to exactly one segment. The direction of point_last is not defined.

public init(
    point: GeoPoint,
    bearing: Bearing
)
Parameters
point
bearing
Properties