|
Go to the documentation of this file.
13 using namespace faudes;
41 if(time< mstLB) return false;
42 if(time> mstUB) return false;
62 std::stringstream resstream;
65 resstream << "[empty]";
71 else resstream << "(";
72 if( LBinf()) resstream << "-inf";
73 else resstream << mstLB;
75 if( UBinf()) resstream << "inf";
76 else resstream << mstUB;
78 else resstream << ")";
87 FD_DC( "TimeInterval::Intersect(otherinterval): " << Str()<< " & " <<
88 rOtherInterval. Str() );
91 if( UB()==rOtherInterval. UB()) {
95 if( UB() > rOtherInterval. UB()) {
96 UB(rOtherInterval. UB());
100 if( LB()==rOtherInterval. LB()) {
104 if( LB() < rOtherInterval. LB()) {
105 LB(rOtherInterval. LB());
109 FD_DC( "TimeInterval::Intersect( ... ), ret: " << Str());
115 FD_DC( "TimeInterval::Intersect(" << rInterval1. Str()<< ", " <<
116 rInterval2. Str() << ")");
119 FD_DC( "TimeInterval::Intersect( ... ), ret: " << res.Str());
127 if( UB()==rOtherInterval. UB()) {
131 if( UB() < rOtherInterval. UB()) {
132 UB(rOtherInterval. UB());
136 if( LB()==rOtherInterval. LB()) {
140 if( LB()<rOtherInterval. LB()) {
141 LB(rOtherInterval. LB());
149 res. Merge(rInterval2);
libFAUDES 2.24g
--- 2014.09.15
--- c++ api documentaion by doxygen
|