tonystone / geofeatures2

A lightweight, high performance geometry library in Swift.
Apache License 2.0
19 stars 4 forks source link

Implement `func intersects(_ other: Geometry) -> Bool` #67

Open tonystone opened 8 years ago

tonystone commented 8 years ago

A comprehensive test suite needs to be developed for all variations of geometries for the intersects function.

tonystone commented 6 years ago

Add to protocol Geometry and all implementing types with the syntax:

    ///
    /// - Returns: true if this geometric object “spatially intersects” the other Geometry.
    ///
    func intersects(_ other: Geometry) -> Bool