Subject: CGAL users discussion list
List archive
- From: Peter Schröder <>
- To:
- Subject: Re: [cgal-discuss] CC Subdivide Surface With TexCoord
- Date: Thu, 31 Jul 2008 05:53:41 -0700
Bo Schwarzstein wrote:
Unfortunately the way subdivision is implemented in CGAL the Point3 part of subdivision is pretty much baked in. The only way I found that one can change the type of entity that is subdivided is by rewriting part of the class hierarchy (you make your own derivation at a certain point of the class hierarchy but it does lead to copying basically all the code that actually performs the subdivision). A better approach might be a redesign with traits classes to abstract out the type of entity which is subdivided. This would also allow all manner of other interesting things such as normal subdivision (on the sphere) and more exotic things. Peter |
- [cgal-discuss] CC Subdivide Surface With TexCoord, Bo Schwarzstein, 07/31/2008
- Re: [cgal-discuss] CC Subdivide Surface With TexCoord, Peter Schröder, 07/31/2008
Archive powered by MHonArc 2.6.16.