OCC.AppCont module

class OCC.AppCont.AppCont_FitFunction(*args)

Bases: object

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 OCC.AppCont.AppCont_FitFunction2d(*args)

Bases: object

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 OCC.AppCont.AppCont_Function(*args, **kwargs)

Bases: object

D1()
  • returns the point and the derivative values at the parameter <U>.
Parameters:
  • U (float) –
  • P (gp_Pnt) –
  • V (gp_Vec) –
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 OCC.AppCont.AppCont_Function2d(*args, **kwargs)

Bases: object

D1()
  • returns the point and the derivative values at the parameter <U>.
Parameters:
  • U (float) –
  • P (gp_Pnt2d) –
  • V (gp_Vec2d) –
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 OCC.AppCont.AppCont_FunctionTool(*args, **kwargs)

Bases: object

static D1(*args)
  • <tabV> is an array of only 1 element, the derivative value at the parameter <U>.
Parameters:
  • C (AppCont_Function &) –
  • U (float) –
  • tabV (TColgp_Array1OfVec) –
  • C
  • U
  • tabV2d (TColgp_Array1OfVec2d) –
  • C
  • U
  • tabV
  • tabV2d
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:
  • C (AppCont_Function &) –
  • U (float) –
  • tabPt (TColgp_Array1OfPnt) –
  • C
  • U
  • tabPt2d (TColgp_Array1OfPnt2d) –
  • C
  • U
  • tabPt
  • tabPt2d
Return type:

void

Return type:

void

Return type:

void

thisown

The membership flag

class OCC.AppCont.AppCont_FunctionTool2d(*args, **kwargs)

Bases: object

static D1(*args)
  • <tabV> is an array of only 1 element, the derivative value at the parameter <U>.
Parameters:
  • C (AppCont_Function2d &) –
  • U (float) –
  • tabV (TColgp_Array1OfVec) –
  • C
  • U
  • tabV2d (TColgp_Array1OfVec2d) –
  • C
  • U
  • tabV
  • tabV2d
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:
  • C (AppCont_Function2d &) –
  • U (float) –
  • tabPt (TColgp_Array1OfPnt) –
  • C
  • U
  • tabPt2d (TColgp_Array1OfPnt2d) –
  • C
  • U
  • tabPt
  • tabPt2d
Return type:

void

Return type:

void

Return type:

void

thisown

The membership flag

OCC.AppCont.AppCont_FunctionTool2d_D1(*args)
  • <tabV> is an array of only 1 element, the derivative value at the parameter <U>.
Parameters:
  • C (AppCont_Function2d &) –
  • U (float) –
  • tabV (TColgp_Array1OfVec) –
  • C
  • U
  • tabV2d (TColgp_Array1OfVec2d) –
  • C
  • U
  • tabV
  • tabV2d
Return type:

bool

Return type:

bool

Return type:

bool

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

void

Return type:

void

Return type:

void

OCC.AppCont.AppCont_FunctionTool_D1(*args)
  • <tabV> is an array of only 1 element, the derivative value at the parameter <U>.
Parameters:
  • C (AppCont_Function &) –
  • U (float) –
  • tabV (TColgp_Array1OfVec) –
  • C
  • U
  • tabV2d (TColgp_Array1OfVec2d) –
  • C
  • U
  • tabV
  • tabV2d
Return type:

bool

Return type:

bool

Return type:

bool

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

void

Return type:

void

Return type:

void

class OCC.AppCont.SwigPyIterator(*args, **kwargs)

Bases: object

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

The membership flag

value()