OCC.IntSurf module

class OCC.IntSurf.Handle_IntSurf_LineOn2S(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class OCC.IntSurf.Handle_IntSurf_ListNodeOfListOfPntOn2S(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.IntSurf.Handle_IntSurf_SequenceNodeOfSequenceOfCouple(*args)

Bases: OCC.TCollection.Handle_TCollection_SeqNode

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

The membership flag

class OCC.IntSurf.Handle_IntSurf_SequenceNodeOfSequenceOfInteriorPoint(*args)

Bases: OCC.TCollection.Handle_TCollection_SeqNode

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

The membership flag

class OCC.IntSurf.Handle_IntSurf_SequenceNodeOfSequenceOfPathPoint(*args)

Bases: OCC.TCollection.Handle_TCollection_SeqNode

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

The membership flag

class OCC.IntSurf.IntSurf_Couple(*args)

Bases: object

First()
  • returns the first element
Return type:int
Second()
  • returns the Second element
Return type:int
thisown

The membership flag

class OCC.IntSurf.IntSurf_InteriorPoint(*args)

Bases: object

Direction()
  • Returns the tangent at the intersection in 3d space associated to the interior point.
Return type:gp_Vec
Direction2d()
  • Returns the tangent at the intersection in the parametric space of the parametric surface.
Return type:gp_Vec2d
Parameters()
  • Returns the parameters of the interior point on the parametric surface.
Parameters:
  • U (float &) –
  • V (float &) –
Return type:

None

SetValue()
Parameters:
  • P (gp_Pnt) –
  • U (float) –
  • V (float) –
  • Direc (gp_Vec) –
  • Direc2d (gp_Vec2d) –
Return type:

None

UParameter()
  • Returns the first parameter of the interior point on the parametric surface.
Return type:float
VParameter()
  • Returns the second parameter of the interior point on the parametric surface.
Return type:float
Value()
  • Returns the 3d coordinates of the interior point.
Return type:gp_Pnt
thisown

The membership flag

class OCC.IntSurf.IntSurf_InteriorPointTool(*args, **kwargs)

Bases: object

static Direction2d(*args)
  • returns the tangent at the intersectin in the parametric space of the parametrized surface.This tangent is associated to the value2d
Parameters:PStart (IntSurf_InteriorPoint &) –
Return type:gp_Dir2d
static Direction3d(*args)
  • returns the tangent at the intersectin in 3d space associated to <P>
Parameters:PStart (IntSurf_InteriorPoint &) –
Return type:gp_Vec
static Value2d(*args)
  • Returns the <U,V> parameters which are associated with <P> it’s the parameters which start the marching algorithm
Parameters:
  • PStart (IntSurf_InteriorPoint &) –
  • U (float &) –
  • V (float &) –
Return type:

void

static Value3d(*args)
  • Returns the 3d coordinates of the starting point.
Parameters:PStart (IntSurf_InteriorPoint &) –
Return type:gp_Pnt
thisown

The membership flag

OCC.IntSurf.IntSurf_InteriorPointTool_Direction2d(*args)
  • returns the tangent at the intersectin in the parametric space of the parametrized surface.This tangent is associated to the value2d
Parameters:PStart (IntSurf_InteriorPoint &) –
Return type:gp_Dir2d
OCC.IntSurf.IntSurf_InteriorPointTool_Direction3d(*args)
  • returns the tangent at the intersectin in 3d space associated to <P>
Parameters:PStart (IntSurf_InteriorPoint &) –
Return type:gp_Vec
OCC.IntSurf.IntSurf_InteriorPointTool_Value2d(*args)
  • Returns the <U,V> parameters which are associated with <P> it’s the parameters which start the marching algorithm
Parameters:
  • PStart (IntSurf_InteriorPoint &) –
  • U (float &) –
  • V (float &) –
Return type:

void

OCC.IntSurf.IntSurf_InteriorPointTool_Value3d(*args)
  • Returns the 3d coordinates of the starting point.
Parameters:PStart (IntSurf_InteriorPoint &) –
Return type:gp_Pnt
class OCC.IntSurf.IntSurf_LineOn2S(theAllocator=0)

Bases: OCC.MMgt.MMgt_TShared

Add()
  • Adds a point in the line.
Parameters:P (IntSurf_PntOn2S &) –
Return type:None
Clear()
Return type:None
GetHandle()

IntSurf_LineOn2S_GetHandle(IntSurf_LineOn2S self) -> Handle_IntSurf_LineOn2S

InsertBefore()
Parameters:
  • I (Standard_Integer) –
  • P (IntSurf_PntOn2S &) –
Return type:

None

NbPoints()
  • Returns the number of points in the line.
Return type:int
RemovePoint()
Parameters:I (Standard_Integer) –
Return type:None
Reverse()
  • Reverses the order of points of the line.
Return type:None
SetUV()
  • Sets the parametric coordinates on one of the surfaces of the point of range Index in the line.
Parameters:
  • Index (Standard_Integer) –
  • OnFirst (bool) –
  • U (float) –
  • V (float) –
Return type:

None

Split()
  • Keeps in <self> the points 1 to Index-1, and returns the items Index to the end.
Parameters:Index (Standard_Integer) –
Return type:Handle_IntSurf_LineOn2S
Value()
  • Returns the point of range Index in the line.
Parameters:Index (Standard_Integer) –
Return type:IntSurf_PntOn2S
  • Replaces the point of range Index in the line.
Parameters:
  • Index (Standard_Integer) –
  • P (IntSurf_PntOn2S &) –
Return type:

None

thisown

The membership flag

class OCC.IntSurf.IntSurf_ListIteratorOfListOfPntOn2S(*args)

Bases: object

Initialize()
Parameters:L (IntSurf_ListOfPntOn2S &) –
Return type:None
More()
Return type:bool
Next()
Return type:None
Value()
Return type:IntSurf_PntOn2S
thisown

The membership flag

class OCC.IntSurf.IntSurf_ListNodeOfListOfPntOn2S(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

IntSurf_ListNodeOfListOfPntOn2S_GetHandle(IntSurf_ListNodeOfListOfPntOn2S self) -> Handle_IntSurf_ListNodeOfListOfPntOn2S

Value()
Return type:IntSurf_PntOn2S
thisown

The membership flag

class OCC.IntSurf.IntSurf_ListOfPntOn2S

Bases: object

Append()
Parameters:
  • I (IntSurf_PntOn2S &) –
  • I
  • theIt (IntSurf_ListIteratorOfListOfPntOn2S &) –
  • Other (IntSurf_ListOfPntOn2S &) –
Return type:

None

Return type:

None

Return type:

None

Assign()
Parameters:Other (IntSurf_ListOfPntOn2S &) –
Return type:None
Clear()
Return type:None
Extent()
Return type:int
First()
Return type:IntSurf_PntOn2S
InsertAfter()
Parameters:
  • I (IntSurf_PntOn2S &) –
  • It (IntSurf_ListIteratorOfListOfPntOn2S &) –
  • Other (IntSurf_ListOfPntOn2S &) –
  • It
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • I (IntSurf_PntOn2S &) –
  • It (IntSurf_ListIteratorOfListOfPntOn2S &) –
  • Other (IntSurf_ListOfPntOn2S &) –
  • It
Return type:

None

Return type:

None

IsEmpty()
Return type:bool
Last()
Return type:IntSurf_PntOn2S
Prepend()
Parameters:
  • I (IntSurf_PntOn2S &) –
  • I
  • theIt (IntSurf_ListIteratorOfListOfPntOn2S &) –
  • Other (IntSurf_ListOfPntOn2S &) –
Return type:

None

Return type:

None

Return type:

None

Remove()
Parameters:It (IntSurf_ListIteratorOfListOfPntOn2S &) –
Return type:None
RemoveFirst()
Return type:None
Set()
Parameters:Other (IntSurf_ListOfPntOn2S &) –
Return type:None
thisown

The membership flag

class OCC.IntSurf.IntSurf_PathPoint(*args)

Bases: object

AddUV()
Parameters:
  • U (float) –
  • V (float) –
Return type:

None

Direction2d()
Return type:gp_Dir2d
Direction3d()
Return type:gp_Vec
IsPassingPnt()
Return type:bool
IsTangent()
Return type:bool
Multiplicity()
Return type:int
Parameters()
Parameters:
  • Index (Standard_Integer) –
  • U (float &) –
  • V (float &) –
Return type:

None

SetDirections()
Parameters:
  • V (gp_Vec) –
  • D (gp_Dir2d) –
Return type:

None

SetPassing()
Parameters:Pass (bool) –
Return type:None
SetTangency()
Parameters:Tang (bool) –
Return type:None
SetValue()
Parameters:
  • P (gp_Pnt) –
  • U (float) –
  • V (float) –
Return type:

None

Value()
Return type:gp_Pnt
Value2d()
Parameters:
  • U (float &) –
  • V (float &) –
Return type:

None

thisown

The membership flag

class OCC.IntSurf.IntSurf_PathPointTool(*args, **kwargs)

Bases: object

static Direction2d(*args)
  • returns the tangent at the intersection in the parametric space of the parametrized surface.This tangent is associated to the value2d la tangente a un sens signifiant (indique le sens de chemin ement) an exception is raised if IsTangent is true.
Parameters:PStart (IntSurf_PathPoint &) –
Return type:gp_Dir2d
static Direction3d(*args)
  • returns the tangent at the intersection in 3d space associated to <P> an exception is raised if IsTangent is true.
Parameters:PStart (IntSurf_PathPoint &) –
Return type:gp_Vec
static IsPassingPnt(*args)
  • Returns True if the point is a point on a non-oriented arc, which means that the intersection line does not stop at such a point but just go through such a point. IsPassingPnt is True when IsOnArc is True
Parameters:PStart (IntSurf_PathPoint &) –
Return type:bool
static IsTangent(*args)
  • Returns True if the surfaces are tangent at this point. IsTangent can be True when IsOnArc is True if IsPassingPnt is True and IsTangent is True,this point is a stopped point.
Parameters:PStart (IntSurf_PathPoint &) –
Return type:bool
static Multiplicity(*args)
  • Returns the multiplicity of the point i-e the number of auxillar parameters associated to the point which the principal parameters are given by Value2d
Parameters:PStart (IntSurf_PathPoint &) –
Return type:int
static Parameters(*args)
  • Parametric coordinates associated to the multiplicity. An exception is raised if Mult<=0 or Mult>multiplicity.
Parameters:
  • PStart (IntSurf_PathPoint &) –
  • Mult (Standard_Integer) –
  • U (float &) –
  • V (float &) –
Return type:

void

static Value2d(*args)
  • Returns the <U, V> parameters which are associated with <P> it’s the parameters which start the marching algorithm
Parameters:
  • PStart (IntSurf_PathPoint &) –
  • U (float &) –
  • V (float &) –
Return type:

void

static Value3d(*args)
  • Returns the 3d coordinates of the starting point.
Parameters:PStart (IntSurf_PathPoint &) –
Return type:gp_Pnt
thisown

The membership flag

OCC.IntSurf.IntSurf_PathPointTool_Direction2d(*args)
  • returns the tangent at the intersection in the parametric space of the parametrized surface.This tangent is associated to the value2d la tangente a un sens signifiant (indique le sens de chemin ement) an exception is raised if IsTangent is true.
Parameters:PStart (IntSurf_PathPoint &) –
Return type:gp_Dir2d
OCC.IntSurf.IntSurf_PathPointTool_Direction3d(*args)
  • returns the tangent at the intersection in 3d space associated to <P> an exception is raised if IsTangent is true.
Parameters:PStart (IntSurf_PathPoint &) –
Return type:gp_Vec
OCC.IntSurf.IntSurf_PathPointTool_IsPassingPnt(*args)
  • Returns True if the point is a point on a non-oriented arc, which means that the intersection line does not stop at such a point but just go through such a point. IsPassingPnt is True when IsOnArc is True
Parameters:PStart (IntSurf_PathPoint &) –
Return type:bool
OCC.IntSurf.IntSurf_PathPointTool_IsTangent(*args)
  • Returns True if the surfaces are tangent at this point. IsTangent can be True when IsOnArc is True if IsPassingPnt is True and IsTangent is True,this point is a stopped point.
Parameters:PStart (IntSurf_PathPoint &) –
Return type:bool
OCC.IntSurf.IntSurf_PathPointTool_Multiplicity(*args)
  • Returns the multiplicity of the point i-e the number of auxillar parameters associated to the point which the principal parameters are given by Value2d
Parameters:PStart (IntSurf_PathPoint &) –
Return type:int
OCC.IntSurf.IntSurf_PathPointTool_Parameters(*args)
  • Parametric coordinates associated to the multiplicity. An exception is raised if Mult<=0 or Mult>multiplicity.
Parameters:
  • PStart (IntSurf_PathPoint &) –
  • Mult (Standard_Integer) –
  • U (float &) –
  • V (float &) –
Return type:

void

OCC.IntSurf.IntSurf_PathPointTool_Value2d(*args)
  • Returns the <U, V> parameters which are associated with <P> it’s the parameters which start the marching algorithm
Parameters:
  • PStart (IntSurf_PathPoint &) –
  • U (float &) –
  • V (float &) –
Return type:

void

OCC.IntSurf.IntSurf_PathPointTool_Value3d(*args)
  • Returns the 3d coordinates of the starting point.
Parameters:PStart (IntSurf_PathPoint &) –
Return type:gp_Pnt
class OCC.IntSurf.IntSurf_PntOn2S

Bases: object

Parameters()
  • Returns the parameters of the point on both surfaces.
Parameters:
  • U1 (float &) –
  • V1 (float &) –
  • U2 (float &) –
  • V2 (float &) –
Return type:

None

ParametersOnS1()
  • Returns the parameters of the point on the first surface.
Parameters:
  • U1 (float &) –
  • V1 (float &) –
Return type:

None

ParametersOnS2()
  • Returns the parameters of the point on the second surface.
Parameters:
  • U2 (float &) –
  • V2 (float &) –
Return type:

None

SetValue()
  • Sets the value of the point in 3d space.
Parameters:Pt (gp_Pnt) –
Return type:None
  • Sets the values of the point in 3d space, and in the parametric space of one of the surface.
Parameters:
  • Pt (gp_Pnt) –
  • OnFirst (bool) –
  • U (float) –
  • V (float) –
Return type:

None

  • Sets the values of the point in 3d space, and in the parametric space of each surface.
Parameters:
  • Pt (gp_Pnt) –
  • U1 (float) –
  • V1 (float) –
  • U2 (float) –
  • V2 (float) –
Return type:

None

  • Set the values of the point in the parametric space of one of the surface.
Parameters:
  • OnFirst (bool) –
  • U (float) –
  • V (float) –
Return type:

None

  • Set the values of the point in the parametric space of one of the surface.
Parameters:
  • U1 (float) –
  • V1 (float) –
  • U2 (float) –
  • V2 (float) –
Return type:

None

Value()
  • Returns the point in 3d space.
Return type:gp_Pnt
thisown

The membership flag

class OCC.IntSurf.IntSurf_Quadric(*args)

Bases: object

Cone()
Return type:gp_Cone
Cylinder()
Return type:gp_Cylinder
D1()
Parameters:
  • U (float) –
  • V (float) –
  • P (gp_Pnt) –
  • D1U (gp_Vec) –
  • D1V (gp_Vec) –
Return type:

None

DN()
Parameters:
  • U (float) –
  • V (float) –
  • Nu (Standard_Integer) –
  • Nv (Standard_Integer) –
Return type:

gp_Vec

Distance()
Parameters:P (gp_Pnt) –
Return type:float
Gradient()
Parameters:P (gp_Pnt) –
Return type:gp_Vec
Normale()
Parameters:
  • U (float) –
  • V (float) –
  • P (gp_Pnt) –
Return type:

gp_Vec

Return type:

gp_Vec

Parameters()
Parameters:
  • P (gp_Pnt) –
  • U (float &) –
  • V (float &) –
Return type:

None

Plane()
Return type:gp_Pln
SetValue()
Parameters:
  • P (gp_Pln) –
  • C (gp_Cone) –
  • S (gp_Sphere) –
  • C
  • T (gp_Torus) –
Return type:

None

Return type:

None

Return type:

None

Return type:

None

Return type:

None

Sphere()
Return type:gp_Sphere
Torus()
Return type:gp_Torus
TypeQuadric()
Return type:GeomAbs_SurfaceType
ValAndGrad()
Parameters:
  • P (gp_Pnt) –
  • Dist (float &) –
  • Grad (gp_Vec) –
Return type:

None

Value()
Parameters:
  • U (float) –
  • V (float) –
Return type:

gp_Pnt

thisown

The membership flag

class OCC.IntSurf.IntSurf_QuadricTool(*args, **kwargs)

Bases: object

static Gradient(*args)
  • Returns the gradient of the function.
Parameters:
  • Quad (IntSurf_Quadric &) –
  • X (float) –
  • Y (float) –
  • Z (float) –
  • V (gp_Vec) –
Return type:

void

static Tolerance(*args)
  • returns the tolerance of the zero of the implicit function
Parameters:Quad (IntSurf_Quadric &) –
Return type:float
static Value(*args)
  • Returns the value of the function.
Parameters:
  • Quad (IntSurf_Quadric &) –
  • X (float) –
  • Y (float) –
  • Z (float) –
Return type:

float

static ValueAndGradient(*args)
  • Returns the value and the gradient.
Parameters:
  • Quad (IntSurf_Quadric &) –
  • X (float) –
  • Y (float) –
  • Z (float) –
  • Val (float &) –
  • Grad (gp_Vec) –
Return type:

void

thisown

The membership flag

OCC.IntSurf.IntSurf_QuadricTool_Gradient(*args)
  • Returns the gradient of the function.
Parameters:
  • Quad (IntSurf_Quadric &) –
  • X (float) –
  • Y (float) –
  • Z (float) –
  • V (gp_Vec) –
Return type:

void

OCC.IntSurf.IntSurf_QuadricTool_Tolerance(*args)
  • returns the tolerance of the zero of the implicit function
Parameters:Quad (IntSurf_Quadric &) –
Return type:float
OCC.IntSurf.IntSurf_QuadricTool_Value(*args)
  • Returns the value of the function.
Parameters:
  • Quad (IntSurf_Quadric &) –
  • X (float) –
  • Y (float) –
  • Z (float) –
Return type:

float

OCC.IntSurf.IntSurf_QuadricTool_ValueAndGradient(*args)
  • Returns the value and the gradient.
Parameters:
  • Quad (IntSurf_Quadric &) –
  • X (float) –
  • Y (float) –
  • Z (float) –
  • Val (float &) –
  • Grad (gp_Vec) –
Return type:

void

class OCC.IntSurf.IntSurf_SequenceNodeOfSequenceOfCouple(*args)

Bases: OCC.TCollection.TCollection_SeqNode

GetHandle()

IntSurf_SequenceNodeOfSequenceOfCouple_GetHandle(IntSurf_SequenceNodeOfSequenceOfCouple self) -> Handle_IntSurf_SequenceNodeOfSequenceOfCouple

Value()
Return type:IntSurf_Couple
thisown

The membership flag

class OCC.IntSurf.IntSurf_SequenceNodeOfSequenceOfInteriorPoint(*args)

Bases: OCC.TCollection.TCollection_SeqNode

GetHandle()

IntSurf_SequenceNodeOfSequenceOfInteriorPoint_GetHandle(IntSurf_SequenceNodeOfSequenceOfInteriorPoint self) -> Handle_IntSurf_SequenceNodeOfSequenceOfInteriorPoint

Value()
Return type:IntSurf_InteriorPoint
thisown

The membership flag

class OCC.IntSurf.IntSurf_SequenceNodeOfSequenceOfPathPoint(*args)

Bases: OCC.TCollection.TCollection_SeqNode

GetHandle()

IntSurf_SequenceNodeOfSequenceOfPathPoint_GetHandle(IntSurf_SequenceNodeOfSequenceOfPathPoint self) -> Handle_IntSurf_SequenceNodeOfSequenceOfPathPoint

Value()
Return type:IntSurf_PathPoint
thisown

The membership flag

class OCC.IntSurf.IntSurf_SequenceOfCouple

Bases: OCC.TCollection.TCollection_BaseSequence

Append()
Parameters:
  • T (IntSurf_Couple &) –
  • S (IntSurf_SequenceOfCouple &) –
Return type:

None

Return type:

None

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

None

Return type:

None

InsertBefore()
Parameters:
  • Index (Standard_Integer) –
  • T (IntSurf_Couple &) –
  • Index
  • S (IntSurf_SequenceOfCouple &) –
Return type:

None

Return type:

None

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

None

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

None

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

The membership flag

class OCC.IntSurf.IntSurf_SequenceOfInteriorPoint

Bases: OCC.TCollection.TCollection_BaseSequence

Append()
Parameters:
  • T (IntSurf_InteriorPoint &) –
  • S (IntSurf_SequenceOfInteriorPoint &) –
Return type:

None

Return type:

None

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

None

Return type:

None

InsertBefore()
Parameters:
  • Index (Standard_Integer) –
  • T (IntSurf_InteriorPoint &) –
  • Index
  • S (IntSurf_SequenceOfInteriorPoint &) –
Return type:

None

Return type:

None

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

None

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

None

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

The membership flag

class OCC.IntSurf.IntSurf_SequenceOfPathPoint

Bases: OCC.TCollection.TCollection_BaseSequence

Append()
Parameters:
  • T (IntSurf_PathPoint &) –
  • S (IntSurf_SequenceOfPathPoint &) –
Return type:

None

Return type:

None

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

None

Return type:

None

InsertBefore()
Parameters:
  • Index (Standard_Integer) –
  • T (IntSurf_PathPoint &) –
  • Index
  • S (IntSurf_SequenceOfPathPoint &) –
Return type:

None

Return type:

None

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

None

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

None

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

The membership flag

class OCC.IntSurf.IntSurf_Transition(*args)

Bases: object

IsOpposite()
  • returns a significant value if TransitionType returns TOUCH. In this case, the function returns true when the 2 curves locally define two different parts of the space. If TransitionType returns IN or OUT or UNDECIDED, an exception is raised.
Return type:bool
IsTangent()
  • Returns True if the point is tangent to the arc given by Value. An exception is raised if TransitionType returns UNDECIDED.
Return type:bool
SetValue()
  • Set the values of an IN or OUT transition.
Parameters:
  • Tangent (bool) –
  • Type (IntSurf_TypeTrans) –
Return type:

None

  • Set the values of a TOUCH transition.
Parameters:
  • Tangent (bool) –
  • Situ (IntSurf_Situation) –
  • Oppos (bool) –
Return type:

None

  • Set the values of an UNDECIDED transition.
Return type:None
Situation()
  • Returns a significant value if TransitionType returns TOUCH. In this case, the function returns : INSIDE when the intersection line remains inside the Arc, OUTSIDE when it remains outside the Arc, UNKNOWN when the calsulus cannot give results. If TransitionType returns IN, or OUT, or UNDECIDED, a exception is raised.
Return type:IntSurf_Situation
TransitionType()
  • Returns the type of Transition (in/out/touch/undecided) for the arc given by value. This the transition of the intersection line compared to the Arc of restriction, i-e when the function returns INSIDE for example, it means that the intersection line goes inside the part of plane limited by the arc of restriction.
Return type:IntSurf_TypeTrans
thisown

The membership flag

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

Bases: object

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

The membership flag

value()
class OCC.IntSurf.intsurf(*args, **kwargs)

Bases: object

static MakeTransition(*args)
  • Computes the transition of the intersection point between the two lines. TgFirst is the tangent vector of the first line. TgSecond is the tangent vector of the second line. Normal is the direction used to orientate the cross product TgFirst^TgSecond. TFirst is the transition of the point on the first line. TSecond is the transition of the point on the second line.
Parameters:
  • TgFirst (gp_Vec) –
  • TgSecond (gp_Vec) –
  • Normal (gp_Dir) –
  • TFirst (IntSurf_Transition &) –
  • TSecond (IntSurf_Transition &) –
Return type:

void

thisown

The membership flag

OCC.IntSurf.intsurf_MakeTransition(*args)
  • Computes the transition of the intersection point between the two lines. TgFirst is the tangent vector of the first line. TgSecond is the tangent vector of the second line. Normal is the direction used to orientate the cross product TgFirst^TgSecond. TFirst is the transition of the point on the first line. TSecond is the transition of the point on the second line.
Parameters:
  • TgFirst (gp_Vec) –
  • TgSecond (gp_Vec) –
  • Normal (gp_Dir) –
  • TFirst (IntSurf_Transition &) –
  • TSecond (IntSurf_Transition &) –
Return type:

void