Changeset d2d8f5 for molecuilder/src/atom.cpp
- Timestamp:
- Feb 5, 2010, 3:19:27 PM (16 years ago)
- Children:
- 86b917
- Parents:
- 42918b
- File:
-
- 1 edited
-
molecuilder/src/atom.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/atom.cpp
r42918b rd2d8f5 13 13 #include "parser.hpp" 14 14 #include "vector.hpp" 15 #include "World.hpp" 15 16 16 17 /************************************* Functions for class atom *************************************/ … … 21 22 atom::atom() : previous(NULL), next(NULL), father(this), sort(&nr) 22 23 { 24 World::get()->registerAtom(this); 23 25 node = &x; // TesselPoint::x can only be referenced from here 24 26 }; … … 28 30 atom::atom(atom *pointer) : previous(NULL), next(NULL), father(pointer), sort(&nr) 29 31 { 32 World::get()->registerAtom(this); 30 33 type = pointer->type; // copy element of atom 31 34 x.CopyVector(&pointer->x); // copy coordination … … 40 43 atom::~atom() 41 44 { 45 World::get()->unregisterAtom(this); 42 46 unlink(this); 43 47 };
Note:
See TracChangeset
for help on using the changeset viewer.
