Translate and scale PlanarPolygon in PCL

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Translate and scale PlanarPolygon in PCL

sazr
Does PCL have functions that allow me to translate/offset and scale
PlanarPolygons and PlanarRegions in 2d and 3d space?

For example; I have a 2d PlanarPolygon that is the centre line of a highway
and I simply want to duplicate the element with an offset of 20. So just
create a parallel line 20 units away. Does PCL have a function to do this?

Another example is; I have a 2d PlanarRegion and I want to scale it by a
factor of 0.8. Is there a function to do this aswell?



--
Sent from: http://www.pcl-users.org/
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: Translate and scale PlanarPolygon in PCL

Fabien Rozar
I don't think that you have these kind of feature available in the current PCL. But PCL is a library still "actively" under development. So feel free to open a discussion through the GitHub page of the project for new features.

Cheers,
Frozar

Le dim. 13 mai 2018 15:34, sazr <[hidden email]> a écrit :
Does PCL have functions that allow me to translate/offset and scale
PlanarPolygons and PlanarRegions in 2d and 3d space?

For example; I have a 2d PlanarPolygon that is the centre line of a highway
and I simply want to duplicate the element with an offset of 20. So just
create a parallel line 20 units away. Does PCL have a function to do this?

Another example is; I have a 2d PlanarRegion and I want to scale it by a
factor of 0.8. Is there a function to do this aswell?



--
Sent from: http://www.pcl-users.org/
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users

_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users