OCC.Intrv module

class OCC.Intrv.Handle_Intrv_SequenceNodeOfSequenceOfInterval(*args)

Bases: OCC.TCollection.Handle_TCollection_SeqNode

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class OCC.Intrv.Intrv_Interval(*args)

Bases: object

Bounds()
Parameters:
  • Start (float &) –
  • TolStart (Standard_ShortReal &) –
  • End (float &) –
  • TolEnd (Standard_ShortReal &) –
Return type:

None

CutAtEnd()
  • <—–**+** Old one +——> Tool for cutting <<< <<< <—–**+** result
Parameters:
  • End (float) –
  • TolEnd (Standard_ShortReal) –
Return type:

None

CutAtStart()
  • **+**———–> Old one <———-+ Tool for cutting >>> >>> **+**———–> result
Parameters:
  • Start (float) –
  • TolStart (Standard_ShortReal) –
Return type:

None

End()
Return type:float
FuseAtEnd()
  • <———————**+** Old one <—————–+ New one to fuse >>> >>> <———————**+** result
Parameters:
  • End (float) –
  • TolEnd (Standard_ShortReal) –
Return type:

None

FuseAtStart()
  • **+**——————–> Old one **+**————————> New one to fuse <<< <<< **+**————————> result
Parameters:
  • Start (float) –
  • TolStart (Standard_ShortReal) –
Return type:

None

IsAfter()
  • True if me is After Other ———–** me *—————- Other
Parameters:Other (Intrv_Interval &) –
Return type:bool
IsBefore()
  • True if me is Before Other *—————- me ———–** Other
Parameters:Other (Intrv_Interval &) –
Return type:bool
IsEnclosing()
  • True if me is Enclosing Other *—————————-** me *—————— Other
Parameters:Other (Intrv_Interval &) –
Return type:bool
IsInside()
  • True if me is Inside Other ———–** me *————————– Other
Parameters:Other (Intrv_Interval &) –
Return type:bool
IsJustAfter()
  • True if me is just after Other **——-** me *———– Other
Parameters:Other (Intrv_Interval &) –
Return type:bool
IsJustBefore()
  • True if me is just before Other *——–** me *———– Other
Parameters:Other (Intrv_Interval &) –
Return type:bool
IsJustEnclosingAtEnd()
  • True if me is just Enclosing Other at End *—————————-** me *—————–** Other
Parameters:Other (Intrv_Interval &) –
Return type:bool
IsJustEnclosingAtStart()
  • True if me is just Enclosing Other at start *—————————** me *—————— Other
Parameters:Other (Intrv_Interval &) –
Return type:bool
IsJustOverlappingAtEnd()
  • True if me is just overlapping Other at end *———–* me *————————** Other
Parameters:Other (Intrv_Interval &) –
Return type:bool
IsJustOverlappingAtStart()
  • True if me is just overlapping Other at start *———–* me *———————— Other
Parameters:Other (Intrv_Interval &) –
Return type:bool
IsOverlappingAtEnd()
  • True if me is overlapping Other at end *———– me *—————* Other
Parameters:Other (Intrv_Interval &) –
Return type:bool
IsOverlappingAtStart()
  • True if me is overlapping Other at start *—————* me *———– Other
Parameters:Other (Intrv_Interval &) –
Return type:bool
IsProbablyEmpty()
  • True if myStart+myTolStart > myEnd-myTolEnd or if myEnd+myTolEnd > myStart-myTolStart
Return type:bool
IsSimilar()
  • True if me and Other have the same bounds —————-** me *—————– Other
Parameters:Other (Intrv_Interval &) –
Return type:bool
Position()
  • True if me is Before Other ———–** Other *—–* Before *————* JustBefore *—————–* OverlappingAtStart *————————–* JustEnclosingAtEnd *————————————-* Enclosing *—-* JustOverlappingAtStart *————-* Similar *————————* JustEnclosingAtStart *-* Inside *——* JustOverlappingAtEnd *—————–* OverlappingAtEnd *——–* JustAfter ** After
Parameters:Other (Intrv_Interval &) –
Return type:Intrv_Position
SetEnd()
Parameters:
  • End (float) –
  • TolEnd (Standard_ShortReal) –
Return type:

None

SetStart()
Parameters:
  • Start (float) –
  • TolStart (Standard_ShortReal) –
Return type:

None

Start()
Return type:float
TolEnd()
Return type:Standard_ShortReal
TolStart()
Return type:Standard_ShortReal
thisown

The membership flag

class OCC.Intrv.Intrv_Intervals(*args)

Bases: object

Intersect()
  • Intersects the intervals with the interval <Tool>.
Parameters:Tool (Intrv_Interval &) –
Return type:None
  • Intersects the intervals with the intervals in the sequence <Tool>.
Parameters:Tool (Intrv_Intervals &) –
Return type:None
NbIntervals()
Return type:int
Subtract()
Parameters:
  • Tool (Intrv_Intervals &) –
  • Tool
Return type:

None

Return type:

None

Unite()
Parameters:
  • Tool (Intrv_Intervals &) –
  • Tool
Return type:

None

Return type:

None

Value()
Parameters:Index (Standard_Integer) –
Return type:Intrv_Interval
XUnite()
Parameters:
  • Tool (Intrv_Intervals &) –
  • Tool
Return type:

None

Return type:

None

thisown

The membership flag

class OCC.Intrv.Intrv_SequenceNodeOfSequenceOfInterval(*args)

Bases: OCC.TCollection.TCollection_SeqNode

GetHandle()

Intrv_SequenceNodeOfSequenceOfInterval_GetHandle(Intrv_SequenceNodeOfSequenceOfInterval self) -> Handle_Intrv_SequenceNodeOfSequenceOfInterval

Value()
Return type:Intrv_Interval
thisown

The membership flag

class OCC.Intrv.Intrv_SequenceOfInterval

Bases: OCC.TCollection.TCollection_BaseSequence

Append()
Parameters:
  • T (Intrv_Interval &) –
  • S (Intrv_SequenceOfInterval &) –
Return type:

None

Return type:

None

Assign()
Parameters:Other (Intrv_SequenceOfInterval &) –
Return type:Intrv_SequenceOfInterval
ChangeValue()
Parameters:Index (Standard_Integer) –
Return type:Intrv_Interval
Clear()
Return type:None
First()
Return type:Intrv_Interval
InsertAfter()
Parameters:
  • Index (Standard_Integer) –
  • T (Intrv_Interval &) –
  • Index
  • S (Intrv_SequenceOfInterval &) –
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • Index (Standard_Integer) –
  • T (Intrv_Interval &) –
  • Index
  • S (Intrv_SequenceOfInterval &) –
Return type:

None

Return type:

None

Last()
Return type:Intrv_Interval
Prepend()
Parameters:
  • T (Intrv_Interval &) –
  • S (Intrv_SequenceOfInterval &) –
Return type:

None

Return type:

None

Remove()
Parameters:
  • Index (Standard_Integer) –
  • FromIndex (Standard_Integer) –
  • ToIndex (Standard_Integer) –
Return type:

None

Return type:

None

Set()
Parameters:Other (Intrv_SequenceOfInterval &) –
Return type:Intrv_SequenceOfInterval
SetValue()
Parameters:
  • Index (Standard_Integer) –
  • I (Intrv_Interval &) –
Return type:

None

Split()
Parameters:
  • Index (Standard_Integer) –
  • Sub (Intrv_SequenceOfInterval &) –
Return type:

None

Value()
Parameters:Index (Standard_Integer) –
Return type:Intrv_Interval
thisown

The membership flag

class OCC.Intrv.SwigPyIterator(*args, **kwargs)

Bases: object

advance()
copy()
decr()
distance()
equal()
incr()
next()
previous()
thisown

The membership flag

value()