I was wondering if it was possible for someone to provide me with some code examples for working with scattered XYZ point data in Point cloud Library? I would like to fit a cylindrical model to segmented scattered point cloud. In short, something like this (https://in.mathworks.com/help/vision/ref/pcfitcylinder.html):
http://pointclouds.org/documentation/tutorials/cylinder_segmentation.php
Just take out the plane fitting stuff