Subject: CGAL users discussion list
List archive
- From: Shabi Ma <>
- To:
- Subject: Re: [cgal-discuss] Bug with dD Triangulation stream operators?
- Date: Tue, 12 Jun 2018 10:27:40 -0700 (MST)
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=SoftFail ; spf=Pass
- Ironport-phdr: 9a23:n/3AZRZbNwyBbKu2ZRo0JMv/LSx+4OfEezUN459isYplN5qZoM+9bnLW6fgltlLVR4KTs6sC17KL9fi4EUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQpFiCa9bL9oMBm6sRjau9ULj4dlNqs/0AbCrGFSe+RRy2NoJFaTkAj568yt4pNt8Dletuw4+cJYXqr0Y6o3TbpDDDQ7KG81/9HktQPCTQSU+HQRVHgdnwdSDAjE6BH6WYrxsjf/u+Fg1iSWIdH6QLYpUjmk8qxlSgLniD0fOjA38G/ZlM9+g6BVoBy8qBNw34HabZqJNPpnYq/RYc8WSXZDU8tXSidPApm8b4wKD+cZIOhYr5PyqEAPrRCjAgejHv7kxzhThn/x3aw1yPouHhvA3AM8Bd0Os2rbrM3xNKYTSu21w6zIwi/Cb/NSwzvy9I/IchU4rPyKQLl+f83RyUw1GAPEiFWdsYrlMCmO2esWt2iU8fBsWv6oi24irQx6vzuhxt80h4XUh48Z1ErI+Tt5zYs7P9G0VUB2bNC+HJZSqS2XMZZ9TNk4TGFyoik6z6ULuZ6lcygOz5Qq3xjfZvOdf4iO+B3sT/2eITNmi35/ZL2/gBOy/VChyu36SMa0zE5HojdEn9XSrHwByRze58adRvdg8Eqs1yyD2gLN5u1cJEA7j6vbK5ovwr4qkZoTtFzOHjTxmET2l6CZaF8r+u605Ov9YbXpuIecN4t1iwzlPaQun9awAeU8MgQUQ2eb/uG82KX5/ULlWLVKkuE2kq7BvZ/GKsQUvKq5DxZI3YYi8BawEyqm0M8DnXQcN1JEeBeHj5DzNF3UIfD4C+2/g1W2nztxyfDGJO6pPpKYJXfKlPLtfK129lVH4As119FWoZxOWZ8bJ/emYU/4vt2QKxZxZxez0uzqAdN234ATQWadKqCcOaLW91SP47R8cKG3eIYJtWOleLAe7Pn0gCphwA5PTeySxZISLUuAMLFjKkSdb2Drh45YQ2gPtws6CuftjQ/ZCGIBVzOJR6s5owoDJse+F46aH9KihbWA2GGwGZgEPjkbWGDJKm/hcsC/Y9lJaC+WJZY8wDpYE76oQYUl2Felswqokrc=
I believe so (with the Epick_d kernel).
Here is the code for reference:
#include <fstream>
#define CGAL_EIGEN3_ENABLED
#include <CGAL/Epick_d.h>
#include <CGAL/Triangulation_vertex.h>
#include <CGAL/Triangulation_data_structure.h>
#include <CGAL/Delaunay_triangulation.h>
using namespace std;
template <unsigned int D>
using K = CGAL::Epick_d<CGAL::Dimension_tag<D>>;
template <unsigned int D>
using Vb = CGAL::Triangulation_vertex<K<D>,double>;
template <unsigned int D>
using Tds =
CGAL::Triangulation_data_structure<CGAL::Dimension_tag<D>,Vb<D>>;
template <unsigned int D>
using T = CGAL::Delaunay_triangulation<K<D>, Tds<D>>;
int main(){
T<4> test(4);
std::ofstream out("test.txt");
out << test;
std::ifstream in("test.txt");
in >> test;
return 0;
}
The errors are a long list of template substitution errors, ending with this
one:
/usr/include/CGAL/Triangulation_vertex.h:116:8: note: types
‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ and ‘const Point {aka
const CGAL::Wrap::Point_d<CGAL::Epick_d<CGAL::Dimension_tag<3> > >}’
have incompatible cv-qualifiers
is >> v.point();
--
Sent from: http://cgal-discuss.949826.n4.nabble.com/
- [cgal-discuss] Bug with dD Triangulation stream operators?, Shabi Ma, 06/08/2018
- Re: [cgal-discuss] Bug with dD Triangulation stream operators?, Sebastien Loriot (GeometryFactory), 06/12/2018
- Re: [cgal-discuss] Bug with dD Triangulation stream operators?, Shabi Ma, 06/12/2018
- Re: [cgal-discuss] Bug with dD Triangulation stream operators?, Sebastien Loriot (GeometryFactory), 06/15/2018
- Re: [cgal-discuss] Bug with dD Triangulation stream operators?, Sebastien Loriot (GeometryFactory), 06/15/2018
- Re: [cgal-discuss] Bug with dD Triangulation stream operators?, Shabi Ma, 06/12/2018
- Re: [cgal-discuss] Bug with dD Triangulation stream operators?, Sebastien Loriot (GeometryFactory), 06/12/2018
Archive powered by MHonArc 2.6.18.