Boost logo

Geometry :

Subject: Re: [geometry] breaking change on transform strategies
From: Barend Gehrels (barend_at_[hidden])
Date: 2013-12-04 16:27:42

Hi Bruno,

Bruno Lalande wrote On 30-11-2013 22:27:
> Hi Bernhard,
> What I do not yet understand, is why there are two dimension
> parameters. If
> this can indeed be used with different source and target
> dimensions, then I
> think the documentation should explain what happens if the
> dimensions are
> unequal, because I cannot think of a "standard" behaviour for that.
> Yep, I seem to remember having seen that in the code - it's possible
> and valid to have a 2D and a 3D point. Not sure how it's handled,
> Barend can probably explain. Barend, given such a usage is quite
> infrequent maybe we can make the 2nd one optional? (i.e. equal to the
> first one by default)

Yes, good idea. Indeed it is possible to go from 2D to 3D or v.v., and
indeed it is not frequent.

Regards, Barend

Geometry list run by mateusz at