OCC.IntPolyh module

class Handle_IntPolyh_SequenceNodeOfSeqOfStartPoints(*args)

Bases: OCC.TCollection.Handle_TCollection_SeqNode

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

The membership flag

class IntPolyh_Couple(*args)

Bases: object

Return type:

None

Parameters:
Return type:

None

AnalyseFlagValue()
Return type:int
AngleValue()
Return type:float
Dump()
Parameters:v (int) –
Return type:None
FirstValue()
Return type:int
SecondValue()
Return type:int
SetAnalyseFlag()
Parameters:v (int) –
Return type:None
SetAngleValue()
Parameters:ang (float) –
Return type:None
SetCoupleValue()
Parameters:
Return type:

None

thisown

The membership flag

class IntPolyh_Edge(*args)

Bases: object

Return type:

None

Parameters:
Return type:

None

AnalysisFlag()
Return type:int
Dump()
Parameters:v (int) –
Return type:None
FirstPoint()
Return type:int
FirstTriangle()
Return type:int
SecondPoint()
Return type:int
SecondTriangle()
Return type:int
SetAnalysisFlag()
Parameters:v (int) –
Return type:None
SetFirstPoint()
Parameters:v (int) –
Return type:None
SetFirstTriangle()
Parameters:v (int) –
Return type:None
SetSecondPoint()
Parameters:v (int) –
Return type:None
SetSecondTriangle()
Parameters:v (int) –
Return type:None
thisown

The membership flag

class IntPolyh_Intersection(*args)

Bases: object

  • Constructor
Parameters:
  • S1 (Handle_Adaptor3d_HSurface &) –
  • S2 (Handle_Adaptor3d_HSurface &) –
Return type:

None

  • NbSU1 ... NbSV2 are used to compute the initial samples of the iso parametric meshes on the surfaces.
Parameters:
  • S1 (Handle_Adaptor3d_HSurface &) –
  • NbSU1 (int) –
  • NbSV1 (int) –
  • S2 (Handle_Adaptor3d_HSurface &) –
  • NbSU2 (int) –
  • NbSV2 (int) –
Return type:

None

  • 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:

None

GetLinePoint()
Parameters:
  • IndexLine (int) –
  • IndexPoint (int) –
  • x (float &) –
  • y (float &) –
  • z (float &) –
  • u1 (float &) –
  • v1 (float &) –
  • u2 (float &) –
  • v2 (float &) –
  • incidence (float &) –
Return type:

None

GetTangentZonePoint()
Parameters:
  • IndexLine (int) –
  • IndexPoint (int) –
  • x (float &) –
  • y (float &) –
  • z (float &) –
  • u1 (float &) –
  • v1 (float &) –
  • u2 (float &) –
  • v2 (float &) –
Return type:

None

IsDone()
Return type:bool
NbPointsInLine()
Parameters:IndexLine (int) –
Return type:int
NbPointsInTangentZone()
Parameters:IndexLine (int) –
Return type:int
NbSectionLines()
Return type:int
NbTangentZones()
Return type:int
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:

None

thisown

The membership flag

class IntPolyh_Point(*args)

Bases: object

Return type:

None

Parameters:
Return type:

None

Add()
Parameters:P1 (IntPolyh_Point &) –
Return type:IntPolyh_Point
Cross()
Parameters:
  • P1 (IntPolyh_Point &) –
  • P2 (IntPolyh_Point &) –
Return type:

None

Degenerated()
Return type:bool
Divide()
Parameters:rr (float) –
Return type:IntPolyh_Point
Dot()
Parameters:P2 (IntPolyh_Point &) –
Return type:float
Dump()
Return type:None
Parameters:i (int) –
Return type:None
Equal()
Parameters:Pt (IntPolyh_Point &) –
Return type:None
Middle()
Parameters:
  • MySurface (Handle_Adaptor3d_HSurface &) –
  • P1 (IntPolyh_Point &) –
  • P2 (IntPolyh_Point &) –
Return type:

None

Multiplication()
Parameters:rr (float) –
Return type:IntPolyh_Point
PartOfCommon()
Return type:int
Set()
Parameters:
Return type:

None

Return type:

None

SetDegenerated()
Parameters:theFlag (bool) –
Return type:None
SetPartOfCommon()
Parameters:ii (int) –
Return type:None
SetU()
Parameters:v (float) –
Return type:None
SetV()
Parameters:v (float) –
Return type:None
SetX()
Parameters:v (float) –
Return type:None
SetY()
Parameters:v (float) –
Return type:None
SetZ()
Parameters:v (float) –
Return type:None
SquareDistance()
Parameters:P2 (IntPolyh_Point &) –
Return type:float
SquareModulus()
Return type:float
Sub()
Parameters:P1 (IntPolyh_Point &) –
Return type:IntPolyh_Point
U()
Return type:float
V()
Return type:float
X()
Return type:float
Y()
Return type:float
Z()
Return type:float
thisown

The membership flag

class IntPolyh_SectionLine(*args)

Bases: object

Return 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
Destroy()
Return type:None
Dump()
Return type:None
GetN()
Return type:int
IncrementNbStartPoints()
Return type:None
Init()
Parameters:nn (int) –
Return type:None
NbStartPoints()
Return type:int
Prepend()
Parameters:SP (IntPolyh_StartPoint &) –
Return type:None
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_BaseSequence

Return type:None
Parameters:Other (IntPolyh_SeqOfStartPoints &) –
Return type:None
Append()
Parameters:
  • T (IntPolyh_StartPoint &) –
  • S (IntPolyh_SeqOfStartPoints &) –
Return type:

None

Return type:

None

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

None

Return type:

None

InsertBefore()
Parameters:
  • Index (int) –
  • T (IntPolyh_StartPoint &) –
  • Index
  • S (IntPolyh_SeqOfStartPoints &) –
Return type:

None

Return type:

None

Last()
Return type:IntPolyh_StartPoint
Prepend()
Parameters:
  • T (IntPolyh_StartPoint &) –
  • S (IntPolyh_SeqOfStartPoints &) –
Return type:

None

Return type:

None

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

None

Return type:

None

Set()
Parameters:Other (IntPolyh_SeqOfStartPoints &) –
Return type:IntPolyh_SeqOfStartPoints
SetValue()
Parameters:
  • Index (int) –
  • I (IntPolyh_StartPoint &) –
Return type:

None

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

None

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

The membership flag

class IntPolyh_SequenceNodeOfSeqOfStartPoints(*args)

Bases: OCC.TCollection.TCollection_SeqNode

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

None

GetHandle()
Value()
Return type:IntPolyh_StartPoint
thisown

The membership flag

class IntPolyh_StartPoint(*args)

Bases: object

Return type:

None

Parameters:
Return type:

None

ChainList()
Return type:int
CheckSameSP()
Parameters:SP (IntPolyh_StartPoint &) –
Return type:int
Dump()
Return type:None
Parameters:i (int) –
Return type:None
E1()
Return type:int
E2()
Return type:int
Equal()
Parameters:StPt (IntPolyh_StartPoint &) –
Return type:None
GetAngle()
Return type:float
GetEdgePoints()
Parameters:
  • Triangle (IntPolyh_Triangle &) –
  • FirstEdgePoint (int &) –
  • SecondEdgePoint (int &) –
  • LastPoint (int &) –
Return type:

int

Lambda1()
Return type:float
Lambda2()
Return type:float
Set()
Parameters:StPt (IntPolyh_StartPoint &) –
Return type:None
SetAngle()
Parameters:ang (float) –
Return type:None
SetChainList()
Parameters:ChList (int) –
Return type:None
SetCoupleValue()
Parameters:
Return type:

None

SetEdge1()
Parameters:IE1 (int) –
Return type:None
SetEdge2()
Parameters:IE2 (int) –
Return type:None
SetLambda1()
Parameters:LAM1 (float) –
Return type:None
SetLambda2()
Parameters:LAM2 (float) –
Return type:None
SetUV1()
Parameters:
Return type:

None

SetUV2()
Parameters:
Return type:

None

SetXYZ()
Parameters:
Return type:

None

T1()
Return type:int
T2()
Return type:int
U1()
Return type:float
U2()
Return type:float
V1()
Return type:float
V2()
Return type:float
X()
Return type:float
Y()
Return type:float
Z()
Return type:float
thisown

The membership flag

class IntPolyh_Triangle(*args)

Bases: object

Return type:

None

Parameters:
Return type:

None

CheckCommonEdge()
Parameters:
  • PE1 (int) –
  • PE2 (int) –
  • P3 (int) –
  • Index (int) –
  • TTriangles (IntPolyh_ArrayOfTriangles &) –
Return type:

int

CompareBoxTriangle()
Parameters:
  • b (Bnd_Box &) –
  • TPoints (IntPolyh_ArrayOfPoints &) –
Return type:

int

Dump()
Parameters:v (int) –
Return type:None
DumpFleche()
Parameters:v (int) –
Return type:None
FirstEdge()
Return type:int
FirstEdgeOrientation()
Return type:int
FirstPoint()
Return type:int
GetEdgeNumber()
Parameters:v (int) –
Return type:int
GetEdgeOrientation()
Parameters:v (int) –
Return type:int
GetFleche()
Return type:float
GetNextTriangle2()
Parameters:
  • NumTri (int) –
  • NumEdge (int) –
  • TEdges (IntPolyh_ArrayOfEdges &) –
Return type:

int

IndiceIntersection()
Return type:int
IndiceIntersectionPossible()
Return type:int
LinkEdges2Triangle()
Parameters:
  • TEdges (IntPolyh_ArrayOfEdges &) –
  • ed1 (int) –
  • ed2 (int) –
  • ed3 (int) –
Return type:

None

MiddleRefinement()
Parameters:
  • TriangleNumber (int) –
  • MySurface (Handle_Adaptor3d_HSurface &) –
  • TPoints (IntPolyh_ArrayOfPoints &) –
  • TTriangles (IntPolyh_ArrayOfTriangles &) –
  • TEdges (IntPolyh_ArrayOfEdges &) –
Return type:

None

MultipleMiddleRefinement()
Parameters:
  • NombreAffinages (int) –
  • TriangleNumber (int) –
  • MySurface (Handle_Adaptor3d_HSurface &) –
  • TPoints (IntPolyh_ArrayOfPoints &) –
  • TTriangles (IntPolyh_ArrayOfTriangles &) –
  • TEdges (IntPolyh_ArrayOfEdges &) –
Return type:

None

MultipleMiddleRefinement2()
Parameters:
  • RefineCriterion (float) –
  • thebox (Bnd_Box &) –
  • TriangleNumber (int) –
  • MySurface (Handle_Adaptor3d_HSurface &) –
  • TPoints (IntPolyh_ArrayOfPoints &) –
  • TTriangles (IntPolyh_ArrayOfTriangles &) –
  • TEdges (IntPolyh_ArrayOfEdges &) –
Return type:

None

SecondEdge()
Return type:int
SecondEdgeOrientation()
Return type:int
SecondPoint()
Return type:int
SetEdge()
Parameters:
Return type:

None

SetEdgeOrientation()
Parameters:
Return type:

None

SetEdgeandOrientation()
Parameters:
  • Edge (int) –
  • TEdges (IntPolyh_ArrayOfEdges &) –
Return type:

None

SetFirstEdge()
Parameters:
Return type:

None

SetFirstPoint()
Parameters:v (int) –
Return type:None
SetFleche()
Parameters:v (float) –
Return type:None
SetIndiceIntersection()
Parameters:v (int) –
Return type:None
SetIndiceIntersectionPossible()
Parameters:v (int) –
Return type:None
SetSecondEdge()
Parameters:
Return type:

None

SetSecondPoint()
Parameters:v (int) –
Return type:None
SetThirdEdge()
Parameters:
Return type:

None

SetThirdPoint()
Parameters:v (int) –
Return type:None
ThirdEdge()
Return type:int
ThirdEdgeOrientation()
Return type:int
ThirdPoint()
Return type:int
TriangleDeflection()
Parameters:
  • MaSurface (Handle_Adaptor3d_HSurface &) –
  • TP (IntPolyh_ArrayOfPoints &) –
Return type:

None

thisown

The membership flag

class SwigPyIterator(*args, **kwargs)

Bases: object

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

The membership flag

value()
register_handle(handle, base_object)

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