|
Geometry : |
Subject: [ggl] Base geometry type ?
From: Barend Gehrels (barend)
Date: 2011-08-19 23:37:35
Hi,
> Hi, I was browsing through the documentation and the source and there
> doesn't seem to be a base polymorphic geometry type "Ex: Geometry".
> Let's say I want an array of geometries, but it could contain polygons
> or lines, I just don't know.
> Is there such a type or am I missing something?
No, there is not. That should be either a geometry_collection (which is
not implemented), or you might try using Boost.Any or Boost.Variant for it.
Regards, Barend
Geometry list run by mateusz at loskot.net