diff options
author | Don Bright <hugh.m.bright@gmail.com> | 2012-02-14 00:43:38 (GMT) |
---|---|---|
committer | Don Bright <hugh.m.bright@gmail.com> | 2012-02-14 00:43:38 (GMT) |
commit | 319364b59790140b607a0f2af6d6b7e1ab068f51 (patch) | |
tree | fe2ea7cf8d150a27894b80ce18fbdaf35e3f27e6 /src/CGAL_Nef_polyhedron_DxfData.cc | |
parent | a76d5b02bdb8cd7a9d32c2e204c86726d1384c63 (diff) |
use shared_ptr in shell visitor. add dump() code. hide debug cout.
Diffstat (limited to 'src/CGAL_Nef_polyhedron_DxfData.cc')
-rw-r--r-- | src/CGAL_Nef_polyhedron_DxfData.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/CGAL_Nef_polyhedron_DxfData.cc b/src/CGAL_Nef_polyhedron_DxfData.cc index d5f774d..412314a 100644 --- a/src/CGAL_Nef_polyhedron_DxfData.cc +++ b/src/CGAL_Nef_polyhedron_DxfData.cc @@ -77,28 +77,28 @@ DxfData *CGAL_Nef_polyhedron::convertToDxfData() const return dxfdata; } -// moved here to reduce compile size/time of CGAL_Nef_polyhedron.cc +// moved here to reduce compile size/time of compiling CGAL_Nef_polyhedron.cc std::string CGAL_Nef_polyhedron::dump_p2() const { std::stringstream out; CGAL_Nef_polyhedron2::Explorer explorer = this->p2->explorer(); CGAL_Nef_polyhedron2::Explorer::Vertex_const_iterator i; - out << "CGAL_Nef_polyhedron::p2 vertices"; + out << "CGAL_Nef_polyhedron::p2 Vertices"; for (i = explorer.vertices_begin(); i != explorer.vertices_end(); ++i) { if ( explorer.is_standard( i ) ) { CGAL_Nef_polyhedron2::Explorer::Point point = explorer.point( i ); - out << "\n Standard vertex x y: " + out << "\n Point x y: " << CGAL::to_double(point.x()) << " " << CGAL::to_double(point.y()); } else { CGAL_Nef_polyhedron2::Explorer::Ray ray = explorer.ray( i ); CGAL_Nef_polyhedron2::Explorer::Point point = ray.point( 0 ); out << "\n Ray x y dx dy: " - << CGAL::to_double(point.x()) << " " << CGAL::to_double(point.y()) - << CGAL::to_double(ray.direction().dx()) << " " << CGAL::to_double(ray.direction().dy()) << "\n"; + << CGAL::to_double(point.x()) << " " << CGAL::to_double(point.y()) << " " + << CGAL::to_double(ray.direction().dx()) << " " << CGAL::to_double(ray.direction().dy()); } } - out << "\nCGAL_Nef_polyhedron::p2 vertices end"; + out << "\nCGAL_Nef_polyhedron::p2 Vertices end"; return out.str(); } |