Boost logo

Geometry :

Subject: [ggl] intersection_segment...
From: Mateusz Loskot (mateusz)
Date: 2009-06-25 14:31:24


Barend Gehrels wrote:
>> Conceptually, shouln't a linestring be a vector of segments?
>
> Conceptually: yes. But implemented is a std::vector of points, for the
> obvious reason not to store the same points again and again.

What parametrize the container used underneath, so it's possible to use
different ones, not only std::vector?

Best regards,

-- 
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org

Geometry list run by mateusz at loskot.net