# OCC.Intrv module

class `Handle_Intrv_SequenceNodeOfSequenceOfInterval`(*args)

  Bases: `OCC.TCollection.Handle_TCollection_SeqNode`

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

    The membership flag

class `Intrv_Interval`(*args)

  Bases: `object`

  Return type: | None
  Parameters: | Start (float) – End (float) – Start – TolStart (Standard_ShortReal) – End – TolEnd (Standard_ShortReal) –
  Return type: | None
  Return type: | None

  `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 `Intrv_Intervals`(*args)

  Bases: `object`

  - Creates a void sequence of intervals.

  Return type: | None

  - Creates a sequence of one interval.

  Parameters: | Int (Intrv_Interval &) –
  Return type: | None

  - Creates by copying an existing sequence of intervals.

  Parameters: | Int (Intrv_Intervals &) –
  Return type: | None

  `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 (int) –
    Return type: | Intrv_Interval

  `XUnite`()

    Parameters: | Tool (Intrv_Intervals &) – Tool –
    Return type: | None
    Return type: | None

  `thisown`

    The membership flag

class `Intrv_SequenceNodeOfSequenceOfInterval`(*args)

  Bases: `OCC.TCollection.TCollection_SeqNode`

  Parameters: | I (Intrv_Interval &) – n (TCollection_SeqNodePtr &) – p (TCollection_SeqNodePtr &) –
  Return type: | None

  `GetHandle`()
  `Value`()

    Return type: | Intrv_Interval

  `thisown`

    The membership flag

class `Intrv_SequenceOfInterval`(*args)

  Bases: `OCC.TCollection.TCollection_BaseSequence`

  Return type: | None
  Parameters: | Other (Intrv_SequenceOfInterval &) –
  Return type: | None

  `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 (int) –
    Return type: | Intrv_Interval

  `Clear`()

    Return type: | None

  `First`()

    Return type: | Intrv_Interval

  `InsertAfter`()

    Parameters: | Index (int) – T (Intrv_Interval &) – Index – S (Intrv_SequenceOfInterval &) –
    Return type: | None
    Return type: | None

  `InsertBefore`()

    Parameters: | Index (int) – 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 (int) – FromIndex (int) – ToIndex (int) –
    Return type: | None
    Return type: | None

  `Set`()

    Parameters: | Other (Intrv_SequenceOfInterval &) –
    Return type: | Intrv_SequenceOfInterval

  `SetValue`()

    Parameters: | Index (int) – I (Intrv_Interval &) –
    Return type: | None

  `Split`()

    Parameters: | Index (int) – Sub (Intrv_SequenceOfInterval &) –
    Return type: | None

  `Value`()

    Parameters: | Index (int) –
    Return type: | Intrv_Interval

  `thisown`

    The membership flag

class `SwigPyIterator`(*args, **kwargs)

  Bases: `object`

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

    The membership flag

  `value`()

`register_handle`(handle, base_object)

  Inserts the handle into the base object to prevent memory corruption in certain cases