OCC.Geom2dInt module¶
Intersection between two Curves2 from Geom2dAdaptor-Level: PublicAll the methods of the classes are public.
-
class
Geom2dInt_ExactIntersectionPointOfTheIntPCurvePCurveOfGInter
(*args)¶ Bases:
object
Parameters: - C1 (Adaptor2d_Curve2d &) –
- C2 (Adaptor2d_Curve2d &) –
- Tol (float) –
Return type: -
Perform
()¶ Parameters: Return type: Return type:
-
thisown
¶ The membership flag
-
class
Geom2dInt_GInter
(*args)¶ Bases:
OCC.IntRes2d.IntRes2d_Intersection
Return type: Parameters: - C (Adaptor2d_Curve2d &) –
- TolConf (float) –
- Tol (float) –
- C –
- D (IntRes2d_Domain &) –
- TolConf –
- Tol –
- C1 (Adaptor2d_Curve2d &) –
- C2 (Adaptor2d_Curve2d &) –
- TolConf –
- Tol –
- C1 –
- D1 (IntRes2d_Domain &) –
- C2 –
- TolConf –
- Tol –
- C1 –
- C2 –
- D2 (IntRes2d_Domain &) –
- TolConf –
- Tol –
- C1 –
- D1 –
- C2 –
- D2 –
- TolConf –
- Tol –
Return type: Return type: Return type: Return type: Return type: Return type: -
Perform
()¶ Parameters: Return type: Return type: Return type: Return type: Return type: Return type:
-
thisown
¶ The membership flag
-
class
Geom2dInt_Geom2dCurveTool
¶ Bases:
object
-
static
Circle
()¶ - Returns the Circ2d from gp corresponding to the curve C. This method is called only when TheType returns GeomAbs_Circle.
Parameters: C (Adaptor2d_Curve2d &) – Return type: gp_Circ2d
-
static
D1
()¶ Parameters: Return type: void
-
static
D2
()¶ Parameters: Return type: void
-
static
D3
()¶ Parameters: Return type: void
-
static
Ellipse
()¶ - Returns the Elips2d from gp corresponding to the curve C. This method is called only when TheType returns GeomAbs_Ellipse.
Parameters: C (Adaptor2d_Curve2d &) – Return type: gp_Elips2d
-
static
EpsX
()¶ Parameters: - C (Adaptor2d_Curve2d &) –
- C –
- Eps_XYZ (float) –
Return type: Return type:
-
static
GetInterval
()¶ - output the bounds of interval of index <Index> used if Type == Composite.
Parameters: - C (Adaptor2d_Curve2d &) –
- Index (int) –
- Tab (TColStd_Array1OfReal &) –
- U1 (float &) –
- U2 (float &) –
Return type: void
-
static
GetType
()¶ Parameters: C (Adaptor2d_Curve2d &) – Return type: GeomAbs_CurveType
-
static
Hyperbola
()¶ - Returns the Hypr2d from gp corresponding to the curve C. This method is called only when TheType returns GeomAbs_Hyperbola.
Parameters: C (Adaptor2d_Curve2d &) – Return type: gp_Hypr2d
-
static
Intervals
()¶ - compute Tab.
Parameters: - C (Adaptor2d_Curve2d &) –
- Tab (TColStd_Array1OfReal &) –
Return type: void
-
static
Line
()¶ - Returns the Lin2d from gp corresponding to the curve C. This method is called only when TheType returns GeomAbs_Line.
Parameters: C (Adaptor2d_Curve2d &) – Return type: gp_Lin2d
-
static
NbIntervals
()¶ - output the number of interval of continuity C2 of the curve
Parameters: C (Adaptor2d_Curve2d &) – Return type: int
-
static
NbSamples
()¶ Parameters: Return type: Return type:
-
static
Parabola
()¶ - Returns the Parab2d from gp corresponding to the curve C. This method is called only when TheType returns GeomAbs_Parabola.
Parameters: C (Adaptor2d_Curve2d &) – Return type: gp_Parab2d
-
thisown
¶ The membership flag
-
static
-
Geom2dInt_Geom2dCurveTool_Circle
()¶ - Returns the Circ2d from gp corresponding to the curve C. This method is called only when TheType returns GeomAbs_Circle.
Parameters: C (Adaptor2d_Curve2d &) – Return type: gp_Circ2d
-
Geom2dInt_Geom2dCurveTool_D0
()¶ Parameters: Return type: void
-
Geom2dInt_Geom2dCurveTool_D1
()¶ Parameters: Return type: void
-
Geom2dInt_Geom2dCurveTool_D2
()¶ Parameters: Return type: void
-
Geom2dInt_Geom2dCurveTool_D3
()¶ Parameters: Return type: void
-
Geom2dInt_Geom2dCurveTool_DN
()¶ Parameters: Return type:
-
Geom2dInt_Geom2dCurveTool_Ellipse
()¶ - Returns the Elips2d from gp corresponding to the curve C. This method is called only when TheType returns GeomAbs_Ellipse.
Parameters: C (Adaptor2d_Curve2d &) – Return type: gp_Elips2d
-
Geom2dInt_Geom2dCurveTool_EpsX
()¶ Parameters: - C (Adaptor2d_Curve2d &) –
- C –
- Eps_XYZ (float) –
Return type: Return type:
-
Geom2dInt_Geom2dCurveTool_GetInterval
()¶ - output the bounds of interval of index <Index> used if Type == Composite.
Parameters: - C (Adaptor2d_Curve2d &) –
- Index (int) –
- Tab (TColStd_Array1OfReal &) –
- U1 (float &) –
- U2 (float &) –
Return type: void
-
Geom2dInt_Geom2dCurveTool_GetType
()¶ Parameters: C (Adaptor2d_Curve2d &) – Return type: GeomAbs_CurveType
-
Geom2dInt_Geom2dCurveTool_Hyperbola
()¶ - Returns the Hypr2d from gp corresponding to the curve C. This method is called only when TheType returns GeomAbs_Hyperbola.
Parameters: C (Adaptor2d_Curve2d &) – Return type: gp_Hypr2d
-
Geom2dInt_Geom2dCurveTool_Intervals
()¶ - compute Tab.
Parameters: - C (Adaptor2d_Curve2d &) –
- Tab (TColStd_Array1OfReal &) –
Return type: void
-
Geom2dInt_Geom2dCurveTool_Line
()¶ - Returns the Lin2d from gp corresponding to the curve C. This method is called only when TheType returns GeomAbs_Line.
Parameters: C (Adaptor2d_Curve2d &) – Return type: gp_Lin2d
-
Geom2dInt_Geom2dCurveTool_NbIntervals
()¶ - output the number of interval of continuity C2 of the curve
Parameters: C (Adaptor2d_Curve2d &) – Return type: int
-
Geom2dInt_Geom2dCurveTool_NbSamples
()¶ Parameters: Return type: Return type:
-
Geom2dInt_Geom2dCurveTool_Parabola
()¶ - Returns the Parab2d from gp corresponding to the curve C. This method is called only when TheType returns GeomAbs_Parabola.
Parameters: C (Adaptor2d_Curve2d &) – Return type: gp_Parab2d
-
class
Geom2dInt_IntConicCurveOfGInter
(*args)¶ Bases:
OCC.IntRes2d.IntRes2d_Intersection
Return type: Parameters: - L (gp_Lin2d) –
- D1 (IntRes2d_Domain &) –
- PCurve (Adaptor2d_Curve2d &) –
- D2 (IntRes2d_Domain &) –
- TolConf (float) –
- Tol (float) –
- C (gp_Circ2d) –
- D1 –
- PCurve –
- D2 –
- TolConf –
- Tol –
- E (gp_Elips2d) –
- D1 –
- PCurve –
- D2 –
- TolConf –
- Tol –
- Prb (gp_Parab2d) –
- D1 –
- PCurve –
- D2 –
- TolConf –
- Tol –
- H (gp_Hypr2d) –
- D1 –
- PCurve –
- D2 –
- TolConf –
- Tol –
Return type: Return type: Return type: Return type: Return type: -
Perform
()¶ Parameters: - L (gp_Lin2d) –
- D1 (IntRes2d_Domain &) –
- PCurve (Adaptor2d_Curve2d &) –
- D2 (IntRes2d_Domain &) –
- TolConf (float) –
- Tol (float) –
- C (gp_Circ2d) –
- D1 –
- PCurve –
- D2 –
- TolConf –
- Tol –
- E (gp_Elips2d) –
- D1 –
- PCurve –
- D2 –
- TolConf –
- Tol –
- Prb (gp_Parab2d) –
- D1 –
- PCurve –
- D2 –
- TolConf –
- Tol –
- H (gp_Hypr2d) –
- D1 –
- PCurve –
- D2 –
- TolConf –
- Tol –
Return type: Return type: Return type: Return type: Return type:
-
thisown
¶ The membership flag
-
class
Geom2dInt_MyImpParToolOfTheIntersectorOfTheIntConicCurveOfGInter
(*args)¶ Bases:
OCC.math.math_FunctionWithDerivative
Parameters: - IT (IntCurve_IConicTool &) –
- PC (Adaptor2d_Curve2d &) –
Return type: -
thisown
¶ The membership flag
-
class
Geom2dInt_PCLocFOfTheLocateExtPCOfTheProjPCurOfGInter
(*args)¶ Bases:
OCC.math.math_FunctionWithDerivative
Return type: Parameters: - P (gp_Pnt2d) –
- C (Adaptor2d_Curve2d &) –
Return type: -
Point
()¶ Parameters: N (int) – Return type: Extrema_POnCurv2d
-
thisown
¶ The membership flag
-
class
Geom2dInt_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter
(*args)¶ Bases:
OCC.TCollection.TCollection_BaseSequence
Return type: None Parameters: Other (Geom2dInt_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter &) – Return type: None -
Append
()¶ Parameters: - T (Extrema_POnCurv2d &) –
- S (Geom2dInt_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter &) –
Return type: Return type:
-
Assign
()¶ Parameters: Other (Geom2dInt_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter &) – Return type: Geom2dInt_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter
-
ChangeValue
()¶ Parameters: Index (int) – Return type: Extrema_POnCurv2d
-
First
()¶ Return type: Extrema_POnCurv2d
-
InsertAfter
()¶ Parameters: - Index (int) –
- T (Extrema_POnCurv2d &) –
- Index –
- S (Geom2dInt_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter &) –
Return type: Return type:
-
InsertBefore
()¶ Parameters: - Index (int) –
- T (Extrema_POnCurv2d &) –
- Index –
- S (Geom2dInt_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter &) –
Return type: Return type:
-
Last
()¶ Return type: Extrema_POnCurv2d
-
Prepend
()¶ Parameters: - T (Extrema_POnCurv2d &) –
- S (Geom2dInt_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter &) –
Return type: Return type:
-
Remove
()¶ Parameters: Return type: Return type:
-
Set
()¶ Parameters: Other (Geom2dInt_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter &) – Return type: Geom2dInt_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter
-
Split
()¶ Parameters: - Index (int) –
- Sub (Geom2dInt_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter &) –
Return type:
-
Value
()¶ Parameters: Index (int) – Return type: Extrema_POnCurv2d
-
thisown
¶ The membership flag
-
-
class
Geom2dInt_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter
(*args)¶ Bases:
OCC.TCollection.TCollection_SeqNode
Parameters: - I (Extrema_POnCurv2d &) –
- n (TCollection_SeqNodePtr &) –
- p (TCollection_SeqNodePtr &) –
Return type: -
GetHandle
()¶
-
Value
()¶ Return type: Extrema_POnCurv2d
-
thisown
¶ The membership flag
-
class
Geom2dInt_TheDistBetweenPCurvesOfTheIntPCurvePCurveOfGInter
(*args)¶ Bases:
OCC.math.math_FunctionSetWithDerivatives
Parameters: - curve1 (Adaptor2d_Curve2d &) –
- curve2 (Adaptor2d_Curve2d &) –
Return type: -
thisown
¶ The membership flag
-
class
Geom2dInt_TheIntConicCurveOfGInter
(*args)¶ Bases:
OCC.IntRes2d.IntRes2d_Intersection
Return type: Parameters: - L (gp_Lin2d) –
- D1 (IntRes2d_Domain &) –
- PCurve (Adaptor2d_Curve2d &) –
- D2 (IntRes2d_Domain &) –
- TolConf (float) –
- Tol (float) –
- C (gp_Circ2d) –
- D1 –
- PCurve –
- D2 –
- TolConf –
- Tol –
- E (gp_Elips2d) –
- D1 –
- PCurve –
- D2 –
- TolConf –
- Tol –
- Prb (gp_Parab2d) –
- D1 –
- PCurve –
- D2 –
- TolConf –
- Tol –
- H (gp_Hypr2d) –
- D1 –
- PCurve –
- D2 –
- TolConf –
- Tol –
Return type: Return type: Return type: Return type: Return type: -
Perform
()¶ Parameters: - L (gp_Lin2d) –
- D1 (IntRes2d_Domain &) –
- PCurve (Adaptor2d_Curve2d &) –
- D2 (IntRes2d_Domain &) –
- TolConf (float) –
- Tol (float) –
- C (gp_Circ2d) –
- D1 –
- PCurve –
- D2 –
- TolConf –
- Tol –
- E (gp_Elips2d) –
- D1 –
- PCurve –
- D2 –
- TolConf –
- Tol –
- Prb (gp_Parab2d) –
- D1 –
- PCurve –
- D2 –
- TolConf –
- Tol –
- H (gp_Hypr2d) –
- D1 –
- PCurve –
- D2 –
- TolConf –
- Tol –
Return type: Return type: Return type: Return type: Return type:
-
thisown
¶ The membership flag
-
class
Geom2dInt_TheIntPCurvePCurveOfGInter
(*args)¶ Bases:
OCC.IntRes2d.IntRes2d_Intersection
Return type: None -
Perform
()¶ Parameters: Return type: Return type:
-
thisown
¶ The membership flag
-
-
class
Geom2dInt_TheIntersectorOfTheIntConicCurveOfGInter
(*args)¶ Bases:
OCC.IntRes2d.IntRes2d_Intersection
Return type: Parameters: Return type: -
And_Domaine_Objet1_Intersections
()¶ Parameters: - TheImpTool (IntCurve_IConicTool &) –
- TheParCurve (Adaptor2d_Curve2d &) –
- TheImpCurveDomain (IntRes2d_Domain &) –
- TheParCurveDomain (IntRes2d_Domain &) –
- NbResultats (int &) –
- Inter2_And_Domain2 (TColStd_Array1OfReal &) –
- Inter1 (TColStd_Array1OfReal &) –
- Resultat1 (TColStd_Array1OfReal &) –
- Resultat2 (TColStd_Array1OfReal &) –
- EpsNul (float) –
Return type:
-
FindU
()¶ Parameters: Return type:
-
FindV
()¶ Parameters: Return type:
-
Perform
()¶ Parameters: Return type:
-
thisown
¶ The membership flag
-
-
class
Geom2dInt_TheLocateExtPCOfTheProjPCurOfGInter
(*args)¶ Bases:
object
Return type: Parameters: Return type: Return type: -
Initialize
()¶ Parameters: Return type:
-
Point
()¶ Return type: Extrema_POnCurv2d
-
thisown
¶ The membership flag
-
-
class
Geom2dInt_ThePolygon2dOfTheIntPCurvePCurveOfGInter
(*args)¶ Bases:
OCC.Intf.Intf_Polygon2d
Parameters: Return type: -
CalculRegion
()¶ Parameters: Return type:
-
ComputeWithBox
()¶ Parameters: - Curve (Adaptor2d_Curve2d &) –
- OtherBox (Bnd_Box2d &) –
Return type:
-
thisown
¶ The membership flag
-
-
class
Geom2dInt_TheProjPCurOfGInter
¶ Bases:
object
-
static
FindParameter
()¶ Parameters: Return type: Return type:
-
thisown
¶ The membership flag
-
static
-
Geom2dInt_TheProjPCurOfGInter_FindParameter
()¶ Parameters: Return type: Return type:
-
class
Handle_Geom2dInt_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_SeqNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
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