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 2239 by chuckv, Sun May 22 21:36:21 2005 UTC

# Line 95 | Line 95 | Polyhedron nanoRodPolyhedron;
95   //                                                                                                                              Kernel::RT s=RT(20),
96   //                                                                                                                              Kernel::RT hw = RT(1));
97  
98 +
99 +
100 +
101 +
102   // A modifier creating a triangle with the incremental builder.
103   template <class HDS>
104 < class Build_nanorod : public CGAL::Modifier_base<HDS> {
104 > class buildSingleCrystal : public CGAL::Modifier_base<HDS> {
105   public:
106    Vertex_handle end1;
107    Vertex_handle neight1;
# Line 105 | Line 109 | class Build_nanorod : public CGAL::Modifier_base<HDS>
109    Vertex_handle neight2;
110    Vertex_handle neight3;
111    
112 <  Build_nanorod() {}
112 >  buildSingleCrystal() {}
113    void operator()( HDS& hds) {
114      // Postcondition: `hds' is a valid polyhedral surface.
115      CGAL::Polyhedron_incremental_builder_3<HDS> B( hds, true);
# Line 268 | Line 272 | GeometryBuilder::GeometryBuilder(double length,double
272  
273   GeometryBuilder::GeometryBuilder(double length,double width) {
274    // Create the geometry for nanorod
275 <  Build_nanorod<HalfedgeDS> nanorod;
275 > buildSingleCrystal<HalfedgeDS> nanorod;
276    
277    nanoRodPolyhedron.delegate( nanorod);
278    

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines