Subject: CGAL users discussion list
List archive
RE: [cgal-discuss] What's the minimal requirement to use the Constructive Solid Geometry (CSG) module of CGAL?
Chronological Thread
- From: Zhanghong Tang <>
- To: <>
- Subject: RE: [cgal-discuss] What's the minimal requirement to use the Constructive Solid Geometry (CSG) module of CGAL?
- Date: Tue, 24 Jan 2012 19:16:00 +1200
- Importance: Normal
Hi Guillaume,
Thank you very much for your kindly reply. Now the problem is solved. I should modify the code like this: class Build_triangle : public CGAL::Modifier_base<HDS> { public: int nVertices; double *Vertices; int nTri; int *Tri; Build_triangle(int nVertices0, double *Vertices0, int nTri0, int *Tri0) { nVertices=nVertices0; Vertices=Vertices0; nTri=nTri0; Tri=Tri0; } Now my question is: can I pass parameters as a more simple and understandable way, just like the 'Fortran' subroutine? Thanks From: To: Date: Tue, 24 Jan 2012 19:02:57 +1200 Subject: RE: [cgal-discuss] What's the minimal requirement to use the Constructive Solid Geometry (CSG) module of CGAL?
Hi Guillaume, Thank you very much for your kindly reply. I am new to C++ class and the complex operators and don't know how to modify the code to pass the parameters to the operator. Is there any simple way to read the input vertices and facets from other functions to form the polyhedron of CGAL? To let the CGAL do boolean operations, should I do like the example? What's the simplest way? I need to generate polyhedron from CSG and then let CGAL to do the boolean opearations and then output the results to OFF file. Thanks Date: Tue, 24 Jan 2012 07:09:53 +0100 From: To: Subject: Re: [cgal-discuss] What's the minimal requirement to use the Constructive Solid Geometry (CSG) module of CGAL? The variables nVertices,Vertices,nTri,nTri are parameters of the constructor of your class. Thus they are not defined in the operator(). You need to define variables in your class in order to store them. Guillaume
-- =================================================================== Guillaume DAMIAND CNRS, LIRIS UMR 5205 Université Claude Bernard Bâtiment Nautibus (710) 43 Boulevard du 11 Novembre 1918 69622 Villeurbanne Cedex (France) ------------------------------------------------------------------- Phone: +33 (0)4.72.43.26.62 Fax: +33 (0)4.72.43.15.36 Mail: =================================================================== |
- [cgal-discuss] What's the minimal requirement to use the Constructive Solid Geometry (CSG) module of CGAL?, Zhanghong Tang, 01/12/2012
- Re: [cgal-discuss] What's the minimal requirement to use the Constructive Solid Geometry (CSG) module of CGAL?, Sebastien Loriot (GeometryFactory), 01/18/2012
- RE: [cgal-discuss] What's the minimal requirement to use the Constructive Solid Geometry (CSG) module of CGAL?, Zhanghong Tang, 01/18/2012
- Re: [cgal-discuss] What's the minimal requirement to use the Constructive Solid Geometry (CSG) module of CGAL?, Sebastien Loriot (GeometryFactory), 01/18/2012
- RE: [cgal-discuss] What's the minimal requirement to use the Constructive Solid Geometry (CSG) module of CGAL?, Zhanghong Tang, 01/24/2012
- Re: [cgal-discuss] What's the minimal requirement to use the Constructive Solid Geometry (CSG) module of CGAL?, Guillaume Damiand, 01/24/2012
- RE: [cgal-discuss] What's the minimal requirement to use the Constructive Solid Geometry (CSG) module of CGAL?, Zhanghong Tang, 01/24/2012
- RE: [cgal-discuss] What's the minimal requirement to use the Constructive Solid Geometry (CSG) module of CGAL?, Zhanghong Tang, 01/24/2012
- Message not available
- Message not available
- Message not available
- Message not available
- FW: [cgal-discuss] What's the minimal requirement to use the Constructive Solid Geometry (CSG) module of CGAL?, Zhanghong Tang, 01/25/2012
- Re: FW: [cgal-discuss] What's the minimal requirement to use the Constructive Solid Geometry (CSG) module of CGAL?, Winnie Hellmann, 01/25/2012
- RE: [cgal-discuss] What's the minimal requirement to use the Constructive Solid Geometry (CSG) module of CGAL?, Zhanghong Tang, 01/25/2012
- RE: [cgal-discuss] What's the minimal requirement to use the Constructive Solid Geometry (CSG) module of CGAL?, Zhanghong Tang, 01/25/2012
- Re: [cgal-discuss] What's the minimal requirement to use the Constructive Solid Geometry (CSG) module of CGAL?, Sebastien Loriot (GeometryFactory), 01/25/2012
- RE: [cgal-discuss] What's the minimal requirement to use the Constructive Solid Geometry (CSG) module of CGAL?, Zhanghong Tang, 01/27/2012
- RE: [cgal-discuss] What's the minimal requirement to use the Constructive Solid Geometry (CSG) module of CGAL?, Zhanghong Tang, 01/27/2012
- Re: [cgal-discuss] What's the minimal requirement to use the Constructive Solid Geometry (CSG) module of CGAL?, Sebastien Loriot (GeometryFactory), 01/27/2012
- RE: [cgal-discuss] What's the minimal requirement to use the Constructive Solid Geometry (CSG) module of CGAL?, Zhanghong Tang, 01/29/2012
- FW: [cgal-discuss] What's the minimal requirement to use the Constructive Solid Geometry (CSG) module of CGAL?, Zhanghong Tang, 01/30/2012
- RE: [cgal-discuss] What's the minimal requirement to use the Constructive Solid Geometry (CSG) module of CGAL?, Zhanghong Tang, 01/24/2012
- Re: [cgal-discuss] What's the minimal requirement to use the Constructive Solid Geometry (CSG) module of CGAL?, Guillaume Damiand, 01/24/2012
- RE: [cgal-discuss] What's the minimal requirement to use the Constructive Solid Geometry (CSG) module of CGAL?, Zhanghong Tang, 01/24/2012
- Re: [cgal-discuss] What's the minimal requirement to use the Constructive Solid Geometry (CSG) module of CGAL?, Sebastien Loriot (GeometryFactory), 01/18/2012
- RE: [cgal-discuss] What's the minimal requirement to use the Constructive Solid Geometry (CSG) module of CGAL?, Zhanghong Tang, 01/18/2012
- Re: [cgal-discuss] What's the minimal requirement to use the Constructive Solid Geometry (CSG) module of CGAL?, Sebastien Loriot (GeometryFactory), 01/18/2012
Archive powered by MHonArc 2.6.16.