The Swift Geometry Engine.
GeometryConvertible.makeValid(method:)
.GeometryConvertible.snap(to:)
.GeometryConvertible.hausdorffDistance(to:)
and GeometryConvertible.hausdorffDistance(to:densifyFraction:)
.GeometryConvertible.concaveHull(withRatio:allowHoles:)
.Sendable
conformances and more Hashable
conformances.GeometryConvertible.buffer(by:)
can now be used with negative widths.GeometryConvertible.symmetricDifference(with:)
LineStringConvertible
methods to use implementations from geos:
normalizedDistanceFromStart(toProjectionOf:)
: The geos implementation
returns 0 for 0-length lines, whereas the old GEOSwift implementation
threw GEOSwiftError.lengthIsZero
, which has now been removed.interpolatedPoint(withFraction:)
Added GeometryConvertible.simplify(withTolerance:)
Adds isValid, isValidReason, and isValidDetail