Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] combine surfaces

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] combine surfaces


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] combine surfaces
  • Date: Wed, 29 Jan 2014 22:52:13 +0100
  • Organization: GeometryFactory

If the orientation of the facets are already correct, you can use the
modifier Polyhedron_copy_3 in CGAL/Polyhedron_copy_3.h setting
clear_target_before to false.

Here is how to use a modifier:
http://doc.cgal.org/latest/Polyhedron/classCGAL_1_1Polyhedron__incremental__builder__3.html

Sebastien.


On 01/29/2014 04:33 PM, Jánosi Zoli wrote:
Hi, i could appreciate some help.
I want to combine two sufraces. (off files)
The inner, and the outer(brain) region of a skull.
They are from the same system, but not in contact with each other.
Like a bigger and a smaller sphere in each other.
I copied the two off files into one, computed the indicies, and it works
great like one. I can remesh it, and it clearly doing a great job.
Except, the regions are not distinguished, but its important to me.
But the inner region is a well bounded, closed region.
I think, that if cgal could find the regions, they would be marked, so
there is something im doing wrong? I know its not a 100% good idea to do
this kind of thing, but i have no better idea at now.
Is there a better way to combine surfaces, and the regions will be marked?
Thanks for helping me.




Archive powered by MHonArc 2.6.18.

Top of Page