Boost logo

Geometry :

Subject: [ggl] Ring type as template parameter for polygon
From: Tarem, Zvi (zvi.tarem)
Date: 2011-11-20 14:12:56


Currently, the polygon template depends on the point type. But the only data members of a polygon are rings, not points. So in my opinion, the polygon template should depend on the ring type (which will, of course, imply a point type).

Currently, every time you create a custom ring type (which is easy using the registration macros), you are required to create a corresponding custom polygon type (without the convenience of a registration macro). This is an unnecessary burden on the user of the library.
---------------------------------------------------------------------
Intel Israel (74) Limited

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/ggl/attachments/20111120/e43efe37/attachment.html


Geometry list run by mateusz at loskot.net