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: 400555 <>
  • To:
  • Subject: Re: [cgal-discuss] Mesher, bounding box.
  • Date: Sat, 8 Aug 2009 18:47:04 +0600
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=qYoQHKalsJfCjDo4qA+tGMpCITP3IVodi1MYovg1ROfcEv4VXbcjWQO5sHjBdTNpDp UKRUPf+u4eVsk1GQKjvWJ2PnykI7AbNkJAqyOGNE1wu4S2ttac0UZRKhNy35Cz9WWln+ Fl7NS3AZUOfFEBjT/hB6Hm2AC2YRnby2dkZJs=

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 <> 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:>> 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