ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-3.0/src/applications/nanoRodBuilder/GeometryBuilder.cpp
(Generate patch)

Comparing trunk/OOPSE-3.0/src/applications/nanoRodBuilder/GeometryBuilder.cpp (file contents):
Revision 2215 by chuckv, Thu Apr 28 00:24:11 2005 UTC vs.
Revision 2218 by chuckv, Tue May 3 17:55:28 2005 UTC

# Line 97 | Line 97 | class Build_nanorod : public CGAL::Modifier_base<HDS>
97  
98   // A modifier creating a triangle with the incremental builder.
99   template <class HDS>
100 < class Build_nanorod : public CGAL::Modifier_base<HDS> {
100 > class buildSingleCrystal : public CGAL::Modifier_base<HDS> {
101   public:
102    Vertex_handle end1;
103    Vertex_handle neight1;
# Line 105 | Line 105 | class Build_nanorod : public CGAL::Modifier_base<HDS>
105    Vertex_handle neight2;
106    Vertex_handle neight3;
107    
108 <  Build_nanorod() {}
108 >  buildSingleCrystal() {}
109    void operator()( HDS& hds) {
110      // Postcondition: `hds' is a valid polyhedral surface.
111      CGAL::Polyhedron_incremental_builder_3<HDS> B( hds, true);
# Line 268 | Line 268 | GeometryBuilder::GeometryBuilder(double length,double
268  
269   GeometryBuilder::GeometryBuilder(double length,double width) {
270    // Create the geometry for nanorod
271 <  Build_nanorod<HalfedgeDS> nanorod;
271 > buildSingleCrystal<HalfedgeDS> nanorod;
272    
273    nanoRodPolyhedron.delegate( nanorod);
274    

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines