Add "Determining an appropriate concavity parameter value..." to README
Add Package.swift and change the file structure to the usual SPM structure. Remove now unnecessary UnsafePointer Replace deprecated .index with .firstIndex
Modified example
Swift 4.2 compatibility
Swift 4 compatibility, chance
Add new function to create a polygon from the created hull and to check if a point is in the polygon
These functions create a polygon from the hull extracted from the hull function
- public func getPolygonWithHull() -> MKPolygon {
- public func getPolygonWithHull(latFormat: String, lngFormat: String) -> MKPolygon {
These functions create a polygon from a specific array of coordinates
- public func getPolygon(coords: [CLLocationCoordinate2D]) -> MKPolygon {
- public func getPolygon(points: [MKMapPoint]) -> MKPolygon {
These functions check if a coordinate or point is in a polygon
- public func coordInPolygon(coord: CLLocationCoordinate2D) -> Bool {
- public func pointInPolygon(mapPoint: MKMapPoint) -> Bool {
First version with correct metadata
Initial Version