mirror of https://github.com/CGAL/cgal
fix conversion warnings (for msvc)
This commit is contained in:
parent
701519e48f
commit
265eb559c0
|
|
@ -1855,7 +1855,8 @@ public:
|
||||||
|
|
||||||
internal_IOP::Non_intersection_halfedge<Polyhedron> criterium(border_halfedges);
|
internal_IOP::Non_intersection_halfedge<Polyhedron> criterium(border_halfedges);
|
||||||
|
|
||||||
int mark_index=final_map().get_new_mark(); //mark used to tag dart that are on an intersection
|
int mark_index = static_cast<int>(final_map().get_new_mark());
|
||||||
|
//mark used to tag dart that are on an intersection
|
||||||
|
|
||||||
//define a map that will contain the correspondance between selected halfedges of the boundary and
|
//define a map that will contain the correspondance between selected halfedges of the boundary and
|
||||||
//their corresponding Dart_handle in the cmap.
|
//their corresponding Dart_handle in the cmap.
|
||||||
|
|
|
||||||
|
|
@ -283,7 +283,7 @@ void Polyhedron_demo_point_set_shape_detection_plugin::build_alpha_shape
|
||||||
if (ashape.classify (it) != Alpha_shape_2::INTERIOR)
|
if (ashape.classify (it) != Alpha_shape_2::INTERIOR)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
for (std::size_t i = 0; i < 3; ++ i)
|
for (int i = 0; i < 3; ++ i)
|
||||||
{
|
{
|
||||||
if (map_v2i.find (it->vertex (i)) == map_v2i.end ())
|
if (map_v2i.find (it->vertex (i)) == map_v2i.end ())
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -236,8 +236,10 @@ void Scene_combinatorial_map_item::compute_elements(void) const{
|
||||||
//Facets
|
//Facets
|
||||||
{
|
{
|
||||||
std::size_t index = 0;
|
std::size_t index = 0;
|
||||||
int voltreated = combinatorial_map().get_new_mark();
|
Combinatorial_map_3::size_type voltreated
|
||||||
int facetreated = combinatorial_map().get_new_mark();
|
= combinatorial_map().get_new_mark();
|
||||||
|
Combinatorial_map_3::size_type facetreated
|
||||||
|
= combinatorial_map().get_new_mark();
|
||||||
Combinatorial_map_3::Dart_const_range::const_iterator
|
Combinatorial_map_3::Dart_const_range::const_iterator
|
||||||
darts_it=combinatorial_map().darts().begin(), darts_end=combinatorial_map().darts().end();
|
darts_it=combinatorial_map().darts().begin(), darts_end=combinatorial_map().darts().end();
|
||||||
for( ; darts_it!=darts_end; ++darts_it)
|
for( ; darts_it!=darts_end; ++darts_it)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue