[CpmlLine] Implemented cpml_line_near_pos()
commitd2a199218dcb001026737ff6835469977b5d98e3
authorNicola Fontana <ntd@entidi.it>
Fri, 3 Jul 2009 22:57:19 +0000 (4 00:57 +0200)
committerNicola Fontana <ntd@entidi.it>
Fri, 3 Jul 2009 22:57:19 +0000 (4 00:57 +0200)
treed5e50150be3e402720cbf0576eabd0cdd7084940
parentb3c5937e70e34bb1bf7c944ad7cee20a26431287
[CpmlLine] Implemented cpml_line_near_pos()

The closest point on a line of a given point is its projection:
implemented the function accordling.
cpml/cpml-line.c
cpml/cpml-line.h