![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
**--------—**** Other ***—* IsBefore ***-------—* IsJustBefore ***------------—* IsOverlappingAtStart ***---------------------—* IsJustEnclosingAtEnd ***--------------------------------—* IsEnclosing ***-—* IsJustOverlappingAtStart ***----------—* IsSimilar ***---------------------—* IsJustEnclosingAtStart ***-* IsInside ***---—* IsJustOverlappingAtEnd ***--------------—* IsOverlappingAtEnd ***-----—* IsJustAfter ***—* IsAfter More...
#include <Intrv_Interval.hxx>
Public Member Functions | |
| Intrv_Interval () | |
| Intrv_Interval (const double Start, const double End) | |
| Intrv_Interval (const double Start, const float TolStart, const double End, const float TolEnd) | |
| double | Start () const |
| double | End () const |
| float | TolStart () const |
| float | TolEnd () const |
| void | Bounds (double &Start, float &TolStart, double &End, float &TolEnd) const |
| void | SetStart (const double Start, const float TolStart) |
| void | FuseAtStart (const double Start, const float TolStart) |
| ****+****--------------------> Old one ****+****------------------------> New one to fuse <<< <<< ****+****------------------------> result | |
| void | CutAtStart (const double Start, const float TolStart) |
****+****-----------> Old one <-------—**+** Tool for cutting
****+****-----------> result | |
| void | SetEnd (const double End, const float TolEnd) |
| void | FuseAtEnd (const double End, const float TolEnd) |
<------------------—****+**** Old one <--------------—**+** New one to fuse
<------------------—****+**** result | |
| void | CutAtEnd (const double End, const float TolEnd) |
| <--—****+**** Old one +------> Tool for cutting <<< <<< <--—****+**** result | |
| bool | IsProbablyEmpty () const |
| True if myStart+myTolStart > myEnd-myTolEnd or if myEnd+myTolEnd > myStart-myTolStart. | |
| Intrv_Position | Position (const Intrv_Interval &Other) const |
| True if me is Before Other **--------—**** Other ***--—* Before ***---------—* JustBefore ***--------------—* OverlappingAtStart ***-----------------------—* JustEnclosingAtEnd ***----------------------------------—* Enclosing ***-—* JustOverlappingAtStart ***----------—* Similar ***---------------------—* JustEnclosingAtStart ***-* Inside ***---—* JustOverlappingAtEnd ***--------------—* OverlappingAtEnd ***-----—* JustAfter ***—* After. | |
| bool | IsBefore (const Intrv_Interval &Other) const |
| True if me is Before Other ***-------------—** me **--------—**** Other. | |
| bool | IsAfter (const Intrv_Interval &Other) const |
| True if me is After Other --------—**** me ***-------------— Other. | |
| bool | IsInside (const Intrv_Interval &Other) const |
| True if me is Inside Other --------—**** me ***-----------------------— Other. | |
| bool | IsEnclosing (const Intrv_Interval &Other) const |
| True if me is Enclosing Other ***-------------------------—**** me ***---------------—** Other. | |
| bool | IsJustEnclosingAtStart (const Intrv_Interval &Other) const |
| True if me is just Enclosing Other at start ***------------------------—**** me ***---------------—** Other. | |
| bool | IsJustEnclosingAtEnd (const Intrv_Interval &Other) const |
| True if me is just Enclosing Other at End ***-------------------------—**** me ***--------------—**** Other. | |
| bool | IsJustBefore (const Intrv_Interval &Other) const |
| True if me is just before Other ***-----—**** me ***--------—** Other. | |
| bool | IsJustAfter (const Intrv_Interval &Other) const |
| True if me is just after Other ****----—**** me ***--------—** Other. | |
| bool | IsOverlappingAtStart (const Intrv_Interval &Other) const |
| True if me is overlapping Other at start ------------— me ***--------—** Other. | |
| bool | IsOverlappingAtEnd (const Intrv_Interval &Other) const |
| True if me is overlapping Other at end --------—** me ***------------— Other. | |
| bool | IsJustOverlappingAtStart (const Intrv_Interval &Other) const |
| True if me is just overlapping Other at start --------— me ***---------------------—** Other. | |
| bool | IsJustOverlappingAtEnd (const Intrv_Interval &Other) const |
| True if me is just overlapping Other at end ***--------—* me ***---------------------—** Other. | |
| bool | IsSimilar (const Intrv_Interval &Other) const |
| True if me and Other have the same bounds *-------------—*** me ***--------------—** Other. | |
**--------—**** Other ***—* IsBefore ***-------—* IsJustBefore ***------------—* IsOverlappingAtStart ***---------------------—* IsJustEnclosingAtEnd ***--------------------------------—* IsEnclosing ***-—* IsJustOverlappingAtStart ***----------—* IsSimilar ***---------------------—* IsJustEnclosingAtStart ***-* IsInside ***---—* IsJustOverlappingAtEnd ***--------------—* IsOverlappingAtEnd ***-----—* IsJustAfter ***—* IsAfter
| Intrv_Interval::Intrv_Interval | ( | ) |
| Intrv_Interval::Intrv_Interval | ( | const double | Start, |
| const float | TolStart, | ||
| const double | End, | ||
| const float | TolEnd ) |
| void Intrv_Interval::Bounds | ( | double & | Start, |
| float & | TolStart, | ||
| double & | End, | ||
| float & | TolEnd ) const |
<--—****+**** Old one +------> Tool for cutting <<< <<< <--—****+**** result
****+****-----------> Old one <-------—**+** Tool for cutting
****+****-----------> result
| double Intrv_Interval::End | ( | ) | const |
<------------------—****+**** Old one <--------------—**+** New one to fuse
<------------------—****+**** result
****+****--------------------> Old one ****+****------------------------> New one to fuse <<< <<< ****+****------------------------> result
| bool Intrv_Interval::IsAfter | ( | const Intrv_Interval & | Other | ) | const |
True if me is After Other --------—**** me ***-------------— Other.
| bool Intrv_Interval::IsBefore | ( | const Intrv_Interval & | Other | ) | const |
True if me is Before Other ***-------------—** me **--------—**** Other.
| bool Intrv_Interval::IsEnclosing | ( | const Intrv_Interval & | Other | ) | const |
True if me is Enclosing Other ***-------------------------—**** me ***---------------—** Other.
| bool Intrv_Interval::IsInside | ( | const Intrv_Interval & | Other | ) | const |
True if me is Inside Other --------—**** me ***-----------------------— Other.
| bool Intrv_Interval::IsJustAfter | ( | const Intrv_Interval & | Other | ) | const |
True if me is just after Other ****----—**** me ***--------—** Other.
| bool Intrv_Interval::IsJustBefore | ( | const Intrv_Interval & | Other | ) | const |
True if me is just before Other ***-----—**** me ***--------—** Other.
| bool Intrv_Interval::IsJustEnclosingAtEnd | ( | const Intrv_Interval & | Other | ) | const |
True if me is just Enclosing Other at End ***-------------------------—**** me ***--------------—**** Other.
| bool Intrv_Interval::IsJustEnclosingAtStart | ( | const Intrv_Interval & | Other | ) | const |
True if me is just Enclosing Other at start ***------------------------—**** me ***---------------—** Other.
| bool Intrv_Interval::IsJustOverlappingAtEnd | ( | const Intrv_Interval & | Other | ) | const |
True if me is just overlapping Other at end ***--------—* me ***---------------------—** Other.
| bool Intrv_Interval::IsJustOverlappingAtStart | ( | const Intrv_Interval & | Other | ) | const |
True if me is just overlapping Other at start --------— me ***---------------------—** Other.
| bool Intrv_Interval::IsOverlappingAtEnd | ( | const Intrv_Interval & | Other | ) | const |
True if me is overlapping Other at end --------—** me ***------------— Other.
| bool Intrv_Interval::IsOverlappingAtStart | ( | const Intrv_Interval & | Other | ) | const |
True if me is overlapping Other at start ------------— me ***--------—** Other.
| bool Intrv_Interval::IsProbablyEmpty | ( | ) | const |
True if myStart+myTolStart > myEnd-myTolEnd or if myEnd+myTolEnd > myStart-myTolStart.
| bool Intrv_Interval::IsSimilar | ( | const Intrv_Interval & | Other | ) | const |
True if me and Other have the same bounds *-------------—*** me ***--------------—** Other.
| Intrv_Position Intrv_Interval::Position | ( | const Intrv_Interval & | Other | ) | const |
True if me is Before Other **--------—**** Other ***--—* Before ***---------—* JustBefore ***--------------—* OverlappingAtStart ***-----------------------—* JustEnclosingAtEnd ***----------------------------------—* Enclosing ***-—* JustOverlappingAtStart ***----------—* Similar ***---------------------—* JustEnclosingAtStart ***-* Inside ***---—* JustOverlappingAtEnd ***--------------—* OverlappingAtEnd ***-----—* JustAfter ***—* After.
| double Intrv_Interval::Start | ( | ) | const |
| float Intrv_Interval::TolEnd | ( | ) | const |
| float Intrv_Interval::TolStart | ( | ) | const |