tonystone / geofeatures2

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

Simplify collection files #190

Closed tonystone closed 6 years ago

tonystone commented 6 years ago

Also adjusting dimension for collection types to return Dimension.empty for empty collections.

codecov-io commented 6 years ago

Codecov Report

Merging #190 into master will decrease coverage by <.01%. The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #190      +/-   ##
==========================================
- Coverage   99.38%   99.37%   -0.01%     
==========================================
  Files          40       40              
  Lines        2121     2096      -25     
  Branches      139      137       -2     
==========================================
- Hits         2108     2083      -25     
  Misses         13       13
Impacted Files Coverage Δ
Sources/GeoFeatures/LineString+Geometry.swift 100% <ø> (ø) :arrow_up:
Sources/GeoFeatures/LinearRing+Geometry.swift 100% <ø> (ø) :arrow_up:
Sources/GeoFeatures/MultiLineString+Geometry.swift 100% <100%> (ø) :arrow_up:
Sources/GeoFeatures/GeometryCollectionType.swift 100% <100%> (ø)
...rces/GeoFeatures/GeometryCollection+Geometry.swift 100% <100%> (ø) :arrow_up:
Sources/GeoFeatures/MultiPoint+Geometry.swift 100% <100%> (ø) :arrow_up:
Sources/GeoFeatures/Geometry.swift 100% <100%> (ø)
Sources/GeoFeatures/Polygon+Geometry.swift 100% <100%> (ø) :arrow_up:
Sources/GeoFeatures/CoordinateCollectionType.swift 100% <100%> (ø)
Sources/GeoFeatures/Point+Geometry.swift 100% <100%> (ø) :arrow_up:
... and 4 more