|
1 | 1 | # Changes
|
2 | 2 |
|
3 | 3 | ## Unreleased
|
4 |
| -* POSSIBLY BREAKING: New `TotalOrd` trait is required for our base numeric |
5 |
| - trait GeoNum, this avoids some potential crashes when working with geometries |
6 |
| - that contain NaN points. This shouldn't break for any common numeric types, |
7 |
| - but if you are using something exotic you'll need to manually implement |
8 |
| - TotalOrd for your numeric type. |
| 4 | +* BREAKING: The `HasKernel` trait was removed and it's functionality was merged |
| 5 | + into `GeoNum`. If you are using common scalars for your geometry (f32, f64, |
| 6 | + i64, i32, i16, isize), this should have no effect on you. If you are using an |
| 7 | + exotic scalar type, you'll need to implement `GeoNum` for it instead of |
| 8 | + `HasKernel`. If you had functionality defined in terms of `HasKernel` before, |
| 9 | + define it in terms of `GeoNum` instead. |
9 | 10 | * <https://github.com/georust/geo/pull/1134>
|
10 |
| -* POSSIBLY BREAKING: Visvalingam trait implementation moved from |
| 11 | +* BREAKING: Added a new `total_cmp` method to `GeoNum`. This avoids some |
| 12 | + potential crashes when working with geometries that contain NaN points. This |
| 13 | + shouldn't break for any common numeric types, but if you are using something |
| 14 | + exotic you'll need to manually implement `GeoNum` for your numeric type. |
| 15 | + * <https://github.com/georust/geo/pull/1134> |
| 16 | +* POSSIBLY BREAKING: `SimplifyVwPreserve` trait implementation moved from |
11 | 17 | `geo_types::CoordNum` to `geo::GeoNum` as fallout of introducing the
|
12 | 18 | `TotalOrd` constraint. This shouldn't break anything for common numeric
|
13 | 19 | types, but if you are using something exotic you'll need to manually
|
14 |
| - implement TotalOrd for your numeric type. |
| 20 | + implement `GeoNum` for your numeric type. |
15 | 21 | * Implement ChaikinSmoothing to work on Geometry types
|
16 | 22 | * <https://github.com/georust/geo/pull/1116>
|
17 | 23 | * Fix a panic when calculating the haversine closest point to a point intersecting the geometry
|
|
0 commit comments