23 #ifndef BASICALPHASHAPE2D_H    24 #define BASICALPHASHAPE2D_H    26 #include "utility/geom/d2/GeomObj2d.h"    27 #include <CGAL/Exact_predicates_inexact_constructions_kernel.h>    28 #include <CGAL/Alpha_shape_2.h>    29 #include <CGAL/Alpha_shape_vertex_base_2.h>    30 #include <CGAL/Alpha_shape_face_base_2.h>    31 #include <CGAL/Delaunay_triangulation_2.h>    32 #include <CGAL/algorithm.h>    33 #include <CGAL/assertions.h>    38 typedef CGAL::Exact_predicates_inexact_constructions_kernel  K;
    40 typedef K::Point_2                                           Point_2;
    41 typedef K::Segment_2                                         Segment;
    42 typedef CGAL::Alpha_shape_vertex_base_2<K>                   Vb;
    43 typedef CGAL::Alpha_shape_face_base_2<K>                     Fb;
    44 typedef CGAL::Triangulation_data_structure_2<Vb,Fb>          Tds;
    45 typedef CGAL::Delaunay_triangulation_2<K,Tds>                Triangulation_2;
    46 typedef CGAL::Alpha_shape_2<Triangulation_2>                 Alpha_shape_2;
    73     void setAlpha(
const double alpha);
    74     double getOptimalAlpha(
const size_t &nb_components= 1) 
const;
 void alloc(const GeomObj::list_Pos2d &lp, const double &alpha)
Creates alpha shape object. 
Definition: BasicAlphaShape2d.cc:63
Base class for position lists. 
Definition: PolyPos.h:35
Polygon2d getPolygon2d(void)
Return the alpha shape from the point list. 
Definition: BasicAlphaShape2d.cc:107
~BasicAlphaShape2d(void)
Destructor. 
Definition: BasicAlphaShape2d.cc:99
Polígono en dos dimensiones. 
Definition: Polygon2d.h:38
void free(void)
Frees memory. 
Definition: BasicAlphaShape2d.cc:83
Polygon2d get_basic_alpha_shape2d(const GeomObj::list_Pos2d &)
Return the basic alpha shap of the point set argument. 
Definition: BasicAlphaShape2d.cc:116
BasicAlphaShape2d(const GeomObj::list_Pos2d &lp, const double &alpha)
Constructor. 
Definition: BasicAlphaShape2d.cc:91
Basic alpha shape of the point set argument. 
Definition: BasicAlphaShape2d.h:63