-
Hi, It seems that having a different output geometry is a waste. Since we don't modify the number of points, it should be doable. What is your opinion? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I can think of two reasons why the interface looks like this:
AFAIU to meet your expectations it would probably be enough to make sure that the algorithm works for the same geometry passed as input and output, correct? For now:
It's possible that |
Beta Was this translation helpful? Give feedback.
-
That's interesting and it's the way I will do it now. |
Beta Was this translation helpful? Give feedback.
I can think of two reasons why the interface looks like this:
std::transform
takes two ranges,geometry::transform
returnsbool
indicating whether or not transformation was successful. So theoretically it is possible that transform might fail and in this case a user could end up with a geometry that was partially modified. With that said AFAIK transformations that are supported by default never fail.AFAIU to meet your expectations it would probably be enough to make sure that the algorithm works for the same geometry passed as input and output, correct?
For now: