OCC.Contap module

class OCC.Contap.Contap_ContAna

Bases: object

Circle()
Return type:gp_Circ
IsDone()
Return type:bool
Line()
Parameters:Index (Standard_Integer) –
Return type:gp_Lin
NbContours()
Return type:int
Perform()
Parameters:
  • S (gp_Sphere) –
  • D (gp_Dir) –
  • S
  • D
  • Ang (float) –
  • S
  • Eye (gp_Pnt) –
  • C (gp_Cone) –
  • D
  • C
  • D
  • Ang
  • C
  • Eye
  • C
  • D
  • C
  • D
  • Ang
  • C
  • Eye
Return type:

None

Return type:

None

Return type:

None

Return type:

None

Return type:

None

Return type:

None

Return type:

None

Return type:

None

Return type:

None

TypeContour()
  • Returns GeomAbs_Line or GeomAbs_Circle, when IsDone() returns True.
Return type:GeomAbs_CurveType
thisown

The membership flag

class OCC.Contap.Contap_Contour(*args)

Bases: object

Init()
Parameters:
  • Direction (gp_Vec) –
  • Direction
  • Angle (float) –
  • Eye (gp_Pnt) –
Return type:

None

Return type:

None

Return type:

None

IsDone()
Return type:bool
IsEmpty()
Return type:bool
Line()
Parameters:Index (Standard_Integer) –
Return type:Contap_TheLineOfContour
NbLines()
Return type:int
Perform()
Parameters:
  • Surf (Handle_Adaptor3d_HSurface &) –
  • Domain (Handle_Adaptor3d_TopolTool &) –
  • Surf
  • Domain
  • Direction (gp_Vec) –
  • Surf
  • Domain
  • Direction
  • Angle (float) –
  • Surf
  • Domain
  • Eye (gp_Pnt) –
Return type:

None

Return type:

None

Return type:

None

Return type:

None

SurfaceFunction()
Return type:Contap_TheSurfFunctionOfContour
thisown

The membership flag

class OCC.Contap.Contap_HContTool(*args, **kwargs)

Bases: object

static Bounds(*args)
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • Ufirst (float &) –
  • Ulast (float &) –
Return type:

void

static HasBeenSeen(*args)
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:bool
static HasFirstPoint(*args)
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • Index (Standard_Integer) –
  • IndFirst (Standard_Integer &) –
Return type:

bool

static HasLastPoint(*args)
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • Index (Standard_Integer) –
  • IndLast (Standard_Integer &) –
Return type:

bool

static IsAllSolution(*args)
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:bool
static IsVertex(*args)
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • Index (Standard_Integer) –
Return type:

bool

static NbPoints(*args)
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:int
static NbSamplePoints(*args)
Parameters:S (Handle_Adaptor3d_HSurface &) –
Return type:int
static NbSamplesOnArc(*args)
Parameters:A (Handle_Adaptor2d_HCurve2d &) –
Return type:int
static NbSamplesU(*args)
Parameters:
  • S (Handle_Adaptor3d_HSurface &) –
  • u1 (float) –
  • u2 (float) –
Return type:

int

static NbSamplesV(*args)
Parameters:
  • S (Handle_Adaptor3d_HSurface &) –
  • v1 (float) –
  • v2 (float) –
Return type:

int

static NbSegments(*args)
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:int
static Parameter(*args)
Parameters:
  • V (Handle_Adaptor3d_HVertex &) –
  • C (Handle_Adaptor2d_HCurve2d &) –
Return type:

float

static Project(*args)
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • P (gp_Pnt2d) –
  • Paramproj (float &) –
  • Ptproj (gp_Pnt2d) –
Return type:

bool

static SamplePoint(*args)
Parameters:
  • S (Handle_Adaptor3d_HSurface &) –
  • Index (Standard_Integer) –
  • U (float &) –
  • V (float &) –
Return type:

void

static Tolerance(*args)
Parameters:
  • V (Handle_Adaptor3d_HVertex &) –
  • C (Handle_Adaptor2d_HCurve2d &) –
Return type:

float

static Value(*args)
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • Index (Standard_Integer) –
  • Pt (gp_Pnt) –
  • Tol (float &) –
  • U (float &) –
Return type:

void

static Vertex(*args)
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • Index (Standard_Integer) –
  • V (Handle_Adaptor3d_HVertex &) –
Return type:

void

thisown

The membership flag

OCC.Contap.Contap_HContTool_Bounds(*args)
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • Ufirst (float &) –
  • Ulast (float &) –
Return type:

void

OCC.Contap.Contap_HContTool_HasBeenSeen(*args)
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:bool
OCC.Contap.Contap_HContTool_HasFirstPoint(*args)
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • Index (Standard_Integer) –
  • IndFirst (Standard_Integer &) –
Return type:

bool

OCC.Contap.Contap_HContTool_HasLastPoint(*args)
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • Index (Standard_Integer) –
  • IndLast (Standard_Integer &) –
Return type:

bool

OCC.Contap.Contap_HContTool_IsAllSolution(*args)
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:bool
OCC.Contap.Contap_HContTool_IsVertex(*args)
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • Index (Standard_Integer) –
Return type:

bool

OCC.Contap.Contap_HContTool_NbPoints(*args)
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:int
OCC.Contap.Contap_HContTool_NbSamplePoints(*args)
Parameters:S (Handle_Adaptor3d_HSurface &) –
Return type:int
OCC.Contap.Contap_HContTool_NbSamplesOnArc(*args)
Parameters:A (Handle_Adaptor2d_HCurve2d &) –
Return type:int
OCC.Contap.Contap_HContTool_NbSamplesU(*args)
Parameters:
  • S (Handle_Adaptor3d_HSurface &) –
  • u1 (float) –
  • u2 (float) –
Return type:

int

OCC.Contap.Contap_HContTool_NbSamplesV(*args)
Parameters:
  • S (Handle_Adaptor3d_HSurface &) –
  • v1 (float) –
  • v2 (float) –
Return type:

int

OCC.Contap.Contap_HContTool_NbSegments(*args)
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:int
OCC.Contap.Contap_HContTool_Parameter(*args)
Parameters:
  • V (Handle_Adaptor3d_HVertex &) –
  • C (Handle_Adaptor2d_HCurve2d &) –
Return type:

float

OCC.Contap.Contap_HContTool_Project(*args)
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • P (gp_Pnt2d) –
  • Paramproj (float &) –
  • Ptproj (gp_Pnt2d) –
Return type:

bool

OCC.Contap.Contap_HContTool_SamplePoint(*args)
Parameters:
  • S (Handle_Adaptor3d_HSurface &) –
  • Index (Standard_Integer) –
  • U (float &) –
  • V (float &) –
Return type:

void

OCC.Contap.Contap_HContTool_Tolerance(*args)
Parameters:
  • V (Handle_Adaptor3d_HVertex &) –
  • C (Handle_Adaptor2d_HCurve2d &) –
Return type:

float

OCC.Contap.Contap_HContTool_Value(*args)
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • Index (Standard_Integer) –
  • Pt (gp_Pnt) –
  • Tol (float &) –
  • U (float &) –
Return type:

void

OCC.Contap.Contap_HContTool_Vertex(*args)
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • Index (Standard_Integer) –
  • V (Handle_Adaptor3d_HVertex &) –
Return type:

void

class OCC.Contap.Contap_HCurve2dTool(*args, **kwargs)

Bases: object

static BSpline(*args)
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:Handle_Geom2d_BSplineCurve
static Bezier(*args)
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:Handle_Geom2d_BezierCurve
static Circle(*args)
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:gp_Circ2d
static Continuity(*args)
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:GeomAbs_Shape
static D0(*args)
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • U (float) –
  • P (gp_Pnt2d) –
Return type:

void

static D1(*args)
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • U (float) –
  • P (gp_Pnt2d) –
  • V (gp_Vec2d) –
Return type:

void

static D2(*args)
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • U (float) –
  • P (gp_Pnt2d) –
  • V1 (gp_Vec2d) –
  • V2 (gp_Vec2d) –
Return type:

void

static D3(*args)
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • U (float) –
  • P (gp_Pnt2d) –
  • V1 (gp_Vec2d) –
  • V2 (gp_Vec2d) –
  • V3 (gp_Vec2d) –
Return type:

void

static DN(*args)
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • U (float) –
  • N (Standard_Integer) –
Return type:

gp_Vec2d

static Ellipse(*args)
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:gp_Elips2d
static FirstParameter(*args)
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:float
static GetType(*args)
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:GeomAbs_CurveType
static Hyperbola(*args)
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:gp_Hypr2d
static Intervals(*args)
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • T (TColStd_Array1OfReal &) –
  • S (GeomAbs_Shape) –
Return type:

void

static IsClosed(*args)
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:bool
static IsPeriodic(*args)
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:bool
static LastParameter(*args)
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:float
static Line(*args)
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:gp_Lin2d
static NbIntervals(*args)
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • S (GeomAbs_Shape) –
Return type:

int

static NbSamples(*args)
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • U0 (float) –
  • U1 (float) –
Return type:

int

static Parabola(*args)
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:gp_Parab2d
static Period(*args)
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:float
static Resolution(*args)
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • R3d (float) –
Return type:

float

static Value(*args)
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • U (float) –
Return type:

gp_Pnt2d

thisown

The membership flag

OCC.Contap.Contap_HCurve2dTool_BSpline(*args)
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:Handle_Geom2d_BSplineCurve
OCC.Contap.Contap_HCurve2dTool_Bezier(*args)
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:Handle_Geom2d_BezierCurve
OCC.Contap.Contap_HCurve2dTool_Circle(*args)
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:gp_Circ2d
OCC.Contap.Contap_HCurve2dTool_Continuity(*args)
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:GeomAbs_Shape
OCC.Contap.Contap_HCurve2dTool_D0(*args)
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • U (float) –
  • P (gp_Pnt2d) –
Return type:

void

OCC.Contap.Contap_HCurve2dTool_D1(*args)
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • U (float) –
  • P (gp_Pnt2d) –
  • V (gp_Vec2d) –
Return type:

void

OCC.Contap.Contap_HCurve2dTool_D2(*args)
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • U (float) –
  • P (gp_Pnt2d) –
  • V1 (gp_Vec2d) –
  • V2 (gp_Vec2d) –
Return type:

void

OCC.Contap.Contap_HCurve2dTool_D3(*args)
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • U (float) –
  • P (gp_Pnt2d) –
  • V1 (gp_Vec2d) –
  • V2 (gp_Vec2d) –
  • V3 (gp_Vec2d) –
Return type:

void

OCC.Contap.Contap_HCurve2dTool_DN(*args)
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • U (float) –
  • N (Standard_Integer) –
Return type:

gp_Vec2d

OCC.Contap.Contap_HCurve2dTool_Ellipse(*args)
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:gp_Elips2d
OCC.Contap.Contap_HCurve2dTool_FirstParameter(*args)
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:float
OCC.Contap.Contap_HCurve2dTool_GetType(*args)
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:GeomAbs_CurveType
OCC.Contap.Contap_HCurve2dTool_Hyperbola(*args)
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:gp_Hypr2d
OCC.Contap.Contap_HCurve2dTool_Intervals(*args)
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • T (TColStd_Array1OfReal &) –
  • S (GeomAbs_Shape) –
Return type:

void

OCC.Contap.Contap_HCurve2dTool_IsClosed(*args)
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:bool
OCC.Contap.Contap_HCurve2dTool_IsPeriodic(*args)
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:bool
OCC.Contap.Contap_HCurve2dTool_LastParameter(*args)
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:float
OCC.Contap.Contap_HCurve2dTool_Line(*args)
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:gp_Lin2d
OCC.Contap.Contap_HCurve2dTool_NbIntervals(*args)
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • S (GeomAbs_Shape) –
Return type:

int

OCC.Contap.Contap_HCurve2dTool_NbSamples(*args)
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • U0 (float) –
  • U1 (float) –
Return type:

int

OCC.Contap.Contap_HCurve2dTool_Parabola(*args)
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:gp_Parab2d
OCC.Contap.Contap_HCurve2dTool_Period(*args)
Parameters:C (Handle_Adaptor2d_HCurve2d &) –
Return type:float
OCC.Contap.Contap_HCurve2dTool_Resolution(*args)
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • R3d (float) –
Return type:

float

OCC.Contap.Contap_HCurve2dTool_Value(*args)
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • U (float) –
Return type:

gp_Pnt2d

class OCC.Contap.Contap_SequenceNodeOfSequenceOfIWLineOfTheIWalkingOfContour(*args)

Bases: OCC.TCollection.TCollection_SeqNode

GetHandle()

Contap_SequenceNodeOfSequenceOfIWLineOfTheIWalkingOfContour_GetHandle(Contap_SequenceNodeOfSequenceOfIWLineOfTheIWalkingOfContour self) -> Handle_Contap_SequenceNodeOfSequenceOfIWLineOfTheIWalkingOfContour

Value()
Return type:Handle_Contap_TheIWLineOfTheIWalkingOfContour
thisown

The membership flag

class OCC.Contap.Contap_SequenceNodeOfSequenceOfPathPointOfTheSearchOfContour(*args)

Bases: OCC.TCollection.TCollection_SeqNode

GetHandle()

Contap_SequenceNodeOfSequenceOfPathPointOfTheSearchOfContour_GetHandle(Contap_SequenceNodeOfSequenceOfPathPointOfTheSearchOfContour self) -> Handle_Contap_SequenceNodeOfSequenceOfPathPointOfTheSearchOfContour

Value()
Return type:Contap_ThePathPointOfTheSearchOfContour
thisown

The membership flag

class OCC.Contap.Contap_SequenceNodeOfSequenceOfSegmentOfTheSearchOfContour(*args)

Bases: OCC.TCollection.TCollection_SeqNode

GetHandle()

Contap_SequenceNodeOfSequenceOfSegmentOfTheSearchOfContour_GetHandle(Contap_SequenceNodeOfSequenceOfSegmentOfTheSearchOfContour self) -> Handle_Contap_SequenceNodeOfSequenceOfSegmentOfTheSearchOfContour

Value()
Return type:Contap_TheSegmentOfTheSearchOfContour
thisown

The membership flag

class OCC.Contap.Contap_SequenceNodeOfTheSequenceOfLineOfContour(*args)

Bases: OCC.TCollection.TCollection_SeqNode

GetHandle()

Contap_SequenceNodeOfTheSequenceOfLineOfContour_GetHandle(Contap_SequenceNodeOfTheSequenceOfLineOfContour self) -> Handle_Contap_SequenceNodeOfTheSequenceOfLineOfContour

Value()
Return type:Contap_TheLineOfContour
thisown

The membership flag

class OCC.Contap.Contap_SequenceNodeOfTheSequenceOfPointOfContour(*args)

Bases: OCC.TCollection.TCollection_SeqNode

GetHandle()

Contap_SequenceNodeOfTheSequenceOfPointOfContour_GetHandle(Contap_SequenceNodeOfTheSequenceOfPointOfContour self) -> Handle_Contap_SequenceNodeOfTheSequenceOfPointOfContour

Value()
Return type:Contap_ThePointOfContour
thisown

The membership flag

class OCC.Contap.Contap_SequenceOfIWLineOfTheIWalkingOfContour

Bases: OCC.TCollection.TCollection_BaseSequence

Append()
Parameters:
  • T (Handle_Contap_TheIWLineOfTheIWalkingOfContour &) –
  • S (Contap_SequenceOfIWLineOfTheIWalkingOfContour &) –
Return type:

None

Return type:

None

Assign()
Parameters:Other (Contap_SequenceOfIWLineOfTheIWalkingOfContour &) –
Return type:Contap_SequenceOfIWLineOfTheIWalkingOfContour
ChangeValue()
Parameters:Index (Standard_Integer) –
Return type:Handle_Contap_TheIWLineOfTheIWalkingOfContour
Clear()
Return type:None
First()
Return type:Handle_Contap_TheIWLineOfTheIWalkingOfContour
InsertAfter()
Parameters:
  • Index (Standard_Integer) –
  • T (Handle_Contap_TheIWLineOfTheIWalkingOfContour &) –
  • Index
  • S (Contap_SequenceOfIWLineOfTheIWalkingOfContour &) –
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • Index (Standard_Integer) –
  • T (Handle_Contap_TheIWLineOfTheIWalkingOfContour &) –
  • Index
  • S (Contap_SequenceOfIWLineOfTheIWalkingOfContour &) –
Return type:

None

Return type:

None

Last()
Return type:Handle_Contap_TheIWLineOfTheIWalkingOfContour
Prepend()
Parameters:
  • T (Handle_Contap_TheIWLineOfTheIWalkingOfContour &) –
  • S (Contap_SequenceOfIWLineOfTheIWalkingOfContour &) –
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 (Contap_SequenceOfIWLineOfTheIWalkingOfContour &) –
Return type:Contap_SequenceOfIWLineOfTheIWalkingOfContour
SetValue()
Parameters:
  • Index (Standard_Integer) –
  • I (Handle_Contap_TheIWLineOfTheIWalkingOfContour &) –
Return type:

None

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

None

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

The membership flag

class OCC.Contap.Contap_SequenceOfPathPointOfTheSearchOfContour

Bases: OCC.TCollection.TCollection_BaseSequence

Append()
Parameters:
  • T (Contap_ThePathPointOfTheSearchOfContour &) –
  • S (Contap_SequenceOfPathPointOfTheSearchOfContour &) –
Return type:

None

Return type:

None

Assign()
Parameters:Other (Contap_SequenceOfPathPointOfTheSearchOfContour &) –
Return type:Contap_SequenceOfPathPointOfTheSearchOfContour
ChangeValue()
Parameters:Index (Standard_Integer) –
Return type:Contap_ThePathPointOfTheSearchOfContour
Clear()
Return type:None
First()
Return type:Contap_ThePathPointOfTheSearchOfContour
InsertAfter()
Parameters:
  • Index (Standard_Integer) –
  • T (Contap_ThePathPointOfTheSearchOfContour &) –
  • Index
  • S (Contap_SequenceOfPathPointOfTheSearchOfContour &) –
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • Index (Standard_Integer) –
  • T (Contap_ThePathPointOfTheSearchOfContour &) –
  • Index
  • S (Contap_SequenceOfPathPointOfTheSearchOfContour &) –
Return type:

None

Return type:

None

Last()
Return type:Contap_ThePathPointOfTheSearchOfContour
Prepend()
Parameters:
  • T (Contap_ThePathPointOfTheSearchOfContour &) –
  • S (Contap_SequenceOfPathPointOfTheSearchOfContour &) –
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 (Contap_SequenceOfPathPointOfTheSearchOfContour &) –
Return type:Contap_SequenceOfPathPointOfTheSearchOfContour
SetValue()
Parameters:
  • Index (Standard_Integer) –
  • I (Contap_ThePathPointOfTheSearchOfContour &) –
Return type:

None

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

None

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

The membership flag

class OCC.Contap.Contap_SequenceOfSegmentOfTheSearchOfContour

Bases: OCC.TCollection.TCollection_BaseSequence

Append()
Parameters:
  • T (Contap_TheSegmentOfTheSearchOfContour &) –
  • S (Contap_SequenceOfSegmentOfTheSearchOfContour &) –
Return type:

None

Return type:

None

Assign()
Parameters:Other (Contap_SequenceOfSegmentOfTheSearchOfContour &) –
Return type:Contap_SequenceOfSegmentOfTheSearchOfContour
ChangeValue()
Parameters:Index (Standard_Integer) –
Return type:Contap_TheSegmentOfTheSearchOfContour
Clear()
Return type:None
First()
Return type:Contap_TheSegmentOfTheSearchOfContour
InsertAfter()
Parameters:
  • Index (Standard_Integer) –
  • T (Contap_TheSegmentOfTheSearchOfContour &) –
  • Index
  • S (Contap_SequenceOfSegmentOfTheSearchOfContour &) –
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • Index (Standard_Integer) –
  • T (Contap_TheSegmentOfTheSearchOfContour &) –
  • Index
  • S (Contap_SequenceOfSegmentOfTheSearchOfContour &) –
Return type:

None

Return type:

None

Last()
Return type:Contap_TheSegmentOfTheSearchOfContour
Prepend()
Parameters:
  • T (Contap_TheSegmentOfTheSearchOfContour &) –
  • S (Contap_SequenceOfSegmentOfTheSearchOfContour &) –
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 (Contap_SequenceOfSegmentOfTheSearchOfContour &) –
Return type:Contap_SequenceOfSegmentOfTheSearchOfContour
SetValue()
Parameters:
  • Index (Standard_Integer) –
  • I (Contap_TheSegmentOfTheSearchOfContour &) –
Return type:

None

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

None

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

The membership flag

class OCC.Contap.Contap_TheArcFunctionOfContour

Bases: object

Derivative()
Parameters:
  • X (float) –
  • D (float &) –
Return type:

bool

GetStateNumber()
Return type:int
NbSamples()
Return type:int
Quadric()
Return type:IntSurf_Quadric
Set()
Parameters:
  • S (Handle_Adaptor3d_HSurface &) –
  • Direction (gp_Dir) –
  • Direction
  • Angle (float) –
  • Eye (gp_Pnt) –
  • Eye
  • Angle
  • A (Handle_Adaptor2d_HCurve2d &) –
Return type:

None

Return type:

None

Return type:

None

Return type:

None

Return type:

None

Return type:

None

Valpoint()
Parameters:Index (Standard_Integer) –
Return type:gp_Pnt
Value()
Parameters:
  • X (float) –
  • F (float &) –
Return type:

bool

Values()
Parameters:
  • X (float) –
  • F (float &) –
  • D (float &) –
Return type:

bool

thisown

The membership flag

class OCC.Contap.Contap_TheHSequenceOfPointOfContour

Bases: OCC.MMgt.MMgt_TShared

Append()
Parameters:
  • anItem (Contap_ThePointOfContour &) –
  • aSequence (Handle_Contap_TheHSequenceOfPointOfContour &) –
Return type:

None

Return type:

None

ChangeSequence()
Return type:Contap_TheSequenceOfPointOfContour
ChangeValue()
Parameters:anIndex (Standard_Integer) –
Return type:Contap_ThePointOfContour
Clear()
Return type:None
Exchange()
Parameters:
  • anIndex (Standard_Integer) –
  • anOtherIndex (Standard_Integer) –
Return type:

None

GetHandle()

Contap_TheHSequenceOfPointOfContour_GetHandle(Contap_TheHSequenceOfPointOfContour self) -> Handle_Contap_TheHSequenceOfPointOfContour

InsertAfter()
Parameters:
  • anIndex (Standard_Integer) –
  • anItem (Contap_ThePointOfContour &) –
  • anIndex
  • aSequence (Handle_Contap_TheHSequenceOfPointOfContour &) –
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • anIndex (Standard_Integer) –
  • anItem (Contap_ThePointOfContour &) –
  • anIndex
  • aSequence (Handle_Contap_TheHSequenceOfPointOfContour &) –
Return type:

None

Return type:

None

IsEmpty()
Return type:bool
Length()
Return type:int
Prepend()
Parameters:
  • anItem (Contap_ThePointOfContour &) –
  • aSequence (Handle_Contap_TheHSequenceOfPointOfContour &) –
Return type:

None

Return type:

None

Remove()
Parameters:
  • anIndex (Standard_Integer) –
  • fromIndex (Standard_Integer) –
  • toIndex (Standard_Integer) –
Return type:

None

Return type:

None

Reverse()
Return type:None
Sequence()
Return type:Contap_TheSequenceOfPointOfContour
SetValue()
Parameters:
  • anIndex (Standard_Integer) –
  • anItem (Contap_ThePointOfContour &) –
Return type:

None

ShallowCopy()
Return type:Handle_Contap_TheHSequenceOfPointOfContour
Split()
Parameters:anIndex (Standard_Integer) –
Return type:Handle_Contap_TheHSequenceOfPointOfContour
Value()
Parameters:anIndex (Standard_Integer) –
Return type:Contap_ThePointOfContour
thisown

The membership flag

class OCC.Contap.Contap_TheIWLineOfTheIWalkingOfContour(theAllocator=0)

Bases: OCC.MMgt.MMgt_TShared

AddIndexPassing()
Parameters:Index (Standard_Integer) –
Return type:None
AddPoint()
Parameters:P (IntSurf_PntOn2S &) –
Return type:None
AddStatusFirst()
Parameters:
  • Closed (bool) –
  • HasFirst (bool) –
  • Closed
  • HasLast (bool) –
  • Index (Standard_Integer) –
  • P (IntSurf_PathPoint &) –
Return type:

None

Return type:

None

AddStatusFirstLast()
Parameters:
  • Closed (bool) –
  • HasFirst (bool) –
  • HasLast (bool) –
Return type:

None

AddStatusLast()
Parameters:
  • HasLast (bool) –
  • HasLast
  • Index (Standard_Integer) –
  • P (IntSurf_PathPoint &) –
Return type:

None

Return type:

None

Cut()
Parameters:Index (Standard_Integer) –
Return type:None
FirstPoint()
Return type:IntSurf_PathPoint
FirstPointIndex()
Return type:int
GetHandle()

Contap_TheIWLineOfTheIWalkingOfContour_GetHandle(Contap_TheIWLineOfTheIWalkingOfContour self) -> Handle_Contap_TheIWLineOfTheIWalkingOfContour

HasFirstPoint()
Return type:bool
HasLastPoint()
Return type:bool
IsClosed()
Return type:bool
IsTangentAtBegining()
Return type:bool
IsTangentAtEnd()
Return type:bool
LastPoint()
Return type:IntSurf_PathPoint
LastPointIndex()
Return type:int
Line()
Return type:Handle_IntSurf_LineOn2S
NbPassingPoint()
Return type:int
NbPoints()
Return type:int
PassingPoint()
Parameters:
  • Index (Standard_Integer) –
  • IndexLine (Standard_Integer &) –
  • IndexPnts (Standard_Integer &) –
Return type:

None

Reverse()
Return type:None
SetTangencyAtBegining()
Parameters:IsTangent (bool) –
Return type:None
SetTangencyAtEnd()
Parameters:IsTangent (bool) –
Return type:None
SetTangentVector()
Parameters:
  • V (gp_Vec) –
  • Index (Standard_Integer) –
Return type:

None

TangentVector()
Parameters:Index (Standard_Integer &) –
Return type:gp_Vec
Value()
Parameters:Index (Standard_Integer) –
Return type:IntSurf_PntOn2S
thisown

The membership flag

class OCC.Contap.Contap_TheIWalkingOfContour(*args)

Bases: object

IsDone()
Return type:bool
NbLines()
Return type:int
NbSinglePnts()
Return type:int
Perform()
Parameters:
  • Pnts1 (IntSurf_SequenceOfPathPoint &) –
  • Pnts2 (IntSurf_SequenceOfInteriorPoint &) –
  • Func (Contap_TheSurfFunctionOfContour &) –
  • S (Handle_Adaptor3d_HSurface &) –
  • Reversed (bool) – default value is Standard_False
  • Pnts1
  • Pnts2
  • Func
  • S
  • Reversed – default value is Standard_False
  • Pnts1
  • Func
  • S
  • Reversed – default value is Standard_False
  • Pnts1
  • Func
  • S
  • Reversed – default value is Standard_False
Return type:

None

Return type:

None

Return type:

None

Return type:

None

SetTolerance()
Parameters:
  • Epsilon (float) –
  • Deflection (float) –
  • Step (float) –
Return type:

None

SinglePnt()
Parameters:Index (Standard_Integer) –
Return type:IntSurf_PathPoint
Value()
Parameters:Index (Standard_Integer) –
Return type:Handle_Contap_TheIWLineOfTheIWalkingOfContour
thisown

The membership flag

class OCC.Contap.Contap_TheLineOfContour

Bases: object

Add()
Parameters:
  • P (Contap_ThePointOfContour &) –
  • P
Return type:

None

Return type:

None

Arc()
Return type:Handle_Adaptor2d_HCurve2d
Circle()
Return type:gp_Circ
Clear()
Return type:None
Line()
Return type:gp_Lin
LineOn2S()
Return type:Handle_IntSurf_LineOn2S
NbPnts()
Return type:int
NbVertex()
Return type:int
Point()
Parameters:Index (Standard_Integer) –
Return type:IntSurf_PntOn2S
ResetSeqOfVertex()
Return type:None
SetLineOn2S()
Parameters:L (Handle_IntSurf_LineOn2S &) –
Return type:None
SetTransitionOnS()
Parameters:T (IntSurf_TypeTrans) –
Return type:None
SetValue()
Parameters:
  • L (gp_Lin) –
  • C (gp_Circ) –
  • A (Handle_Adaptor2d_HCurve2d &) –
Return type:

None

Return type:

None

Return type:

None

TransitionOnS()
Return type:IntSurf_TypeTrans
TypeContour()
Return type:Contap_IType
Vertex()
Parameters:Index (Standard_Integer) –
Return type:Contap_ThePointOfContour
thisown

The membership flag

class OCC.Contap.Contap_ThePathPointOfTheSearchOfContour(*args)

Bases: object

Arc()
Return type:Handle_Adaptor2d_HCurve2d
IsNew()
Return type:bool
Parameter()
Return type:float
SetValue()
Parameters:
  • P (gp_Pnt) –
  • Tol (float) –
  • V (Handle_Adaptor3d_HVertex &) –
  • A (Handle_Adaptor2d_HCurve2d &) –
  • Parameter (float) –
  • P
  • Tol
  • A
  • Parameter
Return type:

None

Return type:

None

Tolerance()
Return type:float
Value()
Return type:gp_Pnt
Vertex()
Return type:Handle_Adaptor3d_HVertex
thisown

The membership flag

class OCC.Contap.Contap_ThePointOfContour(*args)

Bases: object

Arc()
Return type:Handle_Adaptor2d_HCurve2d
IsInternal()
Return type:bool
IsMultiple()
Return type:bool
IsOnArc()
Return type:bool
IsVertex()
Return type:bool
ParameterOnArc()
Return type:float
ParameterOnLine()
Return type:float
Parameters()
Parameters:
  • U1 (float &) –
  • V1 (float &) –
Return type:

None

SetArc()
Parameters:
  • A (Handle_Adaptor2d_HCurve2d &) –
  • Param (float) –
  • TLine (IntSurf_Transition &) –
  • TArc (IntSurf_Transition &) –
Return type:

None

SetInternal()
Return type:None
SetMultiple()
Return type:None
SetParameter()
Parameters:Para (float) –
Return type:None
SetValue()
Parameters:
  • Pt (gp_Pnt) –
  • U (float) –
  • V (float) –
Return type:

None

SetVertex()
Parameters:V (Handle_Adaptor3d_HVertex &) –
Return type:None
TransitionOnArc()
Return type:IntSurf_Transition
TransitionOnLine()
Return type:IntSurf_Transition
Value()
Return type:gp_Pnt
Vertex()
Return type:Handle_Adaptor3d_HVertex
thisown

The membership flag

class OCC.Contap.Contap_TheSearchInsideOfContour(*args)

Bases: object

IsDone()
Return type:bool
NbPoints()
Return type:int
Perform()
Parameters:
  • F (Contap_TheSurfFunctionOfContour &) –
  • Surf (Handle_Adaptor3d_HSurface &) –
  • T (Handle_Adaptor3d_TopolTool &) –
  • Epsilon (float) –
  • F
  • Surf
  • UStart (float) –
  • VStart (float) –
Return type:

None

Return type:

None

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

The membership flag

class OCC.Contap.Contap_TheSearchOfContour

Bases: object

AllArcSolution()
Return type:bool
IsDone()
Return type:bool
NbPoints()
Return type:int
NbSegments()
Return type:int
Perform()
Parameters:
  • F (Contap_TheArcFunctionOfContour &) –
  • Domain (Handle_Adaptor3d_TopolTool &) –
  • TolBoundary (float) –
  • TolTangency (float) –
  • RecheckOnRegularity (bool) – default value is Standard_False
  • F
  • Domain
  • TolBoundary
  • TolTangency
  • RecheckOnRegularity – default value is Standard_False
Return type:

None

Return type:

None

Point()
Parameters:Index (Standard_Integer) –
Return type:Contap_ThePathPointOfTheSearchOfContour
Segment()
Parameters:Index (Standard_Integer) –
Return type:Contap_TheSegmentOfTheSearchOfContour
thisown

The membership flag

class OCC.Contap.Contap_TheSegmentOfTheSearchOfContour

Bases: object

Curve()
Return type:Handle_Adaptor2d_HCurve2d
FirstPoint()
Return type:Contap_ThePathPointOfTheSearchOfContour
HasFirstPoint()
Return type:bool
HasLastPoint()
Return type:bool
LastPoint()
Return type:Contap_ThePathPointOfTheSearchOfContour
SetLimitPoint()
Parameters:
  • V (Contap_ThePathPointOfTheSearchOfContour &) –
  • First (bool) –
Return type:

None

SetValue()
Parameters:A (Handle_Adaptor2d_HCurve2d &) –
Return type:None
thisown

The membership flag

class OCC.Contap.Contap_TheSequenceOfLineOfContour

Bases: OCC.TCollection.TCollection_BaseSequence

Append()
Parameters:
  • T (Contap_TheLineOfContour &) –
  • S (Contap_TheSequenceOfLineOfContour &) –
Return type:

None

Return type:

None

Assign()
Parameters:Other (Contap_TheSequenceOfLineOfContour &) –
Return type:Contap_TheSequenceOfLineOfContour
ChangeValue()
Parameters:Index (Standard_Integer) –
Return type:Contap_TheLineOfContour
Clear()
Return type:None
First()
Return type:Contap_TheLineOfContour
InsertAfter()
Parameters:
  • Index (Standard_Integer) –
  • T (Contap_TheLineOfContour &) –
  • Index
  • S (Contap_TheSequenceOfLineOfContour &) –
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • Index (Standard_Integer) –
  • T (Contap_TheLineOfContour &) –
  • Index
  • S (Contap_TheSequenceOfLineOfContour &) –
Return type:

None

Return type:

None

Last()
Return type:Contap_TheLineOfContour
Prepend()
Parameters:
  • T (Contap_TheLineOfContour &) –
  • S (Contap_TheSequenceOfLineOfContour &) –
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 (Contap_TheSequenceOfLineOfContour &) –
Return type:Contap_TheSequenceOfLineOfContour
SetValue()
Parameters:
  • Index (Standard_Integer) –
  • I (Contap_TheLineOfContour &) –
Return type:

None

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

None

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

The membership flag

class OCC.Contap.Contap_TheSequenceOfPointOfContour

Bases: OCC.TCollection.TCollection_BaseSequence

Append()
Parameters:
  • T (Contap_ThePointOfContour &) –
  • S (Contap_TheSequenceOfPointOfContour &) –
Return type:

None

Return type:

None

Assign()
Parameters:Other (Contap_TheSequenceOfPointOfContour &) –
Return type:Contap_TheSequenceOfPointOfContour
ChangeValue()
Parameters:Index (Standard_Integer) –
Return type:Contap_ThePointOfContour
Clear()
Return type:None
First()
Return type:Contap_ThePointOfContour
InsertAfter()
Parameters:
  • Index (Standard_Integer) –
  • T (Contap_ThePointOfContour &) –
  • Index
  • S (Contap_TheSequenceOfPointOfContour &) –
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • Index (Standard_Integer) –
  • T (Contap_ThePointOfContour &) –
  • Index
  • S (Contap_TheSequenceOfPointOfContour &) –
Return type:

None

Return type:

None

Last()
Return type:Contap_ThePointOfContour
Prepend()
Parameters:
  • T (Contap_ThePointOfContour &) –
  • S (Contap_TheSequenceOfPointOfContour &) –
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 (Contap_TheSequenceOfPointOfContour &) –
Return type:Contap_TheSequenceOfPointOfContour
SetValue()
Parameters:
  • Index (Standard_Integer) –
  • I (Contap_ThePointOfContour &) –
Return type:

None

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

None

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

The membership flag

class OCC.Contap.Contap_TheSurfFunctionOfContour

Bases: object

Angle()
Return type:float
Derivatives()
Parameters:
  • X (math_Vector &) –
  • D (math_Matrix &) –
Return type:

bool

Direction()
Return type:gp_Dir
Direction2d()
Return type:gp_Dir2d
Direction3d()
Return type:gp_Vec
Eye()
Return type:gp_Pnt
FunctionType()
Return type:Contap_TFunction
IsTangent()
Return type:bool
NbEquations()
Return type:int
NbVariables()
Return type:int
Point()
Return type:gp_Pnt
Root()
Return type:float
Set()
Parameters:
  • S (Handle_Adaptor3d_HSurface &) –
  • Eye (gp_Pnt) –
  • Dir (gp_Dir) –
  • Dir
  • Angle (float) –
  • Eye
  • Angle
  • Tolerance (float) –
Return type:

None

Return type:

None

Return type:

None

Return type:

None

Return type:

None

Return type:

None

Surface()
Return type:Handle_Adaptor3d_HSurface
Tolerance()
Return type:float
Value()
Parameters:
  • X (math_Vector &) –
  • F (math_Vector &) –
Return type:

bool

Values()
Parameters:
  • X (math_Vector &) –
  • F (math_Vector &) –
  • D (math_Matrix &) –
Return type:

bool

thisown

The membership flag

class OCC.Contap.Contap_TheSurfPropsOfContour(*args, **kwargs)

Bases: object

static DerivAndNorm(*args)
Parameters:
  • S (Handle_Adaptor3d_HSurface &) –
  • U (float) –
  • V (float) –
  • P (gp_Pnt) –
  • d1u (gp_Vec) –
  • d1v (gp_Vec) –
  • N (gp_Vec) –
Return type:

void

static NormAndDn(*args)
Parameters:
  • S (Handle_Adaptor3d_HSurface &) –
  • U (float) –
  • V (float) –
  • P (gp_Pnt) –
  • N (gp_Vec) –
  • Dnu (gp_Vec) –
  • Dnv (gp_Vec) –
Return type:

void

static Normale(*args)
Parameters:
  • S (Handle_Adaptor3d_HSurface &) –
  • U (float) –
  • V (float) –
  • P (gp_Pnt) –
  • N (gp_Vec) –
Return type:

void

thisown

The membership flag

OCC.Contap.Contap_TheSurfPropsOfContour_DerivAndNorm(*args)
Parameters:
  • S (Handle_Adaptor3d_HSurface &) –
  • U (float) –
  • V (float) –
  • P (gp_Pnt) –
  • d1u (gp_Vec) –
  • d1v (gp_Vec) –
  • N (gp_Vec) –
Return type:

void

OCC.Contap.Contap_TheSurfPropsOfContour_NormAndDn(*args)
Parameters:
  • S (Handle_Adaptor3d_HSurface &) –
  • U (float) –
  • V (float) –
  • P (gp_Pnt) –
  • N (gp_Vec) –
  • Dnu (gp_Vec) –
  • Dnv (gp_Vec) –
Return type:

void

OCC.Contap.Contap_TheSurfPropsOfContour_Normale(*args)
Parameters:
  • S (Handle_Adaptor3d_HSurface &) –
  • U (float) –
  • V (float) –
  • P (gp_Pnt) –
  • N (gp_Vec) –
Return type:

void

class OCC.Contap.Handle_Contap_SequenceNodeOfSequenceOfIWLineOfTheIWalkingOfContour(*args)

Bases: OCC.TCollection.Handle_TCollection_SeqNode

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

The membership flag

class OCC.Contap.Handle_Contap_SequenceNodeOfSequenceOfPathPointOfTheSearchOfContour(*args)

Bases: OCC.TCollection.Handle_TCollection_SeqNode

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

The membership flag

class OCC.Contap.Handle_Contap_SequenceNodeOfSequenceOfSegmentOfTheSearchOfContour(*args)

Bases: OCC.TCollection.Handle_TCollection_SeqNode

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

The membership flag

class OCC.Contap.Handle_Contap_SequenceNodeOfTheSequenceOfLineOfContour(*args)

Bases: OCC.TCollection.Handle_TCollection_SeqNode

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

The membership flag

class OCC.Contap.Handle_Contap_SequenceNodeOfTheSequenceOfPointOfContour(*args)

Bases: OCC.TCollection.Handle_TCollection_SeqNode

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

The membership flag

class OCC.Contap.Handle_Contap_TheHSequenceOfPointOfContour(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class OCC.Contap.Handle_Contap_TheIWLineOfTheIWalkingOfContour(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class OCC.Contap.SwigPyIterator(*args, **kwargs)

Bases: object

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

The membership flag

value()