Subject: CGAL users discussion list
List archive
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] Hausdorff distance - bad alloc
- Date: Mon, 12 Feb 2018 10:50:47 +0100
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:3MTO+BSoxGtDcI/Jd0Gm3zpvgtpsv+yvbD5Q0YIujvd0So/mwa6yYReN2/xhgRfzUJnB7Loc0qyK6/mmATRIyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+KPjrFY7OlcS30P2594HObwlSizexfa5+IA+qoQnNq8IbnZZsJqEtxxXTv3BGYf5WxWRmJVKSmxbz+MK994N9/ipTpvws6ddOXb31cKokQ7NYCi8mM30u683wqRbDVwqP6WACXWgQjxFFHhLK7BD+Xpf2ryv6qu9w0zSUMMHqUbw5Xymp4qF2QxHqlSgHLSY0/nzJhMx+jKxVoxyvqBJwzIHWfI6bO+Fzfr/ecN4AWWZNQshcWi5HD4ihb4UPFe0BPeNAooXzulUBswCxChO3BOPzyz9HmHn21rA83eQmCwHG3QsgH84Tu3jQrdv6KqASUeWrw6nU1zXCb/NY1i3h54jUdRAhu/GNUbd+fcHMzkQvDAfFjlKKqYzkODOVyv4Bs22f7+d7WuKvjnQoqwB1ojS12sgsjYzJi5sTx1vZ+yt5x4M1Kse5SE59edOkFoFfuDqBOItyXMwuWX1nuCE/yrAApJW1fzAKxYw5yxLDb/GLaYuF7xL5WOqMPzt1h2hpdK+8ihqu6UStyO7xWtOq3FtFrydJiMTAu3QD2hDJ6MWKSv1w9Vq71zmVzQDc8ORELFg0laXFL54hxaY9lp8JvkTCGi/6gUv3jLWKekk99Oik9ufqbqn8qp+TMI90jQ7+MqAwlcClHes4NQ0OU3Ca+eS6yrLj4VX0TKtWgvAyiKXUs5DXKd4GqqKnAAJZyJsv5hWjAzu+1dQXh3gHLFZLeBKdiIjpPknDIOv8Dfe4mVSskTBrx+zcMr3kBpXANXfDkLL7crZ8705Q0hY8zdda555MELEOPOrzWlPttNzfFhI2LwO0zPzjCNlky4weWHmPDbOEMKPJql+F/fkvIumJZI8NojnxMfkl5/j0jX84g1ARZ6ep3YFEIEy/S/9pKkHcbXv3icoaCk8LuBA/Rarkkg6sSzlWMjyJUqg1/S06BYTuKYDZR4exyPyu0SC+E4FMd05PAUyLC2apPc3QQPMLciOVPolklhQLULGgT8kq0hT451yy8KZuMueBon5QjpnkztUgv7SCxyF3ziR9CoGm60/ISmh1mm0SQDpvhfJwpEV8zhGI1q0q2qUER+wW3OtAV0IBDbCZ1/ZzUomgVQfIf9PPQ1GjEI3/XGMBC+kpytpLWH5TXtWviheZgXivCr4R0qORXNk6q/KEmXf2IMl5xjDN06xz11Q=
If the area of your mesh is large, a large number of points will be
generated and it is probably the allocation of these points that are
the pb.
Sebastien.
On 02/09/2018 06:13 PM, Andreas Fabri wrote:
My guess is that with 4000 sample points and the total
area of your mesh there are too many points.
Maybe post a small program and the mesh, so that we
can have a closer look.
andreas
On 2/9/2018 4:54 PM, nolvis wrote:
Hello!
I am trying to use approximate_Hausdorff_distance on CGAL::Surface_mesh_3
data structure meshes, but after +- 30 seconds of calculations i'm getting
every time bad alloc .
Code was taken from PMP example:
std::cout << "Approximated Hausdorff distance: "
<< CGAL::Polygon_mesh_processing::approximate_Hausdorff_distance
<TAG>(mesh1, mesh2,
CGAL::Polygon_mesh_processing::parameters::number_of_points_per_area_unit(4000))
<< std::endl;
--
Sent from: http://cgal-discuss.949826.n4.nabble.com/
- [cgal-discuss] Hausdorff distance - bad alloc, nolvis, 02/09/2018
- Re: [cgal-discuss] Hausdorff distance - bad alloc, Andreas Fabri, 02/09/2018
- Re: [cgal-discuss] Hausdorff distance - bad alloc, Sebastien Loriot (GeometryFactory), 02/12/2018
- Re: [cgal-discuss] Hausdorff distance - bad alloc, Andreas Fabri, 02/09/2018
Archive powered by MHonArc 2.6.18.