|
Go to the documentation of this file.
13 using namespace faudes;
43 if(time< mstLB) return false;
44 if(time> mstUB) return false;
64 std::stringstream resstream;
67 resstream << "[empty]";
73 else resstream << "(";
74 if( LBinf()) resstream << "-inf";
75 else resstream << mstLB;
77 if( UBinf()) resstream << "inf";
78 else resstream << mstUB;
80 else resstream << ")";
89 FD_DC( "TimeInterval::Intersect(otherinterval): " << Str()<< " & " <<
90 rOtherInterval. Str() );
93 if( UB()==rOtherInterval. UB()) {
97 if( UB() > rOtherInterval. UB()) {
98 UB(rOtherInterval. UB());
102 if( LB()==rOtherInterval. LB()) {
106 if( LB() < rOtherInterval. LB()) {
107 LB(rOtherInterval. LB());
111 FD_DC( "TimeInterval::Intersect( ... ), ret: " << Str());
117 FD_DC( "TimeInterval::Intersect(" << rInterval1. Str()<< ", " <<
118 rInterval2. Str() << ")");
121 FD_DC( "TimeInterval::Intersect( ... ), ret: " << res.Str());
129 if( UB()==rOtherInterval. UB()) {
133 if( UB() < rOtherInterval. UB()) {
134 UB(rOtherInterval. UB());
138 if( LB()==rOtherInterval. LB()) {
142 if( LB()<rOtherInterval. LB()) {
143 LB(rOtherInterval. LB());
151 res. Merge(rInterval2);
libFAUDES 2.28a
--- 2016.09.13
--- c++ api documentaion by doxygen
|