Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
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 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.
 

Detailed Description

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

Constructor & Destructor Documentation

◆ Intrv_Interval() [1/3]

Intrv_Interval::Intrv_Interval ( )

◆ Intrv_Interval() [2/3]

Intrv_Interval::Intrv_Interval ( const double Start,
const double End )

◆ Intrv_Interval() [3/3]

Intrv_Interval::Intrv_Interval ( const double Start,
const float TolStart,
const double End,
const float TolEnd )

Member Function Documentation

◆ Bounds()

void Intrv_Interval::Bounds ( double & Start,
float & TolStart,
double & End,
float & TolEnd ) const

◆ CutAtEnd()

void Intrv_Interval::CutAtEnd ( const double End,
const float TolEnd )

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

◆ CutAtStart()

void Intrv_Interval::CutAtStart ( const double Start,
const float TolStart )

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

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

◆ End()

double Intrv_Interval::End ( ) const

◆ FuseAtEnd()

void Intrv_Interval::FuseAtEnd ( const double End,
const float TolEnd )

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

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

◆ FuseAtStart()

void Intrv_Interval::FuseAtStart ( const double Start,
const float TolStart )

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

◆ IsAfter()

bool Intrv_Interval::IsAfter ( const Intrv_Interval & Other) const

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

◆ IsBefore()

bool Intrv_Interval::IsBefore ( const Intrv_Interval & Other) const

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

◆ IsEnclosing()

bool Intrv_Interval::IsEnclosing ( const Intrv_Interval & Other) const

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

◆ IsInside()

bool Intrv_Interval::IsInside ( const Intrv_Interval & Other) const

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

◆ IsJustAfter()

bool Intrv_Interval::IsJustAfter ( const Intrv_Interval & Other) const

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

◆ IsJustBefore()

bool Intrv_Interval::IsJustBefore ( const Intrv_Interval & Other) const

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

◆ IsJustEnclosingAtEnd()

bool Intrv_Interval::IsJustEnclosingAtEnd ( const Intrv_Interval & Other) const

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

◆ IsJustEnclosingAtStart()

bool Intrv_Interval::IsJustEnclosingAtStart ( const Intrv_Interval & Other) const

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

◆ IsJustOverlappingAtEnd()

bool Intrv_Interval::IsJustOverlappingAtEnd ( const Intrv_Interval & Other) const

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

◆ IsJustOverlappingAtStart()

bool Intrv_Interval::IsJustOverlappingAtStart ( const Intrv_Interval & Other) const

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

◆ IsOverlappingAtEnd()

bool Intrv_Interval::IsOverlappingAtEnd ( const Intrv_Interval & Other) const

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

◆ IsOverlappingAtStart()

bool Intrv_Interval::IsOverlappingAtStart ( const Intrv_Interval & Other) const

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

◆ IsProbablyEmpty()

bool Intrv_Interval::IsProbablyEmpty ( ) const

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

◆ IsSimilar()

bool Intrv_Interval::IsSimilar ( const Intrv_Interval & Other) const

True if me and Other have the same bounds *-------------—*** me ***--------------—** Other.

◆ Position()

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.

◆ SetEnd()

void Intrv_Interval::SetEnd ( const double End,
const float TolEnd )

◆ SetStart()

void Intrv_Interval::SetStart ( const double Start,
const float TolStart )

◆ Start()

double Intrv_Interval::Start ( ) const

◆ TolEnd()

float Intrv_Interval::TolEnd ( ) const

◆ TolStart()

float Intrv_Interval::TolStart ( ) const

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