Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Bug with dD Triangulation stream operators?

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Bug with dD Triangulation stream operators?


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Bug with dD Triangulation stream operators?
  • Date: Tue, 12 Jun 2018 13:03:49 +0200
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:FDroOh06s1g93Z+IsmDT+DRfVm0co7zxezQtwd8ZseIRKPad9pjvdHbS+e9qxAeQG9mDtrQc06L/iOPJYSQ4+5GPsXQPItRndiQuroEopTEmG9OPEkbhLfTnPGQQFcVGU0J5rTngaRAGUMnxaEfPrXKs8DUcBgvwNRZvJuTyB4Xek9m72/q99pHPYwhEniaxba9vJxiqsAvdsdUbj5F/Iagr0BvJpXVIe+VSxWx2IF+Yggjx6MSt8pN96ipco/0u+dJOXqX8ZKQ4UKdXDC86PGAv5c3krgfMQA2S7XYBSGoWkx5IAw/Y7BHmW5r6ryX3uvZh1CScIMb5Sqw5VDqg4qplURPklCgKPCM9/GzXlsB8iaRWqw+jqRNi2Y7ZeJybOuRwfq3dft0US2ROUclTWCNdDY2xdJcPAugbMOpEs4XwqVkDoB2jDgesHuPvzTpIi2f40aMnzesuChvJ3Bc8H9IPrnvUqsj+OqEVUeCvzanIyinDZO5S1Tn89ofIdRUhru+QXbJqccvfyVMgGB/ZjlWXs4zkPzaZ2uoQuGWc9OpgUeWvi3QmqwF2vjij3MIsio3Si4Iaz1DL7yR5wIIvKdKkT057ZMepHZ1NvC+UMIt2R9ktQ2BuuCsizL0Jo4W0czMOyJs53RLQd/uHc42O7xn+V+iROS91iXBqdb6lmhq+70itxvf/W8WqylpHoTRJnsHPu3wRzRDf9NWLR/tn8ku/xTqC1Rrf5vxGLE00k6fQNoQvzaQqlpUJtETOBi/2l1vyjK+Rbkgk//Kn6+XjYrn/qJ6cMpN4hhjwMqkhhMCzG+s4Mg8JX2iU/eSzyqfv8lH+QLVPlvE2k6/Zv47GJckDpKO0DBVZ3ps95xu/FTur08oUkWMIIV5bYB6HipLmO1DKIPD2F/e/hFGsnS9wx/DCOb3hGJTNLn/fkLv7eLZ971VRyAU2zd9F5pJUDqsNL+70Wk/0rNDYFAM2MxSow+b7D9Vwzp8RWW2VDa+dKa/drF6I5vkzLOmRf48Voy3wK+Ml5v7rlX82g0URfaiv3ZsNaXC3BO5qI0uDYSmkvtBUGmgDuk8yTffhlUaZeT9VfXe7GawmtR8hD4fzR7zOTIm2nL2M2m+fGYdXYXwOSn+BFnLla5+Vdf4HdCWIM44r2mgfUb+7Sog9kxSqnAD/wrtjaOHT/3tL5trYyNFp6riLxlkJ/jtuApHAizjcHVExpXsBQnoN5I46pEV8zlmZ1q0h2q5XENVS47VCVQJobMeAndw/MMj7X0f6RvnMUEyvG4z0DjQ4T9Z3yNgLMR4kRoeSyyvb1i/vOIc70ryGAJtur/DZ1nn1Ytl4kzPIiPNngF4hTc9Cc2ahg/wn+g==

Just a quick guess, are you using the same kernel for reading and writing?

Sebastien.

On 06/08/2018 04:06 AM, Shabi Ma wrote:
I wrote a trivial program that initializes a dD triangulation, writes the
triangulation to a file using the given overloaded operator<<, and then
tries to read the file into the triangulation using operator>>.

I noticed that the operator<< works fine, but operator>> ends up giving a
long list of template substitution errors due to the line at
Triangulation_vertex.h:116 at "is >> v.point();". I think it might have to
do with the fact that v.point() in that line returns a const reference.
However, after I removed it, it still reports an error.

There does not seem to be any problem when I initialize the 3D or 2D
triangulation however.

Is this a small oversight in the dD triangulation? How can I circumvent it?



--
Sent from: http://cgal-discuss.949826.n4.nabble.com/




Archive powered by MHonArc 2.6.18.

Top of Page