poisson surface reconstruction the method will need a point_set input. How to create point set from point is here https://doc.cgal.org/latest/Point_set_3/Point_set_3_2point_set_8cpp-example.html . You can use Advancing front without creating point set. https://doc.cgal.org/latest/Advancing_front_surface_reconstruction/Advancing_front_surface_reconstruction_2reconstruction_fct_8cpp-example.html