OCC Main Page | ModelingAlgorithms | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ModelingAlgorithms
TKHLR
Intrv


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

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT Intrv_Interval ()
Standard_EXPORT Intrv_Interval (const Standard_Real Start, const Standard_Real End)
Standard_EXPORT 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
.
Standard_EXPORT 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
.

Private Attributes

Standard_Real myStart
Standard_Real myEnd
Standard_ShortReal myTolStart
Standard_ShortReal myTolEnd


Constructor & Destructor Documentation

Standard_EXPORT Intrv_Interval::Intrv_Interval  ) 
 

Standard_EXPORT Intrv_Interval::Intrv_Interval const Standard_Real  Start,
const Standard_Real  End
 

Standard_EXPORT 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 [inline]
 

void Intrv_Interval::CutAtEnd const Standard_Real  End,
const Standard_ShortReal  TolEnd
[inline]
 

void Intrv_Interval::CutAtStart const Standard_Real  Start,
const Standard_ShortReal  TolStart
[inline]
 

Standard_Real Intrv_Interval::End  )  const [inline]
 

void Intrv_Interval::FuseAtEnd const Standard_Real  End,
const Standard_ShortReal  TolEnd
[inline]
 

void Intrv_Interval::FuseAtStart const Standard_Real  Start,
const Standard_ShortReal  TolStart
[inline]
 

Standard_Boolean Intrv_Interval::IsAfter const Intrv_Interval Other  )  const [inline]
 

Standard_Boolean Intrv_Interval::IsBefore const Intrv_Interval Other  )  const [inline]
 

Standard_Boolean Intrv_Interval::IsEnclosing const Intrv_Interval Other  )  const [inline]
 

Standard_Boolean Intrv_Interval::IsInside const Intrv_Interval Other  )  const [inline]
 

Standard_Boolean Intrv_Interval::IsJustAfter const Intrv_Interval Other  )  const [inline]
 

Standard_Boolean Intrv_Interval::IsJustBefore const Intrv_Interval Other  )  const [inline]
 

Standard_Boolean Intrv_Interval::IsJustEnclosingAtEnd const Intrv_Interval Other  )  const [inline]
 

Standard_Boolean Intrv_Interval::IsJustEnclosingAtStart const Intrv_Interval Other  )  const [inline]
 

Standard_Boolean Intrv_Interval::IsJustOverlappingAtEnd const Intrv_Interval Other  )  const [inline]
 

Standard_Boolean Intrv_Interval::IsJustOverlappingAtStart const Intrv_Interval Other  )  const [inline]
 

Standard_Boolean Intrv_Interval::IsOverlappingAtEnd const Intrv_Interval Other  )  const [inline]
 

Standard_Boolean Intrv_Interval::IsOverlappingAtStart const Intrv_Interval Other  )  const [inline]
 

Standard_Boolean Intrv_Interval::IsProbablyEmpty  )  const [inline]
 

Standard_Boolean Intrv_Interval::IsSimilar const Intrv_Interval Other  )  const [inline]
 

void Intrv_Interval::operator delete void *  anAddress  )  [inline]
 

void* Intrv_Interval::operator new size_t  size  )  [inline]
 

void* Intrv_Interval::operator new size_t  ,
void *  anAddress
[inline]
 

Standard_EXPORT Intrv_Position Intrv_Interval::Position const Intrv_Interval Other  )  const
 

void Intrv_Interval::SetEnd const Standard_Real  End,
const Standard_ShortReal  TolEnd
[inline]
 

void Intrv_Interval::SetStart const Standard_Real  Start,
const Standard_ShortReal  TolStart
[inline]
 

Standard_Real Intrv_Interval::Start  )  const [inline]
 

Standard_ShortReal Intrv_Interval::TolEnd  )  const [inline]
 

Standard_ShortReal Intrv_Interval::TolStart  )  const [inline]
 


Field Documentation

Standard_Real Intrv_Interval::myEnd [private]
 

Standard_Real Intrv_Interval::myStart [private]
 

Standard_ShortReal Intrv_Interval::myTolEnd [private]
 

Standard_ShortReal Intrv_Interval::myTolStart [private]
 


The documentation for this class was generated from the following files:
Generated on Mon Aug 25 13:42:18 2008 for OpenCASCADE by  doxygen 1.4.1