Functions
The following functions are available globally.
-
Returns the intersection of two line segments.
Declaration
Swift
public func intersection(_ line1: LineSegment, _ line2: LineSegment) -> CLLocationCoordinate2D?
-
Returns the point midway between two coordinates measured in degrees
Declaration
Swift
public func mid(_ coord1: CLLocationCoordinate2D, _ coord2: CLLocationCoordinate2D) -> CLLocationCoordinate2D