# | Line 73 | Line 73 | TExtraData *TFrame::GetExtraData(string attr) | |
---|---|---|
73 | ||
74 | } | |
75 | */ | |
76 | + | float TFrame::GetCoor(int frameIndex) |
77 | + | { |
78 | + | if (frameIndex >= 0 | frameIndex < _coor.size()) |
79 | + | { |
80 | + | return _coor[frameIndex]; |
81 | + | } |
82 | + | else |
83 | + | { |
84 | + | |
85 | + | } |
86 | + | |
87 | + | } |
88 | + | |
89 | + | float TFrame::GetVelo(int frameIndex) |
90 | + | { |
91 | + | if (frameIndex >= 0 | frameIndex < _velo.size()) |
92 | + | { |
93 | + | return _velo[frameIndex] |
94 | + | } |
95 | + | else |
96 | + | { |
97 | + | |
98 | + | } |
99 | + | |
100 | + | |
101 | + | } |
102 | + | |
103 | void TFrame::Reserve(int numAtom) | |
104 | { | |
105 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |