Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Mesher, bounding box.

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Mesher, bounding box.


Chronological Thread 
  • From: Manuel Caroli <>
  • To:
  • Subject: Re: [cgal-discuss] Mesher, bounding box.
  • Date: Mon, 10 Aug 2009 10:02:25 +0200

Dear 400555,

ok, in this case you might truncate your resulting mesh along the bounding box. But then you will be in trouble to sew two periodic copies of your mesh...
Another idea would be to have 27 copies of the periodic object arranged in a cube of 3x3x3 copies and pick the copy in the middle. However this will be considerably slower.
As I said we are currently working on making the CGAL surface mesher work for periodic surfaces. I'll contact you as soon as we have some results.

best

Manuel


400555 wrote:
Dear Manuel,

the point is that I want to make periodic surface. And making bounding sphere which contains my box (cube) is not a solution.
With box - a can generate periodicity by connecting my boxes (facet to facet) but with sphere it is not possible.

Do you have any idea how can I do it with CGAL ?
On Sat, Aug 8, 2009 at 1:45 PM, Manuel Caroli < <mailto:>> wrote:

400555 wrote:

Thank you for quick answer Manuel!

The point is that Implicit_surface_3 has a second argument with
type Sphere_3:

Yes but as I understood you have a bounding box, right? So you can
get the size and position of the bounding box and create a Sphere_3
from it which contains the bounding box entirely. Followingly it is
a bounding sphere, which you can use as second argument to
Implicit_surface_3.

Manuel


Implicit_surface_3<Traits, Function> surface ( Function f,
Sphere_3

<http://www.cgal.org/Manual/3.4/doc_html/cgal_manual/Kernel_23_ref/Class_Sphere_3.html#Cross_link_anchor_251>
bounding_sphere, FT error_bound = FT(1e-3));
/
/


On Fri, Aug 7, 2009 at 5:09 PM, Manuel Caroli

<

<mailto:>

<mailto:

<mailto:>>>
wrote:

Hi 400555,


400555 wrote:

Hello everyone !

To make surface with Implicit_surface_3 necessary to set
Bounding Sphere.

Is any way to use Bounding Box instead of it?

I don't know the surface mesher very well, but if you have a
bounding box you couldn't you use a sphere bounding the
bounding box
as bounding sphere?


Also do you know last does CGAL version allow to make
periodic
surfaces?

There are periodic triangulations available. However they don't
(yet) work together with the surface mesher as they have a
slightly
different interface than the normal triangulations. We are
working
on it.

best

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



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






Archive powered by MHonArc 2.6.16.

Top of Page