OCC.IntPolyh module

class OCC.IntPolyh.Handle_IntPolyh_SequenceNodeOfSeqOfStartPoints(*args)

Bases: OCC.TCollection.Handle_TCollection_SeqNode

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

The membership flag

class OCC.IntPolyh.IntPolyh_Couple(*args)

Bases: object

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

None

thisown

The membership flag

class OCC.IntPolyh.IntPolyh_Edge(*args)

Bases: object

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

The membership flag

class OCC.IntPolyh.IntPolyh_Intersection(*args)

Bases: object

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

None

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

None

IsDone()
Return type:bool
NbPointsInLine()
Parameters:IndexLine (Standard_Integer) –
Return type:int
NbPointsInTangentZone()
Parameters:IndexLine (Standard_Integer) –
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 OCC.IntPolyh.IntPolyh_Point(*args)

Bases: object

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 (Standard_Integer) –
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:
  • Pt (IntPolyh_Point &) –
  • v1 (float) –
  • v2 (float) –
  • v3 (float) –
  • v4 (float) –
  • v5 (float) –
  • II (Standard_Integer) – default value is 1
  • v1
  • v2
  • v3
  • v4
  • v5
  • II – default value is 1
Return type:

None

Return type:

None

Return type:

None

SetDegenerated()
Parameters:theFlag (bool) –
Return type:None
SetPartOfCommon()
Parameters:ii (Standard_Integer) –
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 OCC.IntPolyh.IntPolyh_SectionLine(*args)

Bases: object

ChangeValue()
Parameters:nn (Standard_Integer) –
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 (Standard_Integer) –
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 (Standard_Integer) –
Return type:IntPolyh_StartPoint
thisown

The membership flag

class OCC.IntPolyh.IntPolyh_SeqOfStartPoints

Bases: OCC.TCollection.TCollection_BaseSequence

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 (Standard_Integer) –
Return type:IntPolyh_StartPoint
Clear()
Return type:None
First()
Return type:IntPolyh_StartPoint
InsertAfter()
Parameters:
  • Index (Standard_Integer) –
  • T (IntPolyh_StartPoint &) –
  • Index
  • S (IntPolyh_SeqOfStartPoints &) –
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • Index (Standard_Integer) –
  • 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 (Standard_Integer) –
  • FromIndex (Standard_Integer) –
  • ToIndex (Standard_Integer) –
Return type:

None

Return type:

None

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

None

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

None

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

The membership flag

class OCC.IntPolyh.IntPolyh_SequenceNodeOfSeqOfStartPoints(*args)

Bases: OCC.TCollection.TCollection_SeqNode

GetHandle()

IntPolyh_SequenceNodeOfSeqOfStartPoints_GetHandle(IntPolyh_SequenceNodeOfSeqOfStartPoints self) -> Handle_IntPolyh_SequenceNodeOfSeqOfStartPoints

Value()
Return type:IntPolyh_StartPoint
thisown

The membership flag

class OCC.IntPolyh.IntPolyh_StartPoint(*args)

Bases: object

ChainList()
Return type:int
CheckSameSP()
Parameters:SP (IntPolyh_StartPoint &) –
Return type:int
Dump()
Return type:None
Parameters:i (Standard_Integer) –
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 (Standard_Integer &) –
  • SecondEdgePoint (Standard_Integer &) –
  • LastPoint (Standard_Integer &) –
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 (Standard_Integer) –
Return type:None
SetCoupleValue()
Parameters:
  • IT1 (Standard_Integer) –
  • IT2 (Standard_Integer) –
Return type:

None

SetEdge1()
Parameters:IE1 (Standard_Integer) –
Return type:None
SetEdge2()
Parameters:IE2 (Standard_Integer) –
Return type:None
SetLambda1()
Parameters:LAM1 (float) –
Return type:None
SetLambda2()
Parameters:LAM2 (float) –
Return type:None
SetUV1()
Parameters:
  • UU1 (float) –
  • VV1 (float) –
Return type:

None

SetUV2()
Parameters:
  • UU2 (float) –
  • VV2 (float) –
Return type:

None

SetXYZ()
Parameters:
  • XX (float) –
  • YY (float) –
  • ZZ (float) –
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 OCC.IntPolyh.IntPolyh_Triangle(*args)

Bases: object

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

int

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

int

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

int

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

None

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

None

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

None

MultipleMiddleRefinement2()
Parameters:
  • RefineCriterion (float) –
  • thebox (Bnd_Box &) –
  • TriangleNumber (Standard_Integer) –
  • 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:
  • v (Standard_Integer) –
  • en (Standard_Integer) –
Return type:

None

SetEdgeOrientation()
Parameters:
  • v (Standard_Integer) –
  • oe (Standard_Integer) –
Return type:

None

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

None

SetFirstEdge()
Parameters:
  • v (Standard_Integer) –
  • s (Standard_Integer) –
Return type:

None

SetFirstPoint()
Parameters:v (Standard_Integer) –
Return type:None
SetFleche()
Parameters:v (float) –
Return type:None
SetIndiceIntersection()
Parameters:v (Standard_Integer) –
Return type:None
SetIndiceIntersectionPossible()
Parameters:v (Standard_Integer) –
Return type:None
SetSecondEdge()
Parameters:
  • v (Standard_Integer) –
  • s (Standard_Integer) –
Return type:

None

SetSecondPoint()
Parameters:v (Standard_Integer) –
Return type:None
SetThirdEdge()
Parameters:
  • v (Standard_Integer) –
  • s (Standard_Integer) –
Return type:

None

SetThirdPoint()
Parameters:v (Standard_Integer) –
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 OCC.IntPolyh.SwigPyIterator(*args, **kwargs)

Bases: object

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

The membership flag

value()