OCC.IntImpParGen module

Gives a generic algorithm to intersect Implicit Curvesand Bounded Parametric Curves.Level: InternalAll the methods of all the classes are Internal.

class SwigPyIterator(*args, **kwargs)

Bases: object

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

The membership flag

value()
class intimppargen

Bases: object

static DeterminePosition()
Parameters:
  • Pos1 (IntRes2d_Position &) –
  • Dom1 (IntRes2d_Domain &) –
  • P1 (gp_Pnt2d) –
  • Tol (float) –
Return type:

void

static DetermineTransition()
  • Template class for an implicit curve. Math function, instantiated inside the Intersector. Tool used by the package IntCurve and IntImpParGen
Parameters:
  • Pos1 (IntRes2d_Position) –
  • Tan1 (gp_Vec2d) –
  • Norm1 (gp_Vec2d) –
  • Trans1 (IntRes2d_Transition &) –
  • Pos2 (IntRes2d_Position) –
  • Tan2 (gp_Vec2d) –
  • Norm2 (gp_Vec2d) –
  • Trans2 (IntRes2d_Transition &) –
  • Tol (float) –
  • Pos1
  • Tan1
  • Trans1
  • Pos2
  • Tan2
  • Trans2
  • Tol
Return type:

void

Return type:

bool

static NormalizeOnDomain()
Parameters:
  • Par1 (float &) –
  • Dom1 (IntRes2d_Domain &) –
Return type:

float

thisown

The membership flag

intimppargen_DeterminePosition()
Parameters:
  • Pos1 (IntRes2d_Position &) –
  • Dom1 (IntRes2d_Domain &) –
  • P1 (gp_Pnt2d) –
  • Tol (float) –
Return type:

void

intimppargen_DetermineTransition()
  • Template class for an implicit curve. Math function, instantiated inside the Intersector. Tool used by the package IntCurve and IntImpParGen
Parameters:
  • Pos1 (IntRes2d_Position) –
  • Tan1 (gp_Vec2d) –
  • Norm1 (gp_Vec2d) –
  • Trans1 (IntRes2d_Transition &) –
  • Pos2 (IntRes2d_Position) –
  • Tan2 (gp_Vec2d) –
  • Norm2 (gp_Vec2d) –
  • Trans2 (IntRes2d_Transition &) –
  • Tol (float) –
  • Pos1
  • Tan1
  • Trans1
  • Pos2
  • Tan2
  • Trans2
  • Tol
Return type:

void

Return type:

bool

intimppargen_NormalizeOnDomain()
Parameters:
  • Par1 (float &) –
  • Dom1 (IntRes2d_Domain &) –
Return type:

float

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

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