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
-
static
-
class
Handle_IntPatch_GLine
(*args)¶ Bases:
OCC.IntPatch.Handle_IntPatch_Line
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_IntPatch_Line
(*args)¶ Bases:
OCC.MMgt.Handle_MMgt_TShared
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_IntPatch_PointLine
(*args)¶ Bases:
OCC.IntPatch.Handle_IntPatch_Line
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_IntPatch_RLine
(*args)¶ Bases:
OCC.IntPatch.Handle_IntPatch_PointLine
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_IntPatch_SequenceNodeOfSequenceOfIWLineOfTheIWalking
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_SeqNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_IntPatch_SequenceNodeOfSequenceOfLine
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_SeqNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_IntPatch_SequenceNodeOfSequenceOfPathPointOfTheSOnBounds
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_SeqNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_IntPatch_SequenceNodeOfSequenceOfPoint
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_SeqNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_IntPatch_SequenceNodeOfSequenceOfSegmentOfTheSOnBounds
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_SeqNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_IntPatch_TheIWLineOfTheIWalking
(*args)¶ Bases:
OCC.MMgt.Handle_MMgt_TShared
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_IntPatch_WLine
(*args)¶ Bases:
OCC.IntPatch.Handle_IntPatch_PointLine
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
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: - Creates an analytic intersection line when the transitions are Touch.
Parameters: - C (IntAna_Curve &) –
- Tang (bool) –
- Situ1 (IntSurf_Situation) –
- Situ2 (IntSurf_Situation) –
Return type: - Creates an analytic intersection line when the transitions are Undecided.
Parameters: - C (IntAna_Curve &) –
- Tang (bool) –
Return type: -
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:
-
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:
-
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
-
Replace
()¶ - Replaces the element of range Index in the list of points.
Parameters: - Index (int) –
- Pnt (IntPatch_Point &) –
Return type:
-
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: Return type: Return type: -
MakeWLine
()¶ Parameters: Return type: Return type:
-
thisown
¶ The membership flag
-
-
class
IntPatch_ArcFunction
(*args)¶ Bases:
OCC.math.math_FunctionWithDerivative
Return type: None -
Arc
()¶ Return type: Handle_Adaptor2d_HCurve2d
-
Quadric
()¶ Return type: IntSurf_Quadric
-
Set
()¶ Parameters: - A (Handle_Adaptor2d_HCurve2d &) –
- S (Handle_Adaptor3d_HSurface &) –
Return type: Return type:
-
Surface
()¶ Return type: Handle_Adaptor3d_HSurface
-
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: -
AuxillarCurve
()¶ Return type: Handle_Adaptor2d_HCurve2d
-
AuxillarSurface
()¶ Return type: Handle_Adaptor3d_HSurface
-
thisown
¶ The membership flag
-
class
IntPatch_CurvIntSurf
(*args)¶ Bases:
object
Parameters: Return type: Return type: -
Function
()¶ Return type: IntPatch_CSFunction
-
Perform
()¶ Parameters: Return type:
-
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: Return type: - Creates a Line as intersection line when the transitions are Touch.
Parameters: Return type: - Creates a Line as intersection line when the transitions are Undecided.
Parameters: Return type: - Creates a circle as intersection line when the transitions are In or Out.
Parameters: Return type: - Creates a circle as intersection line when the transitions are Touch.
Parameters: Return type: - Creates a circle as intersection line when the transitions are Undecided.
Parameters: Return type: - Creates an ellipse as intersection line when the transitions are In or Out.
Parameters: Return type: - Creates an ellispe as intersection line when the transitions are Touch.
Parameters: Return type: - Creates an ellipse as intersection line when the transitions are Undecided.
Parameters: Return type: - Creates a parabola as intersection line when the transitions are In or Out.
Parameters: Return type: - Creates a parabola as intersection line when the transitions are Touch.
Parameters: Return type: - Creates a parabola as intersection line when the transitions are Undecided.
Parameters: Return type: - Creates an hyperbola as intersection line when the transitions are In or Out.
Parameters: Return type: - Creates an hyperbola as intersection line when the transitions are Touch.
Parameters: Return type: - Creates an hyperbola as intersection line when the transitions are Undecided.
Parameters: Return type: -
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
-
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:
-
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
Continuity
()¶ Parameters: C (Handle_Adaptor2d_HCurve2d &) – Return type: GeomAbs_Shape
-
static
D0
()¶ - Computes the point of parameter U on the curve.
Parameters: 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: Return type:
-
static
Ellipse
()¶ Parameters: C (Handle_Adaptor2d_HCurve2d &) – Return type: gp_Elips2d
-
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
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
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:
-
static
NbSamples
()¶ Parameters: Return type:
-
static
Parabola
()¶ Parameters: C (Handle_Adaptor2d_HCurve2d &) – Return type: gp_Parab2d
-
static
Resolution
()¶ - Returns the parametric resolution corresponding to the real space resolution <R3d>.
Parameters: - C (Handle_Adaptor2d_HCurve2d &) –
- R3d (float) –
Return type:
-
static
Value
()¶ - Computes the point of parameter U on the curve.
Parameters: - C (Handle_Adaptor2d_HCurve2d &) –
- U (float) –
Return type:
-
thisown
¶ The membership flag
-
static
-
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_Continuity
()¶ Parameters: C (Handle_Adaptor2d_HCurve2d &) – Return type: GeomAbs_Shape
-
IntPatch_HCurve2dTool_D0
()¶ - Computes the point of parameter U on the curve.
Parameters: 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: Return type:
-
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_LastParameter
()¶ Parameters: C (Handle_Adaptor2d_HCurve2d &) – Return type: float
-
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:
-
IntPatch_HCurve2dTool_NbSamples
()¶ Parameters: Return type:
-
IntPatch_HCurve2dTool_Parabola
()¶ Parameters: C (Handle_Adaptor2d_HCurve2d &) – Return type: gp_Parab2d
-
IntPatch_HCurve2dTool_Resolution
()¶ - Returns the parametric resolution corresponding to the real space resolution <R3d>.
Parameters: - C (Handle_Adaptor2d_HCurve2d &) –
- R3d (float) –
Return type:
-
IntPatch_HCurve2dTool_Value
()¶ - Computes the point of parameter U on the curve.
Parameters: - C (Handle_Adaptor2d_HCurve2d &) –
- U (float) –
Return type:
-
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:
-
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:
-
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:
-
static
NbPoints
()¶ - Returns the number of intersection points on the arc A.
Parameters: C (Handle_Adaptor2d_HCurve2d &) – 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: Return type:
-
static
NbSamplesV
()¶ Parameters: Return type:
-
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:
-
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: Return type:
-
SamplePoint
()¶ Parameters: - S (Handle_Adaptor3d_HSurface &) –
- Index (int) –
- U (float &) –
- V (float &) –
Return type:
-
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:
-
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: 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
-
static
-
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:
-
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:
-
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:
-
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: Return type:
-
IntPatch_HInterTool_NbSamplesV
()¶ Parameters: Return type:
-
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:
-
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: Return type:
-
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:
-
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: 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: Return type: -
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
-
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: Return type:
-
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: Parameters: Return type: -
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
-
Perform
()¶ Parameters: Return type:
-
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:
-
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: - 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: - 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: Parameters: Return type: Return type: -
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:
-
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
-
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: Return type: - 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: Return type: Return type:
-
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:
-
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:
-
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
-
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:
-
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
-
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:
-
ParametersOnS1
()¶ - Returns the parameters on the first surface of the point.
Parameters: - U1 (float &) –
- V1 (float &) –
Return type:
-
ParametersOnS2
()¶ - Returns the parameters on the second surface of the point.
Parameters: - U2 (float &) –
- V2 (float &) –
Return type:
-
PntOn2S
()¶ - Returns the PntOn2S (geometric Point and the parameters)
Return type: IntSurf_PntOn2S
-
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: Return type:
-
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:
-
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: Return type:
-
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:
-
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
-
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
()¶
-
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: Return type: -
thisown
¶ The membership flag
-
class
IntPatch_PolyLine
(*args)¶ Bases:
OCC.IntPatch.IntPatch_Polygo
Return type: None Parameters: InitDefle (float) – Return type: None -
thisown
¶ The membership flag
-
-
class
IntPatch_Polygo
(*args, **kwargs)¶ Bases:
OCC.Intf.Intf_Polygon2d
-
thisown
¶ The membership flag
-
-
class
IntPatch_PrmPrmIntersection
(*args)¶ Bases:
object
- Empty Constructor
Return type: None -
CodeReject
()¶ Parameters: Return type:
-
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
-
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: Return type:
-
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: Return type: - Performs the intersection between <Caro1> and <Caro2>. The method computes the polyhedron on each surface.
Parameters: Return type: - Performs the intersection between <Caro1> and <Caro2>. The method computes the polyhedron on each surface.
Parameters: Return type: - Performs the intersection between <Caro1> and <Caro2>. The method computes the polyhedron on each surface.
Parameters: Return type: - Performs the intersection between <Caro1> and <Caro2>. The method computes the polyhedron on each surface.
Parameters: Return type: - Performs the intersection between <Caro1> and <Caro2>. //! The polyhedron which approximates <Caro2>, <Polyhedron2> is given. The other one is computed.
Parameters: Return type: - Performs the intersection between <Caro1> and <Caro2>. //! The polyhedron which approximates <Caro1>, <Polyhedron1> is given. The other one is computed.
Parameters: Return type:
-
PointDepart
()¶ Parameters: Return type:
-
Remplit
()¶ Parameters: Return type:
-
RemplitLin
()¶ Parameters: Return type:
-
RemplitTri
()¶ Parameters: Return type:
-
thisown
¶ The membership flag
-
class
IntPatch_PrmPrmIntersection_T3Bits
(*args)¶ Bases:
object
Parameters: size (int) – Return type: None -
And
()¶ Parameters: - Oth (IntPatch_PrmPrmIntersection_T3Bits &) –
- indiceprecedent (int &) –
Return type:
-
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: - Creates a restriction as an intersection line when the transitions are Touch.
Parameters: - Tang (bool) –
- Situ1 (IntSurf_Situation) –
- Situ2 (IntSurf_Situation) –
Return type: - Creates a restriction as an intersection line when the transitions are Undecided.
Parameters: Tang (bool) – 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
-
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
-
Replace
()¶ - Replaces the element of range Index in the list of points.
Parameters: - Index (int) –
- Pnt (IntPatch_Point &) –
Return type:
-
SetPoint
()¶ - Set the Point of index <Index> in the LineOn2S
Parameters: - Index (int) –
- Pnt (IntPatch_Point &) –
Return type:
-
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: Return type: void
-
thisown
¶ The membership flag
-
static
-
IntPatch_RstInt_PutVertexOnLine
()¶ Parameters: 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: -
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: -
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: -
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: -
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: -
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: Return type:
-
Assign
()¶ Parameters: Other (IntPatch_SequenceOfIWLineOfTheIWalking &) – Return type: IntPatch_SequenceOfIWLineOfTheIWalking
-
ChangeValue
()¶ Parameters: Index (int) – Return type: Handle_IntPatch_TheIWLineOfTheIWalking
-
First
()¶ Return type: Handle_IntPatch_TheIWLineOfTheIWalking
-
InsertAfter
()¶ Parameters: - Index (int) –
- T (Handle_IntPatch_TheIWLineOfTheIWalking &) –
- Index –
- S (IntPatch_SequenceOfIWLineOfTheIWalking &) –
Return type: Return type:
-
InsertBefore
()¶ Parameters: - Index (int) –
- T (Handle_IntPatch_TheIWLineOfTheIWalking &) –
- Index –
- S (IntPatch_SequenceOfIWLineOfTheIWalking &) –
Return type: Return type:
-
Last
()¶ Return type: Handle_IntPatch_TheIWLineOfTheIWalking
-
Prepend
()¶ Parameters: - T (Handle_IntPatch_TheIWLineOfTheIWalking &) –
- S (IntPatch_SequenceOfIWLineOfTheIWalking &) –
Return type: Return type:
-
Remove
()¶ Parameters: Return type: Return type:
-
Set
()¶ Parameters: Other (IntPatch_SequenceOfIWLineOfTheIWalking &) – Return type: IntPatch_SequenceOfIWLineOfTheIWalking
-
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: Return type:
-
Assign
()¶ Parameters: Other (IntPatch_SequenceOfLine &) – Return type: IntPatch_SequenceOfLine
-
ChangeValue
()¶ Parameters: Index (int) – Return type: Handle_IntPatch_Line
-
First
()¶ Return type: Handle_IntPatch_Line
-
InsertAfter
()¶ Parameters: - Index (int) –
- T (Handle_IntPatch_Line &) –
- Index –
- S (IntPatch_SequenceOfLine &) –
Return type: Return type:
-
InsertBefore
()¶ Parameters: - Index (int) –
- T (Handle_IntPatch_Line &) –
- Index –
- S (IntPatch_SequenceOfLine &) –
Return type: Return type:
-
Last
()¶ Return type: Handle_IntPatch_Line
-
Prepend
()¶ Parameters: - T (Handle_IntPatch_Line &) –
- S (IntPatch_SequenceOfLine &) –
Return type: Return type:
-
Remove
()¶ Parameters: Return type: Return type:
-
Set
()¶ Parameters: Other (IntPatch_SequenceOfLine &) – Return type: IntPatch_SequenceOfLine
-
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: Return type:
-
Assign
()¶ Parameters: Other (IntPatch_SequenceOfPathPointOfTheSOnBounds &) – Return type: IntPatch_SequenceOfPathPointOfTheSOnBounds
-
ChangeValue
()¶ Parameters: Index (int) – Return type: IntPatch_ThePathPointOfTheSOnBounds
-
First
()¶ Return type: IntPatch_ThePathPointOfTheSOnBounds
-
InsertAfter
()¶ Parameters: - Index (int) –
- T (IntPatch_ThePathPointOfTheSOnBounds &) –
- Index –
- S (IntPatch_SequenceOfPathPointOfTheSOnBounds &) –
Return type: Return type:
-
InsertBefore
()¶ Parameters: - Index (int) –
- T (IntPatch_ThePathPointOfTheSOnBounds &) –
- Index –
- S (IntPatch_SequenceOfPathPointOfTheSOnBounds &) –
Return type: Return type:
-
Last
()¶ Return type: IntPatch_ThePathPointOfTheSOnBounds
-
Prepend
()¶ Parameters: - T (IntPatch_ThePathPointOfTheSOnBounds &) –
- S (IntPatch_SequenceOfPathPointOfTheSOnBounds &) –
Return type: Return type:
-
Remove
()¶ Parameters: Return type: Return type:
-
Set
()¶ Parameters: Other (IntPatch_SequenceOfPathPointOfTheSOnBounds &) – Return type: IntPatch_SequenceOfPathPointOfTheSOnBounds
-
Split
()¶ Parameters: - Index (int) –
- Sub (IntPatch_SequenceOfPathPointOfTheSOnBounds &) –
Return type:
-
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: Return type:
-
Assign
()¶ Parameters: Other (IntPatch_SequenceOfPoint &) – Return type: IntPatch_SequenceOfPoint
-
ChangeValue
()¶ Parameters: Index (int) – Return type: IntPatch_Point
-
First
()¶ Return type: IntPatch_Point
-
InsertAfter
()¶ Parameters: - Index (int) –
- T (IntPatch_Point &) –
- Index –
- S (IntPatch_SequenceOfPoint &) –
Return type: Return type:
-
InsertBefore
()¶ Parameters: - Index (int) –
- T (IntPatch_Point &) –
- Index –
- S (IntPatch_SequenceOfPoint &) –
Return type: Return type:
-
Last
()¶ Return type: IntPatch_Point
-
Prepend
()¶ Parameters: - T (IntPatch_Point &) –
- S (IntPatch_SequenceOfPoint &) –
Return type: Return type:
-
Remove
()¶ Parameters: Return type: Return type:
-
Set
()¶ Parameters: Other (IntPatch_SequenceOfPoint &) – Return type: IntPatch_SequenceOfPoint
-
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: Return type:
-
Assign
()¶ Parameters: Other (IntPatch_SequenceOfSegmentOfTheSOnBounds &) – Return type: IntPatch_SequenceOfSegmentOfTheSOnBounds
-
ChangeValue
()¶ Parameters: Index (int) – Return type: IntPatch_TheSegmentOfTheSOnBounds
-
First
()¶ Return type: IntPatch_TheSegmentOfTheSOnBounds
-
InsertAfter
()¶ Parameters: - Index (int) –
- T (IntPatch_TheSegmentOfTheSOnBounds &) –
- Index –
- S (IntPatch_SequenceOfSegmentOfTheSOnBounds &) –
Return type: Return type:
-
InsertBefore
()¶ Parameters: - Index (int) –
- T (IntPatch_TheSegmentOfTheSOnBounds &) –
- Index –
- S (IntPatch_SequenceOfSegmentOfTheSOnBounds &) –
Return type: Return type:
-
Last
()¶ Return type: IntPatch_TheSegmentOfTheSOnBounds
-
Prepend
()¶ Parameters: - T (IntPatch_TheSegmentOfTheSOnBounds &) –
- S (IntPatch_SequenceOfSegmentOfTheSOnBounds &) –
Return type: Return type:
-
Remove
()¶ Parameters: Return type: Return type:
-
Set
()¶ Parameters: Other (IntPatch_SequenceOfSegmentOfTheSOnBounds &) – Return type: IntPatch_SequenceOfSegmentOfTheSOnBounds
-
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 -
AddStatusFirst
()¶ Parameters: Return type: Return type:
-
AddStatusFirstLast
()¶ Parameters: Return type:
-
AddStatusLast
()¶ Parameters: Return type: Return type:
-
FirstPoint
()¶ Return type: IntSurf_PathPoint
-
GetHandle
()¶
-
LastPoint
()¶ Return type: IntSurf_PathPoint
-
Line
()¶ Return type: Handle_IntSurf_LineOn2S
-
Value
()¶ Parameters: Index (int) – Return type: IntSurf_PntOn2S
-
thisown
¶ The membership flag
-
-
class
IntPatch_TheIWalking
(*args)¶ Bases:
object
Parameters: Return type: -
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: Return type:
-
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: Parameters: Return type: Return type: -
Arc
()¶ Return type: Handle_Adaptor2d_HCurve2d
-
SetValue
()¶ Parameters: Return type: Return type:
-
Vertex
()¶ Return type: Handle_Adaptor3d_HVertex
-
thisown
¶ The membership flag
-
-
class
IntPatch_TheSOnBounds
(*args)¶ Bases:
object
Return type: None -
Perform
()¶ Parameters: Return type:
-
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: Parameters: - F (IntPatch_TheSurfFunction &) –
- Surf (Handle_Adaptor3d_HSurface &) –
- T (Handle_Adaptor3d_TopolTool &) –
- Epsilon (float) –
Return type: -
Perform
()¶ Parameters: Return type: Return type:
-
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
-
LastPoint
()¶ Return type: IntPatch_ThePathPointOfTheSOnBounds
-
SetLimitPoint
()¶ Parameters: - V (IntPatch_ThePathPointOfTheSOnBounds &) –
- First (bool) –
Return type:
-
thisown
¶ The membership flag
-
-
class
IntPatch_TheSurfFunction
(*args)¶ Bases:
OCC.math.math_FunctionSetWithDerivatives
Return type: Parameters: - PS (Handle_Adaptor3d_HSurface &) –
- IS (IntSurf_Quadric &) –
- IS –
Return type: Return type: -
ISurface
()¶ Return type: IntSurf_Quadric
-
PSurface
()¶ Return type: Handle_Adaptor3d_HSurface
-
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: - 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: - Creates a WLine as an intersection when the transitions are Undecided.
Parameters: - Line (Handle_IntSurf_LineOn2S &) –
- Tang (bool) –
Return type: -
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: Return type:
-
Curve
()¶ Return type: Handle_IntSurf_LineOn2S
-
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
()¶
-
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
-
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
-
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:
-
SetPoint
()¶ - Set the Point of index <Index> in the LineOn2S
Parameters: - Index (int) –
- Pnt (IntPatch_Point &) –
Return type:
-
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