OCC.IntPatch module

Intersection between two patches.The class PatchIntersection implements the algorithmesof intersection.The classes IntPoint, PointOnDomain, Line, ILin, a.s.o…describe the results of the algorithmes.-Level: InternalAll the methods of the classes of this package are Internal.

class Handle_IntPatch_ALine(*args)

Bases: OCC.IntPatch.Handle_IntPatch_Line

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

The membership flag

class Handle_IntPatch_GLine(*args)

Bases: OCC.IntPatch.Handle_IntPatch_Line

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

The membership flag

class Handle_IntPatch_Line(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class Handle_IntPatch_PointLine(*args)

Bases: OCC.IntPatch.Handle_IntPatch_Line

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

The membership flag

class Handle_IntPatch_RLine(*args)

Bases: OCC.IntPatch.Handle_IntPatch_PointLine

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

The membership flag

class Handle_IntPatch_SequenceNodeOfSequenceOfIWLineOfTheIWalking(*args)

Bases: OCC.TCollection.Handle_TCollection_SeqNode

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

The membership flag

class Handle_IntPatch_SequenceNodeOfSequenceOfLine(*args)

Bases: OCC.TCollection.Handle_TCollection_SeqNode

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

The membership flag

class Handle_IntPatch_SequenceNodeOfSequenceOfPathPointOfTheSOnBounds(*args)

Bases: OCC.TCollection.Handle_TCollection_SeqNode

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

The membership flag

class Handle_IntPatch_SequenceNodeOfSequenceOfPoint(*args)

Bases: OCC.TCollection.Handle_TCollection_SeqNode

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

The membership flag

class Handle_IntPatch_SequenceNodeOfSequenceOfSegmentOfTheSOnBounds(*args)

Bases: OCC.TCollection.Handle_TCollection_SeqNode

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

The membership flag

class Handle_IntPatch_TheIWLineOfTheIWalking(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class Handle_IntPatch_WLine(*args)

Bases: OCC.IntPatch.Handle_IntPatch_PointLine

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

The membership flag

class IntPatch_ALine(*args)

Bases: OCC.IntPatch.IntPatch_Line

  • Creates an analytic intersection line when the transitions are In or Out.
Parameters:
  • C (IntAna_Curve &) –
  • Tang (bool) –
  • Trans1 (IntSurf_TypeTrans) –
  • Trans2 (IntSurf_TypeTrans) –
Return type:

None

  • Creates an analytic intersection line when the transitions are Touch.
Parameters:
  • C (IntAna_Curve &) –
  • Tang (bool) –
  • Situ1 (IntSurf_Situation) –
  • Situ2 (IntSurf_Situation) –
Return type:

None

  • Creates an analytic intersection line when the transitions are Undecided.
Parameters:
  • C (IntAna_Curve &) –
  • Tang (bool) –
Return type:

None

AddVertex()
  • To add a vertex in the list.
Parameters:Pnt (IntPatch_Point &) –
Return type:None
ComputeVertexParameters()
  • Set the parameters of all the vertex on the line. if a vertex is already in the line, its parameter is modified else a new point in the line is inserted.
Parameters:Tol (float) –
Return type:None
Curve()
Return type:IntAna_Curve
D1()
  • Returns Standard_True when the derivative at parameter U is defined on the analytic intersection line. In that case, Du is the derivative. Returns Standard_False when it is not possible to evaluate the derivative. In both cases, P is the point at parameter U on the intersection.
Parameters:
Return type:

bool

FindParameter()
  • Tries to find the parameter of the point P on the curve. If the method returns False, the ‘projection’ is impossible, and the value of Para is not significant. If the method returns True, Para is the parameter of the nearest intersection between the curve and the iso-theta containing P.
Parameters:
  • P (gp_Pnt) –
  • Para (float &) –
Return type:

bool

FirstParameter()
  • Returns the first parameter on the intersection line. If IsIncluded returns True, Value and D1 methods can be call with a parameter equal to FirstParamater. Otherwise, the parameter must be greater than FirstParameter.
Parameters:IsIncluded (bool) –
Return type:float
FirstPoint()
  • Returns the IntPoint corresponding to the FirstPoint. An exception is raised when HasFirstPoint returns False.
Return type:IntPatch_Point
GetHandle()
HasFirstPoint()
  • Returns True if the line has a known First point. This point is given by the method FirstPoint().
Return type:bool
HasLastPoint()
  • Returns True if the line has a known Last point. This point is given by the method LastPoint().
Return type:bool
LastParameter()
  • Returns the last parameter on the intersection line. If IsIncluded returns True, Value and D1 methods can be call with a parameter equal to LastParamater. Otherwise, the parameter must be less than LastParameter.
Parameters:IsIncluded (bool) –
Return type:float
LastPoint()
  • Returns the IntPoint corresponding to the LastPoint. An exception is raised when HasLastPoint returns False.
Return type:IntPatch_Point
NbVertex()
Return type:int
Replace()
  • Replaces the element of range Index in the list of points.
Parameters:
  • Index (int) –
  • Pnt (IntPatch_Point &) –
Return type:

None

SetFirstPoint()
Parameters:IndFirst (int) –
Return type:None
SetLastPoint()
Parameters:IndLast (int) –
Return type:None
Value()
  • Returns the point of parameter U on the analytic intersection line.
Parameters:U (float) –
Return type:gp_Pnt
Vertex()
  • Returns the vertex of range Index on the line.
Parameters:Index (int) –
Return type:IntPatch_Point
thisown

The membership flag

class IntPatch_ALineToWLine(*args)

Bases: object

Parameters:
  • Quad1 (IntSurf_Quadric &) –
  • Quad2 (IntSurf_Quadric &) –
  • Quad1
  • Quad2
  • Deflection (float) –
  • PasMaxUV (float) –
  • NbMaxPoints (int) –
Return type:

None

Return type:

None

MakeWLine()
Parameters:
  • aline (Handle_IntPatch_ALine &) –
  • aline
  • paraminf (float) –
  • paramsup (float) –
Return type:

Handle_IntPatch_WLine

Return type:

Handle_IntPatch_WLine

SetConstantParameter()
Return type:None
SetTol3D()
Parameters:aT (float) –
Return type:None
SetTolOpenDomain()
Parameters:aT (float) –
Return type:None
SetTolParam()
Parameters:aT (float) –
Return type:None
SetTolTransition()
Parameters:aT (float) –
Return type:None
SetUniformAbscissa()
Return type:None
SetUniformDeflection()
Return type:None
Tol3D()
Return type:float
TolOpenDomain()
Return type:float
TolParam()
Return type:float
TolTransition()
Return type:float
thisown

The membership flag

class IntPatch_ArcFunction(*args)

Bases: OCC.math.math_FunctionWithDerivative

Return type:None
Arc()
Return type:Handle_Adaptor2d_HCurve2d
NbSamples()
Return type:int
Quadric()
Return type:IntSurf_Quadric
Set()
Parameters:
  • A (Handle_Adaptor2d_HCurve2d &) –
  • S (Handle_Adaptor3d_HSurface &) –
Return type:

None

Return type:

None

SetQuadric()
Parameters:Q (IntSurf_Quadric &) –
Return type:None
Surface()
Return type:Handle_Adaptor3d_HSurface
Valpoint()
Parameters:Index (int) –
Return type:gp_Pnt
thisown

The membership flag

class IntPatch_CSFunction(*args)

Bases: OCC.math.math_FunctionSetWithDerivatives

  • S1 is the surface on which the intersection is searched. C is a curve on the surface S2.
Parameters:
  • S1 (Handle_Adaptor3d_HSurface &) –
  • C (Handle_Adaptor2d_HCurve2d &) –
  • S2 (Handle_Adaptor3d_HSurface &) –
Return type:

None

AuxillarCurve()
Return type:Handle_Adaptor2d_HCurve2d
AuxillarSurface()
Return type:Handle_Adaptor3d_HSurface
Point()
Return type:gp_Pnt
Root()
Return type:float
thisown

The membership flag

class IntPatch_CurvIntSurf(*args)

Bases: object

Parameters:
  • U (float) –
  • V (float) –
  • W (float) –
  • F (IntPatch_CSFunction &) –
  • TolTangency (float) –
  • MarginCoef (float) – default value is 0.0
  • F
  • TolTangency
Return type:

None

Return type:

None

Function()
Return type:IntPatch_CSFunction
IsDone()
Return type:bool
IsEmpty()
Return type:bool
ParameterOnCurve()
Return type:float
ParameterOnSurface()
Parameters:
  • U (float &) –
  • V (float &) –
Return type:

None

Perform()
Parameters:
Return type:

None

Point()
Return type:gp_Pnt
thisown

The membership flag

class IntPatch_GLine(*args)

Bases: OCC.IntPatch.IntPatch_Line

  • Creates a Line as intersection line when the transitions are In or Out.
Parameters:
  • L (gp_Lin) –
  • Tang (bool) –
  • Trans1 (IntSurf_TypeTrans) –
  • Trans2 (IntSurf_TypeTrans) –
Return type:

None

  • Creates a Line as intersection line when the transitions are Touch.
Parameters:
  • L (gp_Lin) –
  • Tang (bool) –
  • Situ1 (IntSurf_Situation) –
  • Situ2 (IntSurf_Situation) –
Return type:

None

  • Creates a Line as intersection line when the transitions are Undecided.
Parameters:
Return type:

None

  • Creates a circle as intersection line when the transitions are In or Out.
Parameters:
  • C (gp_Circ) –
  • Tang (bool) –
  • Trans1 (IntSurf_TypeTrans) –
  • Trans2 (IntSurf_TypeTrans) –
Return type:

None

  • Creates a circle as intersection line when the transitions are Touch.
Parameters:
  • C (gp_Circ) –
  • Tang (bool) –
  • Situ1 (IntSurf_Situation) –
  • Situ2 (IntSurf_Situation) –
Return type:

None

  • Creates a circle as intersection line when the transitions are Undecided.
Parameters:
Return type:

None

  • Creates an ellipse as intersection line when the transitions are In or Out.
Parameters:
  • E (gp_Elips) –
  • Tang (bool) –
  • Trans1 (IntSurf_TypeTrans) –
  • Trans2 (IntSurf_TypeTrans) –
Return type:

None

  • Creates an ellispe as intersection line when the transitions are Touch.
Parameters:
  • E (gp_Elips) –
  • Tang (bool) –
  • Situ1 (IntSurf_Situation) –
  • Situ2 (IntSurf_Situation) –
Return type:

None

  • Creates an ellipse as intersection line when the transitions are Undecided.
Parameters:
Return type:

None

  • Creates a parabola as intersection line when the transitions are In or Out.
Parameters:
  • P (gp_Parab) –
  • Tang (bool) –
  • Trans1 (IntSurf_TypeTrans) –
  • Trans2 (IntSurf_TypeTrans) –
Return type:

None

  • Creates a parabola as intersection line when the transitions are Touch.
Parameters:
  • P (gp_Parab) –
  • Tang (bool) –
  • Situ1 (IntSurf_Situation) –
  • Situ2 (IntSurf_Situation) –
Return type:

None

  • Creates a parabola as intersection line when the transitions are Undecided.
Parameters:
Return type:

None

  • Creates an hyperbola as intersection line when the transitions are In or Out.
Parameters:
  • H (gp_Hypr) –
  • Tang (bool) –
  • Trans1 (IntSurf_TypeTrans) –
  • Trans2 (IntSurf_TypeTrans) –
Return type:

None

  • Creates an hyperbola as intersection line when the transitions are Touch.
Parameters:
  • H (gp_Hypr) –
  • Tang (bool) –
  • Situ1 (IntSurf_Situation) –
  • Situ2 (IntSurf_Situation) –
Return type:

None

  • Creates an hyperbola as intersection line when the transitions are Undecided.
Parameters:
Return type:

None

AddVertex()
  • To add a vertex in the list.
Parameters:Pnt (IntPatch_Point &) –
Return type:None
Circle()
  • Returns the Circ from gp corrsponding to the intersection when ArcType returns IntPatch_Circle.
Return type:gp_Circ
ComputeVertexParameters()
  • Set the parameters of all the vertex on the line. if a vertex is already in the line, its parameter is modified else a new point in the line is inserted.
Parameters:Tol (float) –
Return type:None
Ellipse()
  • Returns the Elips from gp corrsponding to the intersection when ArcType returns IntPatch_Ellipse.
Return type:gp_Elips
FirstPoint()
  • Returns the IntPoint corresponding to the FirstPoint. An exception is raised when HasFirstPoint returns False.
Return type:IntPatch_Point
GetHandle()
HasFirstPoint()
  • Returns True if the line has a known First point. This point is given by the method FirstPoint().
Return type:bool
HasLastPoint()
  • Returns True if the line has a known Last point. This point is given by the method LastPoint().
Return type:bool
Hyperbola()
  • Returns the Hypr from gp corrsponding to the intersection when ArcType returns IntPatch_Hyperbola.
Return type:gp_Hypr
LastPoint()
  • Returns the IntPoint corresponding to the LastPoint. An exception is raised when HasLastPoint returns False.
Return type:IntPatch_Point
Line()
  • Returns the Lin from gp corresponding to the intersection when ArcType returns IntPatch_Line.
Return type:gp_Lin
NbVertex()
Return type:int
Parabola()
  • Returns the Parab from gp corrsponding to the intersection when ArcType returns IntPatch_Parabola.
Return type:gp_Parab
Replace()
  • To replace the element of range Index in the list of points.
Parameters:
  • Index (int) –
  • Pnt (IntPatch_Point &) –
Return type:

None

SetFirstPoint()
Parameters:IndFirst (int) –
Return type:None
SetLastPoint()
Parameters:IndLast (int) –
Return type:None
Vertex()
  • Returns the vertex of range Index on the line.
Parameters:Index (int) –
Return type:IntPatch_Point
thisown

The membership flag

class IntPatch_HCurve2dTool

Bases: object

static BSpline()
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:Handle_Geom2d_BSplineCurve
static Bezier()
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:Handle_Geom2d_BezierCurve
static Circle()
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:gp_Circ2d
static Continuity()
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:GeomAbs_Shape
static D0()
  • Computes the point of parameter U on the curve.
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • U (float) –
  • P (gp_Pnt2d) –
Return type:

void

static D1()
  • Computes the point of parameter U on the curve with its first derivative. Raised if the continuity of the current interval is not C1.
Parameters:
Return type:

void

static D2()
  • Returns the point P of parameter U, the first and second derivatives V1 and V2. Raised if the continuity of the current interval is not C2.
Parameters:
Return type:

void

static D3()
  • Returns the point P of parameter U, the first, the second and the third derivative. Raised if the continuity of the current interval is not C3.
Parameters:
Return type:

void

static DN()
  • The returned vector gives the value of the derivative for the order of derivation N. Raised if the continuity of the current interval is not CN. Raised if N < 1.
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • U (float) –
  • N (int) –
Return type:

gp_Vec2d

static Ellipse()
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:gp_Elips2d
static FirstParameter()
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:float
static GetType()
  • Returns the type of the curve in the current interval : Line, Circle, Ellipse, Hyperbola, Parabola, BezierCurve, BSplineCurve, OtherCurve.
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:GeomAbs_CurveType
static Hyperbola()
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:gp_Hypr2d
static Intervals()
  • Stores in <T> the parameters bounding the intervals of continuity <S>. //! The array must provide enough room to accomodate for the parameters. i.e. T.Length() > NbIntervals()
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • T (TColStd_Array1OfReal &) –
  • S (GeomAbs_Shape) –
Return type:

void

static IsClosed()
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:bool
static IsPeriodic()
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:bool
static LastParameter()
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:float
static Line()
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:gp_Lin2d
static NbIntervals()
  • Returns the number of intervals for continuity <S>. May be one if Continuity(myclass) >= <S>
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • S (GeomAbs_Shape) –
Return type:

int

static NbSamples()
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • U0 (float) –
  • U1 (float) –
Return type:

int

static Parabola()
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:gp_Parab2d
static Period()
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:float
static Resolution()
  • Returns the parametric resolution corresponding to the real space resolution <R3d>.
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • R3d (float) –
Return type:

float

static Value()
  • Computes the point of parameter U on the curve.
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • U (float) –
Return type:

gp_Pnt2d

thisown

The membership flag

IntPatch_HCurve2dTool_BSpline()
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:Handle_Geom2d_BSplineCurve
IntPatch_HCurve2dTool_Bezier()
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:Handle_Geom2d_BezierCurve
IntPatch_HCurve2dTool_Circle()
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:gp_Circ2d
IntPatch_HCurve2dTool_Continuity()
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:GeomAbs_Shape
IntPatch_HCurve2dTool_D0()
  • Computes the point of parameter U on the curve.
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • U (float) –
  • P (gp_Pnt2d) –
Return type:

void

IntPatch_HCurve2dTool_D1()
  • Computes the point of parameter U on the curve with its first derivative. Raised if the continuity of the current interval is not C1.
Parameters:
Return type:

void

IntPatch_HCurve2dTool_D2()
  • Returns the point P of parameter U, the first and second derivatives V1 and V2. Raised if the continuity of the current interval is not C2.
Parameters:
Return type:

void

IntPatch_HCurve2dTool_D3()
  • Returns the point P of parameter U, the first, the second and the third derivative. Raised if the continuity of the current interval is not C3.
Parameters:
Return type:

void

IntPatch_HCurve2dTool_DN()
  • The returned vector gives the value of the derivative for the order of derivation N. Raised if the continuity of the current interval is not CN. Raised if N < 1.
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • U (float) –
  • N (int) –
Return type:

gp_Vec2d

IntPatch_HCurve2dTool_Ellipse()
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:gp_Elips2d
IntPatch_HCurve2dTool_FirstParameter()
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:float
IntPatch_HCurve2dTool_GetType()
  • Returns the type of the curve in the current interval : Line, Circle, Ellipse, Hyperbola, Parabola, BezierCurve, BSplineCurve, OtherCurve.
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:GeomAbs_CurveType
IntPatch_HCurve2dTool_Hyperbola()
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:gp_Hypr2d
IntPatch_HCurve2dTool_Intervals()
  • Stores in <T> the parameters bounding the intervals of continuity <S>. //! The array must provide enough room to accomodate for the parameters. i.e. T.Length() > NbIntervals()
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • T (TColStd_Array1OfReal &) –
  • S (GeomAbs_Shape) –
Return type:

void

IntPatch_HCurve2dTool_IsClosed()
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:bool
IntPatch_HCurve2dTool_IsPeriodic()
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:bool
IntPatch_HCurve2dTool_LastParameter()
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:float
IntPatch_HCurve2dTool_Line()
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:gp_Lin2d
IntPatch_HCurve2dTool_NbIntervals()
  • Returns the number of intervals for continuity <S>. May be one if Continuity(myclass) >= <S>
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • S (GeomAbs_Shape) –
Return type:

int

IntPatch_HCurve2dTool_NbSamples()
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • U0 (float) –
  • U1 (float) –
Return type:

int

IntPatch_HCurve2dTool_Parabola()
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:gp_Parab2d
IntPatch_HCurve2dTool_Period()
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:float
IntPatch_HCurve2dTool_Resolution()
  • Returns the parametric resolution corresponding to the real space resolution <R3d>.
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • R3d (float) –
Return type:

float

IntPatch_HCurve2dTool_Value()
  • Computes the point of parameter U on the curve.
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • U (float) –
Return type:

gp_Pnt2d

class IntPatch_HInterTool(*args)

Bases: object

Return type:None
static Bounds()
  • Returns the parametric limits on the arc C. These limits must be finite : they are either the real limits of the arc, for a finite arc, or a bounding box for an infinite arc.
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • Ufirst (float &) –
  • Ulast (float &) –
Return type:

void

static HasBeenSeen()
  • Returns True if all the intersection point and edges are known on the Arc. The intersection point are given as vertices. The intersection edges are given as intervals between two vertices.
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:bool
static HasFirstPoint()
  • Returns True when the segment of range Index is not open at the left side. In that case, IndFirst is the range in the list intersection points (see NbPoints) of the one which defines the left bound of the segment. Otherwise, the method has to return False, and IndFirst has no meaning.
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • Index (int) –
  • IndFirst (int &) –
Return type:

bool

static HasLastPoint()
  • Returns True when the segment of range Index is not open at the right side. In that case, IndLast is the range in the list intersection points (see NbPoints) of the one which defines the right bound of the segment. Otherwise, the method has to return False, and IndLast has no meaning.
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • Index (int) –
  • IndLast (int &) –
Return type:

bool

static IsAllSolution()
  • Returns True when the whole restriction is solution of the intersection problem.
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:bool
static IsVertex()
  • Returns True if the intersection point of range Index corresponds with a vertex on the arc A.
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • Index (int) –
Return type:

bool

static NbPoints()
  • Returns the number of intersection points on the arc A.
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:int
NbSamplePoints()
Parameters:S (Handle_Adaptor3d_HSurface &) –
Return type:int
static NbSamplesOnArc()
  • returns the number of points which is used to make a sample on the arc. this number is a function of the Surface and the CurveOnSurface complexity.
Parameters:A (Handle_Adaptor2d_HCurve2d &) –
Return type:int
static NbSamplesU()
Parameters:
  • S (Handle_Adaptor3d_HSurface &) –
  • u1 (float) –
  • u2 (float) –
Return type:

int

static NbSamplesV()
Parameters:
  • S (Handle_Adaptor3d_HSurface &) –
  • v1 (float) –
  • v2 (float) –
Return type:

int

static NbSegments()
  • returns the number of part of A solution of the of intersection problem.
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:int
static Parameter()
  • Returns the parameter of the vertex V on the arc A.
Parameters:
  • V (Handle_Adaptor3d_HVertex &) –
  • C (Handle_Adaptor2d_HCurve2d &) –
Return type:

float

static Project()
  • Projects the point P on the arc C. If the methods returns Standard_True, the projection is successful, and Paramproj is the parameter on the arc of the projected point, Ptproj is the projected Point. If the method returns Standard_False, Param proj and Ptproj are not significant.
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • P (gp_Pnt2d) –
  • Paramproj (float &) –
  • Ptproj (gp_Pnt2d) –
Return type:

bool

SamplePoint()
Parameters:
  • S (Handle_Adaptor3d_HSurface &) –
  • Index (int) –
  • U (float &) –
  • V (float &) –
Return type:

None

static SingularOnUMax()
Parameters:S (Handle_Adaptor3d_HSurface &) –
Return type:bool
static SingularOnUMin()
Parameters:S (Handle_Adaptor3d_HSurface &) –
Return type:bool
static SingularOnVMax()
Parameters:S (Handle_Adaptor3d_HSurface &) –
Return type:bool
static SingularOnVMin()
Parameters:S (Handle_Adaptor3d_HSurface &) –
Return type:bool
static Tolerance()
  • Returns the parametric tolerance used to consider that the vertex and another point meet, i-e if Abs(parameter(Vertex) - parameter(OtherPnt))<= Tolerance, the points are ‘merged’.
Parameters:
  • V (Handle_Adaptor3d_HVertex &) –
  • C (Handle_Adaptor2d_HCurve2d &) –
Return type:

float

static Value()
  • Returns the value (Pt), the tolerance (Tol), and the parameter (U) on the arc A , of the intersection point of range Index.
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • Index (int) –
  • Pt (gp_Pnt) –
  • Tol (float &) –
  • U (float &) –
Return type:

void

static Vertex()
  • When IsVertex returns True, this method returns the vertex on the arc A.
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • Index (int) –
  • V (Handle_Adaptor3d_HVertex &) –
Return type:

void

thisown

The membership flag

IntPatch_HInterTool_Bounds()
  • Returns the parametric limits on the arc C. These limits must be finite : they are either the real limits of the arc, for a finite arc, or a bounding box for an infinite arc.
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • Ufirst (float &) –
  • Ulast (float &) –
Return type:

void

IntPatch_HInterTool_HasBeenSeen()
  • Returns True if all the intersection point and edges are known on the Arc. The intersection point are given as vertices. The intersection edges are given as intervals between two vertices.
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:bool
IntPatch_HInterTool_HasFirstPoint()
  • Returns True when the segment of range Index is not open at the left side. In that case, IndFirst is the range in the list intersection points (see NbPoints) of the one which defines the left bound of the segment. Otherwise, the method has to return False, and IndFirst has no meaning.
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • Index (int) –
  • IndFirst (int &) –
Return type:

bool

IntPatch_HInterTool_HasLastPoint()
  • Returns True when the segment of range Index is not open at the right side. In that case, IndLast is the range in the list intersection points (see NbPoints) of the one which defines the right bound of the segment. Otherwise, the method has to return False, and IndLast has no meaning.
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • Index (int) –
  • IndLast (int &) –
Return type:

bool

IntPatch_HInterTool_IsAllSolution()
  • Returns True when the whole restriction is solution of the intersection problem.
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:bool
IntPatch_HInterTool_IsVertex()
  • Returns True if the intersection point of range Index corresponds with a vertex on the arc A.
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • Index (int) –
Return type:

bool

IntPatch_HInterTool_NbPoints()
  • Returns the number of intersection points on the arc A.
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:int
IntPatch_HInterTool_NbSamplesOnArc()
  • returns the number of points which is used to make a sample on the arc. this number is a function of the Surface and the CurveOnSurface complexity.
Parameters:A (Handle_Adaptor2d_HCurve2d &) –
Return type:int
IntPatch_HInterTool_NbSamplesU()
Parameters:
  • S (Handle_Adaptor3d_HSurface &) –
  • u1 (float) –
  • u2 (float) –
Return type:

int

IntPatch_HInterTool_NbSamplesV()
Parameters:
  • S (Handle_Adaptor3d_HSurface &) –
  • v1 (float) –
  • v2 (float) –
Return type:

int

IntPatch_HInterTool_NbSegments()
  • returns the number of part of A solution of the of intersection problem.
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:int
IntPatch_HInterTool_Parameter()
  • Returns the parameter of the vertex V on the arc A.
Parameters:
  • V (Handle_Adaptor3d_HVertex &) –
  • C (Handle_Adaptor2d_HCurve2d &) –
Return type:

float

IntPatch_HInterTool_Project()
  • Projects the point P on the arc C. If the methods returns Standard_True, the projection is successful, and Paramproj is the parameter on the arc of the projected point, Ptproj is the projected Point. If the method returns Standard_False, Param proj and Ptproj are not significant.
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • P (gp_Pnt2d) –
  • Paramproj (float &) –
  • Ptproj (gp_Pnt2d) –
Return type:

bool

IntPatch_HInterTool_SingularOnUMax()
Parameters:S (Handle_Adaptor3d_HSurface &) –
Return type:bool
IntPatch_HInterTool_SingularOnUMin()
Parameters:S (Handle_Adaptor3d_HSurface &) –
Return type:bool
IntPatch_HInterTool_SingularOnVMax()
Parameters:S (Handle_Adaptor3d_HSurface &) –
Return type:bool
IntPatch_HInterTool_SingularOnVMin()
Parameters:S (Handle_Adaptor3d_HSurface &) –
Return type:bool
IntPatch_HInterTool_Tolerance()
  • Returns the parametric tolerance used to consider that the vertex and another point meet, i-e if Abs(parameter(Vertex) - parameter(OtherPnt))<= Tolerance, the points are ‘merged’.
Parameters:
  • V (Handle_Adaptor3d_HVertex &) –
  • C (Handle_Adaptor2d_HCurve2d &) –
Return type:

float

IntPatch_HInterTool_Value()
  • Returns the value (Pt), the tolerance (Tol), and the parameter (U) on the arc A , of the intersection point of range Index.
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • Index (int) –
  • Pt (gp_Pnt) –
  • Tol (float &) –
  • U (float &) –
Return type:

void

IntPatch_HInterTool_Vertex()
  • When IsVertex returns True, this method returns the vertex on the arc A.
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • Index (int) –
  • V (Handle_Adaptor3d_HVertex &) –
Return type:

void

class IntPatch_ImpImpIntersection(*args)

Bases: object

Return type:None
  • Flag theIsReqToKeepRLine has been enterred only for compatibility with TopOpeBRep package. It shall be deleted after deleting TopOpeBRep. When intersection result returns IntPatch_RLine and another IntPatch_Line (not restriction) we (in case of theIsReqToKeepRLine==True) will always keep both lines even if they are coincided.
Parameters:
  • S1 (Handle_Adaptor3d_HSurface &) –
  • D1 (Handle_Adaptor3d_TopolTool &) –
  • S2 (Handle_Adaptor3d_HSurface &) –
  • D2 (Handle_Adaptor3d_TopolTool &) –
  • TolArc (float) –
  • TolTang (float) –
  • theIsReqToKeepRLine (bool) – default value is Standard_False
Return type:

None

IsDone()
  • Returns True if the calculus was succesfull.
Return type:bool
IsEmpty()
  • Returns true if the is no intersection.
Return type:bool
Line()
  • Returns the line of range Index. An exception is raised if Index<=0 or Index>NbLine.
Parameters:Index (int) –
Return type:Handle_IntPatch_Line
NbLines()
  • Returns the number of intersection lines.
Return type:int
NbPnts()
  • Returns the number of ‘single’ points.
Return type:int
OppositeFaces()
  • Returns True when the TangentFaces returns True and the normal vectors evaluated at a point on the first and the second surface are opposite. The exception DomainError is raised if TangentFaces returns False.
Return type:bool
Perform()
  • Flag theIsReqToKeepRLine has been enterred only for compatibility with TopOpeBRep package. It shall be deleted after deleting TopOpeBRep. When intersection result returns IntPatch_RLine and another IntPatch_Line (not restriction) we (in case of theIsReqToKeepRLine==True) will always keep both lines even if they are coincided.
Parameters:
  • S1 (Handle_Adaptor3d_HSurface &) –
  • D1 (Handle_Adaptor3d_TopolTool &) –
  • S2 (Handle_Adaptor3d_HSurface &) –
  • D2 (Handle_Adaptor3d_TopolTool &) –
  • TolArc (float) –
  • TolTang (float) –
  • isTheTrimmed (bool) – default value is Standard_False
  • theIsReqToKeepRLine (bool) – default value is Standard_False
Return type:

None

Point()
  • Returns the point of range Index. An exception is raised if Index<=0 or Index>NbPnt.
Parameters:Index (int) –
Return type:IntPatch_Point
TangentFaces()
  • Returns True if the two patches are considered as entierly tangent, i-e every restriction arc of one patch is inside the geometric base of the otehr patch.
Return type:bool
thisown

The membership flag

class IntPatch_ImpPrmIntersection(*args)

Bases: object

Return type:

None

Parameters:
  • Surf1 (Handle_Adaptor3d_HSurface &) –
  • D1 (Handle_Adaptor3d_TopolTool &) –
  • Surf2 (Handle_Adaptor3d_HSurface &) –
  • D2 (Handle_Adaptor3d_TopolTool &) –
  • TolArc (float) –
  • TolTang (float) –
  • Fleche (float) –
  • Pas (float) –
Return type:

None

IsDone()
  • Returns true if the calculus was succesfull.
Return type:bool
IsEmpty()
  • Returns true if the is no intersection.
Return type:bool
Line()
  • Returns the line of range Index. An exception is raised if Index<=0 or Index>NbLine.
Parameters:Index (int) –
Return type:Handle_IntPatch_Line
NbLines()
  • Returns the number of intersection lines.
Return type:int
NbPnts()
  • Returns the number of ‘single’ points.
Return type:int
Perform()
Parameters:
  • Surf1 (Handle_Adaptor3d_HSurface &) –
  • D1 (Handle_Adaptor3d_TopolTool &) –
  • Surf2 (Handle_Adaptor3d_HSurface &) –
  • D2 (Handle_Adaptor3d_TopolTool &) –
  • TolArc (float) –
  • TolTang (float) –
  • Fleche (float) –
  • Pas (float) –
Return type:

None

Point()
  • Returns the point of range Index. An exception is raised if Index<=0 or Index>NbPnt.
Parameters:Index (int) –
Return type:IntPatch_Point
SetStartPoint()
  • to search for solution from the given point
Parameters:
Return type:

None

thisown

The membership flag

class IntPatch_InterferencePolyhedron(*args)

Bases: OCC.Intf.Intf_Interference

  • Constructs an empty interference of Polyhedron.
Return type:None
  • Constructs and computes an interference between the two Polyhedra.
Parameters:
  • Obje1 (IntPatch_Polyhedron &) –
  • Obje2 (IntPatch_Polyhedron &) –
Return type:

None

  • Constructs and computes the self interference of a Polyhedron.
Parameters:Obje (IntPatch_Polyhedron &) –
Return type:None
Perform()
  • Computes the interference between the two Polyhedra.
Parameters:
  • Obje1 (IntPatch_Polyhedron &) –
  • Obje2 (IntPatch_Polyhedron &) –
Return type:

None

  • Computes the self interference of a Polyhedron.
Parameters:Obje (IntPatch_Polyhedron &) –
Return type:None
thisown

The membership flag

class IntPatch_Intersection(*args)

Bases: object

Return type:

None

Parameters:
  • S1 (Handle_Adaptor3d_HSurface &) –
  • D1 (Handle_Adaptor3d_TopolTool &) –
  • S2 (Handle_Adaptor3d_HSurface &) –
  • D2 (Handle_Adaptor3d_TopolTool &) –
  • TolArc (float) –
  • TolTang (float) –
  • S1
  • D1
  • TolArc
  • TolTang
Return type:

None

Return type:

None

Dump()
  • Dump of each result line. Mode for more accurate dumps.
Parameters:
  • Mode (int) –
  • S1 (Handle_Adaptor3d_HSurface &) –
  • D1 (Handle_Adaptor3d_TopolTool &) –
  • S2 (Handle_Adaptor3d_HSurface &) –
  • D2 (Handle_Adaptor3d_TopolTool &) –
Return type:

None

IsDone()
  • Returns True if the calculus was succesfull.
Return type:bool
IsEmpty()
  • Returns true if the is no intersection.
Return type:bool
Line()
  • Returns the line of range Index. An exception is raised if Index<=0 or Index>NbLine.
Parameters:Index (int) –
Return type:Handle_IntPatch_Line
NbLines()
  • Returns the number of intersection lines.
Return type:int
NbPnts()
  • Returns the number of ‘single’ points.
Return type:int
OppositeFaces()
  • Returns True when the TangentFaces returns True and the normal vectors evaluated at a point on the first and the second surface are opposite. The exception DomainError is raised if TangentFaces returns False.
Return type:bool
Perform()
  • Flag theIsReqToKeepRLine has been enterred only for compatibility with TopOpeBRep package. It shall be deleted after deleting TopOpeBRep. When intersection result returns IntPatch_RLine and another IntPatch_Line (not restriction) we (in case of theIsReqToKeepRLine==True) will always keep both lines even if they are coincided.
Parameters:
  • S1 (Handle_Adaptor3d_HSurface &) –
  • D1 (Handle_Adaptor3d_TopolTool &) –
  • S2 (Handle_Adaptor3d_HSurface &) –
  • D2 (Handle_Adaptor3d_TopolTool &) –
  • TolArc (float) –
  • TolTang (float) –
  • isGeomInt (bool) – default value is Standard_True
  • theIsReqToKeepRLine (bool) – default value is Standard_False
Return type:

None

  • If isGeomInt == Standard_False, then method Param-Param intersection will be used.
Parameters:
  • S1 (Handle_Adaptor3d_HSurface &) –
  • D1 (Handle_Adaptor3d_TopolTool &) –
  • S2 (Handle_Adaptor3d_HSurface &) –
  • D2 (Handle_Adaptor3d_TopolTool &) –
  • TolArc (float) –
  • TolTang (float) –
  • LOfPnts (IntSurf_ListOfPntOn2S &) –
  • RestrictLine (bool) – default value is Standard_True
  • isGeomInt (bool) – default value is Standard_True
  • S1
  • D1
  • S2
  • D2
  • U1 (float) –
  • V1 (float) –
  • U2 (float) –
  • V2 (float) –
  • TolArc
  • TolTang
  • S1
  • D1
  • TolArc
  • TolTang
Return type:

None

Return type:

None

Return type:

None

Point()
  • Returns the point of range Index. An exception is raised if Index<=0 or Index>NbPnt.
Parameters:Index (int) –
Return type:IntPatch_Point
SequenceOfLine()
Return type:IntPatch_SequenceOfLine
SetTolerances()
  • Set the tolerances used by the algorithms: — Implicit - Parametric — Parametric - Parametric — Implicit - Implicit //! TolArc is used to compute the intersections between the restrictions of a surface and a walking line. //! TolTang is used to compute the points on a walking line, and in geometric algorithms. //! Fleche is a parameter used in the walking algorithms to provide small curvatures on a line. //! UVMaxStep is a parameter used in the walking algorithms to compute the distance between to points in their respective parametrtic spaces.
Parameters:
Return type:

None

TangentFaces()
  • Returns True if the two patches are considered as entierly tangent, i-e every restriction arc of one patch is inside the geometric base of the other patch.
Return type:bool
thisown

The membership flag

class IntPatch_Line(*args, **kwargs)

Bases: OCC.MMgt.MMgt_TShared

ArcType()
  • Returns the type of geometry 3d (Line, Circle, Parabola, Hyperbola, Ellipse, Analytic, Walking, Restriction)
Return type:IntPatch_IType
GetHandle()
IsTangent()
  • Returns True if the intersection is a line of tangency between the 2 patches.
Return type:bool
IsUIsoOnS1()
  • Returns True if the intersection is a U isoparametric curve on the first patch.
Return type:bool
IsUIsoOnS2()
  • Returns True if the intersection is a U isoparametric curve on the second patch.
Return type:bool
IsVIsoOnS1()
  • Returns True if the intersection is a V isoparametric curve on the first patch.
Return type:bool
IsVIsoOnS2()
  • Returns True if the intersection is a V isoparametric curve on the second patch.
Return type:bool
SetValue()
  • To set the values returned by IsUIsoS1,…. The default values are False.
Parameters:
Return type:

None

SituationS1()
  • Returns the situation (INSIDE/OUTSIDE/UNKNOWN) of the first patch compared to the second one, when TransitionOnS1 or TransitionOnS2 returns TOUCH. Otherwise, an exception is raised.
Return type:IntSurf_Situation
SituationS2()
  • Returns the situation (INSIDE/OUTSIDE/UNKNOWN) of the second patch compared to the first one, when TransitionOnS1 or TransitionOnS2 returns TOUCH. Otherwise, an exception is raised.
Return type:IntSurf_Situation
TransitionOnS1()
  • Returns the type of the transition of the line for the first surface. The transition is ‘constant’ along the line. The transition is IN if the line is oriented in such a way that the system of vector (N1,N2,T) is right-handed, where N1 is the normal to the first surface at a point P, N2 is the normal to the second surface at a point P, T is the tangent to the intersection line at P. If the system of vector is left-handed, the transition is OUT. When N1 and N2 are colinear all along the intersection line, the transition will be - TOUCH, if it is possible to use the 2nd derivatives to determine the position of one surafce compared to the other (see Situation) - UNDECIDED otherwise. //! If one of the transition is TOUCH or UNDECIDED, the other one has got the same value.
Return type:IntSurf_TypeTrans
TransitionOnS2()
  • Returns the type of the transition of the line for the second surface. The transition is ‘constant’ along the line.
Return type:IntSurf_TypeTrans
thisown

The membership flag

class IntPatch_LineConstructor(*args)

Bases: object

Parameters:mode (int) –
Return type:None
Line()
Parameters:index (int) –
Return type:Handle_IntPatch_Line
NbLines()
Return type:int
Perform()
Parameters:
  • SL (IntPatch_SequenceOfLine &) –
  • L (Handle_IntPatch_Line &) –
  • S1 (Handle_Adaptor3d_HSurface &) –
  • D1 (Handle_Adaptor3d_TopolTool &) –
  • S2 (Handle_Adaptor3d_HSurface &) –
  • D2 (Handle_Adaptor3d_TopolTool &) –
  • Tol (float) –
Return type:

None

thisown

The membership flag

class IntPatch_Point(*args)

Bases: object

  • Empty constructor.
Return type:None
ArcOnS1()
  • Returns the arc of restriction containing the vertex. The exception DomainError is raised if IsOnDomS1 returns False.
Return type:Handle_Adaptor2d_HCurve2d
ArcOnS2()
  • Returns the arc of restriction containing the vertex. The exception DomainError is raised if IsOnDomS2 returns False.
Return type:Handle_Adaptor2d_HCurve2d
Dump()
Return type:None
IsMultiple()
  • Returns True if the point belongs to several intersection lines.
Return type:bool
IsOnDomS1()
  • Returns True if the point is on a boundary of the domain of the first patch.
Return type:bool
IsOnDomS2()
  • Returns True if the point is on a boundary of the domain of the second patch.
Return type:bool
IsTangencyPoint()
  • Returns True if the Point is a tangency point between the surfaces. If the Point is on one of the domain (IsOnDomS1 returns True or IsOnDomS2 returns True), an exception is raised.
Return type:bool
IsVertexOnS1()
  • Returns True if the point is a vertex on the initial restriction facet of the first surface.
Return type:bool
IsVertexOnS2()
  • Returns True if the point is a vertex on the initial restriction facet of the first surface.
Return type:bool
ParameterOnArc1()
  • Returns the parameter of the point on the arc returned by the method ArcOnS2. The exception DomainError is raised if IsOnDomS1 returns False.
Return type:float
ParameterOnArc2()
  • Returns the parameter of the point on the arc returned by the method ArcOnS2. The exception DomainError is raised if IsOnDomS2 returns False.
Return type:float
ParameterOnLine()
  • This method returns the parameter of the point on the intersection line. If the points does not belong to an intersection line, the value returned does not have any sens.
Return type:float
Parameters()
  • Returns the parameters on the first and on the second surface of the point.
Parameters:
  • U1 (float &) –
  • V1 (float &) –
  • U2 (float &) –
  • V2 (float &) –
Return type:

None

ParametersOnS1()
  • Returns the parameters on the first surface of the point.
Parameters:
  • U1 (float &) –
  • V1 (float &) –
Return type:

None

ParametersOnS2()
  • Returns the parameters on the second surface of the point.
Parameters:
  • U2 (float &) –
  • V2 (float &) –
Return type:

None

PntOn2S()
  • Returns the PntOn2S (geometric Point and the parameters)
Return type:IntSurf_PntOn2S
ReverseTransition()
Return type:None
SetArc()
  • Sets the values of a point which is on one of the domain, when both surfaces are implicit ones. If OnFirst is True, the point is on the domain of the first patch, otherwise the point is on the domain of the second surface.
Parameters:
  • OnFirst (bool) –
  • A (Handle_Adaptor2d_HCurve2d &) –
  • Param (float) –
  • TLine (IntSurf_Transition &) –
  • TArc (IntSurf_Transition &) –
Return type:

None

SetMultiple()
  • Sets (or unsets) the point as a point on several intersection line.
Parameters:IsMult (bool) –
Return type:None
SetParameter()
  • Set the value of the parameter on the intersection line.
Parameters:Para (float) –
Return type:None
SetParameters()
  • Sets the values of the parameters of the point on each surface.
Parameters:
Return type:

None

SetTolerance()
Parameters:Tol (float) –
Return type:None
SetValue()
  • Sets the values of a point which is on no domain, when both surfaces are implicit ones. If Tangent is True, the point is a point of tangency between the surfaces.
Parameters:
Return type:

None

Return type:

None

SetVertex()
  • Sets the values of a point which is a vertex on the initial facet of restriction of one of the surface. If OnFirst is True, the point is on the domain of the first patch, otherwise the point is on the domain of the second surface.
Parameters:
  • OnFirst (bool) –
  • V (Handle_Adaptor3d_HVertex &) –
Return type:

None

Tolerance()
  • This method returns the fuzziness on the point.
Return type:float
TransitionLineArc1()
  • Returns the transition of the point on the intersection line with the arc on S1. The exception DomainError is raised if IsOnDomS1 returns False.
Return type:IntSurf_Transition
TransitionLineArc2()
  • Returns the transition of the point on the intersection line with the arc on S2. The exception DomainError is raised if IsOnDomS2 returns False.
Return type:IntSurf_Transition
TransitionOnS1()
  • Returns the transition between the intersection line returned by the method Line and the arc on S1 returned by ArcOnS1(). The exception DomainError is raised if IsOnDomS1 returns False.
Return type:IntSurf_Transition
TransitionOnS2()
  • Returns the transition between the intersection line returned by the method Line and the arc on S2 returned by ArcOnS2. The exception DomainError is raised if IsOnDomS2 returns False.
Return type:IntSurf_Transition
Value()
  • Returns the intersection point (geometric information).
Return type:gp_Pnt
VertexOnS1()
  • Returns the information about the point when it is on the domain of the first patch, i-e when the function IsVertexOnS1 returns True. Otherwise, an exception is raised.
Return type:Handle_Adaptor3d_HVertex
VertexOnS2()
  • Returns the information about the point when it is on the domain of the second patch, i-e when the function IsVertexOnS2 returns True. Otherwise, an exception is raised.
Return type:Handle_Adaptor3d_HVertex
thisown

The membership flag

class IntPatch_PointLine(*args, **kwargs)

Bases: OCC.IntPatch.IntPatch_Line

GetHandle()
NbPnts()
  • Returns the number of intersection points.
Return type:int
Point()
  • Returns the intersection point of range Index.
Parameters:Index (int) –
Return type:IntSurf_PntOn2S
thisown

The membership flag

class IntPatch_PolyArc(*args)

Bases: OCC.IntPatch.IntPatch_Polygo

  • Creates the polygon of the arc A on the surface S. The arc is limited by the parameters Pfirst and Plast. None of these parameters can be infinite.
Parameters:
  • A (Handle_Adaptor2d_HCurve2d &) –
  • NbSample (int) –
  • Pfirst (float) –
  • Plast (float) –
  • BoxOtherPolygon (Bnd_Box2d &) –
Return type:

None

Parameter()
Parameters:Index (int) –
Return type:float
SetOffset()
Parameters:
Return type:

None

thisown

The membership flag

class IntPatch_PolyLine(*args)

Bases: OCC.IntPatch.IntPatch_Polygo

Return type:None
Parameters:InitDefle (float) –
Return type:None
ResetError()
Return type:None
SetRLine()
Parameters:
  • OnFirst (bool) –
  • Line (Handle_IntPatch_RLine &) –
Return type:

None

SetWLine()
Parameters:
  • OnFirst (bool) –
  • Line (Handle_IntPatch_WLine &) –
Return type:

None

thisown

The membership flag

class IntPatch_Polygo(*args, **kwargs)

Bases: OCC.Intf.Intf_Polygon2d

Dump()
Return type:None
Error()
Return type:float
NbPoints()
Return type:int
Point()
Parameters:Index (int) –
Return type:gp_Pnt2d
thisown

The membership flag

class IntPatch_PrmPrmIntersection(*args)

Bases: object

  • Empty Constructor
Return type:None
CodeReject()
Parameters:
Return type:

int

DansGrille()
Parameters:t (int) –
Return type:int
GrilleInteger()
Parameters:
Return type:

int

IntegerGrille()
Parameters:
  • t (int) –
  • ix (int &) –
  • iy (int &) –
  • iz (int &) –
Return type:

None

IsDone()
  • Returns true if the calculus was succesfull.
Return type:bool
IsEmpty()
  • Returns true if the is no intersection.
Return type:bool
Line()
  • Returns the line of range Index. An exception is raised if Index<=0 or Index>NbLine.
Parameters:Index (int) –
Return type:Handle_IntPatch_Line
NbLines()
  • Returns the number of intersection lines.
Return type:int
NbPointsGrille()
Return type:int
NewLine()
  • Computes about <NbPoints> Intersection Points on the Line <IndexLine> between the Points of Index <LowPoint> and <HighPoint>. //! All the points of the line of index <IndexLine> with an index between <LowPoint> and <HighPoint> are in the returned line. New Points are inserted between existing points if those points are not too closed. //! An exception is raised if Index<=0 or Index>NbLine. or if IsDone returns False
Parameters:
  • Caro1 (Handle_Adaptor3d_HSurface &) –
  • Caro2 (Handle_Adaptor3d_HSurface &) –
  • IndexLine (int) –
  • LowPoint (int) –
  • HighPoint (int) –
  • NbPoints (int) –
Return type:

Handle_IntPatch_Line

Perform()
  • Performs the intersection between <Caro1> and <Caro2>. Associated Polyhedrons <Polyhedron1> and <Polyhedron2> are given.
Parameters:
  • Caro1 (Handle_Adaptor3d_HSurface &) –
  • Polyhedron1 (IntPatch_Polyhedron &) –
  • Domain1 (Handle_Adaptor3d_TopolTool &) –
  • Caro2 (Handle_Adaptor3d_HSurface &) –
  • Polyhedron2 (IntPatch_Polyhedron &) –
  • Domain2 (Handle_Adaptor3d_TopolTool &) –
  • TolTangency (float) –
  • Epsilon (float) –
  • Deflection (float) –
  • Increment (float) –
  • Caro1
  • Polyhedron1
  • Domain1
  • TolTangency
  • Epsilon
  • Deflection
  • Increment
Return type:

None

Return type:

None

  • Performs the intersection between <Caro1> and <Caro2>. The method computes the polyhedron on each surface.
Parameters:
  • Caro1 (Handle_Adaptor3d_HSurface &) –
  • Domain1 (Handle_Adaptor3d_TopolTool &) –
  • Caro2 (Handle_Adaptor3d_HSurface &) –
  • Domain2 (Handle_Adaptor3d_TopolTool &) –
  • TolTangency (float) –
  • Epsilon (float) –
  • Deflection (float) –
  • Increment (float) –
  • ClearFlag (bool) – default value is Standard_True
Return type:

None

  • Performs the intersection between <Caro1> and <Caro2>. The method computes the polyhedron on each surface.
Parameters:
  • Caro1 (Handle_Adaptor3d_HSurface &) –
  • Domain1 (Handle_Adaptor3d_TopolTool &) –
  • Caro2 (Handle_Adaptor3d_HSurface &) –
  • Domain2 (Handle_Adaptor3d_TopolTool &) –
  • TolTangency (float) –
  • Epsilon (float) –
  • Deflection (float) –
  • Increment (float) –
  • ListOfPnts (IntSurf_ListOfPntOn2S &) –
  • RestrictLine (bool) –
Return type:

None

  • Performs the intersection between <Caro1> and <Caro2>. The method computes the polyhedron on each surface.
Parameters:
  • Caro1 (Handle_Adaptor3d_HSurface &) –
  • Domain1 (Handle_Adaptor3d_TopolTool &) –
  • Caro2 (Handle_Adaptor3d_HSurface &) –
  • Domain2 (Handle_Adaptor3d_TopolTool &) –
  • U1 (float) –
  • V1 (float) –
  • U2 (float) –
  • V2 (float) –
  • TolTangency (float) –
  • Epsilon (float) –
  • Deflection (float) –
  • Increment (float) –
Return type:

None

  • Performs the intersection between <Caro1> and <Caro2>. The method computes the polyhedron on each surface.
Parameters:
  • Caro1 (Handle_Adaptor3d_HSurface &) –
  • Domain1 (Handle_Adaptor3d_TopolTool &) –
  • TolTangency (float) –
  • Epsilon (float) –
  • Deflection (float) –
  • Increment (float) –
Return type:

None

  • Performs the intersection between <Caro1> and <Caro2>. //! The polyhedron which approximates <Caro2>, <Polyhedron2> is given. The other one is computed.
Parameters:
  • Caro1 (Handle_Adaptor3d_HSurface &) –
  • Domain1 (Handle_Adaptor3d_TopolTool &) –
  • Caro2 (Handle_Adaptor3d_HSurface &) –
  • Polyhedron2 (IntPatch_Polyhedron &) –
  • Domain2 (Handle_Adaptor3d_TopolTool &) –
  • TolTangency (float) –
  • Epsilon (float) –
  • Deflection (float) –
  • Increment (float) –
Return type:

None

  • Performs the intersection between <Caro1> and <Caro2>. //! The polyhedron which approximates <Caro1>, <Polyhedron1> is given. The other one is computed.
Parameters:
  • Caro1 (Handle_Adaptor3d_HSurface &) –
  • Polyhedron1 (IntPatch_Polyhedron &) –
  • Domain1 (Handle_Adaptor3d_TopolTool &) –
  • Caro2 (Handle_Adaptor3d_HSurface &) –
  • Domain2 (Handle_Adaptor3d_TopolTool &) –
  • TolTangency (float) –
  • Epsilon (float) –
  • Deflection (float) –
  • Increment (float) –
Return type:

None

PointDepart()
Parameters:
  • LineOn2S (Handle_IntSurf_LineOn2S &) –
  • S1 (Handle_Adaptor3d_HSurface &) –
  • SU1 (int) –
  • SV1 (int) –
  • S2 (Handle_Adaptor3d_HSurface &) –
  • SU2 (int) –
  • SV2 (int) –
Return type:

None

Remplit()
Parameters:
  • a (int) –
  • b (int) –
  • c (int) –
  • Map (IntPatch_PrmPrmIntersection_T3Bits &) –
Return type:

None

RemplitLin()
Parameters:
  • x1 (int) –
  • y1 (int) –
  • z1 (int) –
  • x2 (int) –
  • y2 (int) –
  • z2 (int) –
  • Map (IntPatch_PrmPrmIntersection_T3Bits &) –
Return type:

None

RemplitTri()
Parameters:
  • x1 (int) –
  • y1 (int) –
  • z1 (int) –
  • x2 (int) –
  • y2 (int) –
  • z2 (int) –
  • x3 (int) –
  • y3 (int) –
  • z3 (int) –
  • Map (IntPatch_PrmPrmIntersection_T3Bits &) –
Return type:

None

thisown

The membership flag

class IntPatch_PrmPrmIntersection_T3Bits(*args)

Bases: object

Parameters:size (int) –
Return type:None
Add()
Parameters:t (int) –
Return type:None
And()
Parameters:
  • Oth (IntPatch_PrmPrmIntersection_T3Bits &) –
  • indiceprecedent (int &) –
Return type:

int

Destroy()
Return type:None
Raz()
Parameters:t (int) –
Return type:None
ResetAnd()
Return type:None
Val()
Parameters:t (int) –
Return type:int
thisown

The membership flag

class IntPatch_RLine(*args)

Bases: OCC.IntPatch.IntPatch_PointLine

  • Creates a restriction as an intersection line when the transitions are In or Out.
Parameters:
  • Tang (bool) –
  • Trans1 (IntSurf_TypeTrans) –
  • Trans2 (IntSurf_TypeTrans) –
Return type:

None

  • Creates a restriction as an intersection line when the transitions are Touch.
Parameters:
  • Tang (bool) –
  • Situ1 (IntSurf_Situation) –
  • Situ2 (IntSurf_Situation) –
Return type:

None

  • Creates a restriction as an intersection line when the transitions are Undecided.
Parameters:Tang (bool) –
Return type:None
Add()
Parameters:L (Handle_IntSurf_LineOn2S &) –
Return type:None
AddVertex()
  • To add a vertex in the list.
Parameters:Pnt (IntPatch_Point &) –
Return type:None
ArcOnS1()
  • Returns the concerned arc.
Return type:Handle_Adaptor2d_HCurve2d
ArcOnS2()
  • Returns the concerned arc.
Return type:Handle_Adaptor2d_HCurve2d
ComputeVertexParameters()
  • Set the parameters of all the vertex on the line. if a vertex is already in the line, its parameter is modified else a new point in the line is inserted.
Parameters:Tol (float) –
Return type:None
FirstPoint()
  • Returns the IntPoint corresponding to the FirstPoint. An exception is raised when HasFirstPoint returns False.
Return type:IntPatch_Point
GetHandle()
HasFirstPoint()
  • Returns True if the line has a known First point. This point is given by the method FirstPoint().
Return type:bool
HasLastPoint()
  • Returns True if the line has a known Last point. This point is given by the method LastPoint().
Return type:bool
HasPolygon()
Return type:bool
IsArcOnS1()
  • Returns True if the intersection is on the domain of the first patch. Returns False if the intersection is on the domain of the second patch.
Return type:bool
IsArcOnS2()
  • Returns True if the intersection is on the domain of the first patch. Returns False if the intersection is on the domain of the second patch.
Return type:bool
LastPoint()
  • Returns the IntPoint corresponding to the LastPoint. An exception is raised when HasLastPoint returns False.
Return type:IntPatch_Point
NbVertex()
Return type:int
ParamOnS1()
Parameters:
  • p1 (float &) –
  • p2 (float &) –
Return type:

None

ParamOnS2()
Parameters:
  • p1 (float &) –
  • p2 (float &) –
Return type:

None

Replace()
  • Replaces the element of range Index in the list of points.
Parameters:
  • Index (int) –
  • Pnt (IntPatch_Point &) –
Return type:

None

SetArcOnS1()
Parameters:A (Handle_Adaptor2d_HCurve2d &) –
Return type:None
SetArcOnS2()
Parameters:A (Handle_Adaptor2d_HCurve2d &) –
Return type:None
SetFirstPoint()
Parameters:IndFirst (int) –
Return type:None
SetLastPoint()
Parameters:IndLast (int) –
Return type:None
SetPoint()
  • Set the Point of index <Index> in the LineOn2S
Parameters:
  • Index (int) –
  • Pnt (IntPatch_Point &) –
Return type:

None

Vertex()
  • Returns the vertex of range Index on the line.
Parameters:Index (int) –
Return type:IntPatch_Point
thisown

The membership flag

class IntPatch_RstInt

Bases: object

static PutVertexOnLine()
Parameters:
  • L (Handle_IntPatch_Line &) –
  • Surf (Handle_Adaptor3d_HSurface &) –
  • Domain (Handle_Adaptor3d_TopolTool &) –
  • OtherSurf (Handle_Adaptor3d_HSurface &) –
  • OnFirst (bool) –
  • Tol (float) –
  • hasBeenAdded (bool) – default value is Standard_False
Return type:

void

thisown

The membership flag

IntPatch_RstInt_PutVertexOnLine()
Parameters:
  • L (Handle_IntPatch_Line &) –
  • Surf (Handle_Adaptor3d_HSurface &) –
  • Domain (Handle_Adaptor3d_TopolTool &) –
  • OtherSurf (Handle_Adaptor3d_HSurface &) –
  • OnFirst (bool) –
  • Tol (float) –
  • hasBeenAdded (bool) – default value is Standard_False
Return type:

void

class IntPatch_SequenceNodeOfSequenceOfIWLineOfTheIWalking(*args)

Bases: OCC.TCollection.TCollection_SeqNode

Parameters:
  • I (Handle_IntPatch_TheIWLineOfTheIWalking &) –
  • n (TCollection_SeqNodePtr &) –
  • p (TCollection_SeqNodePtr &) –
Return type:

None

GetHandle()
Value()
Return type:Handle_IntPatch_TheIWLineOfTheIWalking
thisown

The membership flag

class IntPatch_SequenceNodeOfSequenceOfLine(*args)

Bases: OCC.TCollection.TCollection_SeqNode

Parameters:
  • I (Handle_IntPatch_Line &) –
  • n (TCollection_SeqNodePtr &) –
  • p (TCollection_SeqNodePtr &) –
Return type:

None

GetHandle()
Value()
Return type:Handle_IntPatch_Line
thisown

The membership flag

class IntPatch_SequenceNodeOfSequenceOfPathPointOfTheSOnBounds(*args)

Bases: OCC.TCollection.TCollection_SeqNode

Parameters:
  • I (IntPatch_ThePathPointOfTheSOnBounds &) –
  • n (TCollection_SeqNodePtr &) –
  • p (TCollection_SeqNodePtr &) –
Return type:

None

GetHandle()
Value()
Return type:IntPatch_ThePathPointOfTheSOnBounds
thisown

The membership flag

class IntPatch_SequenceNodeOfSequenceOfPoint(*args)

Bases: OCC.TCollection.TCollection_SeqNode

Parameters:
  • I (IntPatch_Point &) –
  • n (TCollection_SeqNodePtr &) –
  • p (TCollection_SeqNodePtr &) –
Return type:

None

GetHandle()
Value()
Return type:IntPatch_Point
thisown

The membership flag

class IntPatch_SequenceNodeOfSequenceOfSegmentOfTheSOnBounds(*args)

Bases: OCC.TCollection.TCollection_SeqNode

Parameters:
  • I (IntPatch_TheSegmentOfTheSOnBounds &) –
  • n (TCollection_SeqNodePtr &) –
  • p (TCollection_SeqNodePtr &) –
Return type:

None

GetHandle()
Value()
Return type:IntPatch_TheSegmentOfTheSOnBounds
thisown

The membership flag

class IntPatch_SequenceOfIWLineOfTheIWalking(*args)

Bases: OCC.TCollection.TCollection_BaseSequence

Return type:None
Parameters:Other (IntPatch_SequenceOfIWLineOfTheIWalking &) –
Return type:None
Append()
Parameters:
  • T (Handle_IntPatch_TheIWLineOfTheIWalking &) –
  • S (IntPatch_SequenceOfIWLineOfTheIWalking &) –
Return type:

None

Return type:

None

Assign()
Parameters:Other (IntPatch_SequenceOfIWLineOfTheIWalking &) –
Return type:IntPatch_SequenceOfIWLineOfTheIWalking
ChangeValue()
Parameters:Index (int) –
Return type:Handle_IntPatch_TheIWLineOfTheIWalking
Clear()
Return type:None
First()
Return type:Handle_IntPatch_TheIWLineOfTheIWalking
InsertAfter()
Parameters:
  • Index (int) –
  • T (Handle_IntPatch_TheIWLineOfTheIWalking &) –
  • Index
  • S (IntPatch_SequenceOfIWLineOfTheIWalking &) –
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • Index (int) –
  • T (Handle_IntPatch_TheIWLineOfTheIWalking &) –
  • Index
  • S (IntPatch_SequenceOfIWLineOfTheIWalking &) –
Return type:

None

Return type:

None

Last()
Return type:Handle_IntPatch_TheIWLineOfTheIWalking
Prepend()
Parameters:
  • T (Handle_IntPatch_TheIWLineOfTheIWalking &) –
  • S (IntPatch_SequenceOfIWLineOfTheIWalking &) –
Return type:

None

Return type:

None

Remove()
Parameters:
  • Index (int) –
  • FromIndex (int) –
  • ToIndex (int) –
Return type:

None

Return type:

None

Set()
Parameters:Other (IntPatch_SequenceOfIWLineOfTheIWalking &) –
Return type:IntPatch_SequenceOfIWLineOfTheIWalking
SetValue()
Parameters:
  • Index (int) –
  • I (Handle_IntPatch_TheIWLineOfTheIWalking &) –
Return type:

None

Split()
Parameters:
  • Index (int) –
  • Sub (IntPatch_SequenceOfIWLineOfTheIWalking &) –
Return type:

None

Value()
Parameters:Index (int) –
Return type:Handle_IntPatch_TheIWLineOfTheIWalking
thisown

The membership flag

class IntPatch_SequenceOfLine(*args)

Bases: OCC.TCollection.TCollection_BaseSequence

Return type:None
Parameters:Other (IntPatch_SequenceOfLine &) –
Return type:None
Append()
Parameters:
  • T (Handle_IntPatch_Line &) –
  • S (IntPatch_SequenceOfLine &) –
Return type:

None

Return type:

None

Assign()
Parameters:Other (IntPatch_SequenceOfLine &) –
Return type:IntPatch_SequenceOfLine
ChangeValue()
Parameters:Index (int) –
Return type:Handle_IntPatch_Line
Clear()
Return type:None
First()
Return type:Handle_IntPatch_Line
InsertAfter()
Parameters:
  • Index (int) –
  • T (Handle_IntPatch_Line &) –
  • Index
  • S (IntPatch_SequenceOfLine &) –
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • Index (int) –
  • T (Handle_IntPatch_Line &) –
  • Index
  • S (IntPatch_SequenceOfLine &) –
Return type:

None

Return type:

None

Last()
Return type:Handle_IntPatch_Line
Prepend()
Parameters:
  • T (Handle_IntPatch_Line &) –
  • S (IntPatch_SequenceOfLine &) –
Return type:

None

Return type:

None

Remove()
Parameters:
  • Index (int) –
  • FromIndex (int) –
  • ToIndex (int) –
Return type:

None

Return type:

None

Set()
Parameters:Other (IntPatch_SequenceOfLine &) –
Return type:IntPatch_SequenceOfLine
SetValue()
Parameters:
  • Index (int) –
  • I (Handle_IntPatch_Line &) –
Return type:

None

Split()
Parameters:
  • Index (int) –
  • Sub (IntPatch_SequenceOfLine &) –
Return type:

None

Value()
Parameters:Index (int) –
Return type:Handle_IntPatch_Line
thisown

The membership flag

class IntPatch_SequenceOfPathPointOfTheSOnBounds(*args)

Bases: OCC.TCollection.TCollection_BaseSequence

Return type:None
Parameters:Other (IntPatch_SequenceOfPathPointOfTheSOnBounds &) –
Return type:None
Append()
Parameters:
  • T (IntPatch_ThePathPointOfTheSOnBounds &) –
  • S (IntPatch_SequenceOfPathPointOfTheSOnBounds &) –
Return type:

None

Return type:

None

Assign()
Parameters:Other (IntPatch_SequenceOfPathPointOfTheSOnBounds &) –
Return type:IntPatch_SequenceOfPathPointOfTheSOnBounds
ChangeValue()
Parameters:Index (int) –
Return type:IntPatch_ThePathPointOfTheSOnBounds
Clear()
Return type:None
First()
Return type:IntPatch_ThePathPointOfTheSOnBounds
InsertAfter()
Parameters:
  • Index (int) –
  • T (IntPatch_ThePathPointOfTheSOnBounds &) –
  • Index
  • S (IntPatch_SequenceOfPathPointOfTheSOnBounds &) –
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • Index (int) –
  • T (IntPatch_ThePathPointOfTheSOnBounds &) –
  • Index
  • S (IntPatch_SequenceOfPathPointOfTheSOnBounds &) –
Return type:

None

Return type:

None

Last()
Return type:IntPatch_ThePathPointOfTheSOnBounds
Prepend()
Parameters:
  • T (IntPatch_ThePathPointOfTheSOnBounds &) –
  • S (IntPatch_SequenceOfPathPointOfTheSOnBounds &) –
Return type:

None

Return type:

None

Remove()
Parameters:
  • Index (int) –
  • FromIndex (int) –
  • ToIndex (int) –
Return type:

None

Return type:

None

Set()
Parameters:Other (IntPatch_SequenceOfPathPointOfTheSOnBounds &) –
Return type:IntPatch_SequenceOfPathPointOfTheSOnBounds
SetValue()
Parameters:
  • Index (int) –
  • I (IntPatch_ThePathPointOfTheSOnBounds &) –
Return type:

None

Split()
Parameters:
  • Index (int) –
  • Sub (IntPatch_SequenceOfPathPointOfTheSOnBounds &) –
Return type:

None

Value()
Parameters:Index (int) –
Return type:IntPatch_ThePathPointOfTheSOnBounds
thisown

The membership flag

class IntPatch_SequenceOfPoint(*args)

Bases: OCC.TCollection.TCollection_BaseSequence

Return type:None
Parameters:Other (IntPatch_SequenceOfPoint &) –
Return type:None
Append()
Parameters:
  • T (IntPatch_Point &) –
  • S (IntPatch_SequenceOfPoint &) –
Return type:

None

Return type:

None

Assign()
Parameters:Other (IntPatch_SequenceOfPoint &) –
Return type:IntPatch_SequenceOfPoint
ChangeValue()
Parameters:Index (int) –
Return type:IntPatch_Point
Clear()
Return type:None
First()
Return type:IntPatch_Point
InsertAfter()
Parameters:
  • Index (int) –
  • T (IntPatch_Point &) –
  • Index
  • S (IntPatch_SequenceOfPoint &) –
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • Index (int) –
  • T (IntPatch_Point &) –
  • Index
  • S (IntPatch_SequenceOfPoint &) –
Return type:

None

Return type:

None

Last()
Return type:IntPatch_Point
Prepend()
Parameters:
  • T (IntPatch_Point &) –
  • S (IntPatch_SequenceOfPoint &) –
Return type:

None

Return type:

None

Remove()
Parameters:
  • Index (int) –
  • FromIndex (int) –
  • ToIndex (int) –
Return type:

None

Return type:

None

Set()
Parameters:Other (IntPatch_SequenceOfPoint &) –
Return type:IntPatch_SequenceOfPoint
SetValue()
Parameters:
  • Index (int) –
  • I (IntPatch_Point &) –
Return type:

None

Split()
Parameters:
  • Index (int) –
  • Sub (IntPatch_SequenceOfPoint &) –
Return type:

None

Value()
Parameters:Index (int) –
Return type:IntPatch_Point
thisown

The membership flag

class IntPatch_SequenceOfSegmentOfTheSOnBounds(*args)

Bases: OCC.TCollection.TCollection_BaseSequence

Return type:None
Parameters:Other (IntPatch_SequenceOfSegmentOfTheSOnBounds &) –
Return type:None
Append()
Parameters:
  • T (IntPatch_TheSegmentOfTheSOnBounds &) –
  • S (IntPatch_SequenceOfSegmentOfTheSOnBounds &) –
Return type:

None

Return type:

None

Assign()
Parameters:Other (IntPatch_SequenceOfSegmentOfTheSOnBounds &) –
Return type:IntPatch_SequenceOfSegmentOfTheSOnBounds
ChangeValue()
Parameters:Index (int) –
Return type:IntPatch_TheSegmentOfTheSOnBounds
Clear()
Return type:None
First()
Return type:IntPatch_TheSegmentOfTheSOnBounds
InsertAfter()
Parameters:
  • Index (int) –
  • T (IntPatch_TheSegmentOfTheSOnBounds &) –
  • Index
  • S (IntPatch_SequenceOfSegmentOfTheSOnBounds &) –
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • Index (int) –
  • T (IntPatch_TheSegmentOfTheSOnBounds &) –
  • Index
  • S (IntPatch_SequenceOfSegmentOfTheSOnBounds &) –
Return type:

None

Return type:

None

Last()
Return type:IntPatch_TheSegmentOfTheSOnBounds
Prepend()
Parameters:
  • T (IntPatch_TheSegmentOfTheSOnBounds &) –
  • S (IntPatch_SequenceOfSegmentOfTheSOnBounds &) –
Return type:

None

Return type:

None

Remove()
Parameters:
  • Index (int) –
  • FromIndex (int) –
  • ToIndex (int) –
Return type:

None

Return type:

None

Set()
Parameters:Other (IntPatch_SequenceOfSegmentOfTheSOnBounds &) –
Return type:IntPatch_SequenceOfSegmentOfTheSOnBounds
SetValue()
Parameters:
  • Index (int) –
  • I (IntPatch_TheSegmentOfTheSOnBounds &) –
Return type:

None

Split()
Parameters:
  • Index (int) –
  • Sub (IntPatch_SequenceOfSegmentOfTheSOnBounds &) –
Return type:

None

Value()
Parameters:Index (int) –
Return type:IntPatch_TheSegmentOfTheSOnBounds
thisown

The membership flag

class IntPatch_TheIWLineOfTheIWalking(*args)

Bases: OCC.MMgt.MMgt_TShared

Parameters:theAllocator (IntSurf_Allocator &) – default value is 0
Return type:None
AddIndexPassing()
Parameters:Index (int) –
Return type:None
AddPoint()
Parameters:P (IntSurf_PntOn2S &) –
Return type:None
AddStatusFirst()
Parameters:
  • Closed (bool) –
  • HasFirst (bool) –
  • Closed
  • HasLast (bool) –
  • Index (int) –
  • P (IntSurf_PathPoint &) –
Return type:

None

Return type:

None

AddStatusFirstLast()
Parameters:
Return type:

None

AddStatusLast()
Parameters:
  • HasLast (bool) –
  • HasLast
  • Index (int) –
  • P (IntSurf_PathPoint &) –
Return type:

None

Return type:

None

Cut()
Parameters:Index (int) –
Return type:None
FirstPoint()
Return type:IntSurf_PathPoint
FirstPointIndex()
Return type:int
GetHandle()
HasFirstPoint()
Return type:bool
HasLastPoint()
Return type:bool
IsClosed()
Return type:bool
IsTangentAtBegining()
Return type:bool
IsTangentAtEnd()
Return type:bool
LastPoint()
Return type:IntSurf_PathPoint
LastPointIndex()
Return type:int
Line()
Return type:Handle_IntSurf_LineOn2S
NbPassingPoint()
Return type:int
NbPoints()
Return type:int
PassingPoint()
Parameters:
  • Index (int) –
  • IndexLine (int &) –
  • IndexPnts (int &) –
Return type:

None

Reverse()
Return type:None
SetTangencyAtBegining()
Parameters:IsTangent (bool) –
Return type:None
SetTangencyAtEnd()
Parameters:IsTangent (bool) –
Return type:None
SetTangentVector()
Parameters:
Return type:

None

TangentVector()
Parameters:Index (int &) –
Return type:gp_Vec
Value()
Parameters:Index (int) –
Return type:IntSurf_PntOn2S
thisown

The membership flag

class IntPatch_TheIWalking(*args)

Bases: object

Parameters:
Return type:

None

IsDone()
Return type:bool
NbLines()
Return type:int
NbSinglePnts()
Return type:int
Perform()
Parameters:
  • Pnts1 (IntSurf_SequenceOfPathPoint &) –
  • Pnts2 (IntSurf_SequenceOfInteriorPoint &) –
  • Func (IntPatch_TheSurfFunction &) –
  • S (Handle_Adaptor3d_HSurface &) –
  • Reversed (bool) – default value is Standard_False
  • Pnts1
  • Func
  • S
  • Reversed – default value is Standard_False
Return type:

None

Return type:

None

SetTolerance()
Parameters:
Return type:

None

SinglePnt()
Parameters:Index (int) –
Return type:IntSurf_PathPoint
Value()
Parameters:Index (int) –
Return type:Handle_IntPatch_TheIWLineOfTheIWalking
thisown

The membership flag

class IntPatch_ThePathPointOfTheSOnBounds(*args)

Bases: object

Return type:

None

Parameters:
  • P (gp_Pnt) –
  • Tol (float) –
  • V (Handle_Adaptor3d_HVertex &) –
  • A (Handle_Adaptor2d_HCurve2d &) –
  • Parameter (float) –
  • P
  • Tol
  • A
  • Parameter
Return type:

None

Return type:

None

Arc()
Return type:Handle_Adaptor2d_HCurve2d
IsNew()
Return type:bool
Parameter()
Return type:float
SetValue()
Parameters:
  • P (gp_Pnt) –
  • Tol (float) –
  • V (Handle_Adaptor3d_HVertex &) –
  • A (Handle_Adaptor2d_HCurve2d &) –
  • Parameter (float) –
  • P
  • Tol
  • A
  • Parameter
Return type:

None

Return type:

None

Tolerance()
Return type:float
Value()
Return type:gp_Pnt
Vertex()
Return type:Handle_Adaptor3d_HVertex
thisown

The membership flag

class IntPatch_TheSOnBounds(*args)

Bases: object

Return type:None
AllArcSolution()
Return type:bool
IsDone()
Return type:bool
NbPoints()
Return type:int
NbSegments()
Return type:int
Perform()
Parameters:
  • F (IntPatch_ArcFunction &) –
  • Domain (Handle_Adaptor3d_TopolTool &) –
  • TolBoundary (float) –
  • TolTangency (float) –
  • RecheckOnRegularity (bool) – default value is Standard_False
Return type:

None

Point()
Parameters:Index (int) –
Return type:IntPatch_ThePathPointOfTheSOnBounds
Segment()
Parameters:Index (int) –
Return type:IntPatch_TheSegmentOfTheSOnBounds
thisown

The membership flag

class IntPatch_TheSearchInside(*args)

Bases: object

Return type:

None

Parameters:
  • F (IntPatch_TheSurfFunction &) –
  • Surf (Handle_Adaptor3d_HSurface &) –
  • T (Handle_Adaptor3d_TopolTool &) –
  • Epsilon (float) –
Return type:

None

IsDone()
Return type:bool
NbPoints()
Return type:int
Perform()
Parameters:
  • F (IntPatch_TheSurfFunction &) –
  • Surf (Handle_Adaptor3d_HSurface &) –
  • T (Handle_Adaptor3d_TopolTool &) –
  • Epsilon (float) –
  • F
  • Surf
  • UStart (float) –
  • VStart (float) –
Return type:

None

Return type:

None

Value()
Parameters:Index (int) –
Return type:IntSurf_InteriorPoint
thisown

The membership flag

class IntPatch_TheSegmentOfTheSOnBounds(*args)

Bases: object

Return type:None
Curve()
Return type:Handle_Adaptor2d_HCurve2d
FirstPoint()
Return type:IntPatch_ThePathPointOfTheSOnBounds
HasFirstPoint()
Return type:bool
HasLastPoint()
Return type:bool
LastPoint()
Return type:IntPatch_ThePathPointOfTheSOnBounds
SetLimitPoint()
Parameters:
  • V (IntPatch_ThePathPointOfTheSOnBounds &) –
  • First (bool) –
Return type:

None

SetValue()
Parameters:A (Handle_Adaptor2d_HCurve2d &) –
Return type:None
thisown

The membership flag

class IntPatch_TheSurfFunction(*args)

Bases: OCC.math.math_FunctionSetWithDerivatives

Return type:

None

Parameters:
  • PS (Handle_Adaptor3d_HSurface &) –
  • IS (IntSurf_Quadric &) –
  • IS
Return type:

None

Return type:

None

Direction2d()
Return type:gp_Dir2d
Direction3d()
Return type:gp_Vec
ISurface()
Return type:IntSurf_Quadric
IsTangent()
Return type:bool
PSurface()
Return type:Handle_Adaptor3d_HSurface
Point()
Return type:gp_Pnt
Root()
Return type:float
Set()
Parameters:
  • PS (Handle_Adaptor3d_HSurface &) –
  • Tolerance (float) –
Return type:

None

Return type:

None

SetImplicitSurface()
Parameters:IS (IntSurf_Quadric &) –
Return type:None
Tolerance()
Return type:float
thisown

The membership flag

class IntPatch_WLine(*args)

Bases: OCC.IntPatch.IntPatch_PointLine

  • Creates a WLine as an intersection when the transitions are In or Out.
Parameters:
  • Line (Handle_IntSurf_LineOn2S &) –
  • Tang (bool) –
  • Trans1 (IntSurf_TypeTrans) –
  • Trans2 (IntSurf_TypeTrans) –
Return type:

None

  • Creates a WLine as an intersection when the transitions are Touch.
Parameters:
  • Line (Handle_IntSurf_LineOn2S &) –
  • Tang (bool) –
  • Situ1 (IntSurf_Situation) –
  • Situ2 (IntSurf_Situation) –
Return type:

None

  • Creates a WLine as an intersection when the transitions are Undecided.
Parameters:
  • Line (Handle_IntSurf_LineOn2S &) –
  • Tang (bool) –
Return type:

None

AddVertex()
  • Adds a vertex in the list.
Parameters:Pnt (IntPatch_Point &) –
Return type:None
ClearVertexes()
Return type:None
ComputeVertexParameters()
  • Set the parameters of all the vertex on the line. if a vertex is already in the line, its parameter is modified else a new point in the line is inserted.
Parameters:
  • Tol (float) –
  • hasBeenAdded (bool) – default value is Standard_False
Return type:

None

Curve()
Return type:Handle_IntSurf_LineOn2S
Dump()
Return type:None
FirstPoint()
  • Returns the Point corresponding to the FirstPoint.
Return type:IntPatch_Point
  • Returns the Point corresponding to the FirstPoint. Indfirst is the index of the first in the list of vertices.
Parameters:Indfirst (int &) –
Return type:IntPatch_Point
GetArcOnS1()
Return type:Handle_Adaptor2d_HCurve2d
GetArcOnS2()
Return type:Handle_Adaptor2d_HCurve2d
GetHandle()
HasArcOnS1()
Return type:bool
HasArcOnS2()
Return type:bool
HasFirstPoint()
  • Returns True if the line has a known First point. This point is given by the method FirstPoint().
Return type:bool
HasLastPoint()
  • Returns True if the line has a known Last point. This point is given by the method LastPoint().
Return type:bool
InsertVertexBefore()
Parameters:
  • theIndex (int) –
  • thePnt (IntPatch_Point &) –
Return type:

None

IsOutBox()
Parameters:P (gp_Pnt) –
Return type:bool
IsOutSurf1Box()
Parameters:P1 (gp_Pnt2d) –
Return type:bool
IsOutSurf2Box()
Parameters:P1 (gp_Pnt2d) –
Return type:bool
LastPoint()
  • Returns the Point corresponding to the LastPoint.
Return type:IntPatch_Point
  • Returns the Point corresponding to the LastPoint. Indlast is the index of the last in the list of vertices.
Parameters:Indlast (int &) –
Return type:IntPatch_Point
NbVertex()
Return type:int
RemoveVertex()
Parameters:theIndex (int) –
Return type:None
Replace()
  • Replaces the element of range Index in the list of points. The exception OutOfRange is raised when Index <= 0 or Index > NbVertex.
Parameters:
  • Index (int) –
  • Pnt (IntPatch_Point &) –
Return type:

None

SetArcOnS1()
Parameters:A (Handle_Adaptor2d_HCurve2d &) –
Return type:None
SetArcOnS2()
Parameters:A (Handle_Adaptor2d_HCurve2d &) –
Return type:None
SetFirstPoint()
Parameters:IndFirst (int) –
Return type:None
SetLastPoint()
Parameters:IndLast (int) –
Return type:None
SetPeriod()
Parameters:
Return type:

None

SetPoint()
  • Set the Point of index <Index> in the LineOn2S
Parameters:
  • Index (int) –
  • Pnt (IntPatch_Point &) –
Return type:

None

U1Period()
Return type:float
U2Period()
Return type:float
V1Period()
Return type:float
V2Period()
Return type:float
Vertex()
  • Returns the vertex of range Index on the line.
Parameters:Index (int) –
Return type:IntPatch_Point
thisown

The membership flag

class SwigPyIterator(*args, **kwargs)

Bases: object

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

The membership flag

value()
new_instancemethod(func, inst, cls)
register_handle(handle, base_object)

Inserts the handle into the base object to prevent memory corruption in certain cases