OCC.IntCurveSurface module¶
This package provides algorithmes to intersect a Curveand a Surface.Level: InternalAll the methods of the classes of this package are Internal.except the methods of the classes <Intersection,IntersectionPoint,IntersectionSegment>
-
class
Handle_IntCurveSurface_SequenceNodeOfSequenceOfPnt
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_SeqNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_IntCurveSurface_SequenceNodeOfSequenceOfSeg
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_SeqNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
IntCurveSurface_HInter
(*args)¶ Bases:
OCC.IntCurveSurface.IntCurveSurface_Intersection
Return type: None -
Perform
()¶ Parameters: - Curve (Handle_Adaptor3d_HCurve &) –
- Surface (Handle_Adaptor3d_HSurface &) –
- Curve –
- Polygon (IntCurveSurface_ThePolygonOfHInter &) –
- Surface –
- Curve –
- ThePolygon (IntCurveSurface_ThePolygonOfHInter &) –
- Surface –
- Polyhedron (IntCurveSurface_ThePolyhedronOfHInter &) –
- Curve –
- ThePolygon –
- Surface –
- Polyhedron –
- BndBSB (Bnd_BoundSortBox &) –
- Curve –
- Surface –
- Polyhedron –
Return type: Return type: Return type: Return type: Return type:
-
thisown
¶ The membership flag
-
-
class
IntCurveSurface_Intersection
(*args, **kwargs)¶ Bases:
object
-
NbPoints
()¶ - returns the number of IntersectionPoint if IsDone returns True. else NotDone is raised.
Return type: int
-
NbSegments
()¶ - returns the number of IntersectionSegment if IsDone returns True. else NotDone is raised.
Return type: int
-
Point
()¶ - returns the IntersectionPoint of range <Index> raises NotDone if the computation has failed or if the computation has not been done raises OutOfRange if Index is not in the range <1..NbPoints>
Parameters: Index (int) – Return type: IntCurveSurface_IntersectionPoint
-
Segment
()¶ - returns the IntersectionSegment of range <Index> raises NotDone if the computation has failed or if the computation has not been done raises OutOfRange if Index is not in the range <1..NbSegment>
Parameters: Index (int) – Return type: IntCurveSurface_IntersectionSegment
-
thisown
¶ The membership flag
-
-
class
IntCurveSurface_IntersectionPoint
(*args)¶ Bases:
object
- Empty Constructor.
Return type: None - Create an IntersectionPoint.
Parameters: Return type: -
SetValues
()¶ - Set the fields of the current IntersectionPoint.
Parameters: Return type:
-
Transition
()¶ - returns the Transition of the point.
Return type: IntCurveSurface_TransitionOnCurve
-
Values
()¶ - Get the fields of the current IntersectionPoint.
Parameters: - P (gp_Pnt) –
- USurf (float &) –
- VSurf (float &) –
- UCurv (float &) –
- TrCurv (IntCurveSurface_TransitionOnCurve &) –
Return type:
-
thisown
¶ The membership flag
-
class
IntCurveSurface_IntersectionSegment
(*args)¶ Bases:
object
Return type: Parameters: - P1 (IntCurveSurface_IntersectionPoint &) –
- P2 (IntCurveSurface_IntersectionPoint &) –
Return type: -
FirstPoint
()¶ Parameters: P1 (IntCurveSurface_IntersectionPoint &) – Return type: None Return type: IntCurveSurface_IntersectionPoint
-
SecondPoint
()¶ Parameters: P2 (IntCurveSurface_IntersectionPoint &) – Return type: None Return type: IntCurveSurface_IntersectionPoint
-
SetValues
()¶ Parameters: - P1 (IntCurveSurface_IntersectionPoint &) –
- P2 (IntCurveSurface_IntersectionPoint &) –
Return type:
-
Values
()¶ Parameters: - P1 (IntCurveSurface_IntersectionPoint &) –
- P2 (IntCurveSurface_IntersectionPoint &) –
Return type:
-
thisown
¶ The membership flag
-
class
IntCurveSurface_SequenceNodeOfSequenceOfPnt
(*args)¶ Bases:
OCC.TCollection.TCollection_SeqNode
Parameters: - I (IntCurveSurface_IntersectionPoint &) –
- n (TCollection_SeqNodePtr &) –
- p (TCollection_SeqNodePtr &) –
Return type: -
GetHandle
()¶
-
Value
()¶ Return type: IntCurveSurface_IntersectionPoint
-
thisown
¶ The membership flag
-
class
IntCurveSurface_SequenceNodeOfSequenceOfSeg
(*args)¶ Bases:
OCC.TCollection.TCollection_SeqNode
Parameters: - I (IntCurveSurface_IntersectionSegment &) –
- n (TCollection_SeqNodePtr &) –
- p (TCollection_SeqNodePtr &) –
Return type: -
GetHandle
()¶
-
Value
()¶ Return type: IntCurveSurface_IntersectionSegment
-
thisown
¶ The membership flag
-
class
IntCurveSurface_SequenceOfPnt
(*args)¶ Bases:
OCC.TCollection.TCollection_BaseSequence
Return type: None Parameters: Other (IntCurveSurface_SequenceOfPnt &) – Return type: None -
Append
()¶ Parameters: - T (IntCurveSurface_IntersectionPoint &) –
- S (IntCurveSurface_SequenceOfPnt &) –
Return type: Return type:
-
Assign
()¶ Parameters: Other (IntCurveSurface_SequenceOfPnt &) – Return type: IntCurveSurface_SequenceOfPnt
-
ChangeValue
()¶ Parameters: Index (int) – Return type: IntCurveSurface_IntersectionPoint
-
First
()¶ Return type: IntCurveSurface_IntersectionPoint
-
InsertAfter
()¶ Parameters: - Index (int) –
- T (IntCurveSurface_IntersectionPoint &) –
- Index –
- S (IntCurveSurface_SequenceOfPnt &) –
Return type: Return type:
-
InsertBefore
()¶ Parameters: - Index (int) –
- T (IntCurveSurface_IntersectionPoint &) –
- Index –
- S (IntCurveSurface_SequenceOfPnt &) –
Return type: Return type:
-
Last
()¶ Return type: IntCurveSurface_IntersectionPoint
-
Prepend
()¶ Parameters: - T (IntCurveSurface_IntersectionPoint &) –
- S (IntCurveSurface_SequenceOfPnt &) –
Return type: Return type:
-
Remove
()¶ Parameters: Return type: Return type:
-
Set
()¶ Parameters: Other (IntCurveSurface_SequenceOfPnt &) – Return type: IntCurveSurface_SequenceOfPnt
-
Value
()¶ Parameters: Index (int) – Return type: IntCurveSurface_IntersectionPoint
-
thisown
¶ The membership flag
-
-
class
IntCurveSurface_SequenceOfSeg
(*args)¶ Bases:
OCC.TCollection.TCollection_BaseSequence
Return type: None Parameters: Other (IntCurveSurface_SequenceOfSeg &) – Return type: None -
Append
()¶ Parameters: - T (IntCurveSurface_IntersectionSegment &) –
- S (IntCurveSurface_SequenceOfSeg &) –
Return type: Return type:
-
Assign
()¶ Parameters: Other (IntCurveSurface_SequenceOfSeg &) – Return type: IntCurveSurface_SequenceOfSeg
-
ChangeValue
()¶ Parameters: Index (int) – Return type: IntCurveSurface_IntersectionSegment
-
First
()¶ Return type: IntCurveSurface_IntersectionSegment
-
InsertAfter
()¶ Parameters: - Index (int) –
- T (IntCurveSurface_IntersectionSegment &) –
- Index –
- S (IntCurveSurface_SequenceOfSeg &) –
Return type: Return type:
-
InsertBefore
()¶ Parameters: - Index (int) –
- T (IntCurveSurface_IntersectionSegment &) –
- Index –
- S (IntCurveSurface_SequenceOfSeg &) –
Return type: Return type:
-
Last
()¶ Return type: IntCurveSurface_IntersectionSegment
-
Prepend
()¶ Parameters: - T (IntCurveSurface_IntersectionSegment &) –
- S (IntCurveSurface_SequenceOfSeg &) –
Return type: Return type:
-
Remove
()¶ Parameters: Return type: Return type:
-
Set
()¶ Parameters: Other (IntCurveSurface_SequenceOfSeg &) – Return type: IntCurveSurface_SequenceOfSeg
-
Value
()¶ Parameters: Index (int) – Return type: IntCurveSurface_IntersectionSegment
-
thisown
¶ The membership flag
-
-
class
IntCurveSurface_TheCSFunctionOfHInter
(*args)¶ Bases:
OCC.math.math_FunctionSetWithDerivatives
Parameters: - S (Handle_Adaptor3d_HSurface &) –
- C (Handle_Adaptor3d_HCurve &) –
Return type: -
AuxillarCurve
()¶ Return type: Handle_Adaptor3d_HCurve
-
AuxillarSurface
()¶ Return type: Handle_Adaptor3d_HSurface
-
thisown
¶ The membership flag
-
class
IntCurveSurface_TheExactHInter
(*args)¶ Bases:
object
Parameters: Return type: Return type: -
Function
()¶ Return type: IntCurveSurface_TheCSFunctionOfHInter
-
Perform
()¶ Parameters: Return type:
-
thisown
¶ The membership flag
-
-
class
IntCurveSurface_TheHCurveTool
¶ Bases:
object
-
static
BSpline
()¶ Parameters: C (Handle_Adaptor3d_HCurve &) – Return type: Handle_Geom_BSplineCurve
-
static
Bezier
()¶ Parameters: C (Handle_Adaptor3d_HCurve &) – Return type: Handle_Geom_BezierCurve
-
static
Continuity
()¶ Parameters: C (Handle_Adaptor3d_HCurve &) – Return type: GeomAbs_Shape
-
static
D1
()¶ Parameters: Return type: void
-
static
D2
()¶ Parameters: Return type: void
-
static
D3
()¶ Parameters: Return type: void
-
static
GetType
()¶ Parameters: C (Handle_Adaptor3d_HCurve &) – Return type: GeomAbs_CurveType
-
static
Intervals
()¶ Parameters: - C (Handle_Adaptor3d_HCurve &) –
- T (TColStd_Array1OfReal &) –
- S (GeomAbs_Shape) –
Return type: void
-
static
NbIntervals
()¶ Parameters: - C (Handle_Adaptor3d_HCurve &) –
- S (GeomAbs_Shape) –
Return type:
-
static
NbSamples
()¶ Parameters: Return type:
-
static
SamplePars
()¶ Parameters: Return type: void
-
thisown
¶ The membership flag
-
static
-
IntCurveSurface_TheHCurveTool_BSpline
()¶ Parameters: C (Handle_Adaptor3d_HCurve &) – Return type: Handle_Geom_BSplineCurve
-
IntCurveSurface_TheHCurveTool_Bezier
()¶ Parameters: C (Handle_Adaptor3d_HCurve &) – Return type: Handle_Geom_BezierCurve
-
IntCurveSurface_TheHCurveTool_Circle
()¶ Parameters: C (Handle_Adaptor3d_HCurve &) – Return type: gp_Circ
-
IntCurveSurface_TheHCurveTool_Continuity
()¶ Parameters: C (Handle_Adaptor3d_HCurve &) – Return type: GeomAbs_Shape
-
IntCurveSurface_TheHCurveTool_D0
()¶ Parameters: Return type: void
-
IntCurveSurface_TheHCurveTool_D1
()¶ Parameters: Return type: void
-
IntCurveSurface_TheHCurveTool_D2
()¶ Parameters: Return type: void
-
IntCurveSurface_TheHCurveTool_D3
()¶ Parameters: Return type: void
-
IntCurveSurface_TheHCurveTool_DN
()¶ Parameters: Return type:
-
IntCurveSurface_TheHCurveTool_Ellipse
()¶ Parameters: C (Handle_Adaptor3d_HCurve &) – Return type: gp_Elips
-
IntCurveSurface_TheHCurveTool_FirstParameter
()¶ Parameters: C (Handle_Adaptor3d_HCurve &) – Return type: float
-
IntCurveSurface_TheHCurveTool_GetType
()¶ Parameters: C (Handle_Adaptor3d_HCurve &) – Return type: GeomAbs_CurveType
-
IntCurveSurface_TheHCurveTool_Hyperbola
()¶ Parameters: C (Handle_Adaptor3d_HCurve &) – Return type: gp_Hypr
-
IntCurveSurface_TheHCurveTool_Intervals
()¶ Parameters: - C (Handle_Adaptor3d_HCurve &) –
- T (TColStd_Array1OfReal &) –
- S (GeomAbs_Shape) –
Return type: void
-
IntCurveSurface_TheHCurveTool_IsClosed
()¶ Parameters: C (Handle_Adaptor3d_HCurve &) – Return type: bool
-
IntCurveSurface_TheHCurveTool_IsPeriodic
()¶ Parameters: C (Handle_Adaptor3d_HCurve &) – Return type: bool
-
IntCurveSurface_TheHCurveTool_LastParameter
()¶ Parameters: C (Handle_Adaptor3d_HCurve &) – Return type: float
-
IntCurveSurface_TheHCurveTool_NbIntervals
()¶ Parameters: - C (Handle_Adaptor3d_HCurve &) –
- S (GeomAbs_Shape) –
Return type:
-
IntCurveSurface_TheHCurveTool_NbSamples
()¶ Parameters: Return type:
-
IntCurveSurface_TheHCurveTool_Parabola
()¶ Parameters: C (Handle_Adaptor3d_HCurve &) – Return type: gp_Parab
-
IntCurveSurface_TheHCurveTool_Period
()¶ Parameters: C (Handle_Adaptor3d_HCurve &) – Return type: float
-
IntCurveSurface_TheHCurveTool_Resolution
()¶ Parameters: - C (Handle_Adaptor3d_HCurve &) –
- R3d (float) –
Return type:
-
IntCurveSurface_TheHCurveTool_SamplePars
()¶ Parameters: Return type: void
-
IntCurveSurface_TheHCurveTool_Value
()¶ Parameters: - C (Handle_Adaptor3d_HCurve &) –
- U (float) –
Return type:
-
class
IntCurveSurface_TheInterferenceOfHInter
(*args)¶ Bases:
OCC.Intf.Intf_Interference
Return type: Parameters: - thePolyg (IntCurveSurface_ThePolygonOfHInter &) –
- thePolyh (IntCurveSurface_ThePolyhedronOfHInter &) –
- theLin (gp_Lin) –
- thePolyh –
- theLins (Intf_Array1OfLin &) –
- thePolyh –
- thePolyg –
- thePolyh –
- theBoundSB (Bnd_BoundSortBox &) –
- theLin –
- thePolyh –
- theBoundSB –
- theLins –
- thePolyh –
- theBoundSB –
Return type: Return type: Return type: Return type: Return type: Return type: -
Interference
()¶ Parameters: - thePolyg (IntCurveSurface_ThePolygonOfHInter &) –
- thePolyh (IntCurveSurface_ThePolyhedronOfHInter &) –
- theBoundSB (Bnd_BoundSortBox &) –
- thePolyg –
- thePolyh –
Return type: Return type:
-
Perform
()¶ Parameters: - thePolyg (IntCurveSurface_ThePolygonOfHInter &) –
- thePolyh (IntCurveSurface_ThePolyhedronOfHInter &) –
- theLin (gp_Lin) –
- thePolyh –
- theLins (Intf_Array1OfLin &) –
- thePolyh –
- thePolyg –
- thePolyh –
- theBoundSB (Bnd_BoundSortBox &) –
- theLin –
- thePolyh –
- theBoundSB –
- theLins –
- thePolyh –
- theBoundSB –
Return type: Return type: Return type: Return type: Return type: Return type:
-
thisown
¶ The membership flag
-
class
IntCurveSurface_ThePolygonOfHInter
(*args)¶ Bases:
object
Parameters: Return type: Return type: Return type: -
thisown
¶ The membership flag
-
-
class
IntCurveSurface_ThePolygonToolOfHInter
¶ Bases:
object
-
static
BeginOfSeg
()¶ Parameters: - thePolygon (IntCurveSurface_ThePolygonOfHInter &) –
- Index (int) –
Return type:
-
static
Bounding
()¶ Parameters: thePolygon (IntCurveSurface_ThePolygonOfHInter &) – Return type: Bnd_Box
-
static
DeflectionOverEstimation
()¶ Parameters: thePolygon (IntCurveSurface_ThePolygonOfHInter &) – Return type: float
-
static
Dump
()¶ Parameters: thePolygon (IntCurveSurface_ThePolygonOfHInter &) – Return type: void
-
static
EndOfSeg
()¶ Parameters: - thePolygon (IntCurveSurface_ThePolygonOfHInter &) –
- Index (int) –
Return type:
-
thisown
¶ The membership flag
-
static
-
IntCurveSurface_ThePolygonToolOfHInter_BeginOfSeg
()¶ Parameters: - thePolygon (IntCurveSurface_ThePolygonOfHInter &) –
- Index (int) –
Return type:
-
IntCurveSurface_ThePolygonToolOfHInter_Bounding
()¶ Parameters: thePolygon (IntCurveSurface_ThePolygonOfHInter &) – Return type: Bnd_Box
-
IntCurveSurface_ThePolygonToolOfHInter_Closed
()¶ Parameters: thePolygon (IntCurveSurface_ThePolygonOfHInter &) – Return type: bool
-
IntCurveSurface_ThePolygonToolOfHInter_DeflectionOverEstimation
()¶ Parameters: thePolygon (IntCurveSurface_ThePolygonOfHInter &) – Return type: float
-
IntCurveSurface_ThePolygonToolOfHInter_Dump
()¶ Parameters: thePolygon (IntCurveSurface_ThePolygonOfHInter &) – Return type: void
-
IntCurveSurface_ThePolygonToolOfHInter_EndOfSeg
()¶ Parameters: - thePolygon (IntCurveSurface_ThePolygonOfHInter &) –
- Index (int) –
Return type:
-
IntCurveSurface_ThePolygonToolOfHInter_NbSegments
()¶ Parameters: thePolygon (IntCurveSurface_ThePolygonOfHInter &) – Return type: int
-
class
IntCurveSurface_ThePolyhedronToolOfHInter
¶ Bases:
object
-
static
Bounding
()¶ Parameters: thePolyh (IntCurveSurface_ThePolyhedronOfHInter &) – Return type: Bnd_Box
-
ComponentsBounding
()¶ Parameters: thePolyh (IntCurveSurface_ThePolyhedronOfHInter &) – Return type: Handle_Bnd_HArray1OfBox
-
static
DeflectionOverEstimation
()¶ Parameters: thePolyh (IntCurveSurface_ThePolyhedronOfHInter &) – Return type: float
-
static
Dump
()¶ Parameters: thePolyh (IntCurveSurface_ThePolyhedronOfHInter &) – Return type: void
-
static
GetBorderDeflection
()¶ Parameters: thePolyh (IntCurveSurface_ThePolyhedronOfHInter &) – Return type: float
-
static
IsOnBound
()¶ Parameters: Return type:
-
static
NbTriangles
()¶ Parameters: thePolyh (IntCurveSurface_ThePolyhedronOfHInter &) – Return type: int
-
static
Point
()¶ Parameters: - thePolyh (IntCurveSurface_ThePolyhedronOfHInter &) –
- Index (int) –
Return type:
-
static
TriConnex
()¶ Parameters: Return type:
-
static
Triangle
()¶ Parameters: - thePolyh (IntCurveSurface_ThePolyhedronOfHInter &) –
- Index (int) –
- P1 (int &) –
- P2 (int &) –
- P3 (int &) –
Return type: void
-
thisown
¶ The membership flag
-
static
-
IntCurveSurface_ThePolyhedronToolOfHInter_Bounding
()¶ Parameters: thePolyh (IntCurveSurface_ThePolyhedronOfHInter &) – Return type: Bnd_Box
-
IntCurveSurface_ThePolyhedronToolOfHInter_DeflectionOverEstimation
()¶ Parameters: thePolyh (IntCurveSurface_ThePolyhedronOfHInter &) – Return type: float
-
IntCurveSurface_ThePolyhedronToolOfHInter_Dump
()¶ Parameters: thePolyh (IntCurveSurface_ThePolyhedronOfHInter &) – Return type: void
-
IntCurveSurface_ThePolyhedronToolOfHInter_GetBorderDeflection
()¶ Parameters: thePolyh (IntCurveSurface_ThePolyhedronOfHInter &) – Return type: float
-
IntCurveSurface_ThePolyhedronToolOfHInter_IsOnBound
()¶ Parameters: Return type:
-
IntCurveSurface_ThePolyhedronToolOfHInter_NbTriangles
()¶ Parameters: thePolyh (IntCurveSurface_ThePolyhedronOfHInter &) – Return type: int
-
IntCurveSurface_ThePolyhedronToolOfHInter_Point
()¶ Parameters: - thePolyh (IntCurveSurface_ThePolyhedronOfHInter &) –
- Index (int) –
Return type:
-
IntCurveSurface_ThePolyhedronToolOfHInter_TriConnex
()¶ Parameters: Return type:
-
IntCurveSurface_ThePolyhedronToolOfHInter_Triangle
()¶ Parameters: - thePolyh (IntCurveSurface_ThePolyhedronOfHInter &) –
- Index (int) –
- P1 (int &) –
- P2 (int &) –
- P3 (int &) –
Return type: void
-
class
IntCurveSurface_TheQuadCurvExactHInter
(*args)¶ Bases:
object
Parameters: - S (Handle_Adaptor3d_HSurface &) –
- C (Handle_Adaptor3d_HCurve &) –
Return type: -
thisown
¶ The membership flag
-
class
IntCurveSurface_TheQuadCurvFuncOfTheQuadCurvExactHInter
(*args)¶ Bases:
OCC.math.math_FunctionWithDerivative
Parameters: - Q (IntSurf_Quadric &) –
- C (Handle_Adaptor3d_HCurve &) –
Return type: -
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