OCC.Core.Intrv module

Intrv module, see official documentation at https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_intrv.html

class Intrv_Interval(*args)

Bases: object

Return type

None:param Start: :type Start: float :param End: :type End: float :rtype: None:param Start: :type Start: float :param TolStart: :type TolStart: Standard_ShortReal :param End: :type End: float :param TolEnd: :type TolEnd: Standard_ShortReal :rtype: None

Bounds()
Parameters

Start

type Start

float

param TolStart

type TolStart

Standard_ShortReal

param End

type End

float

param TolEnd

type TolEnd

Standard_ShortReal

rtype

None

CutAtEnd()
  • <—–**+** Old one +——> Tool for cutting <<< <<< <—–**+** result
    param End

    type End

    float

    param TolEnd

    type TolEnd

    Standard_ShortReal

    rtype

    None

CutAtStart()
  • **+**———–> Old one <———-+ Tool for cutting >>> >>> **+**———–> result
    param Start

    type Start

    float

    param TolStart

    type TolStart

    Standard_ShortReal

    rtype

    None

End()
Return type

float

FuseAtEnd()
  • <———————**+** Old one <—————–+ New one to fuse >>> >>> <———————**+** result
    param End

    type End

    float

    param TolEnd

    type TolEnd

    Standard_ShortReal

    rtype

    None

FuseAtStart()
  • **+**——————–> Old one **+**————————> New one to fuse <<< <<< **+**————————> result
    param Start

    type Start

    float

    param TolStart

    type TolStart

    Standard_ShortReal

    rtype

    None

IsAfter()
  • True if me is After Other ———–** me *—————- Other
    param Other

    type Other

    Intrv_Interval

    rtype

    bool

IsBefore()
  • True if me is Before Other *—————- me ———–** Other
    param Other

    type Other

    Intrv_Interval

    rtype

    bool

IsEnclosing()
  • True if me is Enclosing Other *—————————-** me *—————— Other
    param Other

    type Other

    Intrv_Interval

    rtype

    bool

IsInside()
  • True if me is Inside Other ———–** me *————————– Other
    param Other

    type Other

    Intrv_Interval

    rtype

    bool

IsJustAfter()
  • True if me is just after Other **——-** me *———– Other
    param Other

    type Other

    Intrv_Interval

    rtype

    bool

IsJustBefore()
  • True if me is just before Other *——–** me *———– Other
    param Other

    type Other

    Intrv_Interval

    rtype

    bool

IsJustEnclosingAtEnd()
  • True if me is just Enclosing Other at End *—————————-** me *—————–** Other
    param Other

    type Other

    Intrv_Interval

    rtype

    bool

IsJustEnclosingAtStart()
  • True if me is just Enclosing Other at start *—————————** me *—————— Other
    param Other

    type Other

    Intrv_Interval

    rtype

    bool

IsJustOverlappingAtEnd()
  • True if me is just overlapping Other at end *———–* me *————————** Other
    param Other

    type Other

    Intrv_Interval

    rtype

    bool

IsJustOverlappingAtStart()
  • True if me is just overlapping Other at start *———–* me *———————— Other
    param Other

    type Other

    Intrv_Interval

    rtype

    bool

IsOverlappingAtEnd()
  • True if me is overlapping Other at end *———– me *—————* Other
    param Other

    type Other

    Intrv_Interval

    rtype

    bool

IsOverlappingAtStart()
  • True if me is overlapping Other at start *—————* me *———– Other
    param Other

    type Other

    Intrv_Interval

    rtype

    bool

IsProbablyEmpty()
  • True if myStart+myTolStart > myEnd-myTolEnd or if myEnd+myTolEnd > myStart-myTolStart
    rtype

    bool

IsSimilar()
  • True if me and Other have the same bounds —————-** me *—————– Other
    param Other

    type Other

    Intrv_Interval

    rtype

    bool

Position()
  • True if me is Before Other ———–** Other *—–* Before *————* JustBefore *—————–* OverlappingAtStart *————————–* JustEnclosingAtEnd *————————————-* Enclosing *—-* JustOverlappingAtStart *————-* Similar *————————* JustEnclosingAtStart *-* Inside *——* JustOverlappingAtEnd *—————–* OverlappingAtEnd *——–* JustAfter ** After
    param Other

    type Other

    Intrv_Interval

    rtype

    Intrv_Position

SetEnd()
Parameters

End

type End

float

param TolEnd

type TolEnd

Standard_ShortReal

rtype

None

SetStart()
Parameters

Start

type Start

float

param TolStart

type TolStart

Standard_ShortReal

rtype

None

Start()
Return type

float

TolEnd()
Return type

Standard_ShortReal

TolStart()
Return type

Standard_ShortReal

property thisown

The membership flag

class Intrv_Intervals(*args)

Bases: object

  • Creates a void sequence of intervals.
    rtype

    None* Creates a sequence of one interval.

    param Int

    type Int

    Intrv_Interval

    rtype

    None* Creates by copying an existing sequence of intervals.

    param Int

    type Int

    Intrv_Intervals

    rtype

    None

Intersect()
  • Intersects the intervals with the interval <Tool>.
    param Tool

    type Tool

    Intrv_Interval

    rtype

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

    param Tool

    type Tool

    Intrv_Intervals

    rtype

    None

NbIntervals()
Return type

int

Subtract()
Parameters

Tool

type Tool

Intrv_Interval

rtype

None:param Tool:

type Tool

Intrv_Intervals

rtype

None

Unite()
Parameters

Tool

type Tool

Intrv_Interval

rtype

None:param Tool:

type Tool

Intrv_Intervals

rtype

None

Value()
Parameters

Index

type Index

int

rtype

Intrv_Interval

XUnite()
Parameters

Tool

type Tool

Intrv_Interval

rtype

None:param Tool:

type Tool

Intrv_Intervals

rtype

None

property thisown

The membership flag

class Intrv_SequenceOfInterval(*args)

Bases: object

Append()
Assign()
ChangeFirst()
ChangeLast()
ChangeValue()
Clear()
Exchange()
First()
InsertAfter()
InsertBefore()
IsEmpty()
Last()
Length()
Lower()
Prepend()
Remove()
Reverse()
Set()
SetValue()
Size()
Split()
Upper()
Value()
begin()
cbegin()
cend()
static delNode()
end()
property thisown

The membership flag

class SwigPyIterator(*args, **kwargs)

Bases: object

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

The membership flag

value()