clean up doc and API of new property maps
This commit is contained in:
+2
-2
@@ -707,7 +707,7 @@ public:
|
||||
Border_edge_map<TriangleMesh> is_marked_1(intersection_edges1, tm1);
|
||||
std::size_t nb_patches_tm1 =
|
||||
connected_components(tm1,
|
||||
make_compose_property_maps(fids1,make_property_map(&tm1_patch_ids[0])),
|
||||
make_compose_property_map(fids1,make_property_map(&tm1_patch_ids[0])),
|
||||
parameters::edge_is_constrained_map(is_marked_1)
|
||||
.face_index_map(fids1));
|
||||
|
||||
@@ -720,7 +720,7 @@ public:
|
||||
Border_edge_map<TriangleMesh> is_marked_2(intersection_edges2, tm2);
|
||||
std::size_t nb_patches_tm2 =
|
||||
connected_components(tm2,
|
||||
make_compose_property_maps(fids2,make_property_map(&tm2_patch_ids[0])),
|
||||
make_compose_property_map(fids2,make_property_map(&tm2_patch_ids[0])),
|
||||
parameters::edge_is_constrained_map(is_marked_2)
|
||||
.face_index_map(fids2));
|
||||
|
||||
|
||||
+2
-2
@@ -148,7 +148,7 @@ public:
|
||||
|
||||
std::size_t nb_patches_tm1 =
|
||||
connected_components(tm1,
|
||||
make_compose_property_maps(fids1,make_property_map(&tm1_patch_ids[0])),
|
||||
make_compose_property_map(fids1,make_property_map(&tm1_patch_ids[0])),
|
||||
parameters::edge_is_constrained_map(ecm1)
|
||||
.face_index_map(fids1));
|
||||
|
||||
@@ -228,7 +228,7 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
keep_connected_components(tm1, cc_to_keep, make_compose_property_maps(fids1,make_property_map(&tm1_patch_ids[0])));
|
||||
keep_connected_components(tm1, cc_to_keep, make_compose_property_map(fids1,make_property_map(&tm1_patch_ids[0])));
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
+1
-1
@@ -349,7 +349,7 @@ public:
|
||||
is_intersection(intersection_edges);
|
||||
std::size_t nb_patches =
|
||||
connected_components(tm,
|
||||
make_compose_property_maps(fids,make_property_map(patch_ids)),
|
||||
make_compose_property_map(fids,make_property_map(patch_ids)),
|
||||
parameters::edge_is_constrained_map(is_intersection)
|
||||
.face_index_map(fids));
|
||||
|
||||
|
||||
@@ -434,7 +434,7 @@ void orient(TriangleMesh& tm,
|
||||
|
||||
// set the connected component id of each face
|
||||
std::size_t nb_cc = connected_components(tm,
|
||||
make_compose_property_maps(fid_map,make_property_map(face_cc)),
|
||||
make_compose_property_map(fid_map,make_property_map(face_cc)),
|
||||
parameters::face_index_map(fid_map));
|
||||
|
||||
// extract a vertex with max z coordinate for each connected component
|
||||
@@ -844,7 +844,7 @@ volume_connected_components(const TriangleMesh& tm,
|
||||
|
||||
// set the connected component id of each face
|
||||
const std::size_t nb_cc = connected_components(tm,
|
||||
make_compose_property_maps(fid_map,make_property_map(face_cc)),
|
||||
make_compose_property_map(fid_map,make_property_map(face_cc)),
|
||||
parameters::face_index_map(fid_map));
|
||||
|
||||
// contains for each CC the CC that are in its bounded side
|
||||
@@ -1376,7 +1376,7 @@ void orient_to_bound_a_volume(TriangleMesh& tm,
|
||||
parameters::vertex_point_map(vpm)
|
||||
.geom_traits(gt)
|
||||
.nesting_levels(boost::ref(nesting_levels))
|
||||
.face_connected_component_map(make_compose_property_maps(fid_map,make_property_map(face_cc)))
|
||||
.face_connected_component_map(make_compose_property_map(fid_map,make_property_map(face_cc)))
|
||||
.i_used_for_volume_orientation(true)
|
||||
.do_orientation_tests(true)
|
||||
.is_cc_outward_oriented(boost::ref(is_cc_outward_oriented))
|
||||
|
||||
@@ -575,7 +575,7 @@ public:
|
||||
|
||||
std::size_t nb_cc =
|
||||
Polygon_mesh_processing::connected_components(
|
||||
tm, make_compose_property_maps(fid_map, make_property_map(cc_ids)),
|
||||
tm, make_compose_property_map(fid_map, make_property_map(cc_ids)),
|
||||
parameters::face_index_map(fid_map));
|
||||
if (nb_cc != 1)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user