Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] How to load a off mesh and save this mesh in form of halfedge

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] How to load a off mesh and save this mesh in form of halfedge


Chronological Thread 
  • From: Andreas Fabri <>
  • To:
  • Subject: Re: [cgal-discuss] How to load a off mesh and save this mesh in form of halfedge
  • Date: Mon, 22 Sep 2014 16:34:49 +0200
  • Organization: GeometryFactory

http://doc.cgal.org/latest/Polyhedron/index.html#title10



On 22/09/2014 15:59, mkyuan wrote:

andreas,

thanks very much for your time.

I browsed the manuals of 3D Polyhedral Surface ,there is not an
example show how to read a off file.
I don't know


Polyhedron P1;
std::ifstream stream;
stream.open("C:\Users\hasee\Desktop\my
document\build\Debug\face.off");
stream >> P1;

Is this code right?Would you give me some detail code?



--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/How-to-load-a-off-mesh-and-save-this-mesh-in-form-of-halfedge-tp4659860p4659864.html
Sent from the cgal-discuss mailing list archive at Nabble.com.


--
Andreas Fabri, PhD
Chief Officer, GeometryFactory
Editor, The CGAL Project

phone: +33.492.954.912 skype: andreas.fabri



Archive powered by MHonArc 2.6.18.

Top of Page