OCC.AppCont module

class AppCont_FitFunction(*args)

Bases: object

Parameters:
  • SSP (AppCont_Function &) –
  • U0 (float) –
  • U1 (float) –
  • FirstCons (AppParCurves_Constraint) –
  • LastCons (AppParCurves_Constraint) –
  • Deg (int) –
  • NbPoints (int) – default value is 24
Return type:

None

Error()
Parameters:
  • F (float &) –
  • MaxE3d (float &) –
  • MaxE2d (float &) –
Return type:

None

IsDone()
Return type:bool
Value()
Return type:AppParCurves_MultiCurve
thisown

The membership flag

class AppCont_FitFunction2d(*args)

Bases: object

Parameters:
  • SSP (AppCont_Function2d &) –
  • U0 (float) –
  • U1 (float) –
  • FirstCons (AppParCurves_Constraint) –
  • LastCons (AppParCurves_Constraint) –
  • Deg (int) –
  • NbPoints (int) – default value is 24
Return type:

None

Error()
Parameters:
  • F (float &) –
  • MaxE3d (float &) –
  • MaxE2d (float &) –
Return type:

None

IsDone()
Return type:bool
Value()
Return type:AppParCurves_MultiCurve
thisown

The membership flag

class AppCont_Function(*args, **kwargs)

Bases: object

D1()
  • returns the point and the derivative values at the parameter <U>.
Parameters:
Return type:

bool

Delete()
Return type:void
FirstParameter()
  • returns the first parameter of the function.
Return type:float
LastParameter()
  • returns the last parameter of the function.
Return type:float
Value()
  • returns the point at parameter <U>.
Parameters:U (float) –
Return type:gp_Pnt
thisown

The membership flag

class AppCont_Function2d(*args, **kwargs)

Bases: object

D1()
  • returns the point and the derivative values at the parameter <U>.
Parameters:
Return type:

bool

Delete()
Return type:void
FirstParameter()
  • returns the first parameter of the function.
Return type:float
LastParameter()
  • returns the last parameter of the function.
Return type:float
Value()
  • returns the point at parameter <U>.
Parameters:U (float) –
Return type:gp_Pnt2d
thisown

The membership flag

class AppCont_FunctionTool

Bases: object

static D1(*args)
  • <tabV> is an array of only 1 element, the derivative value at the parameter <U>.
Parameters:
Return type:

bool

Return type:

bool

Return type:

bool

static FirstParameter(*args)
  • returns the first parameter of the Function.
Parameters:C (AppCont_Function &) –
Return type:float
static LastParameter(*args)
  • returns the last parameter of the Function.
Parameters:C (AppCont_Function &) –
Return type:float
static NbP2d(*args)
  • Returns 0.
Parameters:C (AppCont_Function &) –
Return type:int
static NbP3d(*args)
  • Returns 1. (the approximation will be done only for one function.
Parameters:C (AppCont_Function &) –
Return type:int
static Value(*args)
  • <tabP> is an array of only 1 element, the point value at the parameter <U>.
Parameters:
Return type:

void

Return type:

void

Return type:

void

thisown

The membership flag

class AppCont_FunctionTool2d

Bases: object

static D1(*args)
  • <tabV> is an array of only 1 element, the derivative value at the parameter <U>.
Parameters:
Return type:

bool

Return type:

bool

Return type:

bool

static FirstParameter(*args)
  • returns the first parameter of the Function.
Parameters:C (AppCont_Function2d &) –
Return type:float
static LastParameter(*args)
  • returns the last parameter of the Function.
Parameters:C (AppCont_Function2d &) –
Return type:float
static NbP2d(*args)
  • Returns 1. (the approximation will be done only for one function.
Parameters:C (AppCont_Function2d &) –
Return type:int
static NbP3d(*args)
  • Returns 0.
Parameters:C (AppCont_Function2d &) –
Return type:int
static Value(*args)
  • <tabP> is an array of only 1 element, the point value at the parameter <U>.
Parameters:
Return type:

void

Return type:

void

Return type:

void

thisown

The membership flag

AppCont_FunctionTool2d_D1(*args)
  • <tabV> is an array of only 1 element, the derivative value at the parameter <U>.
Parameters:
Return type:

bool

Return type:

bool

Return type:

bool

AppCont_FunctionTool2d_FirstParameter(*args)
  • returns the first parameter of the Function.
Parameters:C (AppCont_Function2d &) –
Return type:float
AppCont_FunctionTool2d_LastParameter(*args)
  • returns the last parameter of the Function.
Parameters:C (AppCont_Function2d &) –
Return type:float
AppCont_FunctionTool2d_NbP2d(*args)
  • Returns 1. (the approximation will be done only for one function.
Parameters:C (AppCont_Function2d &) –
Return type:int
AppCont_FunctionTool2d_NbP3d(*args)
  • Returns 0.
Parameters:C (AppCont_Function2d &) –
Return type:int
AppCont_FunctionTool2d_Value(*args)
  • <tabP> is an array of only 1 element, the point value at the parameter <U>.
Parameters:
Return type:

void

Return type:

void

Return type:

void

AppCont_FunctionTool_D1(*args)
  • <tabV> is an array of only 1 element, the derivative value at the parameter <U>.
Parameters:
Return type:

bool

Return type:

bool

Return type:

bool

AppCont_FunctionTool_FirstParameter(*args)
  • returns the first parameter of the Function.
Parameters:C (AppCont_Function &) –
Return type:float
AppCont_FunctionTool_LastParameter(*args)
  • returns the last parameter of the Function.
Parameters:C (AppCont_Function &) –
Return type:float
AppCont_FunctionTool_NbP2d(*args)
  • Returns 0.
Parameters:C (AppCont_Function &) –
Return type:int
AppCont_FunctionTool_NbP3d(*args)
  • Returns 1. (the approximation will be done only for one function.
Parameters:C (AppCont_Function &) –
Return type:int
AppCont_FunctionTool_Value(*args)
  • <tabP> is an array of only 1 element, the point value at the parameter <U>.
Parameters:
Return type:

void

Return type:

void

Return type:

void

class SwigPyIterator(*args, **kwargs)

Bases: object

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

The membership flag

value()
register_handle(handle, base_object)

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