OCC.IntSurf module

This package provides resources forall the packages concerning the intersectionbetween surfaces.-Level: InternalAll the methods of all the classes of this package are Internal.

class Handle_IntSurf_LineOn2S(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class Handle_IntSurf_ListNodeOfListOfPntOn2S(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class Handle_IntSurf_SequenceNodeOfSequenceOfCouple(*args)

Bases: OCC.TCollection.Handle_TCollection_SeqNode

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

The membership flag

class Handle_IntSurf_SequenceNodeOfSequenceOfInteriorPoint(*args)

Bases: OCC.TCollection.Handle_TCollection_SeqNode

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

The membership flag

class Handle_IntSurf_SequenceNodeOfSequenceOfPathPoint(*args)

Bases: OCC.TCollection.Handle_TCollection_SeqNode

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

The membership flag

class IntSurf_Couple(*args)

Bases: object

Return type:

None

Parameters:
  • Index1 (int) –
  • Index2 (int) –
Return type:

None

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

The membership flag

class IntSurf_InteriorPoint(*args)

Bases: object

Return type:

None

Parameters:
Return type:

None

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

Bases: object

static Direction2d()
  • 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()
  • returns the tangent at the intersectin in 3d space associated to <P>
Parameters:PStart (IntSurf_InteriorPoint &) –
Return type:gp_Vec
static Value2d()
  • 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()
  • Returns the 3d coordinates of the starting point.
Parameters:PStart (IntSurf_InteriorPoint &) –
Return type:gp_Pnt
thisown

The membership flag

IntSurf_InteriorPointTool_Direction2d()
  • 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
IntSurf_InteriorPointTool_Direction3d()
  • returns the tangent at the intersectin in 3d space associated to <P>
Parameters:PStart (IntSurf_InteriorPoint &) –
Return type:gp_Vec
IntSurf_InteriorPointTool_Value2d()
  • 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

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

Bases: OCC.MMgt.MMgt_TShared

Parameters:theAllocator (IntSurf_Allocator &) – default value is 0
Return type:None
Add()
  • Adds a point in the line.
Parameters:P (IntSurf_PntOn2S &) –
Return type:None
Clear()
Return type:None
GetHandle()
InsertBefore()
Parameters:
  • I (int) –
  • P (IntSurf_PntOn2S &) –
Return type:

None

NbPoints()
  • Returns the number of points in the line.
Return type:int
RemovePoint()
Parameters:I (int) –
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:
Return type:

None

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

None

thisown

The membership flag

class IntSurf_ListIteratorOfListOfPntOn2S(*args)

Bases: object

Return type:None
Parameters:L (IntSurf_ListOfPntOn2S &) –
Return type:None
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 IntSurf_ListNodeOfListOfPntOn2S(*args)

Bases: OCC.TCollection.TCollection_MapNode

Parameters:
  • I (IntSurf_PntOn2S &) –
  • n (TCollection_MapNodePtr &) –
Return type:

None

GetHandle()
Value()
Return type:IntSurf_PntOn2S
thisown

The membership flag

class IntSurf_ListOfPntOn2S(*args)

Bases: object

Return type:None
Parameters:Other (IntSurf_ListOfPntOn2S &) –
Return type:None
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 IntSurf_PathPoint(*args)

Bases: object

Return type:

None

Parameters:
Return type:

None

AddUV()
Parameters:
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 (int) –
  • U (float &) –
  • V (float &) –
Return type:

None

SetDirections()
Parameters:
Return type:

None

SetPassing()
Parameters:Pass (bool) –
Return type:None
SetTangency()
Parameters:Tang (bool) –
Return type:None
SetValue()
Parameters:
Return type:

None

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

None

thisown

The membership flag

class IntSurf_PathPointTool

Bases: object

static Direction2d()
  • 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()
  • 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()
  • 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()
  • 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()
  • 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()
  • Parametric coordinates associated to the multiplicity. An exception is raised if Mult<=0 or Mult>multiplicity.
Parameters:
  • PStart (IntSurf_PathPoint &) –
  • Mult (int) –
  • U (float &) –
  • V (float &) –
Return type:

void

static Value2d()
  • 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()
  • Returns the 3d coordinates of the starting point.
Parameters:PStart (IntSurf_PathPoint &) –
Return type:gp_Pnt
thisown

The membership flag

IntSurf_PathPointTool_Direction2d()
  • 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
IntSurf_PathPointTool_Direction3d()
  • 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
IntSurf_PathPointTool_IsPassingPnt()
  • 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
IntSurf_PathPointTool_IsTangent()
  • 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
IntSurf_PathPointTool_Multiplicity()
  • 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
IntSurf_PathPointTool_Parameters()
  • Parametric coordinates associated to the multiplicity. An exception is raised if Mult<=0 or Mult>multiplicity.
Parameters:
  • PStart (IntSurf_PathPoint &) –
  • Mult (int) –
  • U (float &) –
  • V (float &) –
Return type:

void

IntSurf_PathPointTool_Value2d()
  • 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

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

Bases: object

  • Empty constructor.
Return type:None
IsSame()
  • Returns True if 2D- and 3D-coordinates of theOterPoint are equal to corresponding coordinates of me (with given tolerance). If theTol2D == 0.0 we will compare 3D-points only.
Parameters:
  • theOterPoint (IntSurf_PntOn2S &) –
  • theTol3D (float) – default value is 0.0
  • theTol2D (float) – default value is 0.0
Return type:

bool

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:
Return type:

None

  • Sets the values of the point in 3d space, and in the parametric space of each surface.
Parameters:
Return type:

None

  • Set the values of the point in the parametric space of one of the surface.
Parameters:
Return type:

None

  • Set the values of the point in the parametric space of one of the surface.
Parameters:
Return type:

None

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

The membership flag

class IntSurf_Quadric(*args)

Bases: object

Return type:

None

Parameters:
Return type:

None

Return type:

None

Return type:

None

Return type:

None

Return type:

None

Cone()
Return type:gp_Cone
Cylinder()
Return type:gp_Cylinder
D1()
Parameters:
Return type:

None

DN()
Parameters:
Return type:

gp_Vec

Distance()
Parameters:P (gp_Pnt) –
Return type:float
Gradient()
Parameters:P (gp_Pnt) –
Return type:gp_Vec
Normale()
Parameters:
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:
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:
Return type:

None

Value()
Parameters:
Return type:

gp_Pnt

thisown

The membership flag

class IntSurf_QuadricTool

Bases: object

static Gradient()
  • Returns the gradient of the function.
Parameters:
Return type:

void

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

float

static ValueAndGradient()
  • 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

IntSurf_QuadricTool_Gradient()
  • Returns the gradient of the function.
Parameters:
Return type:

void

IntSurf_QuadricTool_Tolerance()
  • returns the tolerance of the zero of the implicit function
Parameters:Quad (IntSurf_Quadric &) –
Return type:float
IntSurf_QuadricTool_Value()
  • Returns the value of the function.
Parameters:
Return type:

float

IntSurf_QuadricTool_ValueAndGradient()
  • 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 IntSurf_SequenceNodeOfSequenceOfCouple(*args)

Bases: OCC.TCollection.TCollection_SeqNode

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

None

GetHandle()
Value()
Return type:IntSurf_Couple
thisown

The membership flag

class IntSurf_SequenceNodeOfSequenceOfInteriorPoint(*args)

Bases: OCC.TCollection.TCollection_SeqNode

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

None

GetHandle()
Value()
Return type:IntSurf_InteriorPoint
thisown

The membership flag

class IntSurf_SequenceNodeOfSequenceOfPathPoint(*args)

Bases: OCC.TCollection.TCollection_SeqNode

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

None

GetHandle()
Value()
Return type:IntSurf_PathPoint
thisown

The membership flag

class IntSurf_SequenceOfCouple(*args)

Bases: OCC.TCollection.TCollection_BaseSequence

Return type:None
Parameters:Other (IntSurf_SequenceOfCouple &) –
Return type:None
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 (int) –
Return type:IntSurf_Couple
Clear()
Return type:None
First()
Return type:IntSurf_Couple
InsertAfter()
Parameters:
  • Index (int) –
  • T (IntSurf_Couple &) –
  • Index
  • S (IntSurf_SequenceOfCouple &) –
Return type:

None

Return type:

None

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

None

Return type:

None

Set()
Parameters:Other (IntSurf_SequenceOfCouple &) –
Return type:IntSurf_SequenceOfCouple
SetValue()
Parameters:
  • Index (int) –
  • I (IntSurf_Couple &) –
Return type:

None

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

None

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

The membership flag

class IntSurf_SequenceOfInteriorPoint(*args)

Bases: OCC.TCollection.TCollection_BaseSequence

Return type:None
Parameters:Other (IntSurf_SequenceOfInteriorPoint &) –
Return type:None
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 (int) –
Return type:IntSurf_InteriorPoint
Clear()
Return type:None
First()
Return type:IntSurf_InteriorPoint
InsertAfter()
Parameters:
  • Index (int) –
  • T (IntSurf_InteriorPoint &) –
  • Index
  • S (IntSurf_SequenceOfInteriorPoint &) –
Return type:

None

Return type:

None

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

None

Return type:

None

Set()
Parameters:Other (IntSurf_SequenceOfInteriorPoint &) –
Return type:IntSurf_SequenceOfInteriorPoint
SetValue()
Parameters:
  • Index (int) –
  • I (IntSurf_InteriorPoint &) –
Return type:

None

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

None

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

The membership flag

class IntSurf_SequenceOfPathPoint(*args)

Bases: OCC.TCollection.TCollection_BaseSequence

Return type:None
Parameters:Other (IntSurf_SequenceOfPathPoint &) –
Return type:None
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 (int) –
Return type:IntSurf_PathPoint
Clear()
Return type:None
First()
Return type:IntSurf_PathPoint
InsertAfter()
Parameters:
  • Index (int) –
  • T (IntSurf_PathPoint &) –
  • Index
  • S (IntSurf_SequenceOfPathPoint &) –
Return type:

None

Return type:

None

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

None

Return type:

None

Set()
Parameters:Other (IntSurf_SequenceOfPathPoint &) –
Return type:IntSurf_SequenceOfPathPoint
SetValue()
Parameters:
  • Index (int) –
  • I (IntSurf_PathPoint &) –
Return type:

None

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

None

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

The membership flag

class IntSurf_Transition(*args)

Bases: object

  • Empty constructor. Creates an UNDECIDED transition.
Return type:None
  • Create a IN or OUT transition
Parameters:
  • Tangent (bool) –
  • Type (IntSurf_TypeTrans) –
Return type:

None

  • Create a TOUCH transition.
Parameters:
  • Tangent (bool) –
  • Situ (IntSurf_Situation) –
  • Oppos (bool) –
Return type:

None

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 SwigPyIterator(*args, **kwargs)

Bases: object

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

The membership flag

value()
class intsurf

Bases: object

static MakeTransition()
  • 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

intsurf_MakeTransition()
  • 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

new_instancemethod(func, inst, cls)
register_handle(handle, base_object)

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