mirror of https://github.com/CGAL/cgal
follow changes made in BGL-helpers-GF
This commit is contained in:
parent
0657c51e75
commit
08dfff0d15
|
|
@ -343,7 +343,7 @@ Ridge_approximation(const TriangleMesh &p,
|
||||||
for(;itb!=ite;itb++) {
|
for(;itb!=ite;itb++) {
|
||||||
is_visited_map[*itb] = false;
|
is_visited_map[*itb] = false;
|
||||||
}
|
}
|
||||||
CGAL_precondition( is_triangle_mesh(p) );
|
CGAL_precondition( is_pure_triangle(p) );
|
||||||
|
|
||||||
std::vector<Point_3> points;
|
std::vector<Point_3> points;
|
||||||
BOOST_FOREACH(vertex_descriptor v, vertices(p)){
|
BOOST_FOREACH(vertex_descriptor v, vertices(p)){
|
||||||
|
|
|
||||||
|
|
@ -165,7 +165,7 @@ Umbilic_approximation(const TriangleMesh& p,
|
||||||
: P(p), k1(vertex2k1_pm), k2(vertex2k2_pm),
|
: P(p), k1(vertex2k1_pm), k2(vertex2k2_pm),
|
||||||
d1(vertex2d1_pm), d2(vertex2d2_pm)
|
d1(vertex2d1_pm), d2(vertex2d2_pm)
|
||||||
{
|
{
|
||||||
CGAL_precondition(is_triangle_mesh(P));
|
CGAL_precondition(is_pure_triangle(P));
|
||||||
|
|
||||||
poly_neighbors = boost::shared_ptr<Poly_neighbors>(new Poly_neighbors(P));
|
poly_neighbors = boost::shared_ptr<Poly_neighbors>(new Poly_neighbors(P));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue