You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There’s already a Turf.intersection(_:_:) method for calculating the intersection between two line segments, but it would be nice to support a more generalized turn-line-intersect.
turn-line-intersect optimizes the search for an intersection using RBush. We could port RBush, but first we should investigate other implementations already written in Objective-C or Swift. On iOS, macOS, and tvOS, GameplayKit’s GKRTree implements an R-tree.
There’s already a
Turf.intersection(_:_:)
method for calculating the intersection between two line segments, but it would be nice to support a more generalizedturn-line-intersect
.turf-swift/Sources/Turf/Turf.swift
Lines 70 to 73 in 6374e79
turn-line-intersect optimizes the search for an intersection using RBush. We could port RBush, but first we should investigate other implementations already written in Objective-C or Swift. On iOS, macOS, and tvOS, GameplayKit’s GKRTree implements an R-tree.
/cc @frederoni @mourner
The text was updated successfully, but these errors were encountered: