@@ -11,7 +11,7 @@ typedef boost::shared_ptr<Ss> SsPtr;
11
11
typedef CGAL::Straight_skeleton_2<K>::Halfedge_const_handle Halfedge_const_handle;
12
12
typedef CGAL::Straight_skeleton_2<K>::Vertex_const_handle Vertex_const_handle;
13
13
14
- Edges pmp_create_interior_straight_skeleton (
14
+ compas:: Edges pmp_create_interior_straight_skeleton (
15
15
Eigen::Ref<const compas::RowMatrixXd> &V)
16
16
{
17
17
Polygon_2 poly;
@@ -20,7 +20,7 @@ Edges pmp_create_interior_straight_skeleton(
20
20
poly.push_back (Point (V (i, 0 ), V (i, 1 )));
21
21
}
22
22
SsPtr iss = CGAL::create_interior_straight_skeleton_2 (poly.vertices_begin (), poly.vertices_end ());
23
- Edges edgelist;
23
+ compas:: Edges edgelist;
24
24
for (auto hit = iss->halfedges_begin (); hit != iss->halfedges_end (); ++hit){
25
25
const Halfedge_const_handle h = hit;
26
26
if (!h->is_bisector ()){
@@ -31,7 +31,7 @@ Edges pmp_create_interior_straight_skeleton(
31
31
if (&*v1 < &*v2){
32
32
std::vector<double > s_vec = {v1->point ().x (), v1->point ().y (), 0 };
33
33
std::vector<double > t_vec = {v2->point ().x (), v2->point ().y (), 0 };
34
- Edge edge = std::make_tuple (s_vec, t_vec);
34
+ compas:: Edge edge = std::make_tuple (s_vec, t_vec);
35
35
edgelist.push_back (edge);
36
36
}
37
37
0 commit comments