[algorithms] Fix static assert check in assign.
[algorithms] Fix msvc warnings in centroid (unused variable, unreachable code).
[test][centroid] Add test cases.
[algorithms][relate] Fix relate for Linear/MultiPolygon (related to sorting of turns and handling of the last LS endpoint).
[test][relate][within][doc] Add test cases. Update 1.58 release notes (ticket solved).