OCC.Core.TopTrans module

TopTrans module, see official documentation at https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_toptrans.html

class SwigPyIterator(*args, **kwargs)

Bases: object

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

The membership flag

value()
class TopTrans_Array2OfOrientation(*args)

Bases: object

Assign()
ChangeValue()
ColLength()
Init()
IsDeletable()
Length()
LowerCol()
LowerRow()
Move()
NbColumns()
NbRows()
Resize()
RowLength()
Set()
SetValue()
Size()
UpperCol()
UpperRow()
Value()
property thisown

The membership flag

class TopTrans_CurveTransition(*args)

Bases: object

  • Create an empty Curve Transition.
    rtype

    None

Compare()
  • Add a curve element to the boundary. If Or is REVERSED the curve is before the intersection, else if Or is FORWARD the curv is after the intersection and if Or is INTERNAL the intersection is in the middle of the curv.
    param Tole

    type Tole

    float

    param Tang

    type Tang

    gp_Dir

    param Norm

    type Norm

    gp_Dir

    param Curv

    type Curv

    float

    param S

    type S

    TopAbs_Orientation

    param Or

    type Or

    TopAbs_Orientation

    rtype

    None

Reset()
  • Initialize a Transition with the local description of a Curve.
    param Tgt

    type Tgt

    gp_Dir

    param Norm

    type Norm

    gp_Dir

    param Curv

    type Curv

    float

    rtype

    None* Initialize a Transition with the local description of a straigth line.

    param Tgt

    type Tgt

    gp_Dir

    rtype

    None

StateAfter()
  • returns the state of the curve after the intersection, this is the position relative to the boundary of a point very close to the intersection on the positive side of the tangent.
    rtype

    TopAbs_State

StateBefore()
  • returns the state of the curve before the intersection, this is the position relative to the boundary of a point very close to the intersection on the negative side of the tangent.
    rtype

    TopAbs_State

property thisown

The membership flag

class TopTrans_SurfaceTransition(*args)

Bases: object

  • Create an empty Surface Transition.
    rtype

    None

Compare()
  • Add a face element to the boundary. //! - S defines topological orientation for the faceS FORWARD means: along the intersection curve on the reference surface, transition states while crossing the face are OUT,IN. S REVERSED means states are IN,OUT. S INTERNAL means states are IN,IN. //! - O defines curve’s position on faceO FORWARD means the face is before the intersection O REVERSED means the face is AFTER O INTERNAL means the curve intersection is in the face. PREQUESITORYNorm oriented OUTSIDE ‘geometric matter’
    param Tole

    type Tole

    float

    param Norm

    type Norm

    gp_Dir

    param MaxD

    type MaxD

    gp_Dir

    param MinD

    type MinD

    gp_Dir

    param MaxCurv

    type MaxCurv

    float

    param MinCurv

    type MinCurv

    float

    param S

    type S

    TopAbs_Orientation

    param O

    type O

    TopAbs_Orientation

    rtype

    None* Add a plane or a cylindric face to the boundary.

    param Tole

    type Tole

    float

    param Norm

    type Norm

    gp_Dir

    param S

    type S

    TopAbs_Orientation

    param O

    type O

    TopAbs_Orientation

    rtype

    None

static GetAfter()
Parameters

Tran

type Tran

TopAbs_Orientation

rtype

TopAbs_State

static GetBefore()
Parameters

Tran

type Tran

TopAbs_Orientation

rtype

TopAbs_State

Reset()
  • Initialize a Surface Transition with the local description of the intersection curve and of the reference surface. PREQUESITORYNorm oriented OUTSIDE ‘geometric matter’
    param Tgt

    type Tgt

    gp_Dir

    param Norm

    type Norm

    gp_Dir

    param MaxD

    type MaxD

    gp_Dir

    param MinD

    type MinD

    gp_Dir

    param MaxCurv

    type MaxCurv

    float

    param MinCurv

    type MinCurv

    float

    rtype

    None* Initialize a Surface Transition with the local description of a straight line.

    param Tgt

    type Tgt

    gp_Dir

    param Norm

    type Norm

    gp_Dir

    rtype

    None

StateAfter()
  • Returns the state of the reference surface after interference, this is the position relative to the surface of a point very close to the intersection on the positive side of the tangent.
    rtype

    TopAbs_State

StateBefore()
  • Returns the state of the reference surface before the interference, this is the position relative to the surface of a point very close to the intersection on the negative side of the tangent.
    rtype

    TopAbs_State

property thisown

The membership flag