Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] read_xyz_points function

Subject: CGAL users discussion list

List archive

[cgal-discuss] read_xyz_points function


Chronological Thread 
  • From: Kelvin_Piroddi <>
  • To:
  • Subject: [cgal-discuss] read_xyz_points function
  • Date: Fri, 29 Jul 2016 08:27:10 -0700 (PDT)
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=SoftFail ; spf=None
  • Ironport-phdr: 9a23:wcv+HBwuHRVnaYnXCy+O+j09IxM/srCxBDY+r6Qd0e8WIJqq85mqBkHD//Il1AaPBtSDrawVwLuJ+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2WVTerzWI4CIIHV2nbEwud7yzRN+Z3pv//tvx0qWbWx9Piju5bOE6BzSNhiKViPMrh5B/IL060BrDrygAUe1XwWR1OQDbxE6ktY+G1cU9omEJ47phrJYYEPayQ6NtRrNRCHEqMns++dbwnRjFVwqGoHUGAUsMlR8dIAXB8hD8aa/wqCz2uus1jCqCPNfxQbw1cTun5qZvDhTvjXFUZHYC7GjLh5kp3+pgqxW7qkkkm9bZ

Hi

I am using the read_xyz_points function to read points from a text file. My
code is:

if (!stream ||
!CGAL::read_xyz_points(stream,
std::back_inserter(points),

CGAL::First_of_pair_property_map<PointVectorPair>()))

My input point is:

1.8286 -9.5767 1601.5552

but output is:

1.8286 -9.5767 1601.56

I am not sure why the number of decimal places for z is now 2. Is there a
way to ensure that the number of decimal places for input and output remains
the same?

Thank you




--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/read-xyz-points-function-tp4662115.html
Sent from the cgal-discuss mailing list archive at Nabble.com.


  • [cgal-discuss] read_xyz_points function, Kelvin_Piroddi, 07/29/2016

Archive powered by MHonArc 2.6.18.

Top of Page