Open CASCADE Technology 6.6.0
Public Member Functions
Intrv_Interval Class Reference

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

#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

void CutAtStart (const Standard_Real Start, const Standard_ShortReal TolStart)
 ****+****-----------> Old one
<----------**+** Tool for cutting
>>> >>>
****+****-----------> result

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

void CutAtEnd (const Standard_Real End, const Standard_ShortReal TolEnd)
 <-----****+**** Old one
**+**------> Tool for cutting
<<< <<<
<-----****+**** result

Standard_Boolean 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

Standard_Boolean IsBefore (const Intrv_Interval &Other) const
 True if me is Before Other
***----------------** me
**-----------**** Other

Standard_Boolean IsAfter (const Intrv_Interval &Other) const
 True if me is After Other
**-----------**** me
***----------------** Other

Standard_Boolean IsInside (const Intrv_Interval &Other) const
 True if me is Inside Other
**-----------**** me
***--------------------------** Other

Standard_Boolean IsEnclosing (const Intrv_Interval &Other) const
 True if me is Enclosing Other
***----------------------------**** me
***------------------** Other

Standard_Boolean IsJustEnclosingAtStart (const Intrv_Interval &Other) const
 True if me is just Enclosing Other at start
***---------------------------**** me
***------------------** Other

Standard_Boolean IsJustEnclosingAtEnd (const Intrv_Interval &Other) const
 True if me is just Enclosing Other at End
***----------------------------**** me
***-----------------**** Other

Standard_Boolean IsJustBefore (const Intrv_Interval &Other) const
 True if me is just before Other
***--------**** me
***-----------** Other

Standard_Boolean IsJustAfter (const Intrv_Interval &Other) const
 True if me is just after Other
****-------**** me
***-----------** Other

Standard_Boolean IsOverlappingAtStart (const Intrv_Interval &Other) const
 True if me is overlapping Other at start
***---------------*** me
***-----------** Other

Standard_Boolean IsOverlappingAtEnd (const Intrv_Interval &Other) const
 True if me is overlapping Other at end
***-----------** me
***---------------*** Other

Standard_Boolean IsJustOverlappingAtStart (const Intrv_Interval &Other) const
 True if me is just overlapping Other at start
***-----------*** me
***------------------------** Other

Standard_Boolean IsJustOverlappingAtEnd (const Intrv_Interval &Other) const
 True if me is just overlapping Other at end
***-----------* me
***------------------------** Other

Standard_Boolean IsSimilar (const Intrv_Interval &Other) const
 True if me and Other have the same bounds
*----------------*** me
***-----------------** Other


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 
)
void Intrv_Interval::CutAtStart ( const Standard_Real  Start,
const Standard_ShortReal  TolStart 
)
Standard_Real Intrv_Interval::End ( ) const
void Intrv_Interval::FuseAtEnd ( const Standard_Real  End,
const Standard_ShortReal  TolEnd 
)
void Intrv_Interval::FuseAtStart ( const Standard_Real  Start,
const Standard_ShortReal  TolStart 
)
Standard_Boolean Intrv_Interval::IsAfter ( const Intrv_Interval Other) const
Standard_Boolean Intrv_Interval::IsBefore ( const Intrv_Interval Other) const
Standard_Boolean Intrv_Interval::IsEnclosing ( const Intrv_Interval Other) const
Standard_Boolean Intrv_Interval::IsInside ( const Intrv_Interval Other) const
Standard_Boolean Intrv_Interval::IsJustAfter ( const Intrv_Interval Other) const
Standard_Boolean Intrv_Interval::IsJustBefore ( const Intrv_Interval Other) const
Standard_Boolean Intrv_Interval::IsJustEnclosingAtEnd ( const Intrv_Interval Other) const
Standard_Boolean Intrv_Interval::IsJustEnclosingAtStart ( const Intrv_Interval Other) const
Standard_Boolean Intrv_Interval::IsJustOverlappingAtEnd ( const Intrv_Interval Other) const
Standard_Boolean Intrv_Interval::IsJustOverlappingAtStart ( const Intrv_Interval Other) const
Standard_Boolean Intrv_Interval::IsOverlappingAtEnd ( const Intrv_Interval Other) const
Standard_Boolean Intrv_Interval::IsOverlappingAtStart ( const Intrv_Interval Other) const
Standard_Boolean Intrv_Interval::IsProbablyEmpty ( ) const
Standard_Boolean Intrv_Interval::IsSimilar ( const Intrv_Interval Other) const
Intrv_Position Intrv_Interval::Position ( const Intrv_Interval Other) const
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:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines