37 #ifndef _POLYGON_INTERSECTION_H_
38 #define _POLYGON_INTERSECTION_H_
40 #define PFLN {printf("DEBUG PRINT FILE %s LINE %d\n",__FILE__,__LINE__);}
47 #include <pcl/point_cloud.h>
48 #include <pcl/point_types.h>
49 #include <pcl_ros/transforms.h>
53 #include <CGAL/basic.h>
54 #include <CGAL/Polygon_2.h>
55 #include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
56 #include <CGAL/Partition_traits_2.h>
57 #include <CGAL/Partition_is_valid_traits_2.h>
58 #include <CGAL/polygon_function_objects.h>
59 #include <CGAL/partition_2.h>
60 #include <CGAL/point_generators_2.h>
61 #include <CGAL/Polygon_set_2.h>
63 #include <CGAL/random_polygon_2.h>
67 #include <CGAL/Cartesian.h>
68 #include <CGAL/Boolean_set_operations_2.h>
71 #include <bo_polygon2d/polygon_simplification.h>
72 #include <bo_polygon2d/transform_wrapper.h>
74 typedef CGAL::Exact_predicates_inexact_constructions_kernel
CGALKernel;
CGAL::Polygon_2< CGALKernel > CGALPolygon_2
CGALKernel::Point_2 CGALPoint_2
int clear_all_polygons(void)
int add_polygon_to_list(pcl::PointCloud< pcl::PointXYZ >::Ptr p_pc)
class_polygon_intersection(void)
CGAL::Polygon_with_holes_2< CGALKernel > CGALPolygon_with_holes_2
CGAL::Exact_predicates_inexact_constructions_kernel CGALKernel
~class_polygon_intersection(void)
std::vector< CGALPolygon_2 > polygons
std::list< CGALPolygon_with_holes_2 > CGALPwh_list_2
int compute_polygon_union(std::vector< pcl::PointCloud< pcl::PointXYZ > > *pc_list)
int compute_polygon_intersection(pcl::PointCloud< pcl::PointXYZ > *pc_out)