# OCC.AppDef module

class `AppDef_Array1OfMultiPointConstraint`(*args)

  Bases: `object`

  Parameters: | Low (int) – Up (int) – Item (AppDef_MultiPointConstraint &) – Low – Up –
  Return type: | None
  Return type: | None

  `Assign`()

    Parameters: | Other (AppDef_Array1OfMultiPointConstraint &) –
    Return type: | AppDef_Array1OfMultiPointConstraint

  `ChangeValue`()

    Parameters: | Index (int) –
    Return type: | AppDef_MultiPointConstraint

  `Destroy`()

    Return type: | None

  `Init`()

    Parameters: | V (AppDef_MultiPointConstraint &) –
    Return type: | None

  `IsAllocated`()

    Return type: | bool

  `Length`()

    Return type: | int

  `Lower`()

    Return type: | int

  `Set`()

    Parameters: | Other (AppDef_Array1OfMultiPointConstraint &) –
    Return type: | AppDef_Array1OfMultiPointConstraint

  `SetValue`()

    Parameters: | Index (int) – Value (AppDef_MultiPointConstraint &) –
    Return type: | None

  `Upper`()

    Return type: | int

  `Value`()

    Parameters: | Index (int) –
    Return type: | AppDef_MultiPointConstraint

  `thisown`

    The membership flag

class `AppDef_BSpGradient_BFGSOfMyBSplGradientOfBSplineCompute`(*args)

  Bases: `OCC.math.math_BFGS`

  Parameters: | F (math_MultipleVarFunctionWithGradient &) – StartingPoint (math_Vector &) – Tolerance3d (float) – Tolerance2d (float) – Eps (float) – NbIterations (int) – default value is 200
  Return type: | None

  `thisown`

    The membership flag

class `AppDef_BSpParFunctionOfMyBSplGradientOfBSplineCompute`(*args)

  Bases: `OCC.math.math_MultipleVarFunctionWithGradient`

  Parameters: | SSP (AppDef_MultiLine &) – FirstPoint (int) – LastPoint (int) – TheConstraints (Handle_AppParCurves_HArray1OfConstraintCouple &) – Parameters (math_Vector &) – Knots (TColStd_Array1OfReal &) – Mults (TColStd_Array1OfInteger &) – NbPol (int) –
  Return type: | None

  `CurveValue`()

    Return type: | AppParCurves_MultiBSpCurve

  `DerivativeFunctionMatrix`()

    Return type: | math_Matrix

  `Error`()

    Parameters: | IPoint (int) – CurveIndex (int) –
    Return type: | float

  `FirstConstraint`()

    Parameters: | TheConstraints (Handle_AppParCurves_HArray1OfConstraintCouple &) – FirstPoint (int) –
    Return type: | AppParCurves_Constraint

  `FunctionMatrix`()

    Return type: | math_Matrix

  `Index`()

    Return type: | math_IntegerVector

  `LastConstraint`()

    Parameters: | TheConstraints (Handle_AppParCurves_HArray1OfConstraintCouple &) – LastPoint (int) –
    Return type: | AppParCurves_Constraint

  `MaxError2d`()

    Return type: | float

  `MaxError3d`()

    Return type: | float

  `NewParameters`()

    Return type: | math_Vector

  `SetFirstLambda`()

    Parameters: | l1 (float) –
    Return type: | None

  `SetLastLambda`()

    Parameters: | l2 (float) –
    Return type: | None

  `thisown`

    The membership flag

class `AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute`(*args)

  Bases: `object`

  Parameters: | SSP (AppDef_MultiLine &) – FirstPoint (int) – LastPoint (int) – FirstCons (AppParCurves_Constraint) – LastCons (AppParCurves_Constraint) – Parameters (math_Vector &) – NbPol (int) – SSP – FirstPoint – LastPoint – FirstCons – LastCons – NbPol – SSP – Knots (TColStd_Array1OfReal &) – Mults (TColStd_Array1OfInteger &) – FirstPoint – LastPoint – FirstCons – LastCons – Parameters – NbPol – SSP – Knots – Mults – FirstPoint – LastPoint – FirstCons – LastCons – NbPol –
  Return type: | None
  Return type: | None
  Return type: | None
  Return type: | None

  `BSplineValue`()

    Return type: | AppParCurves_MultiBSpCurve

  `BezierValue`()

    Return type: | AppParCurves_MultiCurve

  `DerivativeFunctionMatrix`()

    Return type: | math_Matrix

  `Distance`()

    Return type: | math_Matrix

  `Error`()

    Parameters: | F (float &) – MaxE3d (float &) – MaxE2d (float &) –
    Return type: | None

  `ErrorGradient`()

    Parameters: | Grad (math_Vector &) – F (float &) – MaxE3d (float &) – MaxE2d (float &) –
    Return type: | None

  `FirstLambda`()

    Return type: | float

  `FunctionMatrix`()

    Return type: | math_Matrix

  `IsDone`()

    Return type: | bool

  `KIndex`()

    Return type: | math_IntegerVector

  `LastLambda`()

    Return type: | float

  `Perform`()

    Parameters: | Parameters (math_Vector &) – Parameters – l1 (float) – l2 (float) – Parameters – V1t (math_Vector &) – V2t (math_Vector &) – l1 – l2 – Parameters – V1t – V2t – V1c (math_Vector &) – V2c (math_Vector &) – l1 – l2 –
    Return type: | None
    Return type: | None
    Return type: | None
    Return type: | None

  `Points`()

    Return type: | math_Matrix

  `Poles`()

    Return type: | math_Matrix

  `thisown`

    The membership flag

class `AppDef_BSplineCompute`(*args)

  Bases: `object`

  Parameters: | Line (AppDef_MultiLine &) – degreemin (int) – default value is 4 degreemax (int) – default value is 8 Tolerance3d (float) – default value is 1.0e-3 Tolerance2d (float) – default value is 1.0e-6 NbIterations (int) – default value is 5 cutting (bool) – default value is Standard_True parametrization (Approx_ParametrizationType) – default value is Approx_ChordLength Squares (bool) – default value is Standard_False Line – Parameters (math_Vector &) – degreemin – default value is 4 degreemax – default value is 8 Tolerance3d – default value is 1.0e-03 Tolerance2d – default value is 1.0e-06 NbIterations – default value is 5 cutting – default value is Standard_True Squares – default value is Standard_False Parameters – degreemin – default value is 4 degreemax – default value is 8 Tolerance3d – default value is 1.0e-03 Tolerance2d – default value is 1.0e-06 NbIterations – default value is 5 cutting – default value is Standard_True Squares – default value is Standard_False degreemin – default value is 4 degreemax – default value is 8 Tolerance3d – default value is 1.0e-03 Tolerance2d – default value is 1.0e-06 NbIterations – default value is 5 cutting – default value is Standard_True parametrization – default value is Approx_ChordLength Squares – default value is Standard_False
  Return type: | None
  Return type: | None
  Return type: | None
  Return type: | None

  `ChangeValue`()

    Return type: | AppParCurves_MultiBSpCurve

  `Error`()

    Parameters: | tol3d (float &) – tol2d (float &) –
    Return type: | None

  `Init`()

    Parameters: | degreemin (int) – default value is 4 degreemax (int) – default value is 8 Tolerance3d (float) – default value is 1.0e-03 Tolerance2d (float) – default value is 1.0e-06 NbIterations (int) – default value is 5 cutting (bool) – default value is Standard_True parametrization (Approx_ParametrizationType) – default value is Approx_ChordLength Squares (bool) – default value is Standard_False
    Return type: | None

  `Interpol`()

    Parameters: | Line (AppDef_MultiLine &) –
    Return type: | None

  `IsAllApproximated`()

    Return type: | bool

  `IsToleranceReached`()

    Return type: | bool

  `Parameters`()

    Return type: | TColStd_Array1OfReal

  `Perform`()

    Parameters: | Line (AppDef_MultiLine &) –
    Return type: | None

  `SetConstraints`()

    Parameters: | firstC (AppParCurves_Constraint) – lastC (AppParCurves_Constraint) –
    Return type: | None

  `SetContinuity`()

    Parameters: | C (int) –
    Return type: | None

  `SetDegrees`()

    Parameters: | degreemin (int) – degreemax (int) –
    Return type: | None

  `SetKnots`()

    Parameters: | Knots (TColStd_Array1OfReal &) –
    Return type: | None

  `SetKnotsAndMultiplicities`()

    Parameters: | Knots (TColStd_Array1OfReal &) – Mults (TColStd_Array1OfInteger &) –
    Return type: | None

  `SetParameters`()

    Parameters: | ThePar (math_Vector &) –
    Return type: | None

  `SetTolerances`()

    Parameters: | Tolerance3d (float) – Tolerance2d (float) –
    Return type: | None

  `Value`()

    Return type: | AppParCurves_MultiBSpCurve

  `thisown`

    The membership flag

class `AppDef_Compute`(*args)

  Bases: `object`

  Parameters: | Line (AppDef_MultiLine &) – degreemin (int) – default value is 4 degreemax (int) – default value is 8 Tolerance3d (float) – default value is 1.0e-3 Tolerance2d (float) – default value is 1.0e-6 NbIterations (int) – default value is 5 cutting (bool) – default value is Standard_True parametrization (Approx_ParametrizationType) – default value is Approx_ChordLength Squares (bool) – default value is Standard_False Line – Parameters (math_Vector &) – degreemin – default value is 4 degreemax – default value is 8 Tolerance3d – default value is 1.0e-03 Tolerance2d – default value is 1.0e-06 NbIterations – default value is 5 cutting – default value is Standard_True Squares – default value is Standard_False Parameters – degreemin – default value is 4 degreemax – default value is 8 Tolerance3d – default value is 1.0e-03 Tolerance2d – default value is 1.0e-06 NbIterations – default value is 5 cutting – default value is Standard_True Squares – default value is Standard_False degreemin – default value is 4 degreemax – default value is 8 Tolerance3d – default value is 1.0e-03 Tolerance2d – default value is 1.0e-06 NbIterations – default value is 5 cutting – default value is Standard_True parametrization – default value is Approx_ChordLength Squares – default value is Standard_False
  Return type: | None
  Return type: | None
  Return type: | None
  Return type: | None

  `ChangeValue`()

    Parameters: | Index (int) – default value is 1
    Return type: | AppParCurves_MultiCurve

  `Error`()

    Parameters: | Index (int) – tol3d (float &) – tol2d (float &) –
    Return type: | None

  `Init`()

    Parameters: | degreemin (int) – default value is 4 degreemax (int) – default value is 8 Tolerance3d (float) – default value is 1.0e-03 Tolerance2d (float) – default value is 1.0e-06 NbIterations (int) – default value is 5 cutting (bool) – default value is Standard_True parametrization (Approx_ParametrizationType) – default value is Approx_ChordLength Squares (bool) – default value is Standard_False
    Return type: | None

  `IsAllApproximated`()

    Return type: | bool

  `IsToleranceReached`()

    Return type: | bool

  `NbMultiCurves`()

    Return type: | int

  `Parameters`()

    Parameters: | Index (int) – default value is 1
    Return type: | TColStd_Array1OfReal

  `Parametrization`()

    Parameters: | partype (Approx_ParametrizationType &) –
    Return type: | None

  `Perform`()

    Parameters: | Line (AppDef_MultiLine &) –
    Return type: | None

  `SetConstraints`()

    Parameters: | firstC (AppParCurves_Constraint) – lastC (AppParCurves_Constraint) –
    Return type: | None

  `SetDegrees`()

    Parameters: | degreemin (int) – degreemax (int) –
    Return type: | None

  `SetTolerances`()

    Parameters: | Tolerance3d (float) – Tolerance2d (float) –
    Return type: | None

  `SplineValue`()

    Return type: | AppParCurves_MultiBSpCurve

  `Value`()

    Parameters: | Index (int) – default value is 1
    Return type: | AppParCurves_MultiCurve

  `thisown`

    The membership flag

class `AppDef_Gradient_BFGSOfMyGradientOfCompute`(*args)

  Bases: `OCC.math.math_BFGS`

  Parameters: | F (math_MultipleVarFunctionWithGradient &) – StartingPoint (math_Vector &) – Tolerance3d (float) – Tolerance2d (float) – Eps (float) – NbIterations (int) – default value is 200
  Return type: | None

  `thisown`

    The membership flag

class `AppDef_Gradient_BFGSOfMyGradientbisOfBSplineCompute`(*args)

  Bases: `OCC.math.math_BFGS`

  Parameters: | F (math_MultipleVarFunctionWithGradient &) – StartingPoint (math_Vector &) – Tolerance3d (float) – Tolerance2d (float) – Eps (float) – NbIterations (int) – default value is 200
  Return type: | None

  `thisown`

    The membership flag

class `AppDef_Gradient_BFGSOfTheGradient`(*args)

  Bases: `OCC.math.math_BFGS`

  Parameters: | F (math_MultipleVarFunctionWithGradient &) – StartingPoint (math_Vector &) – Tolerance3d (float) – Tolerance2d (float) – Eps (float) – NbIterations (int) – default value is 200
  Return type: | None

  `thisown`

    The membership flag

class `AppDef_HArray1OfMultiPointConstraint`(*args)

  Bases: `OCC.MMgt.MMgt_TShared`

  Parameters: | Low (int) – Up (int) – Low – Up – V (AppDef_MultiPointConstraint &) –
  Return type: | None
  Return type: | None

  `Array1`()

    Return type: | AppDef_Array1OfMultiPointConstraint

  `ChangeArray1`()

    Return type: | AppDef_Array1OfMultiPointConstraint

  `ChangeValue`()

    Parameters: | Index (int) –
    Return type: | AppDef_MultiPointConstraint

  `GetHandle`()
  `Init`()

    Parameters: | V (AppDef_MultiPointConstraint &) –
    Return type: | None

  `Length`()

    Return type: | int

  `Lower`()

    Return type: | int

  `SetValue`()

    Parameters: | Index (int) – Value (AppDef_MultiPointConstraint &) –
    Return type: | None

  `Upper`()

    Return type: | int

  `Value`()

    Parameters: | Index (int) –
    Return type: | AppDef_MultiPointConstraint

  `thisown`

    The membership flag

class `AppDef_LinearCriteria`(*args)

  Bases: `OCC.AppDef.AppDef_SmoothCriterion`

  Parameters: | SSP (AppDef_MultiLine &) – FirstPoint (int) – LastPoint (int) –
  Return type: | None

  `GetEstLength`()

    AppDef_LinearCriteria_GetEstLength(AppDef_LinearCriteria self) -> Standard_Real

  `GetHandle`()
  `SetEstLength`()

    AppDef_LinearCriteria_SetEstLength(AppDef_LinearCriteria self, Standard_Real value)

  `SetWeight`()

    Parameters: | QuadraticWeight (float) – QualityWeight (float) – percentJ1 (float) – percentJ2 (float) – percentJ3 (float) – Weight (TColStd_Array1OfReal &) –
    Return type: | None
    Return type: | None

  `thisown`

    The membership flag

class `AppDef_MultiLine`(*args)

  Bases: `object`

  - creates an undefined MultiLine.

  Return type: | None

  - given the number NbMult of MultiPointConstraints of this MultiLine , it initializes all the fields.SetValue must be called in order for the values of the multipoint constraint to be taken into account. An exception is raised if NbMult < 0.

  Parameters: | NbMult (int) –
  Return type: | None

  - Constructs a MultiLine with an array of MultiPointConstraints.

  Parameters: | tabMultiP (AppDef_Array1OfMultiPointConstraint &) –
  Return type: | None

  - The MultiLine constructed will have one line of 3d points without their tangencies.

  Parameters: | tabP3d (TColgp_Array1OfPnt) –
  Return type: | None

  - The MultiLine constructed will have one line of 2d points without their tangencies.

  Parameters: | tabP2d (TColgp_Array1OfPnt2d) –
  Return type: | None

  `DumpToString`()

    AppDef_MultiLine_DumpToString(AppDef_MultiLine self) -> std::string

  `NbMultiPoints`()
    - returns the number of MultiPointConstraints of the MultiLine.

    Return type: | int

  `NbPoints`()
    - returns the number of Points from MultiPoints composing the MultiLine.

    Return type: | int

  `SetValue`()
    - It sets the MultiPointConstraint of range Index to the value MPoint. An exception is raised if Index < 0 or Index> MPoint. An exception is raised if the dimensions of the MultiPoints are different.

    Parameters: | Index (int) – MPoint (AppDef_MultiPointConstraint &) –
    Return type: | None

  `Value`()
    - returns the MultiPointConstraint of range Index An exception is raised if Index<0 or Index>MPoint.

    Parameters: | Index (int) –
    Return type: | AppDef_MultiPointConstraint

  `thisown`

    The membership flag

class `AppDef_MultiPointConstraint`(*args)

  Bases: `OCC.AppParCurves.AppParCurves_MultiPoint`

  - creates an undefined MultiPointConstraint.

  Return type: | None

  - constructs a set of Points used to approximate a Multiline. These Points can be of 2 or 3 dimensions. Points will be initialized with SetPoint and SetPoint2d.

  Parameters: | NbPoints (int) – NbPoints2d (int) –
  Return type: | None

  - creates a MultiPoint only composed of 3D points.

  Parameters: | tabP (TColgp_Array1OfPnt) –
  Return type: | None

  - creates a MultiPoint only composed of 2D points.

  Parameters: | tabP (TColgp_Array1OfPnt2d) –
  Return type: | None

  - constructs a set of Points used to approximate a Multiline. These Points can be of 2 or 3 dimensions. Points will be initialized with SetPoint and SetPoint2d.

  Parameters: | tabP (TColgp_Array1OfPnt) – tabP2d (TColgp_Array1OfPnt2d) –
  Return type: | None

  - creates a MultiPointConstraint with a constraint of Curvature. An exception is raised if (length of <tabP> + length of <tabP2d> ) is different from (length of <tabVec> + length of <tabVec2d> ) or from (length of <tabCur> + length of <tabCur2d> )

  Parameters: | tabP (TColgp_Array1OfPnt) – tabP2d (TColgp_Array1OfPnt2d) – tabVec (TColgp_Array1OfVec) – tabVec2d (TColgp_Array1OfVec2d) – tabCur (TColgp_Array1OfVec) – tabCur2d (TColgp_Array1OfVec2d) –
  Return type: | None

  - creates a MultiPointConstraint with a constraint of Tangency. An exception is raised if (length of <tabP> + length of <tabP2d> ) is different from (length of <tabVec> + length of <tabVec2d> )

  Parameters: | tabP (TColgp_Array1OfPnt) – tabP2d (TColgp_Array1OfPnt2d) – tabVec (TColgp_Array1OfVec) – tabVec2d (TColgp_Array1OfVec2d) –
  Return type: | None

  - creates a MultiPointConstraint only composed of 3d points with constraints of curvature. An exception is raised if the length of tabP is different from the length of tabVec or from tabCur.

  Parameters: | tabP (TColgp_Array1OfPnt) – tabVec (TColgp_Array1OfVec) – tabCur (TColgp_Array1OfVec) –
  Return type: | None

  - creates a MultiPointConstraint only composed of 3d points with constraints of tangency. An exception is raised if the length of tabP is different from the length of tabVec.

  Parameters: | tabP (TColgp_Array1OfPnt) – tabVec (TColgp_Array1OfVec) –
  Return type: | None

  - creates a MultiPointConstraint only composed of 2d points with constraints of tangency. An exception is raised if the length of tabP is different from the length of tabVec2d.

  Parameters: | tabP2d (TColgp_Array1OfPnt2d) – tabVec2d (TColgp_Array1OfVec2d) –
  Return type: | None

  - creates a MultiPointConstraint only composed of 2d points with constraints of curvature. An exception is raised if the length of tabP is different from the length of tabVec2d or from tabCur2d.

  Parameters: | tabP2d (TColgp_Array1OfPnt2d) – tabVec2d (TColgp_Array1OfVec2d) – tabCur2d (TColgp_Array1OfVec2d) –
  Return type: | None

  `Curv`()
    - returns the normal vector at the point of range Index. An exception is raised if Index < 0 or if Index > number of 3d points.

    Parameters: | Index (int) –
    Return type: | gp_Vec

  `Curv2d`()
    - returns the normal vector at the point of range Index. An exception is raised if Index < 0 or if Index > number of 3d points.

    Parameters: | Index (int) –
    Return type: | gp_Vec2d

  `DumpToString`()

    AppDef_MultiPointConstraint_DumpToString(AppDef_MultiPointConstraint self) -> std::string

  `IsCurvaturePoint`()
    - returns True if the MultiPoint has a curvature value.

    Return type: | bool

  `IsTangencyPoint`()
    - returns True if the MultiPoint has a tangency value.

    Return type: | bool

  `SetCurv`()
    - Vec sets the value of the normal vector at the point of index Index. The norm of the normal vector at the point of position Index is set to the normal curvature. An exception is raised if Index <0 or if Index > number of 3d points. An exception is raised if Curv has an incorrect number of dimensions.

    Parameters: | Index (int) – Curv (gp_Vec) –
    Return type: | None

  `SetCurv2d`()
    - Vec sets the value of the normal vector at the point of index Index. The norm of the normal vector at the point of position Index is set to the normal curvature. An exception is raised if Index <0 or if Index > number of 3d points. An exception is raised if Curv has an incorrect number of dimensions.

    Parameters: | Index (int) – Curv2d (gp_Vec2d) –
    Return type: | None

  `SetTang`()
    - sets the value of the tangency of the point of range Index. An exception is raised if Index <0 or if Index > number of 3d points. An exception is raised if Tang has an incorrect number of dimensions.

    Parameters: | Index (int) – Tang (gp_Vec) –
    Return type: | None

  `SetTang2d`()
    - sets the value of the tangency of the point of range Index. An exception is raised if Index <number of 3d points or if Index > total number of Points An exception is raised if Tang has an incorrect number of dimensions.

    Parameters: | Index (int) – Tang2d (gp_Vec2d) –
    Return type: | None

  `Tang`()
    - returns the tangency value of the point of range Index. An exception is raised if Index < 0 or if Index > number of 3d points.

    Parameters: | Index (int) –
    Return type: | gp_Vec

  `Tang2d`()
    - returns the tangency value of the point of range Index. An exception is raised if Index < number of 3d points or if Index > total number of points.

    Parameters: | Index (int) –
    Return type: | gp_Vec2d

  `thisown`

    The membership flag

class `AppDef_MyBSplGradientOfBSplineCompute`(*args)

  Bases: `object`

  Parameters: | SSP (AppDef_MultiLine &) – FirstPoint (int) – LastPoint (int) – TheConstraints (Handle_AppParCurves_HArray1OfConstraintCouple &) – Parameters (math_Vector &) – Knots (TColStd_Array1OfReal &) – Mults (TColStd_Array1OfInteger &) – Deg (int) – Tol3d (float) – Tol2d (float) – NbIterations (int) – default value is 1 SSP – FirstPoint – LastPoint – TheConstraints – Parameters – Knots – Mults – Deg – Tol3d – Tol2d – NbIterations – lambda1 (float) – lambda2 (float) –
  Return type: | None
  Return type: | None

  `AverageError`()

    Return type: | float

  `Error`()

    Parameters: | Index (int) –
    Return type: | float

  `IsDone`()

    Return type: | bool

  `MaxError2d`()

    Return type: | float

  `MaxError3d`()

    Return type: | float

  `Value`()

    Return type: | AppParCurves_MultiBSpCurve

  `thisown`

    The membership flag

class `AppDef_MyGradientOfCompute`(*args)

  Bases: `object`

  Parameters: | SSP (AppDef_MultiLine &) – FirstPoint (int) – LastPoint (int) – TheConstraints (Handle_AppParCurves_HArray1OfConstraintCouple &) – Parameters (math_Vector &) – Deg (int) – Tol3d (float) – Tol2d (float) – NbIterations (int) – default value is 200
  Return type: | None

  `AverageError`()

    Return type: | float

  `Error`()

    Parameters: | Index (int) –
    Return type: | float

  `IsDone`()

    Return type: | bool

  `MaxError2d`()

    Return type: | float

  `MaxError3d`()

    Return type: | float

  `Value`()

    Return type: | AppParCurves_MultiCurve

  `thisown`

    The membership flag

class `AppDef_MyGradientbisOfBSplineCompute`(*args)

  Bases: `object`

  Parameters: | SSP (AppDef_MultiLine &) – FirstPoint (int) – LastPoint (int) – TheConstraints (Handle_AppParCurves_HArray1OfConstraintCouple &) – Parameters (math_Vector &) – Deg (int) – Tol3d (float) – Tol2d (float) – NbIterations (int) – default value is 200
  Return type: | None

  `AverageError`()

    Return type: | float

  `Error`()

    Parameters: | Index (int) –
    Return type: | float

  `IsDone`()

    Return type: | bool

  `MaxError2d`()

    Return type: | float

  `MaxError3d`()

    Return type: | float

  `Value`()

    Return type: | AppParCurves_MultiCurve

  `thisown`

    The membership flag

class `AppDef_MyLineTool`

  Bases: `object`

  static `Curvature`(*args)
    - returns the 3d curvatures of the multipoint <MPointIndex> when only 3d points exist.

    Parameters: | ML (AppDef_MultiLine &) – MPointIndex (int) – tabV (TColgp_Array1OfVec) –
    Return type: | bool

    - returns the 2d curvatures of the multipoint <MPointIndex> only when 2d points exist.

    Parameters: | ML (AppDef_MultiLine &) – MPointIndex (int) – tabV2d (TColgp_Array1OfVec2d) –
    Return type: | bool

    - returns the 3d and 2d curvatures of the multipoint <MPointIndex>.

    Parameters: | ML (AppDef_MultiLine &) – MPointIndex (int) – tabV (TColgp_Array1OfVec) – tabV2d (TColgp_Array1OfVec2d) –
    Return type: | bool

  static `FirstPoint`(*args)
    - Returns the first index of multipoints of the MultiLine.

    Parameters: | ML (AppDef_MultiLine &) –
    Return type: | int

  static `LastPoint`(*args)
    - Returns the last index of multipoints of the MultiLine.

    Parameters: | ML (AppDef_MultiLine &) –
    Return type: | int

  static `MakeMLBetween`(*args)
    - Is never called in the algorithms. Nothing is done.

    Parameters: | ML (AppDef_MultiLine &) – I1 (int) – I2 (int) – NbPMin (int) –
    Return type: | AppDef_MultiLine

  static `NbP2d`(*args)
    - Returns the number of 2d points of a MultiLine.

    Parameters: | ML (AppDef_MultiLine &) –
    Return type: | int

  static `NbP3d`(*args)
    - Returns the number of 3d points of a MultiLine.

    Parameters: | ML (AppDef_MultiLine &) –
    Return type: | int

  static `Tangency`(*args)
    - returns the 3d points of the multipoint <MPointIndex> when only 3d points exist.

    Parameters: | ML (AppDef_MultiLine &) – MPointIndex (int) – tabV (TColgp_Array1OfVec) –
    Return type: | bool

    - returns the 2d tangency points of the multipoint <MPointIndex> only when 2d points exist.

    Parameters: | ML (AppDef_MultiLine &) – MPointIndex (int) – tabV2d (TColgp_Array1OfVec2d) –
    Return type: | bool

    - returns the 3d and 2d points of the multipoint <MPointIndex>.

    Parameters: | ML (AppDef_MultiLine &) – MPointIndex (int) – tabV (TColgp_Array1OfVec) – tabV2d (TColgp_Array1OfVec2d) –
    Return type: | bool

  static `Value`(*args)
    - returns the 3d points of the multipoint <MPointIndex> when only 3d points exist.

    Parameters: | ML (AppDef_MultiLine &) – MPointIndex (int) – tabPt (TColgp_Array1OfPnt) –
    Return type: | void

    - returns the 2d points of the multipoint <MPointIndex> when only 2d points exist.

    Parameters: | ML (AppDef_MultiLine &) – MPointIndex (int) – tabPt2d (TColgp_Array1OfPnt2d) –
    Return type: | void

    - returns the 3d and 2d points of the multipoint <MPointIndex>.

    Parameters: | ML (AppDef_MultiLine &) – MPointIndex (int) – tabPt (TColgp_Array1OfPnt) – tabPt2d (TColgp_Array1OfPnt2d) –
    Return type: | void

  static `WhatStatus`(*args)
    - returns NoPointsAdded

    Parameters: | ML (AppDef_MultiLine &) – I1 (int) – I2 (int) –
    Return type: | Approx_Status

  `thisown`

    The membership flag

`AppDef_MyLineTool_Curvature`(*args)
  - returns the 3d curvatures of the multipoint <MPointIndex> when only 3d points exist.

  Parameters: | ML (AppDef_MultiLine &) – MPointIndex (int) – tabV (TColgp_Array1OfVec) –
  Return type: | bool

  - returns the 2d curvatures of the multipoint <MPointIndex> only when 2d points exist.

  Parameters: | ML (AppDef_MultiLine &) – MPointIndex (int) – tabV2d (TColgp_Array1OfVec2d) –
  Return type: | bool

  - returns the 3d and 2d curvatures of the multipoint <MPointIndex>.

  Parameters: | ML (AppDef_MultiLine &) – MPointIndex (int) – tabV (TColgp_Array1OfVec) – tabV2d (TColgp_Array1OfVec2d) –
  Return type: | bool

`AppDef_MyLineTool_FirstPoint`(*args)
  - Returns the first index of multipoints of the MultiLine.

  Parameters: | ML (AppDef_MultiLine &) –
  Return type: | int

`AppDef_MyLineTool_LastPoint`(*args)
  - Returns the last index of multipoints of the MultiLine.

  Parameters: | ML (AppDef_MultiLine &) –
  Return type: | int

`AppDef_MyLineTool_MakeMLBetween`(*args)
  - Is never called in the algorithms. Nothing is done.

  Parameters: | ML (AppDef_MultiLine &) – I1 (int) – I2 (int) – NbPMin (int) –
  Return type: | AppDef_MultiLine

`AppDef_MyLineTool_NbP2d`(*args)
  - Returns the number of 2d points of a MultiLine.

  Parameters: | ML (AppDef_MultiLine &) –
  Return type: | int

`AppDef_MyLineTool_NbP3d`(*args)
  - Returns the number of 3d points of a MultiLine.

  Parameters: | ML (AppDef_MultiLine &) –
  Return type: | int

`AppDef_MyLineTool_Tangency`(*args)
  - returns the 3d points of the multipoint <MPointIndex> when only 3d points exist.

  Parameters: | ML (AppDef_MultiLine &) – MPointIndex (int) – tabV (TColgp_Array1OfVec) –
  Return type: | bool

  - returns the 2d tangency points of the multipoint <MPointIndex> only when 2d points exist.

  Parameters: | ML (AppDef_MultiLine &) – MPointIndex (int) – tabV2d (TColgp_Array1OfVec2d) –
  Return type: | bool

  - returns the 3d and 2d points of the multipoint <MPointIndex>.

  Parameters: | ML (AppDef_MultiLine &) – MPointIndex (int) – tabV (TColgp_Array1OfVec) – tabV2d (TColgp_Array1OfVec2d) –
  Return type: | bool

`AppDef_MyLineTool_Value`(*args)
  - returns the 3d points of the multipoint <MPointIndex> when only 3d points exist.

  Parameters: | ML (AppDef_MultiLine &) – MPointIndex (int) – tabPt (TColgp_Array1OfPnt) –
  Return type: | void

  - returns the 2d points of the multipoint <MPointIndex> when only 2d points exist.

  Parameters: | ML (AppDef_MultiLine &) – MPointIndex (int) – tabPt2d (TColgp_Array1OfPnt2d) –
  Return type: | void

  - returns the 3d and 2d points of the multipoint <MPointIndex>.

  Parameters: | ML (AppDef_MultiLine &) – MPointIndex (int) – tabPt (TColgp_Array1OfPnt) – tabPt2d (TColgp_Array1OfPnt2d) –
  Return type: | void

`AppDef_MyLineTool_WhatStatus`(*args)
  - returns NoPointsAdded

  Parameters: | ML (AppDef_MultiLine &) – I1 (int) – I2 (int) –
  Return type: | Approx_Status

class `AppDef_ParFunctionOfMyGradientOfCompute`(*args)

  Bases: `OCC.math.math_MultipleVarFunctionWithGradient`

  Parameters: | SSP (AppDef_MultiLine &) – FirstPoint (int) – LastPoint (int) – TheConstraints (Handle_AppParCurves_HArray1OfConstraintCouple &) – Parameters (math_Vector &) – Deg (int) –
  Return type: | None

  `CurveValue`()

    Return type: | AppParCurves_MultiCurve

  `Error`()

    Parameters: | IPoint (int) – CurveIndex (int) –
    Return type: | float

  `FirstConstraint`()

    Parameters: | TheConstraints (Handle_AppParCurves_HArray1OfConstraintCouple &) – FirstPoint (int) –
    Return type: | AppParCurves_Constraint

  `LastConstraint`()

    Parameters: | TheConstraints (Handle_AppParCurves_HArray1OfConstraintCouple &) – LastPoint (int) –
    Return type: | AppParCurves_Constraint

  `MaxError2d`()

    Return type: | float

  `MaxError3d`()

    Return type: | float

  `NewParameters`()

    Return type: | math_Vector

  `thisown`

    The membership flag

class `AppDef_ParFunctionOfMyGradientbisOfBSplineCompute`(*args)

  Bases: `OCC.math.math_MultipleVarFunctionWithGradient`

  Parameters: | SSP (AppDef_MultiLine &) – FirstPoint (int) – LastPoint (int) – TheConstraints (Handle_AppParCurves_HArray1OfConstraintCouple &) – Parameters (math_Vector &) – Deg (int) –
  Return type: | None

  `CurveValue`()

    Return type: | AppParCurves_MultiCurve

  `Error`()

    Parameters: | IPoint (int) – CurveIndex (int) –
    Return type: | float

  `FirstConstraint`()

    Parameters: | TheConstraints (Handle_AppParCurves_HArray1OfConstraintCouple &) – FirstPoint (int) –
    Return type: | AppParCurves_Constraint

  `LastConstraint`()

    Parameters: | TheConstraints (Handle_AppParCurves_HArray1OfConstraintCouple &) – LastPoint (int) –
    Return type: | AppParCurves_Constraint

  `MaxError2d`()

    Return type: | float

  `MaxError3d`()

    Return type: | float

  `NewParameters`()

    Return type: | math_Vector

  `thisown`

    The membership flag

class `AppDef_ParFunctionOfTheGradient`(*args)

  Bases: `OCC.math.math_MultipleVarFunctionWithGradient`

  Parameters: | SSP (AppDef_MultiLine &) – FirstPoint (int) – LastPoint (int) – TheConstraints (Handle_AppParCurves_HArray1OfConstraintCouple &) – Parameters (math_Vector &) – Deg (int) –
  Return type: | None

  `CurveValue`()

    Return type: | AppParCurves_MultiCurve

  `Error`()

    Parameters: | IPoint (int) – CurveIndex (int) –
    Return type: | float

  `FirstConstraint`()

    Parameters: | TheConstraints (Handle_AppParCurves_HArray1OfConstraintCouple &) – FirstPoint (int) –
    Return type: | AppParCurves_Constraint

  `LastConstraint`()

    Parameters: | TheConstraints (Handle_AppParCurves_HArray1OfConstraintCouple &) – LastPoint (int) –
    Return type: | AppParCurves_Constraint

  `MaxError2d`()

    Return type: | float

  `MaxError3d`()

    Return type: | float

  `NewParameters`()

    Return type: | math_Vector

  `thisown`

    The membership flag

class `AppDef_ParLeastSquareOfMyGradientOfCompute`(*args)

  Bases: `object`

  Parameters: | SSP (AppDef_MultiLine &) – FirstPoint (int) – LastPoint (int) – FirstCons (AppParCurves_Constraint) – LastCons (AppParCurves_Constraint) – Parameters (math_Vector &) – NbPol (int) – SSP – FirstPoint – LastPoint – FirstCons – LastCons – NbPol – SSP – Knots (TColStd_Array1OfReal &) – Mults (TColStd_Array1OfInteger &) – FirstPoint – LastPoint – FirstCons – LastCons – Parameters – NbPol – SSP – Knots – Mults – FirstPoint – LastPoint – FirstCons – LastCons – NbPol –
  Return type: | None
  Return type: | None
  Return type: | None
  Return type: | None

  `BSplineValue`()

    Return type: | AppParCurves_MultiBSpCurve

  `BezierValue`()

    Return type: | AppParCurves_MultiCurve

  `DerivativeFunctionMatrix`()

    Return type: | math_Matrix

  `Distance`()

    Return type: | math_Matrix

  `Error`()

    Parameters: | F (float &) – MaxE3d (float &) – MaxE2d (float &) –
    Return type: | None

  `ErrorGradient`()

    Parameters: | Grad (math_Vector &) – F (float &) – MaxE3d (float &) – MaxE2d (float &) –
    Return type: | None

  `FirstLambda`()

    Return type: | float

  `FunctionMatrix`()

    Return type: | math_Matrix

  `IsDone`()

    Return type: | bool

  `KIndex`()

    Return type: | math_IntegerVector

  `LastLambda`()

    Return type: | float

  `Perform`()

    Parameters: | Parameters (math_Vector &) – Parameters – l1 (float) – l2 (float) – Parameters – V1t (math_Vector &) – V2t (math_Vector &) – l1 – l2 – Parameters – V1t – V2t – V1c (math_Vector &) – V2c (math_Vector &) – l1 – l2 –
    Return type: | None
    Return type: | None
    Return type: | None
    Return type: | None

  `Points`()

    Return type: | math_Matrix

  `Poles`()

    Return type: | math_Matrix

  `thisown`

    The membership flag

class `AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute`(*args)

  Bases: `object`

  Parameters: | SSP (AppDef_MultiLine &) – FirstPoint (int) – LastPoint (int) – FirstCons (AppParCurves_Constraint) – LastCons (AppParCurves_Constraint) – Parameters (math_Vector &) – NbPol (int) – SSP – FirstPoint – LastPoint – FirstCons – LastCons – NbPol – SSP – Knots (TColStd_Array1OfReal &) – Mults (TColStd_Array1OfInteger &) – FirstPoint – LastPoint – FirstCons – LastCons – Parameters – NbPol – SSP – Knots – Mults – FirstPoint – LastPoint – FirstCons – LastCons – NbPol –
  Return type: | None
  Return type: | None
  Return type: | None
  Return type: | None

  `BSplineValue`()

    Return type: | AppParCurves_MultiBSpCurve

  `BezierValue`()

    Return type: | AppParCurves_MultiCurve

  `DerivativeFunctionMatrix`()

    Return type: | math_Matrix

  `Distance`()

    Return type: | math_Matrix

  `Error`()

    Parameters: | F (float &) – MaxE3d (float &) – MaxE2d (float &) –
    Return type: | None

  `ErrorGradient`()

    Parameters: | Grad (math_Vector &) – F (float &) – MaxE3d (float &) – MaxE2d (float &) –
    Return type: | None

  `FirstLambda`()

    Return type: | float

  `FunctionMatrix`()

    Return type: | math_Matrix

  `IsDone`()

    Return type: | bool

  `KIndex`()

    Return type: | math_IntegerVector

  `LastLambda`()

    Return type: | float

  `Perform`()

    Parameters: | Parameters (math_Vector &) – Parameters – l1 (float) – l2 (float) – Parameters – V1t (math_Vector &) – V2t (math_Vector &) – l1 – l2 – Parameters – V1t – V2t – V1c (math_Vector &) – V2c (math_Vector &) – l1 – l2 –
    Return type: | None
    Return type: | None
    Return type: | None
    Return type: | None

  `Points`()

    Return type: | math_Matrix

  `Poles`()

    Return type: | math_Matrix

  `thisown`

    The membership flag

class `AppDef_ParLeastSquareOfTheGradient`(*args)

  Bases: `object`

  Parameters: | SSP (AppDef_MultiLine &) – FirstPoint (int) – LastPoint (int) – FirstCons (AppParCurves_Constraint) – LastCons (AppParCurves_Constraint) – Parameters (math_Vector &) – NbPol (int) – SSP – FirstPoint – LastPoint – FirstCons – LastCons – NbPol – SSP – Knots (TColStd_Array1OfReal &) – Mults (TColStd_Array1OfInteger &) – FirstPoint – LastPoint – FirstCons – LastCons – Parameters – NbPol – SSP – Knots – Mults – FirstPoint – LastPoint – FirstCons – LastCons – NbPol –
  Return type: | None
  Return type: | None
  Return type: | None
  Return type: | None

  `BSplineValue`()

    Return type: | AppParCurves_MultiBSpCurve

  `BezierValue`()

    Return type: | AppParCurves_MultiCurve

  `DerivativeFunctionMatrix`()

    Return type: | math_Matrix

  `Distance`()

    Return type: | math_Matrix

  `Error`()

    Parameters: | F (float &) – MaxE3d (float &) – MaxE2d (float &) –
    Return type: | None

  `ErrorGradient`()

    Parameters: | Grad (math_Vector &) – F (float &) – MaxE3d (float &) – MaxE2d (float &) –
    Return type: | None

  `FirstLambda`()

    Return type: | float

  `FunctionMatrix`()

    Return type: | math_Matrix

  `IsDone`()

    Return type: | bool

  `KIndex`()

    Return type: | math_IntegerVector

  `LastLambda`()

    Return type: | float

  `Perform`()

    Parameters: | Parameters (math_Vector &) – Parameters – l1 (float) – l2 (float) – Parameters – V1t (math_Vector &) – V2t (math_Vector &) – l1 – l2 – Parameters – V1t – V2t – V1c (math_Vector &) – V2c (math_Vector &) – l1 – l2 –
    Return type: | None
    Return type: | None
    Return type: | None
    Return type: | None

  `Points`()

    Return type: | math_Matrix

  `Poles`()

    Return type: | math_Matrix

  `thisown`

    The membership flag

class `AppDef_ResConstraintOfMyGradientOfCompute`(*args)

  Bases: `object`

  Parameters: | SSP (AppDef_MultiLine &) – SCurv (AppParCurves_MultiCurve &) – FirstPoint (int) – LastPoint (int) – Constraints (Handle_AppParCurves_HArray1OfConstraintCouple &) – Bern (math_Matrix &) – DerivativeBern (math_Matrix &) – Tolerance (float) – default value is 1.0e-10
  Return type: | None

  `ConstraintDerivative`()

    Parameters: | SSP (AppDef_MultiLine &) – Parameters (math_Vector &) – Deg (int) – DA (math_Matrix &) –
    Return type: | math_Matrix

  `ConstraintMatrix`()

    Return type: | math_Matrix

  `Duale`()

    Return type: | math_Vector

  `InverseMatrix`()

    Return type: | math_Matrix

  `IsDone`()

    Return type: | bool

  `thisown`

    The membership flag

class `AppDef_ResConstraintOfMyGradientbisOfBSplineCompute`(*args)

  Bases: `object`

  Parameters: | SSP (AppDef_MultiLine &) – SCurv (AppParCurves_MultiCurve &) – FirstPoint (int) – LastPoint (int) – Constraints (Handle_AppParCurves_HArray1OfConstraintCouple &) – Bern (math_Matrix &) – DerivativeBern (math_Matrix &) – Tolerance (float) – default value is 1.0e-10
  Return type: | None

  `ConstraintDerivative`()

    Parameters: | SSP (AppDef_MultiLine &) – Parameters (math_Vector &) – Deg (int) – DA (math_Matrix &) –
    Return type: | math_Matrix

  `ConstraintMatrix`()

    Return type: | math_Matrix

  `Duale`()

    Return type: | math_Vector

  `InverseMatrix`()

    Return type: | math_Matrix

  `IsDone`()

    Return type: | bool

  `thisown`

    The membership flag

class `AppDef_ResConstraintOfTheGradient`(*args)

  Bases: `object`

  Parameters: | SSP (AppDef_MultiLine &) – SCurv (AppParCurves_MultiCurve &) – FirstPoint (int) – LastPoint (int) – Constraints (Handle_AppParCurves_HArray1OfConstraintCouple &) – Bern (math_Matrix &) – DerivativeBern (math_Matrix &) – Tolerance (float) – default value is 1.0e-10
  Return type: | None

  `ConstraintDerivative`()

    Parameters: | SSP (AppDef_MultiLine &) – Parameters (math_Vector &) – Deg (int) – DA (math_Matrix &) –
    Return type: | math_Matrix

  `ConstraintMatrix`()

    Return type: | math_Matrix

  `Duale`()

    Return type: | math_Vector

  `InverseMatrix`()

    Return type: | math_Matrix

  `IsDone`()

    Return type: | bool

  `thisown`

    The membership flag

class `AppDef_SmoothCriterion`(*args, **kwargs)

  Bases: `OCC.MMgt.MMgt_TShared`

  `AssemblyTable`()

    Return type: | Handle_FEmTool_HAssemblyTable

  `DependenceTable`()

    Return type: | Handle_TColStd_HArray2OfInteger

  `ErrorValues`()

    Parameters: | MaxError (float &) – QuadraticError (float &) – AverageError (float &) –
    Return type: | void

  `EstLength`()

    Return type: | float

  `GetCurve`()

    Parameters: | C (Handle_FEmTool_Curve &) –
    Return type: | void

  `GetEstimation`()

    Parameters: | E1 (float &) – E2 (float &) – E3 (float &) –
    Return type: | void

  `GetHandle`()
  `GetWeight`()

    Parameters: | QuadraticWeight (float &) – QualityWeight (float &) –
    Return type: | void

  `Gradient`()

    Parameters: | Element (int) – Dimension (int) – G (math_Vector &) –
    Return type: | void

  `Hessian`()

    Parameters: | Element (int) – Dimension1 (int) – Dimension2 (int) – H (math_Matrix &) –
    Return type: | void

  `InputVector`()
    - Convert the assembly Vector in an Curve;

    Parameters: | X (math_Vector &) – AssTable (Handle_FEmTool_HAssemblyTable &) –
    Return type: | void

  `QualityValues`()

    Parameters: | J1min (float) – J2min (float) – J3min (float) – J1 (float &) – J2 (float &) – J3 (float &) –
    Return type: | int

  `SetCurve`()

    Parameters: | C (Handle_FEmTool_Curve &) –
    Return type: | void

  `SetEstimation`()

    Parameters: | E1 (float) – E2 (float) – E3 (float) –
    Return type: | void

  `SetParameters`()

    Parameters: | Parameters (Handle_TColStd_HArray1OfReal &) –
    Return type: | void

  `SetWeight`()

    Parameters: | QuadraticWeight (float) – QualityWeight (float) – percentJ1 (float) – percentJ2 (float) – percentJ3 (float) – Weight (TColStd_Array1OfReal &) –
    Return type: | void
    Return type: | void

  `thisown`

    The membership flag

class `AppDef_TheFunction`(*args)

  Bases: `OCC.math.math_MultipleVarFunctionWithGradient`

  Parameters: | SSP (AppDef_MultiLine &) – FirstPoint (int) – LastPoint (int) – TheConstraints (Handle_AppParCurves_HArray1OfConstraintCouple &) – Parameters (math_Vector &) – Deg (int) –
  Return type: | None

  `CurveValue`()

    Return type: | AppParCurves_MultiCurve

  `Error`()

    Parameters: | IPoint (int) – CurveIndex (int) –
    Return type: | float

  `FirstConstraint`()

    Parameters: | TheConstraints (Handle_AppParCurves_HArray1OfConstraintCouple &) – FirstPoint (int) –
    Return type: | AppParCurves_Constraint

  `LastConstraint`()

    Parameters: | TheConstraints (Handle_AppParCurves_HArray1OfConstraintCouple &) – LastPoint (int) –
    Return type: | AppParCurves_Constraint

  `MaxError2d`()

    Return type: | float

  `MaxError3d`()

    Return type: | float

  `NewParameters`()

    Return type: | math_Vector

  `thisown`

    The membership flag

class `AppDef_TheGradient`(*args)

  Bases: `object`

  Parameters: | SSP (AppDef_MultiLine &) – FirstPoint (int) – LastPoint (int) – TheConstraints (Handle_AppParCurves_HArray1OfConstraintCouple &) – Parameters (math_Vector &) – Deg (int) – Tol3d (float) – Tol2d (float) – NbIterations (int) – default value is 200
  Return type: | None

  `AverageError`()

    Return type: | float

  `Error`()

    Parameters: | Index (int) –
    Return type: | float

  `IsDone`()

    Return type: | bool

  `MaxError2d`()

    Return type: | float

  `MaxError3d`()

    Return type: | float

  `Value`()

    Return type: | AppParCurves_MultiCurve

  `thisown`

    The membership flag

class `AppDef_TheLeastSquares`(*args)

  Bases: `object`

  Parameters: | SSP (AppDef_MultiLine &) – FirstPoint (int) – LastPoint (int) – FirstCons (AppParCurves_Constraint) – LastCons (AppParCurves_Constraint) – Parameters (math_Vector &) – NbPol (int) – SSP – FirstPoint – LastPoint – FirstCons – LastCons – NbPol – SSP – Knots (TColStd_Array1OfReal &) – Mults (TColStd_Array1OfInteger &) – FirstPoint – LastPoint – FirstCons – LastCons – Parameters – NbPol – SSP – Knots – Mults – FirstPoint – LastPoint – FirstCons – LastCons – NbPol –
  Return type: | None
  Return type: | None
  Return type: | None
  Return type: | None

  `BSplineValue`()

    Return type: | AppParCurves_MultiBSpCurve

  `BezierValue`()

    Return type: | AppParCurves_MultiCurve

  `DerivativeFunctionMatrix`()

    Return type: | math_Matrix

  `Distance`()

    Return type: | math_Matrix

  `Error`()

    Parameters: | F (float &) – MaxE3d (float &) – MaxE2d (float &) –
    Return type: | None

  `ErrorGradient`()

    Parameters: | Grad (math_Vector &) – F (float &) – MaxE3d (float &) – MaxE2d (float &) –
    Return type: | None

  `FirstLambda`()

    Return type: | float

  `FunctionMatrix`()

    Return type: | math_Matrix

  `IsDone`()

    Return type: | bool

  `KIndex`()

    Return type: | math_IntegerVector

  `LastLambda`()

    Return type: | float

  `Perform`()

    Parameters: | Parameters (math_Vector &) – Parameters – l1 (float) – l2 (float) – Parameters – V1t (math_Vector &) – V2t (math_Vector &) – l1 – l2 – Parameters – V1t – V2t – V1c (math_Vector &) – V2c (math_Vector &) – l1 – l2 –
    Return type: | None
    Return type: | None
    Return type: | None
    Return type: | None

  `Points`()

    Return type: | math_Matrix

  `Poles`()

    Return type: | math_Matrix

  `thisown`

    The membership flag

class `AppDef_TheResol`(*args)

  Bases: `object`

  Parameters: | SSP (AppDef_MultiLine &) – SCurv (AppParCurves_MultiCurve &) – FirstPoint (int) – LastPoint (int) – Constraints (Handle_AppParCurves_HArray1OfConstraintCouple &) – Bern (math_Matrix &) – DerivativeBern (math_Matrix &) – Tolerance (float) – default value is 1.0e-10
  Return type: | None

  `ConstraintDerivative`()

    Parameters: | SSP (AppDef_MultiLine &) – Parameters (math_Vector &) – Deg (int) – DA (math_Matrix &) –
    Return type: | math_Matrix

  `ConstraintMatrix`()

    Return type: | math_Matrix

  `Duale`()

    Return type: | math_Vector

  `InverseMatrix`()

    Return type: | math_Matrix

  `IsDone`()

    Return type: | bool

  `thisown`

    The membership flag

class `AppDef_Variational`(*args)

  Bases: `object`

  - Constructor. Initialization of the fields. warning : Nc0 : number of PassagePoint consraints Nc2 : number of TangencyPoint constraints Nc3 : number of CurvaturePoint constraints if ((MaxDegree-Continuity)*MaxSegment -Nc0 - 2*Nc1 -3*Nc2) is negative The problem is over-constrained. //! Limitation : The MultiLine from AppDef has to be composed by only one Line ( Dimension 2 or 3).

  Parameters: | SSP (AppDef_MultiLine &) – FirstPoint (int) – LastPoint (int) – TheConstraints (Handle_AppParCurves_HArray1OfConstraintCouple &) – MaxDegree (int) – default value is 14 MaxSegment (int) – default value is 100 Continuity (GeomAbs_Shape) – default value is GeomAbs_C2 WithMinMax (bool) – default value is Standard_False WithCutting (bool) – default value is Standard_True Tolerance (float) – default value is 1.0 NbIterations (int) – default value is 2
  Return type: | None

  `Approximate`()
    - Makes the approximation with the current fields.

    Return type: | None

  `AverageError`()
    - returns the average error between the MultiLine from AppDef and the approximation.

    Return type: | float

  `Continuity`()
    - returns the Continuity used in the approximation

    Return type: | GeomAbs_Shape

  `Criterium`()
    - returns the values of the quality criterium.

    Parameters: | VFirstOrder (float &) – VSecondOrder (float &) – VThirdOrder (float &) –
    Return type: | None

  `CriteriumWeight`()
    - returns the Weights (as percent) associed to the criterium used in the optimization.

    Parameters: | Percent1 (float &) – Percent2 (float &) – Percent3 (float &) –
    Return type: | None

  `Distance`()
    - returns the distances between the points of the multiline and the approximation curves.

    Parameters: | mat (math_Matrix &) –
    Return type: | None

  `DumpToString`()

    AppDef_Variational_DumpToString(AppDef_Variational self) -> std::string

  `IsCreated`()
    - returns True if the creation is done and correspond to the current fields.

    Return type: | bool

  `IsDone`()
    - returns True if the approximation is ok and correspond to the current fields.

    Return type: | bool

  `IsOverConstrained`()
    - returns True if the problem is overconstrained in this case, approximation cannot be done.

    Return type: | bool

  `Knots`()
    - returns the knots uses to the approximations

    Return type: | Handle_TColStd_HArray1OfReal

  `MaxDegree`()
    - returns the Maximum Degree used in the approximation

    Return type: | int

  `MaxError`()
    - returns the maximum of the distances between the points of the multiline and the approximation curves.

    Return type: | float

  `MaxErrorIndex`()
    - returns the index of the MultiPoint of ErrorMax

    Return type: | int

  `MaxSegment`()
    - returns the Maximum of segment used in the approximation

    Return type: | int

  `NbIterations`()
    - returns the number of iterations used in the approximation.

    Return type: | int

  `Parameters`()
    - returns the parameters uses to the approximations

    Return type: | Handle_TColStd_HArray1OfReal

  `QuadraticError`()
    - returns the quadratic average of the distances between the points of the multiline and the approximation curves.

    Return type: | float

  `SetConstraints`()
    - Define the constraints to approximate If this value is incompatible with the others fields this method modify nothing and returns false

    Parameters: | aConstrainst (Handle_AppParCurves_HArray1OfConstraintCouple &) –
    Return type: | bool

  `SetContinuity`()
    - Define the Continuity used in the approximation If this value is incompatible with the others fields this method modify nothing and returns false

    Parameters: | C (GeomAbs_Shape) –
    Return type: | bool

  `SetCriteriumWeight`()
    - define the Weights (as percent) associed to the criterium used in the optimization. //! if Percent <= 0

    Parameters: | Percent1 (float) – Percent2 (float) – Percent3 (float) –
    Return type: | None

    - define the Weight (as percent) associed to the criterium Order used in the optimization : Others weights are updated. if Percent < 0 if Order < 1 or Order > 3

    Parameters: | Order (int) – Percent (float) –
    Return type: | None

  `SetKnots`()
    - Defines the knots used by the approximations If this value is incompatible with the others fields this method modify nothing and returns false

    Parameters: | knots (Handle_TColStd_HArray1OfReal &) –
    Return type: | bool

  `SetMaxDegree`()
    - Define the Maximum Degree used in the approximation If this value is incompatible with the others fields this method modify nothing and returns false

    Parameters: | Degree (int) –
    Return type: | bool

  `SetMaxSegment`()
    - Define the maximum number of segments used in the approximation If this value is incompatible with the others fields this method modify nothing and returns false

    Parameters: | NbSegment (int) –
    Return type: | bool

  `SetNbIterations`()
    - define the number of iterations used in the approximation. if Iter < 1

    Parameters: | Iter (int) –
    Return type: | None

  `SetParameters`()
    - Defines the parameters used by the approximations.

    Parameters: | param (Handle_TColStd_HArray1OfReal &) –
    Return type: | None

  `SetTolerance`()
    - define the tolerance used in the approximation.

    Parameters: | Tol (float) –
    Return type: | None

  `SetWithCutting`()
    - Define if the approximation can insert new Knots or not. If this value is incompatible with the others fields this method modify nothing and returns false

    Parameters: | Cutting (bool) –
    Return type: | bool

  `SetWithMinMax`()
    - Define if the approximation search to minimize the maximum Error or not.

    Parameters: | MinMax (bool) –
    Return type: | None

  `Tolerance`()
    - returns the tolerance used in the approximation.

    Return type: | float

  `Value`()
    - returns all the BSpline curves approximating the MultiLine from AppDef SSP after minimization of the parameter.

    Return type: | AppParCurves_MultiBSpCurve

  `WithCutting`()
    - returns if the approximation can insert new Knots or not.

    Return type: | bool

  `WithMinMax`()
    - returns if the approximation search to minimize the maximum Error or not.

    Return type: | bool

  `thisown`

    The membership flag

class `Handle_AppDef_HArray1OfMultiPointConstraint`(*args)

  Bases: `OCC.MMgt.Handle_MMgt_TShared`

  static `DownCast`()
  `GetObject`()
  `IsNull`()
  `Nullify`()
  `thisown`

    The membership flag

class `Handle_AppDef_LinearCriteria`(*args)

  Bases: `OCC.AppDef.Handle_AppDef_SmoothCriterion`

  static `DownCast`()
  `GetObject`()
  `IsNull`()
  `Nullify`()
  `thisown`

    The membership flag

class `Handle_AppDef_SmoothCriterion`(*args)

  Bases: `OCC.MMgt.Handle_MMgt_TShared`

  static `DownCast`()
  `GetObject`()
  `IsNull`()
  `Nullify`()
  `thisown`

    The membership flag

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