OCC.Hatch module¶
- 
class Handle_Hatch_SequenceNodeOfSequenceOfLine(*args)¶
- Bases: - OCC.TCollection.Handle_TCollection_SeqNode- 
static DownCast()¶
 - 
GetObject()¶
 - 
IsNull()¶
 - 
Nullify()¶
 - 
thisown¶
- The membership flag 
 
- 
static 
- 
class Handle_Hatch_SequenceNodeOfSequenceOfParameter(*args)¶
- Bases: - OCC.TCollection.Handle_TCollection_SeqNode- 
static DownCast()¶
 - 
GetObject()¶
 - 
IsNull()¶
 - 
Nullify()¶
 - 
thisown¶
- The membership flag 
 
- 
static 
- 
class Hatch_Hatcher(*args)¶
- Bases: - object- Returns a empty hatcher. <Tol> is the tolerance for intersections.
 - Parameters: - Return type: - 
AddLine()¶
- Add a line <L> to be trimmed. <T> the type is only kept from information. It is not used in the computation.
 - Parameters: - L (gp_Lin2d) –
- T (Hatch_LineForm) – default value is Hatch_ANYLINE
 - Return type: - Add an infinite line on direction <D> at distance <Dist> from the origin to be trimmed. <Dist> may be negative. //! If O is the origin of the 2D plane, and V the vector perpendicular to D (in the direct direction). //! A point P is on the line if : OP dot V = Dist The parameter of P on the line is OP dot D
 - Parameters: - Return type: 
 - 
AddXLine()¶
- Add an infinite line parallel to the Y-axis at abciss <X>.
 - Parameters: - X (float) – - Return type: - None 
 - 
AddYLine()¶
- Add an infinite line parallel to the X-axis at ordinate <Y>.
 - Parameters: - Y (float) – - Return type: - None 
 - 
Coordinate()¶
- Returns the X or Y coordinate of the line of index <I> if it is a X or a Y line.
 - Parameters: - I (int) – - Return type: - float 
 - 
End()¶
- Returns the last parameter of interval <J> on line <I>.
 - Parameters: - Return type: 
 - 
EndIndex()¶
- Returns the last Index and Par2 of interval <J> on line <I>.
 - Parameters: - Return type: 
 - 
IsXLine()¶
- Returns True if the line of index <I> has a constant X value.
 - Parameters: - I (int) – - Return type: - bool 
 - 
IsYLine()¶
- Returns True if the line of index <I> has a constant Y value.
 - Parameters: - I (int) – - Return type: - bool 
 - 
LineForm()¶
- Returns the type of the line of index <I>.
 - Parameters: - I (int) – - Return type: - Hatch_LineForm 
 - 
NbIntervals()¶
- Returns the total number of intervals on all the lines.
 - Return type: - int - Returns the number of intervals on line of index <I>.
 - Parameters: - I (int) – - Return type: - int 
 - 
Start()¶
- Returns the first parameter of interval <J> on line <I>.
 - Parameters: - Return type: 
 - 
StartIndex()¶
- Returns the first Index and Par2 of interval <J> on line <I>.
 - Parameters: - Return type: 
 - 
Trim()¶
- Trims the lines at intersections with <L>.
 - Parameters: - Return type: - Trims the lines at intersections with <L> in the parameter range <Start>, <End>
 - Parameters: - Return type: - Trims the line at intersection with the oriented segment P1,P2.
 - Parameters: - Return type: 
 - 
thisown¶
- The membership flag 
 
- 
class Hatch_Line(*args)¶
- Bases: - object- Return type: - Parameters: - L (gp_Lin2d) –
- T (Hatch_LineForm) –
 - Return type: - 
AddIntersection()¶
- Insert a new intersection in the sorted list.
 - Parameters: - Return type: 
 - 
thisown¶
- The membership flag 
 
- 
class Hatch_Parameter(*args)¶
- Bases: - object- Return type: - Parameters: - Return type: - 
thisown¶
- The membership flag 
 
- 
- 
class Hatch_SequenceNodeOfSequenceOfLine(*args)¶
- Bases: - OCC.TCollection.TCollection_SeqNode- Parameters: - I (Hatch_Line &) –
- n (TCollection_SeqNodePtr &) –
- p (TCollection_SeqNodePtr &) –
 - Return type: - 
GetHandle()¶
 - 
Value()¶
- Return type: - Hatch_Line 
 - 
thisown¶
- The membership flag 
 
- 
class Hatch_SequenceNodeOfSequenceOfParameter(*args)¶
- Bases: - OCC.TCollection.TCollection_SeqNode- Parameters: - I (Hatch_Parameter &) –
- n (TCollection_SeqNodePtr &) –
- p (TCollection_SeqNodePtr &) –
 - Return type: - 
GetHandle()¶
 - 
Value()¶
- Return type: - Hatch_Parameter 
 - 
thisown¶
- The membership flag 
 
- 
class Hatch_SequenceOfLine(*args)¶
- Bases: - OCC.TCollection.TCollection_BaseSequence- Return type: - None - Parameters: - Other (Hatch_SequenceOfLine &) – - Return type: - None - 
Append()¶
- Parameters: - T (Hatch_Line &) –
- S (Hatch_SequenceOfLine &) –
 - Return type: - Return type: 
 - 
Assign()¶
- Parameters: - Other (Hatch_SequenceOfLine &) – - Return type: - Hatch_SequenceOfLine 
 - 
ChangeValue()¶
- Parameters: - Index (int) – - Return type: - Hatch_Line 
 - 
First()¶
- Return type: - Hatch_Line 
 - 
InsertAfter()¶
- Parameters: - Index (int) –
- T (Hatch_Line &) –
- Index –
- S (Hatch_SequenceOfLine &) –
 - Return type: - Return type: 
 - 
InsertBefore()¶
- Parameters: - Index (int) –
- T (Hatch_Line &) –
- Index –
- S (Hatch_SequenceOfLine &) –
 - Return type: - Return type: 
 - 
Last()¶
- Return type: - Hatch_Line 
 - 
Prepend()¶
- Parameters: - T (Hatch_Line &) –
- S (Hatch_SequenceOfLine &) –
 - Return type: - Return type: 
 - 
Remove()¶
- Parameters: - Return type: - Return type: 
 - 
Set()¶
- Parameters: - Other (Hatch_SequenceOfLine &) – - Return type: - Hatch_SequenceOfLine 
 - 
Value()¶
- Parameters: - Index (int) – - Return type: - Hatch_Line 
 - 
thisown¶
- The membership flag 
 
- 
- 
class Hatch_SequenceOfParameter(*args)¶
- Bases: - OCC.TCollection.TCollection_BaseSequence- Return type: - None - Parameters: - Other (Hatch_SequenceOfParameter &) – - Return type: - None - 
Append()¶
- Parameters: - T (Hatch_Parameter &) –
- S (Hatch_SequenceOfParameter &) –
 - Return type: - Return type: 
 - 
Assign()¶
- Parameters: - Other (Hatch_SequenceOfParameter &) – - Return type: - Hatch_SequenceOfParameter 
 - 
ChangeValue()¶
- Parameters: - Index (int) – - Return type: - Hatch_Parameter 
 - 
First()¶
- Return type: - Hatch_Parameter 
 - 
InsertAfter()¶
- Parameters: - Index (int) –
- T (Hatch_Parameter &) –
- Index –
- S (Hatch_SequenceOfParameter &) –
 - Return type: - Return type: 
 - 
InsertBefore()¶
- Parameters: - Index (int) –
- T (Hatch_Parameter &) –
- Index –
- S (Hatch_SequenceOfParameter &) –
 - Return type: - Return type: 
 - 
Last()¶
- Return type: - Hatch_Parameter 
 - 
Prepend()¶
- Parameters: - T (Hatch_Parameter &) –
- S (Hatch_SequenceOfParameter &) –
 - Return type: - Return type: 
 - 
Remove()¶
- Parameters: - Return type: - Return type: 
 - 
Set()¶
- Parameters: - Other (Hatch_SequenceOfParameter &) – - Return type: - Hatch_SequenceOfParameter 
 - 
Value()¶
- Parameters: - Index (int) – - Return type: - Hatch_Parameter 
 - 
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