cpml: return only real intersections between primitives and segments
commited8b8937f0446638a85526487242a0cd841ee5d8
authorNicola Fontana <ntd@entidi.it>
Fri, 6 Jan 2017 12:47:14 +0000 (6 13:47 +0100)
committerNicola Fontana <ntd@entidi.it>
Fri, 6 Jan 2017 12:47:14 +0000 (6 13:47 +0100)
tree63f01769cce1eb4a9f85dd6833fba05b1c10280d
parent476f442cdc8287993d3cbb0aeebf0321806e2588
cpml: return only real intersections between primitives and segments

When computing intersections between a CpmlPrimitive and a CpmlSegment,
returns only real instersections. This was already planned in the old
code comments, so the test suite has been updated accordingly.
src/cpml/cpml-primitive.c
src/cpml/tests/test-primitive.c
src/cpml/tests/test-segment.c