OCC.Intrv module¶
-
class
Handle_Intrv_SequenceNodeOfSequenceOfInterval(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_SeqNode-
static
DownCast()¶
-
GetObject()¶
-
IsNull()¶
-
Nullify()¶
-
thisown¶ The membership flag
-
static
-
class
Intrv_Interval(*args)¶ Bases:
objectReturn type: Parameters: Return type: Return type: -
Bounds()¶ Parameters: - Start (float &) –
- TolStart (Standard_ShortReal &) –
- End (float &) –
- TolEnd (Standard_ShortReal &) –
Return type:
-
CutAtEnd()¶ - <—–**+** Old one +——> Tool for cutting <<< <<< <—–**+** result
Parameters: - End (float) –
- TolEnd (Standard_ShortReal) –
Return type:
-
CutAtStart()¶ - **+**———–> Old one <———-+ Tool for cutting >>> >>> **+**———–> result
Parameters: - Start (float) –
- TolStart (Standard_ShortReal) –
Return type:
-
FuseAtEnd()¶ - <———————**+** Old one <—————–+ New one to fuse >>> >>> <———————**+** result
Parameters: - End (float) –
- TolEnd (Standard_ShortReal) –
Return type:
-
FuseAtStart()¶ - **+**——————–> Old one **+**————————> New one to fuse <<< <<< **+**————————> result
Parameters: - Start (float) –
- TolStart (Standard_ShortReal) –
Return type:
-
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
-
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
-
Value()¶ Parameters: Index (int) – Return type: Intrv_Interval
-
thisown¶ The membership flag
-
class
Intrv_SequenceNodeOfSequenceOfInterval(*args)¶ Bases:
OCC.TCollection.TCollection_SeqNodeParameters: - I (Intrv_Interval &) –
- n (TCollection_SeqNodePtr &) –
- p (TCollection_SeqNodePtr &) –
Return type: -
GetHandle()¶
-
Value()¶ Return type: Intrv_Interval
-
thisown¶ The membership flag
-
class
Intrv_SequenceOfInterval(*args)¶ Bases:
OCC.TCollection.TCollection_BaseSequenceReturn type: None Parameters: Other (Intrv_SequenceOfInterval &) – Return type: None -
Append()¶ Parameters: - T (Intrv_Interval &) –
- S (Intrv_SequenceOfInterval &) –
Return type: Return type:
-
Assign()¶ Parameters: Other (Intrv_SequenceOfInterval &) – Return type: Intrv_SequenceOfInterval
-
ChangeValue()¶ Parameters: Index (int) – Return type: Intrv_Interval
-
First()¶ Return type: Intrv_Interval
-
InsertAfter()¶ Parameters: - Index (int) –
- T (Intrv_Interval &) –
- Index –
- S (Intrv_SequenceOfInterval &) –
Return type: Return type:
-
InsertBefore()¶ Parameters: - Index (int) –
- T (Intrv_Interval &) –
- Index –
- S (Intrv_SequenceOfInterval &) –
Return type: Return type:
-
Last()¶ Return type: Intrv_Interval
-
Prepend()¶ Parameters: - T (Intrv_Interval &) –
- S (Intrv_SequenceOfInterval &) –
Return type: Return type:
-
Remove()¶ Parameters: Return type: Return type:
-
Set()¶ Parameters: Other (Intrv_SequenceOfInterval &) – Return type: Intrv_SequenceOfInterval
-
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