MMKPolylineUtils
|
class MMKPolylineUtils : NSObject |
Summary
Class methods
|
class func positionsOfFork(withFirstPolyline firstPolyline: MMKPolyline, |
|
class func advancePolylinePosition(with polyline: MMKPolyline, |
|
class func pointByPolylinePosition(withGeometry geometry: MMKPolyline, |
|
class func distanceBetweenPolylinePositions(with polyline: MMKPolyline, |
|
class func createPolylineIndex(with polyline: MMKPolyline) -> MMKPolylineIndex |
Class methods
positionsOfFork(withFirstPolyline:firstPolylinePosition:secondPolyline:secondPolylinePosition:)
|
class func positionsOfFork(withFirstPolyline firstPolyline: MMKPolyline, |
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. |
advancePolylinePosition(with:position:distance:)
|
class func advancePolylinePosition(with polyline: MMKPolyline, |
Advance the polyline position by a specified distance in meters.
|
Parameters |
|
|
polyline |
The polyline. |
|
position |
The polyline position. |
|
distance |
Distance. |
pointByPolylinePosition(withGeometry:position:)
|
class func pointByPolylinePosition(withGeometry geometry: MMKPolyline, |
The point in the polyline.
|
Parameters |
|
|
geometry |
The polyline. |
|
position |
The polyline position. |
distanceBetweenPolylinePositions(with:from:to:)
|
class func distanceBetweenPolylinePositions(with polyline: MMKPolyline, |
createPolylineIndex(with:)
|
class func createPolylineIndex(with polyline: MMKPolyline) -> MMKPolylineIndex |
Creates PolylineIndex for polyline. See MMKPolylineIndex for details.