Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] What type is subdomain_index?

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] What type is subdomain_index?


Chronological Thread 
  • From: Mariette Yvinec <>
  • To:
  • Subject: Re: [cgal-discuss] What type is subdomain_index?
  • Date: Thu, 02 May 2013 13:34:29 +0200

The type Subdomain_index is part of the Meshdomain_3 concept.
It is therefore defined by the model of Meshdomain_3 that you are using.
See
http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Mesh_3_ref/Concept_MeshDomain_3.html

Le 02/05/13 11:31, Laurent Rineau (CGAL/GeometryFactory) a écrit :
Le mercredi 01 mai 2013 22:49:01 David Bernstein a écrit : > In a cell in a c3t3 how should I use cell->set_subdomain_index()? What > exactly is the argument of this function supposed to be? I've looked > everywhere in the code but cannot find a type for the subdomain_index. If I > just use an integer argument then strange things happen to the c3t3 object.   You are not supposed to call that function yourself. That function is called my the 3D mesh generator during the meshing process. When it returns, you can read the subdomain index using cell->subdomain_index(). The type Subdomain_index depends on the type of the domain.   -- Laurent Rineau, PhD R&D Engineer at GeometryFactory http://www.geometryfactory.com/ Release Manager of the CGAL Project http://www.cgal.org/  
-- 
Mariette Yvinec
Geometrica project team
INRIA  Sophia-Antipolis  





Archive powered by MHonArc 2.6.18.

Top of Page