Changeset a9b2a0a for molecuilder/src/molecule_pointcloud.cpp
- Timestamp:
- Oct 27, 2009, 4:11:22 PM (16 years ago)
- Children:
- 069034
- Parents:
- 55a71b
- File:
-
- 1 edited
-
molecuilder/src/molecule_pointcloud.cpp (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/molecule_pointcloud.cpp
r55a71b ra9b2a0a 18 18 * \return pointer to allocated with central coordinates 19 19 */ 20 Vector *molecule::GetCenter(ofstream *out) 20 Vector *molecule::GetCenter(ofstream *out) const 21 21 { 22 22 Vector *center = DetermineCenterOfAll(out); … … 27 27 * \return pointer to atom or NULL if none present 28 28 */ 29 TesselPoint *molecule::GetPoint() 29 TesselPoint *molecule::GetPoint() const 30 30 { 31 31 if ((InternalPointer != start) && (InternalPointer != end)) … … 38 38 * \return pointer to end marker 39 39 */ 40 TesselPoint *molecule::GetTerminalPoint() 40 TesselPoint *molecule::GetTerminalPoint() const 41 41 { 42 42 return end; … … 46 46 * Stops at last one. 47 47 */ 48 void molecule::GoToNext() 48 void molecule::GoToNext() const 49 49 { 50 50 if (InternalPointer != end) … … 55 55 * Stops at first one. 56 56 */ 57 void molecule::GoToPrevious() 57 void molecule::GoToPrevious() const 58 58 { 59 59 if (InternalPointer->previous != start) … … 63 63 /** Goes to first atom. 64 64 */ 65 void molecule::GoToFirst() 65 void molecule::GoToFirst() const 66 66 { 67 67 InternalPointer = start->next; … … 70 70 /** Goes to last atom. 71 71 */ 72 void molecule::GoToLast() 72 void molecule::GoToLast() const 73 73 { 74 74 InternalPointer = end->previous; … … 78 78 * \return true - no atoms, false - not empty 79 79 */ 80 bool molecule::IsEmpty() 80 bool molecule::IsEmpty() const 81 81 { 82 82 return (start->next == end); … … 86 86 * \return true - current atom is last one, false - is not last one 87 87 */ 88 bool molecule::IsEnd() 88 bool molecule::IsEnd() const 89 89 { 90 90 return (InternalPointer == end);
Note:
See TracChangeset
for help on using the changeset viewer.
