How to load an OBJ into Polyhedron_3 ?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How to load an OBJ into Polyhedron_3 ?

leogarret
Hi,

Sorry, but I'm French

My question is : How to load an OBJ into Polyhedron_3 ?

Best regards,
Léo.



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

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss


Reply | Threaded
Open this post in threaded view
|

Re: How to load an OBJ into Polyhedron_3 ?

Sebastien Loriot (GeometryFactory)
On 11/20/19 12:35 PM, leogarret wrote:
> Hi,
>
> Sorry, but I'm French
>
> My question is : How to load an OBJ into Polyhedron_3 ?
>

Like here:
https://doc.cgal.org/latest/Polygon_mesh_processing/Polygon_mesh_processing_2orient_polygon_soup_example_8cpp-example.html

but replace OFF_reader.h by OBJ_reader.h and read_OFF by read_OBJ

The call to orient_polygon_soup() is only needed if your input mesh
is not a valid surface mesh.

Sebastien.

> Best regards,
> Léo.
>
>
>
> --
> Sent from: http://cgal-discuss.949826.n4.nabble.com/
>

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss