Open CASCADE Technology  7.5.0
Public Member Functions
Intrv_Intervals Class Reference

The class Intervals is a sorted sequence of non overlapping Real Intervals. More...

#include <Intrv_Intervals.hxx>

Public Member Functions

 Intrv_Intervals ()
 Creates a void sequence of intervals. More...
 
 Intrv_Intervals (const Intrv_Interval &Int)
 Creates a sequence of one interval. More...
 
void Intersect (const Intrv_Interval &Tool)
 Intersects the intervals with the interval <Tool>. More...
 
void Intersect (const Intrv_Intervals &Tool)
 Intersects the intervals with the intervals in the sequence <Tool>. More...
 
void Subtract (const Intrv_Interval &Tool)
 
void Subtract (const Intrv_Intervals &Tool)
 
void Unite (const Intrv_Interval &Tool)
 
void Unite (const Intrv_Intervals &Tool)
 
void XUnite (const Intrv_Interval &Tool)
 
void XUnite (const Intrv_Intervals &Tool)
 
Standard_Integer NbIntervals () const
 
const Intrv_IntervalValue (const Standard_Integer Index) const
 

Detailed Description

The class Intervals is a sorted sequence of non overlapping Real Intervals.

Constructor & Destructor Documentation

◆ Intrv_Intervals() [1/2]

Intrv_Intervals::Intrv_Intervals ( )

Creates a void sequence of intervals.

◆ Intrv_Intervals() [2/2]

Intrv_Intervals::Intrv_Intervals ( const Intrv_Interval Int)

Creates a sequence of one interval.

Member Function Documentation

◆ Intersect() [1/2]

void Intrv_Intervals::Intersect ( const Intrv_Interval Tool)

Intersects the intervals with the interval <Tool>.

◆ Intersect() [2/2]

void Intrv_Intervals::Intersect ( const Intrv_Intervals Tool)

Intersects the intervals with the intervals in the sequence <Tool>.

◆ NbIntervals()

Standard_Integer Intrv_Intervals::NbIntervals ( ) const

◆ Subtract() [1/2]

void Intrv_Intervals::Subtract ( const Intrv_Interval Tool)

◆ Subtract() [2/2]

void Intrv_Intervals::Subtract ( const Intrv_Intervals Tool)

◆ Unite() [1/2]

void Intrv_Intervals::Unite ( const Intrv_Interval Tool)

◆ Unite() [2/2]

void Intrv_Intervals::Unite ( const Intrv_Intervals Tool)

◆ Value()

const Intrv_Interval& Intrv_Intervals::Value ( const Standard_Integer  Index) const

◆ XUnite() [1/2]

void Intrv_Intervals::XUnite ( const Intrv_Interval Tool)

◆ XUnite() [2/2]

void Intrv_Intervals::XUnite ( const Intrv_Intervals Tool)

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