# OCC.Hatch module

class `Handle_Hatch_SequenceNodeOfSequenceOfLine`(*args)

  Bases: `OCC.TCollection.Handle_TCollection_SeqNode`

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

    The membership flag

class `Handle_Hatch_SequenceNodeOfSequenceOfParameter`(*args)

  Bases: `OCC.TCollection.Handle_TCollection_SeqNode`

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

    The membership flag

class `Hatch_Hatcher`(*args)

  Bases: `object`

  - Returns a empty hatcher. <Tol> is the tolerance for intersections.

  Parameters: | Tol (float) – Oriented (bool) – default value is Standard_True
  Return type: | None

  `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: | None

    - 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: | D (gp_Dir2d) – Dist (float) –
    Return type: | None

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

  `EndIndex`()
    - Returns the last Index and Par2 of interval <J> on line <I>.

    Parameters: | I (int) – J (int) – Index (int &) – Par2 (float &) –
    Return type: | None

  `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

  `Line`()
    - Returns the line of index <I>.

    Parameters: | I (int) –
    Return type: | gp_Lin2d

  `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

  `NbLines`()
    - Returns the number of lines.

    Return type: | int

  `Start`()
    - Returns the first parameter of interval <J> on line <I>.

    Parameters: | I (int) – J (int) –
    Return type: | float

  `StartIndex`()
    - Returns the first Index and Par2 of interval <J> on line <I>.

    Parameters: | I (int) – J (int) – Index (int &) – Par2 (float &) –
    Return type: | None

  `Tolerance`()

    Parameters: | Tol (float) –
    Return type: | None
    Return type: | float

  `Trim`()
    - Trims the lines at intersections with <L>.

    Parameters: | L (gp_Lin2d) – Index (int) – default value is 0
    Return type: | None

    - Trims the lines at intersections with <L> in the parameter range <Start>, <End>

    Parameters: | L (gp_Lin2d) – Start (float) – End (float) – Index (int) – default value is 0
    Return type: | None

    - Trims the line at intersection with the oriented segment P1,P2.

    Parameters: | P1 (gp_Pnt2d) – P2 (gp_Pnt2d) – Index (int) – default value is 0
    Return type: | None

  `thisown`

    The membership flag

class `Hatch_Line`(*args)

  Bases: `object`

  Return type: | None
  Parameters: | L (gp_Lin2d) – T (Hatch_LineForm) –
  Return type: | None

  `AddIntersection`()
    - Insert a new intersection in the sorted list.

    Parameters: | Par1 (float) – Start (bool) – Index (int) – Par2 (float) – theToler (float) –
    Return type: | None

  `thisown`

    The membership flag

class `Hatch_Parameter`(*args)

  Bases: `object`

  Return type: | None
  Parameters: | Par1 (float) – Start (bool) – Index (int) – default value is 0 Par2 (float) – default value is 0
  Return type: | None

  `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: | None

  `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: | None

  `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: | None
    Return type: | None

  `Assign`()

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

  `ChangeValue`()

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

  `Clear`()

    Return type: | None

  `First`()

    Return type: | Hatch_Line

  `InsertAfter`()

    Parameters: | Index (int) – T (Hatch_Line &) – Index – S (Hatch_SequenceOfLine &) –
    Return type: | None
    Return type: | None

  `InsertBefore`()

    Parameters: | Index (int) – T (Hatch_Line &) – Index – S (Hatch_SequenceOfLine &) –
    Return type: | None
    Return type: | None

  `Last`()

    Return type: | Hatch_Line

  `Prepend`()

    Parameters: | T (Hatch_Line &) – S (Hatch_SequenceOfLine &) –
    Return type: | None
    Return type: | None

  `Remove`()

    Parameters: | Index (int) – FromIndex (int) – ToIndex (int) –
    Return type: | None
    Return type: | None

  `Set`()

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

  `SetValue`()

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

  `Split`()

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

  `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: | None
    Return type: | None

  `Assign`()

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

  `ChangeValue`()

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

  `Clear`()

    Return type: | None

  `First`()

    Return type: | Hatch_Parameter

  `InsertAfter`()

    Parameters: | Index (int) – T (Hatch_Parameter &) – Index – S (Hatch_SequenceOfParameter &) –
    Return type: | None
    Return type: | None

  `InsertBefore`()

    Parameters: | Index (int) – T (Hatch_Parameter &) – Index – S (Hatch_SequenceOfParameter &) –
    Return type: | None
    Return type: | None

  `Last`()

    Return type: | Hatch_Parameter

  `Prepend`()

    Parameters: | T (Hatch_Parameter &) – S (Hatch_SequenceOfParameter &) –
    Return type: | None
    Return type: | None

  `Remove`()

    Parameters: | Index (int) – FromIndex (int) – ToIndex (int) –
    Return type: | None
    Return type: | None

  `Set`()

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

  `SetValue`()

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

  `Split`()

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

  `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