Class YMKPolylineUtils

Method Detail

+advancePolylinePositionWithPolyline:position:distance:

+ (nonnull YMKPolylinePosition *)advancePolylinePositionWithPolyline:(nonnull YMKPolyline *)polyline
                                                            position:(nonnull YMKPolylinePosition *)position
                                                            distance:(double)distance 

The position of the polyline.

Parameters:
polyline

The polyline.

position

The polyline position.

distance

Distance.

+pointByPolylinePositionWithGeometry:position:

+ (nonnull YMKPoint *)pointByPolylinePositionWithGeometry:(nonnull YMKPolyline *)geometry
                                                 position:(nonnull YMKPolylinePosition *)position 

The point in the polyline.

Parameters:
geometry

The polyline.

position

The polyline position.

+positionsOfForkWithFirstPolyline:firstPolylinePosition:secondPolyline:secondPolylinePosition:

+ (nonnull NSArray< YMKPolylinePosition * > *)positionsOfForkWithFirstPolyline:(nonnull YMKPolyline *)firstPolyline
                                                         firstPolylinePosition:(nonnull YMKPolylinePosition *)firstPolylinePosition
                                                                secondPolyline:(nonnull YMKPolyline *)secondPolyline
                                                        secondPolylinePosition:(nonnull YMKPolylinePosition *)secondPolylinePosition 

The position of the fork on the road.

Parameters:
firstPolyline

The first path of the fork.

firstPolylinePosition

The position of the first path.

secondPolyline

The second path of the fork.

secondPolylinePosition

The position of the second path.