OCC.Hermit module

class SwigPyIterator(*args, **kwargs)

Bases: object

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

The membership flag

value()
class hermit

Bases: object

static Solution(*args)
  • returns the correct spline a(u) which will be multiplicated with BS later.
Parameters:
  • BS (Handle_Geom_BSplineCurve &) –
  • TolPoles (float) – default value is 0.000001
  • TolKnots (float) – default value is 0.000001
Return type:

Handle_Geom2d_BSplineCurve

  • returns the correct spline a(u) which will be multiplicated with BS later.
Parameters:
  • BS (Handle_Geom2d_BSplineCurve &) –
  • TolPoles (float) – default value is 0.000001
  • TolKnots (float) – default value is 0.000001
Return type:

Handle_Geom2d_BSplineCurve

static Solutionbis(*args)
  • returns the knots to insert to a(u) to stay with a constant sign and in the tolerances.
Parameters:
  • BS (Handle_Geom_BSplineCurve &) –
  • Knotmin (float &) –
  • Knotmax (float &) –
  • TolPoles (float) – default value is 0.000001
  • TolKnots (float) – default value is 0.000001
Return type:

void

thisown

The membership flag

hermit_Solution(*args)
  • returns the correct spline a(u) which will be multiplicated with BS later.
Parameters:
  • BS (Handle_Geom_BSplineCurve &) –
  • TolPoles (float) – default value is 0.000001
  • TolKnots (float) – default value is 0.000001
Return type:

Handle_Geom2d_BSplineCurve

  • returns the correct spline a(u) which will be multiplicated with BS later.
Parameters:
  • BS (Handle_Geom2d_BSplineCurve &) –
  • TolPoles (float) – default value is 0.000001
  • TolKnots (float) – default value is 0.000001
Return type:

Handle_Geom2d_BSplineCurve

hermit_Solutionbis(*args)
  • returns the knots to insert to a(u) to stay with a constant sign and in the tolerances.
Parameters:
  • BS (Handle_Geom_BSplineCurve &) –
  • Knotmin (float &) –
  • Knotmax (float &) –
  • TolPoles (float) – default value is 0.000001
  • TolKnots (float) – default value is 0.000001
Return type:

void

register_handle(handle, base_object)

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