|
Geometry : |
Subject: Re: [geometry] Geometries in multiple coordinate systems
From: Barend Gehrels (barend_at_[hidden])
Date: 2014-05-24 13:07:34
Hi Andrew,
Andrew Hundt wrote On 23-5-2014 20:05:
> I know I brought this up before, but with the new support for variants
> I figured it may be relevant again. Is there any possibility of
> allowing geometries to occupy and reference multiple different
> coordinate frames simultaneously? For instance in a robot arm it is
> common to have a coordinate system defined at each joint, so being
> able to define a geometry that occupies multiple local and global
> coordinate systems would be very powerful.
Right. It is interesting, but currently there is no support, and there
are not (yet) plans. Basically the convert/transform functions allow
coordinate system conversion, but that is probably not what you mean.
Because you bring this up w.r.t. variant's, do you mean a variant with
two geometry types of different coordinate systems (or even
dimensions?). Or that one type contains have multiple systems (I read
that from your message). The last option is quite difficult to implement
in the current system, because for example boost::geometry::get should
then have an indication of the coordinate system too...
Regards, Barend
Geometry list run by mateusz at loskot.net