Skip to content

Commit

Permalink
Use property_map<>::type instead of undocumented PM class name
Browse files Browse the repository at this point in the history
  • Loading branch information
afabri committed Oct 11, 2024
1 parent a8cfbed commit 9366e38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BGL/test/BGL/graph_concept_geometrycentral.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ int main()
std::cout << v << " at distance " << distance[v] << std::endl;
}

geometrycentral::surface::GC_point_pmap vpm(*geometry);
boost::property_map<SurfaceMesh, boost::vertex_point_t>::const_type vpm(*geometry);
for(auto he : halfedges(*mesh)){
std::cout << "edge length: " << CGAL::Polygon_mesh_processing::edge_length(he,*mesh, CGAL::parameters::vertex_point_map(vpm)) << std::endl;
}
Expand Down

0 comments on commit 9366e38

Please sign in to comment.