MMKPolylineUtils
class MMKPolylineUtils : NSObject |
Undocumented
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, |
The position of the polyline.
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, |
Undocumented
createPolylineIndex(with:)
class func createPolylineIndex(with polyline: MMKPolyline) -> MMKPolylineIndex |
Creates PolylineIndex for polyline. See MMKPolylineIndex for details.