Changeset a9b2a0a for molecuilder/src/molecule.hpp
- Timestamp:
- Oct 27, 2009, 4:11:22 PM (16 years ago)
- Children:
- 069034
- Parents:
- 55a71b
- File:
-
- 1 edited
-
molecuilder/src/molecule.hpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/molecule.hpp
r55a71b ra9b2a0a 99 99 char name[MAXSTRINGSIZE]; //!< arbitrary name 100 100 int IndexNr; //!< index of molecule in a MoleculeListClass 101 class Tesselation *TesselStruct;102 101 103 102 molecule(periodentafel *teil); … … 105 104 106 105 // re-definition of virtual functions from PointCloud 107 Vector *GetCenter(ofstream *out) ;108 TesselPoint *GetPoint() ;109 TesselPoint *GetTerminalPoint() ;110 void GoToNext() ;111 void GoToPrevious() ;112 void GoToFirst() ;113 void GoToLast() ;114 bool IsEmpty() ;115 bool IsEnd() ;106 Vector *GetCenter(ofstream *out) const ; 107 TesselPoint *GetPoint() const ; 108 TesselPoint *GetTerminalPoint() const ; 109 void GoToNext() const ; 110 void GoToPrevious() const ; 111 void GoToFirst() const ; 112 void GoToLast() const ; 113 bool IsEmpty() const ; 114 bool IsEnd() const ; 116 115 117 116 // templates for allowing global manipulation of all vectors … … 217 216 void Mirror(const Vector *x); 218 217 void Align(Vector *n); 219 void Scale( double **factor);218 void Scale(const double ** const factor); 220 219 void DeterminePeriodicCenter(Vector ¢er); 221 220 Vector * DetermineCenterOfGravity(ofstream *out); 222 Vector * DetermineCenterOfAll(ofstream *out) ;221 Vector * DetermineCenterOfAll(ofstream *out) const; 223 222 void SetNameFromFilename(const char *filename); 224 223 void SetBoxDimension(Vector *dim); … … 298 297 private: 299 298 int last_atom; //!< number given to last atom 300 atom *InternalPointer; //!< internal pointer for PointCloud299 mutable atom *InternalPointer; //!< internal pointer for PointCloud 301 300 }; 302 301
Note:
See TracChangeset
for help on using the changeset viewer.
