Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Re: What's the fastest way to serialise Nef 3 poly?

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Re: What's the fastest way to serialise Nef 3 poly?


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Re: What's the fastest way to serialise Nef 3 poly?
  • Date: Tue, 26 Mar 2013 19:07:03 +0100
  • Organization: GeometryFactory

On 03/26/2013 06:44 PM, marcosscriven wrote:
Hi Sebastien

Thanks for the response - just wondering if you would confirm my suspicion
the serialisation (particularly deserialisation) is slow due to the string
intermediary, and thus it would likely be worth me doing this manually?
I have never tried but it's a possibility. Maybe you should check the time needed for the preprocessing.


Also, can you confirm that basically what I need to do is:

1) copy vertices, halfedges, facets, volumes, shalfedges, shalfloops,
and sfaces like this:

for each myNef3poly.vertices_begin() -> copy to my protobuf message
(for each of the above)

2) On the other side:

Nef_polyhedron_3 myReconstructedPoly
myReconstructedPoly.sncp.put_vertex_node( protomsg.getVertexNode)
(for each)

I would suggest to follow what is working as it is easy to do a mistake
with this kind of operation.


BTW, what are you trying to do, a model running in the browser?

Sebastien.








Marcos



--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/What-s-the-fastest-way-to-serialise-Nef-3-poly-tp4657024p4657035.html
Sent from the cgal-discuss mailing list archive at Nabble.com.





Archive powered by MHonArc 2.6.18.

Top of Page