# OCC.IntWalk module

class `IntWalk_PWalking`(*args)

  Bases: `object`

  - Constructor used to set the data to compute intersection lines between Caro1 and Caro2. Deflection is the maximum deflection admitted between two consecutive points on the resulting polyline. TolTangency is the tolerance to find a tangent point. Func is the criterion which has to be evaluated at each solution point (each point of the line). It is necessary to call the Perform method to compute the intersection lines. The line found starts at a point on or in 2 natural domains of surfaces. It can be closed in the standard case if it is open it stops and begins at the border of one of the domains. If an open line stops at the middle of a domain, one stops at the tangent point. Epsilon is SquareTolerance of points confusion.

  Parameters: | Caro1 (Handle_Adaptor3d_HSurface &) – Caro2 (Handle_Adaptor3d_HSurface &) – TolTangency (float) – Epsilon (float) – Deflection (float) – Increment (float) –
  Return type: | None

  - Returns the intersection line containing the exact point Poin. This line is a polygonal line. Deflection is the maximum deflection admitted between two consecutive points on the resulting polyline. TolTangency is the tolerance to find a tangent point. Func is the criterion which has to be evaluated at each solution point (each point of the line). The line found starts at a point on or in 2 natural domains of surfaces. It can be closed in the standard case if it is open it stops and begins at the border of one of the domains. If an open line stops at the middle of a domain, one stops at the tangent point. Epsilon is SquareTolerance of points confusion.

  Parameters: | Caro1 (Handle_Adaptor3d_HSurface &) – Caro2 (Handle_Adaptor3d_HSurface &) – TolTangency (float) – Epsilon (float) – Deflection (float) – Increment (float) – U1 (float) – V1 (float) – U2 (float) – V2 (float) –
  Return type: | None

  `AddAPoint`()

    Parameters: | line (Handle_IntSurf_LineOn2S &) – POn2S (IntSurf_PntOn2S &) –
    Return type: | None

  `IsClosed`()
    - Returns True if the line is closed. An exception is raised if IsDone returns False.

    Return type: | bool

  `IsDone`()
    - Returns true if the calculus was successful.

    Return type: | bool

  `Line`()

    Return type: | Handle_IntSurf_LineOn2S

  `NbPoints`()
    - Returns the number of points of the resulting polyline. An exception is raised if IsDone returns False.

    Return type: | int

  `Perform`()
    - calculate the line of intersection

    Parameters: | ParDep (TColStd_Array1OfReal &) –
    Return type: | None

    - calculate the line of intersection. The regulation of steps is done using min and max values on u and v. (if this data is not presented as in the previous method, the initial steps are calculated starting from min and max uv of faces).

    Parameters: | ParDep (TColStd_Array1OfReal &) – u1min (float) – v1min (float) – u2min (float) – v2min (float) – u1max (float) – v1max (float) – u2max (float) – v2max (float) –
    Return type: | None

  `PerformFirstPoint`()
    - calculate the first point of a line of intersection

    Parameters: | ParDep (TColStd_Array1OfReal &) – FirstPoint (IntSurf_PntOn2S &) –
    Return type: | bool

  `PutToBoundary`()

    Parameters: | theASurf1 (Handle_Adaptor3d_HSurface &) – theASurf2 (Handle_Adaptor3d_HSurface &) –
    Return type: | bool

  `RepartirOuDiviser`()

    Parameters: | DejaReparti (bool) – ChoixIso (IntImp_ConstIsoparametric &) – Arrive (bool) –
    Return type: | None

  `SeekAdditionalPoints`()

    Parameters: | theASurf1 (Handle_Adaptor3d_HSurface &) – theASurf2 (Handle_Adaptor3d_HSurface &) – theMinNbPoints (int) –
    Return type: | bool

  `TangentAtFirst`()
    - Returns True if the surface are tangent at the first point of the line. An exception is raised if IsDone returns False.

    Return type: | bool

  `TangentAtLast`()
    - Returns true if the surface are tangent at the last point of the line. An exception is raised if IsDone returns False.

    Return type: | bool

  `TangentAtLine`()

    Parameters: | Index (int &) –
    Return type: | gp_Dir

  `TestArret`()

    Parameters: | DejaReparti (bool) – Param (TColStd_Array1OfReal &) – ChoixIso (IntImp_ConstIsoparametric &) –
    Return type: | bool

  `TestDeflection`()

    Return type: | IntWalk_StatusDeflection

  `Value`()
    - Returns the point of range Index on the polyline. An exception is raised if IsDone returns False. An exception is raised if Index<=0 or Index>NbPoints.

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

  `thisown`

    The membership flag

class `IntWalk_TheFunctionOfTheInt2S`(*args)

  Bases: `OCC.math.math_FunctionSetWithDerivatives`

  Return type: | None
  Parameters: | S1 (Handle_Adaptor3d_HSurface &) – S2 (Handle_Adaptor3d_HSurface &) –
  Return type: | None

  `AuxillarSurface1`()

    Return type: | Handle_Adaptor3d_HSurface

  `AuxillarSurface2`()

    Return type: | Handle_Adaptor3d_HSurface

  `ComputeParameters`()

    Parameters: | ChoixIso (IntImp_ConstIsoparametric) – Param (TColStd_Array1OfReal &) – UVap (math_Vector &) – BornInf (math_Vector &) – BornSup (math_Vector &) – Tolerance (math_Vector &) –
    Return type: | None

  `Direction`()

    Return type: | gp_Dir

  `DirectionOnS1`()

    Return type: | gp_Dir2d

  `DirectionOnS2`()

    Return type: | gp_Dir2d

  `IsTangent`()

    Parameters: | UVap (math_Vector &) – Param (TColStd_Array1OfReal &) – BestChoix (IntImp_ConstIsoparametric &) –
    Return type: | bool

  `Point`()

    Return type: | gp_Pnt

  `Root`()

    Return type: | float

  `thisown`

    The membership flag

class `IntWalk_TheInt2S`(*args)

  Bases: `object`

  Return type: | None
  Parameters: | Param (TColStd_Array1OfReal &) – S1 (Handle_Adaptor3d_HSurface &) – S2 (Handle_Adaptor3d_HSurface &) – TolTangency (float) – S1 – S2 – TolTangency –
  Return type: | None
  Return type: | None

  `Direction`()

    Return type: | gp_Dir

  `DirectionOnS1`()

    Return type: | gp_Dir2d

  `DirectionOnS2`()

    Return type: | gp_Dir2d

  `Function`()

    Return type: | IntWalk_TheFunctionOfTheInt2S

  `IsDone`()

    Return type: | bool

  `IsEmpty`()

    Return type: | bool

  `IsTangent`()

    Return type: | bool

  `Perform`()

    Parameters: | Param (TColStd_Array1OfReal &) – Rsnld (math_FunctionSetRoot &) – Param – Rsnld – ChoixIso (IntImp_ConstIsoparametric) –
    Return type: | IntImp_ConstIsoparametric
    Return type: | IntImp_ConstIsoparametric

  `Point`()

    Return type: | IntSurf_PntOn2S

  `thisown`

    The membership flag

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

  Bases: `object`

  `etat`
  `thisown`

    The membership flag

  `ustart`
  `vstart`

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