[Qgis-developer] removal of QgsLine from 1.0 API
Marco Hugentobler
marco.hugentobler at karto.baug.ethz.ch
Wed Dec 17 04:54:33 EST 2008
Hi Martin,
Yes, QgsLine is pure legacy code.
Please go on and remove it from svn.
Regards,
Marco
Am Dienstag 16 Dezember 2008 23:33:58 schrieb Martin Dobias:
> Hi all (especially Marco),
>
> I know it's quite late now because of coming 1.0 release, but I'd like
> to propose removal of QgsLine class. The reasons:
> - there's no code in source tree that would make use of it
> - there's no python binding so python plugins surely don't use it
> - it's making impression it can be of some use, but in fact it's a
> dummy class supporting only comparison with other QgsLine
> - it's stating it's a line, however I guess it should be called line
> segment instead to avoid confusion
> - I have already a prototype of a line segment class which could have
> (expected) functionality (e.g. find out closest point, return tangent,
> angle ...) that might be added in 1.x release
>
> Martin
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
--
Dr. Marco Hugentobler
Institute of Cartography
ETH Zurich
Technical Advisor QGIS Project Steering Committee
More information about the Qgis-developer
mailing list