| 43 | } |
| 44 | |
| 45 | Time KeyCell::temporalDragMinTime() const |
| 46 | { |
| 47 | //Time res(std::numeric_limits<int>::min()); // Caution: can overflow if compute deltas |
| 48 | Time res(-1000); // TODO |
| 49 | |
| 50 | InbetweenCellSet beforeStar = temporalStarBefore(); |
| 51 | foreach(InbetweenCell * scell, beforeStar) |
| 52 | { |
| 53 | Time t = scell->beforeTime(); |
| 54 | if(res < t) |
| 55 | res = t; |
| 56 | } |
| 57 | |
| 58 | return res; |
| 59 | } |
| 60 | |
| 61 | Time KeyCell::temporalDragMaxTime() const |
| 62 | { |