# 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: | 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 `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 `AppCont_FunctionTool`

  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 `AppCont_FunctionTool2d`

  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

`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

`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: | 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

`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

`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: | 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 `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