OCC.IntPolyh module¶
This package provides algorithms to computestarting points for the surface surfaceintersection packages. Those starting points areused if the two surfaces are bi-parametricsurfaces (bezier, nurbs, algorithm surfaces …)This package provides methodsto compute meshes on the two surfaces. The meshes canbe refined if necessary. It is the major improvementto the Intf package which gives the same kind ofressources.to intersect the two meshesto give approximated starting-points. Those points areorganised in lines, when the points belong to a samesection line, or returned as isolated points when theycan neither define a new line nor be linked to anexistant line.A starting-point contains 3d information, parametricionformation and quality criterion. (i.e. X,Y,Z, U1,V1,U2,V2, Incidence). Incidence is a real wich gives anestimated angle between the two surfaces near theintersection point.
-
class
Handle_IntPolyh_SequenceNodeOfSeqOfStartPoints(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_SeqNode-
static
DownCast()¶
-
GetObject()¶
-
IsNull()¶
-
Nullify()¶
-
thisown¶ The membership flag
-
static
-
class
IntPolyh_Couple(*args)¶ Bases:
objectReturn type: Parameters: Return type: -
thisown¶ The membership flag
-
-
class
IntPolyh_Edge(*args)¶ Bases:
objectReturn type: Parameters: Return type: -
thisown¶ The membership flag
-
-
class
IntPolyh_Intersection(*args)¶ Bases:
object- Constructor
Parameters: - S1 (Handle_Adaptor3d_HSurface &) –
- S2 (Handle_Adaptor3d_HSurface &) –
Return type: - NbSU1 … NbSV2 are used to compute the initial samples of the iso parametric meshes on the surfaces.
Parameters: Return type: - D1, D2 are used to compute the initial samples of the iso parametric meshes on the surfaces.
Parameters: - S1 (Handle_Adaptor3d_HSurface &) –
- anUpars1 (TColStd_Array1OfReal &) –
- aVpars1 (TColStd_Array1OfReal &) –
- S2 (Handle_Adaptor3d_HSurface &) –
- anUpars2 (TColStd_Array1OfReal &) –
- aVpars2 (TColStd_Array1OfReal &) –
Return type: -
GetLinePoint()¶ Parameters: Return type:
-
GetTangentZonePoint()¶ Parameters: Return type:
-
Perform()¶ - Compute the intersection.
Return type: None - Compute the intersection.
Parameters: - Upars1 (TColStd_Array1OfReal &) –
- Vpars1 (TColStd_Array1OfReal &) –
- Upars2 (TColStd_Array1OfReal &) –
- Vpars2 (TColStd_Array1OfReal &) –
Return type:
-
thisown¶ The membership flag
-
class
IntPolyh_Point(*args)¶ Bases:
objectReturn type: Parameters: Return type: -
Add()¶ Parameters: P1 (IntPolyh_Point &) – Return type: IntPolyh_Point
-
Divide()¶ Parameters: rr (float) – Return type: IntPolyh_Point
-
Middle()¶ Parameters: - MySurface (Handle_Adaptor3d_HSurface &) –
- P1 (IntPolyh_Point &) –
- P2 (IntPolyh_Point &) –
Return type:
-
Multiplication()¶ Parameters: rr (float) – Return type: IntPolyh_Point
-
Set()¶ Parameters: Return type: Return type:
-
Sub()¶ Parameters: P1 (IntPolyh_Point &) – Return type: IntPolyh_Point
-
thisown¶ The membership flag
-
-
class
IntPolyh_SectionLine(*args)¶ Bases:
objectReturn type: None Parameters: nn (int) – Return type: None -
ChangeValue()¶ Parameters: nn (int) – Return type: IntPolyh_StartPoint
-
Copy()¶ Parameters: Other (IntPolyh_SectionLine &) – Return type: IntPolyh_SectionLine
-
Set()¶ Parameters: Other (IntPolyh_SectionLine &) – Return type: IntPolyh_SectionLine
-
Value()¶ Parameters: nn (int) – Return type: IntPolyh_StartPoint
-
thisown¶ The membership flag
-
-
class
IntPolyh_SeqOfStartPoints(*args)¶ Bases:
OCC.TCollection.TCollection_BaseSequenceReturn type: None Parameters: Other (IntPolyh_SeqOfStartPoints &) – Return type: None -
Append()¶ Parameters: - T (IntPolyh_StartPoint &) –
- S (IntPolyh_SeqOfStartPoints &) –
Return type: Return type:
-
Assign()¶ Parameters: Other (IntPolyh_SeqOfStartPoints &) – Return type: IntPolyh_SeqOfStartPoints
-
ChangeValue()¶ Parameters: Index (int) – Return type: IntPolyh_StartPoint
-
First()¶ Return type: IntPolyh_StartPoint
-
InsertAfter()¶ Parameters: - Index (int) –
- T (IntPolyh_StartPoint &) –
- Index –
- S (IntPolyh_SeqOfStartPoints &) –
Return type: Return type:
-
InsertBefore()¶ Parameters: - Index (int) –
- T (IntPolyh_StartPoint &) –
- Index –
- S (IntPolyh_SeqOfStartPoints &) –
Return type: Return type:
-
Last()¶ Return type: IntPolyh_StartPoint
-
Prepend()¶ Parameters: - T (IntPolyh_StartPoint &) –
- S (IntPolyh_SeqOfStartPoints &) –
Return type: Return type:
-
Remove()¶ Parameters: Return type: Return type:
-
Set()¶ Parameters: Other (IntPolyh_SeqOfStartPoints &) – Return type: IntPolyh_SeqOfStartPoints
-
Value()¶ Parameters: Index (int) – Return type: IntPolyh_StartPoint
-
thisown¶ The membership flag
-
-
class
IntPolyh_SequenceNodeOfSeqOfStartPoints(*args)¶ Bases:
OCC.TCollection.TCollection_SeqNodeParameters: - I (IntPolyh_StartPoint &) –
- n (TCollection_SeqNodePtr &) –
- p (TCollection_SeqNodePtr &) –
Return type: -
GetHandle()¶
-
Value()¶ Return type: IntPolyh_StartPoint
-
thisown¶ The membership flag
-
class
IntPolyh_StartPoint(*args)¶ Bases:
objectReturn type: Parameters: Return type: -
GetEdgePoints()¶ Parameters: - Triangle (IntPolyh_Triangle &) –
- FirstEdgePoint (int &) –
- SecondEdgePoint (int &) –
- LastPoint (int &) –
Return type:
-
thisown¶ The membership flag
-
-
class
IntPolyh_Triangle(*args)¶ Bases:
objectReturn type: Parameters: Return type: -
CheckCommonEdge()¶ Parameters: Return type:
-
CompareBoxTriangle()¶ Parameters: - b (Bnd_Box &) –
- TPoints (IntPolyh_ArrayOfPoints &) –
Return type:
-
GetNextTriangle2()¶ Parameters: Return type:
-
LinkEdges2Triangle()¶ Parameters: Return type:
-
MiddleRefinement()¶ Parameters: - TriangleNumber (int) –
- MySurface (Handle_Adaptor3d_HSurface &) –
- TPoints (IntPolyh_ArrayOfPoints &) –
- TTriangles (IntPolyh_ArrayOfTriangles &) –
- TEdges (IntPolyh_ArrayOfEdges &) –
Return type:
-
MultipleMiddleRefinement()¶ Parameters: Return type:
-
MultipleMiddleRefinement2()¶ Parameters: Return type:
-
TriangleDeflection()¶ Parameters: - MaSurface (Handle_Adaptor3d_HSurface &) –
- TP (IntPolyh_ArrayOfPoints &) –
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