Open CASCADE Technology  6.9.1
Public Member Functions
Intrv_Interval Class Reference

**--------—**** 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 Standard_Real Start, const Standard_Real End)
 
 Intrv_Interval (const Standard_Real Start, const Standard_ShortReal TolStart, const Standard_Real End, const Standard_ShortReal TolEnd)
 
Standard_Real Start () const
 
Standard_Real End () const
 
Standard_ShortReal TolStart () const
 
Standard_ShortReal TolEnd () const
 
void Bounds (Standard_Real &Start, Standard_ShortReal &TolStart, Standard_Real &End, Standard_ShortReal &TolEnd) const
 
void SetStart (const Standard_Real Start, const Standard_ShortReal TolStart)
 
void FuseAtStart (const Standard_Real Start, const Standard_ShortReal TolStart)
 ****+****-----------------—> Old one ****+****---------------------—> New one to fuse <<< <<< ****+****---------------------—> result More...
 
void CutAtStart (const Standard_Real Start, const Standard_ShortReal TolStart)
 ****+****--------—> Old one <-------—**+** Tool for cutting

****+****--------—> result More...

 
void SetEnd (const Standard_Real End, const Standard_ShortReal TolEnd)
 
void FuseAtEnd (const Standard_Real End, const Standard_ShortReal TolEnd)
 <------------------—****+**** Old one <--------------—**+** New one to fuse

<------------------—****+**** result More...

 
void CutAtEnd (const Standard_Real End, const Standard_ShortReal TolEnd)
 <--—****+**** Old one **+**---—> Tool for cutting <<< <<< <--—****+**** result More...
 
Standard_Boolean IsProbablyEmpty () const
 True if myStart+myTolStart > myEnd-myTolEnd or if myEnd+myTolEnd > myStart-myTolStart. More...
 
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. More...
 
Standard_Boolean IsBefore (const Intrv_Interval &Other) const
 True if me is Before Other ***-------------—** me **--------—**** Other. More...
 
Standard_Boolean IsAfter (const Intrv_Interval &Other) const
 True if me is After Other **--------—**** me ***-------------—** Other. More...
 
Standard_Boolean IsInside (const Intrv_Interval &Other) const
 True if me is Inside Other **--------—**** me ***-----------------------—** Other. More...
 
Standard_Boolean IsEnclosing (const Intrv_Interval &Other) const
 True if me is Enclosing Other ***-------------------------—**** me ***---------------—** Other. More...
 
Standard_Boolean IsJustEnclosingAtStart (const Intrv_Interval &Other) const
 True if me is just Enclosing Other at start ***------------------------—**** me ***---------------—** Other. More...
 
Standard_Boolean IsJustEnclosingAtEnd (const Intrv_Interval &Other) const
 True if me is just Enclosing Other at End ***-------------------------—**** me ***--------------—**** Other. More...
 
Standard_Boolean IsJustBefore (const Intrv_Interval &Other) const
 True if me is just before Other ***-----—**** me ***--------—** Other. More...
 
Standard_Boolean IsJustAfter (const Intrv_Interval &Other) const
 True if me is just after Other ****----—**** me ***--------—** Other. More...
 
Standard_Boolean IsOverlappingAtStart (const Intrv_Interval &Other) const
 True if me is overlapping Other at start ***------------—*** me ***--------—** Other. More...
 
Standard_Boolean IsOverlappingAtEnd (const Intrv_Interval &Other) const
 True if me is overlapping Other at end ***--------—** me ***------------—*** Other. More...
 
Standard_Boolean IsJustOverlappingAtStart (const Intrv_Interval &Other) const
 True if me is just overlapping Other at start ***--------—*** me ***---------------------—** Other. More...
 
Standard_Boolean IsJustOverlappingAtEnd (const Intrv_Interval &Other) const
 True if me is just overlapping Other at end ***--------—* me ***---------------------—** Other. More...
 
Standard_Boolean IsSimilar (const Intrv_Interval &Other) const
 True if me and Other have the same bounds *-------------—*** me ***--------------—** Other. More...
 

Detailed Description

**--------—**** Other ***—* IsBefore ***-------—* IsJustBefore ***------------—* IsOverlappingAtStart ***---------------------—* IsJustEnclosingAtEnd ***--------------------------------—* IsEnclosing ***-—* IsJustOverlappingAtStart ***----------—* IsSimilar ***---------------------—* IsJustEnclosingAtStart ***-* IsInside ***---—* IsJustOverlappingAtEnd ***--------------—* IsOverlappingAtEnd ***-----—* IsJustAfter ***—* IsAfter

Constructor & Destructor Documentation

Intrv_Interval::Intrv_Interval ( )
Intrv_Interval::Intrv_Interval ( const Standard_Real  Start,
const Standard_Real  End 
)
Intrv_Interval::Intrv_Interval ( const Standard_Real  Start,
const Standard_ShortReal  TolStart,
const Standard_Real  End,
const Standard_ShortReal  TolEnd 
)

Member Function Documentation

void Intrv_Interval::Bounds ( Standard_Real Start,
Standard_ShortReal TolStart,
Standard_Real End,
Standard_ShortReal TolEnd 
) const
void Intrv_Interval::CutAtEnd ( const Standard_Real  End,
const Standard_ShortReal  TolEnd 
)

<--—****+**** Old one **+**---—> Tool for cutting <<< <<< <--—****+**** result

void Intrv_Interval::CutAtStart ( const Standard_Real  Start,
const Standard_ShortReal  TolStart 
)

****+****--------—> Old one <-------—**+** Tool for cutting

****+****--------—> result

Standard_Real Intrv_Interval::End ( ) const
void Intrv_Interval::FuseAtEnd ( const Standard_Real  End,
const Standard_ShortReal  TolEnd 
)

<------------------—****+**** Old one <--------------—**+** New one to fuse

<------------------—****+**** result

void Intrv_Interval::FuseAtStart ( const Standard_Real  Start,
const Standard_ShortReal  TolStart 
)

****+****-----------------—> Old one ****+****---------------------—> New one to fuse <<< <<< ****+****---------------------—> result

Standard_Boolean Intrv_Interval::IsAfter ( const Intrv_Interval Other) const

True if me is After Other **--------—**** me ***-------------—** Other.

Standard_Boolean Intrv_Interval::IsBefore ( const Intrv_Interval Other) const

True if me is Before Other ***-------------—** me **--------—**** Other.

Standard_Boolean Intrv_Interval::IsEnclosing ( const Intrv_Interval Other) const

True if me is Enclosing Other ***-------------------------—**** me ***---------------—** Other.

Standard_Boolean Intrv_Interval::IsInside ( const Intrv_Interval Other) const

True if me is Inside Other **--------—**** me ***-----------------------—** Other.

Standard_Boolean Intrv_Interval::IsJustAfter ( const Intrv_Interval Other) const

True if me is just after Other ****----—**** me ***--------—** Other.

Standard_Boolean Intrv_Interval::IsJustBefore ( const Intrv_Interval Other) const

True if me is just before Other ***-----—**** me ***--------—** Other.

Standard_Boolean Intrv_Interval::IsJustEnclosingAtEnd ( const Intrv_Interval Other) const

True if me is just Enclosing Other at End ***-------------------------—**** me ***--------------—**** Other.

Standard_Boolean Intrv_Interval::IsJustEnclosingAtStart ( const Intrv_Interval Other) const

True if me is just Enclosing Other at start ***------------------------—**** me ***---------------—** Other.

Standard_Boolean Intrv_Interval::IsJustOverlappingAtEnd ( const Intrv_Interval Other) const

True if me is just overlapping Other at end ***--------—* me ***---------------------—** Other.

Standard_Boolean Intrv_Interval::IsJustOverlappingAtStart ( const Intrv_Interval Other) const

True if me is just overlapping Other at start ***--------—*** me ***---------------------—** Other.

Standard_Boolean Intrv_Interval::IsOverlappingAtEnd ( const Intrv_Interval Other) const

True if me is overlapping Other at end ***--------—** me ***------------—*** Other.

Standard_Boolean Intrv_Interval::IsOverlappingAtStart ( const Intrv_Interval Other) const

True if me is overlapping Other at start ***------------—*** me ***--------—** Other.

Standard_Boolean Intrv_Interval::IsProbablyEmpty ( ) const

True if myStart+myTolStart > myEnd-myTolEnd or if myEnd+myTolEnd > myStart-myTolStart.

Standard_Boolean 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.

void Intrv_Interval::SetEnd ( const Standard_Real  End,
const Standard_ShortReal  TolEnd 
)
void Intrv_Interval::SetStart ( const Standard_Real  Start,
const Standard_ShortReal  TolStart 
)
Standard_Real Intrv_Interval::Start ( ) const
Standard_ShortReal Intrv_Interval::TolEnd ( ) const
Standard_ShortReal Intrv_Interval::TolStart ( ) const

The documentation for this class was generated from the following file: