# OCC.Approx module

class `Approx_Array1OfAdHSurface`(*args)

  Bases: `object`

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

  `Assign`()

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

  `ChangeValue`()

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

  `Destroy`()

    Return type: | None

  `Init`()

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

  `IsAllocated`()

    Return type: | bool

  `Length`()

    Return type: | int

  `Lower`()

    Return type: | int

  `Set`()

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

  `SetValue`()

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

  `Upper`()

    Return type: | int

  `Value`()

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

  `thisown`

    The membership flag

class `Approx_Array1OfGTrsf2d`(*args)

  Bases: `object`

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

  `Assign`()

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

  `ChangeValue`()

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

  `Destroy`()

    Return type: | None

  `Init`()

    Parameters: | V (gp_GTrsf2d) –
    Return type: | None

  `IsAllocated`()

    Return type: | bool

  `Length`()

    Return type: | int

  `Lower`()

    Return type: | int

  `Set`()

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

  `SetValue`()

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

  `Upper`()

    Return type: | int

  `Value`()

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

  `thisown`

    The membership flag

class `Approx_Curve2d`(*args)

  Bases: `object`

  Parameters: | C2D (Handle_Adaptor2d_HCurve2d &) – First (float) – Last (float) – TolU (float) – TolV (float) – Continuity (GeomAbs_Shape) – MaxDegree (int) – MaxSegments (int) –
  Return type: | None

  `Curve`()

    Return type: | Handle_Geom2d_BSplineCurve

  `HasResult`()

    Return type: | bool

  `IsDone`()

    Return type: | bool

  `MaxError2dU`()

    Return type: | float

  `MaxError2dV`()

    Return type: | float

  `thisown`

    The membership flag

class `Approx_Curve3d`(*args)

  Bases: `object`

  - Approximation of a curve with respect of the requiered tolerance Tol3D.

  Parameters: | Curve (Handle_Adaptor3d_HCurve &) – Tol3d (float) – Order (GeomAbs_Shape) – MaxSegments (int) – MaxDegree (int) –
  Return type: | None

  `Curve`()

    Return type: | Handle_Geom_BSplineCurve

  `DumpToString`()

    Approx_Curve3d_DumpToString(Approx_Curve3d self) -> std::string

  `HasResult`()
    - returns Standard_True if the approximation did come out with a result that is not NECESSARELY within the required tolerance

    Return type: | bool

  `IsDone`()
    - returns Standard_True if the approximation has been done within requiered tolerance

    Return type: | bool

  `MaxError`()
    - returns the Maximum Error (>0 when an approximation has been done, 0 if no approximation)

    Return type: | float

  `thisown`

    The membership flag

class `Approx_CurveOnSurface`(*args)

  Bases: `object`

  Parameters: | C2D (Handle_Adaptor2d_HCurve2d &) – Surf (Handle_Adaptor3d_HSurface &) – First (float) – Last (float) – Tol (float) – Continuity (GeomAbs_Shape) – MaxDegree (int) – MaxSegments (int) – Only3d (bool) – default value is Standard_False Only2d (bool) – default value is Standard_False
  Return type: | None

  `Curve2d`()

    Return type: | Handle_Geom2d_BSplineCurve

  `Curve3d`()

    Return type: | Handle_Geom_BSplineCurve

  `HasResult`()

    Return type: | bool

  `IsDone`()

    Return type: | bool

  `MaxError2dU`()

    Return type: | float

  `MaxError2dV`()
    - returns the maximum errors relativly to the U component or the V component of the 2d Curve

    Return type: | float

  `MaxError3d`()

    Return type: | float

  `thisown`

    The membership flag

class `Approx_CurvilinearParameter`(*args)

  Bases: `object`

  - case of a free 3D curve

  Parameters: | C3D (Handle_Adaptor3d_HCurve &) – Tol (float) – Order (GeomAbs_Shape) – MaxDegree (int) – MaxSegments (int) –
  Return type: | None

  - case of a curve on one surface

  Parameters: | C2D (Handle_Adaptor2d_HCurve2d &) – Surf (Handle_Adaptor3d_HSurface &) – Tol (float) – Order (GeomAbs_Shape) – MaxDegree (int) – MaxSegments (int) –
  Return type: | None

  - case of a curve on two surfaces

  Parameters: | C2D1 (Handle_Adaptor2d_HCurve2d &) – Surf1 (Handle_Adaptor3d_HSurface &) – C2D2 (Handle_Adaptor2d_HCurve2d &) – Surf2 (Handle_Adaptor3d_HSurface &) – Tol (float) – Order (GeomAbs_Shape) – MaxDegree (int) – MaxSegments (int) –
  Return type: | None

  `Curve2d1`()
    - returns the BsplineCurve representing the reparametrized 2D curve on the first surface (case of a curve on one or two surfaces)

    Return type: | Handle_Geom2d_BSplineCurve

  `Curve2d2`()
    - returns the BsplineCurve representing the reparametrized 2D curve on the second surface (case of a curve on two surfaces)

    Return type: | Handle_Geom2d_BSplineCurve

  `Curve3d`()
    - returns the Bspline curve corresponding to the reparametrized 3D curve

    Return type: | Handle_Geom_BSplineCurve

  `DumpToString`()

    Approx_CurvilinearParameter_DumpToString(Approx_CurvilinearParameter self) -> std::string

  `HasResult`()

    Return type: | bool

  `IsDone`()

    Return type: | bool

  `MaxError2d1`()
    - returns the maximum error on the first reparametrized 2D curve

    Return type: | float

  `MaxError2d2`()
    - returns the maximum error on the second reparametrized 2D curve

    Return type: | float

  `MaxError3d`()
    - returns the maximum error on the reparametrized 3D curve

    Return type: | float

  `thisown`

    The membership flag

class `Approx_CurvlinFunc`(*args)

  Bases: `OCC.MMgt.MMgt_TShared`

  Parameters: | C (Handle_Adaptor3d_HCurve &) – Tol (float) – C2D (Handle_Adaptor2d_HCurve2d &) – S (Handle_Adaptor3d_HSurface &) – Tol – C2D1 (Handle_Adaptor2d_HCurve2d &) – C2D2 (Handle_Adaptor2d_HCurve2d &) – S1 (Handle_Adaptor3d_HSurface &) – S2 (Handle_Adaptor3d_HSurface &) – Tol –
  Return type: | None
  Return type: | None
  Return type: | None

  `EvalCase1`()
    - if myCase != 1

    Parameters: | S (float) – Order (int) – Result (TColStd_Array1OfReal &) –
    Return type: | bool

  `EvalCase2`()
    - if myCase != 2

    Parameters: | S (float) – Order (int) – Result (TColStd_Array1OfReal &) –
    Return type: | bool

  `EvalCase3`()
    - if myCase != 3

    Parameters: | S (float) – Order (int) – Result (TColStd_Array1OfReal &) –
    Return type: | bool

  `FirstParameter`()

    Return type: | float

  `GetHandle`()
  `GetLength`()

    Return type: | float

  `GetSParameter`()
    - returns original parameter correponding S.

    Parameters: | U (float) –
    Return type: | float

  `GetUParameter`()
    - returns original parameter correponding S. if Case == 1 computation is performed on myC2D1 and mySurf1, otherwise it is done on myC2D2 and mySurf2.

    Parameters: | C (Adaptor3d_Curve &) – S (float) – NumberOfCurve (int) –
    Return type: | float

  `Intervals`()
    - Stores in <T> the parameters bounding the intervals of continuity <S>. //! The array must provide enough room to accomodate for the parameters. i.e. T.Length() > NbIntervals()

    Parameters: | T (TColStd_Array1OfReal &) – S (GeomAbs_Shape) –
    Return type: | None

  `LastParameter`()

    Return type: | float

  `Length`()
    - Computes length of the curve.

    Return type: | None

    - Computes length of the curve segment.

    Parameters: | C (Adaptor3d_Curve &) – FirstU (float) – LasrU (float) –
    Return type: | float

  `NbIntervals`()
    - Returns the number of intervals for continuity <S>. May be one if Continuity(me) >= <S>

    Parameters: | S (GeomAbs_Shape) –
    Return type: | int

  `SetTol`()
    - —Purpose Update the tolerance to used

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

  `Trim`()
    - if First < 0 or Last > 1

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

  `thisown`

    The membership flag

class `Approx_FitAndDivide`(*args)

  Bases: `object`

  Parameters: | Line (AppCont_Function &) – degreemin (int) – default value is 3 degreemax (int) – default value is 8 Tolerance3d (float) – default value is 1.0e-5 Tolerance2d (float) – default value is 1.0e-5 cutting (bool) – default value is Standard_False FirstC (AppParCurves_Constraint) – default value is AppParCurves_TangencyPoint LastC (AppParCurves_Constraint) – default value is AppParCurves_TangencyPoint degreemin – default value is 3 degreemax – default value is 8 Tolerance3d – default value is 1.0e-05 Tolerance2d – default value is 1.0e-05 cutting – default value is Standard_False FirstC – default value is AppParCurves_TangencyPoint LastC – default value is AppParCurves_TangencyPoint
  Return type: | None
  Return type: | None

  `Error`()

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

  `IsAllApproximated`()

    Return type: | bool

  `IsToleranceReached`()

    Return type: | bool

  `NbMultiCurves`()

    Return type: | int

  `Parameters`()

    Parameters: | Index (int) – firstp (float &) – lastp (float &) –
    Return type: | None

  `Perform`()

    Parameters: | Line (AppCont_Function &) –
    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

  `Value`()

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

  `thisown`

    The membership flag

class `Approx_FitAndDivide2d`(*args)

  Bases: `object`

  Parameters: | Line (AppCont_Function2d &) – degreemin (int) – default value is 3 degreemax (int) – default value is 8 Tolerance3d (float) – default value is 1.0e-5 Tolerance2d (float) – default value is 1.0e-5 cutting (bool) – default value is Standard_False FirstC (AppParCurves_Constraint) – default value is AppParCurves_TangencyPoint LastC (AppParCurves_Constraint) – default value is AppParCurves_TangencyPoint degreemin – default value is 3 degreemax – default value is 8 Tolerance3d – default value is 1.0e-05 Tolerance2d – default value is 1.0e-05 cutting – default value is Standard_False FirstC – default value is AppParCurves_TangencyPoint LastC – default value is AppParCurves_TangencyPoint
  Return type: | None
  Return type: | None

  `Error`()

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

  `IsAllApproximated`()

    Return type: | bool

  `IsToleranceReached`()

    Return type: | bool

  `NbMultiCurves`()

    Return type: | int

  `Parameters`()

    Parameters: | Index (int) – firstp (float &) – lastp (float &) –
    Return type: | None

  `Perform`()

    Parameters: | Line (AppCont_Function2d &) –
    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

  `Value`()

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

  `thisown`

    The membership flag

class `Approx_HArray1OfAdHSurface`(*args)

  Bases: `OCC.MMgt.MMgt_TShared`

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

  `Array1`()

    Return type: | Approx_Array1OfAdHSurface

  `ChangeArray1`()

    Return type: | Approx_Array1OfAdHSurface

  `ChangeValue`()

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

  `GetHandle`()
  `Init`()

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

  `Length`()

    Return type: | int

  `Lower`()

    Return type: | int

  `SetValue`()

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

  `Upper`()

    Return type: | int

  `Value`()

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

  `thisown`

    The membership flag

class `Approx_HArray1OfGTrsf2d`(*args)

  Bases: `OCC.MMgt.MMgt_TShared`

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

  `Array1`()

    Return type: | Approx_Array1OfGTrsf2d

  `ChangeArray1`()

    Return type: | Approx_Array1OfGTrsf2d

  `ChangeValue`()

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

  `GetHandle`()
  `Init`()

    Parameters: | V (gp_GTrsf2d) –
    Return type: | None

  `Length`()

    Return type: | int

  `Lower`()

    Return type: | int

  `SetValue`()

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

  `Upper`()

    Return type: | int

  `Value`()

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

  `thisown`

    The membership flag

class `Approx_MCurvesToBSpCurve`(*args)

  Bases: `object`

  Return type: | None

  `Append`()

    Parameters: | MC (AppParCurves_MultiCurve &) –
    Return type: | None

  `ChangeValue`()
    - return the composite MultiCurves as a MultiBSpCurve.

    Return type: | AppParCurves_MultiBSpCurve

  `Perform`()

    Return type: | None
    Parameters: | TheSeq (AppParCurves_SequenceOfMultiCurve &) –
    Return type: | None

  `Reset`()

    Return type: | None

  `Value`()
    - return the composite MultiCurves as a MultiBSpCurve.

    Return type: | AppParCurves_MultiBSpCurve

  `thisown`

    The membership flag

class `Approx_MyLeastSquareOfFitAndDivide`(*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 `Approx_MyLeastSquareOfFitAndDivide2d`(*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 `Approx_SameParameter`(*args)

  Bases: `object`

  - Warning: the C3D and C2D must have the same parametric domain.

  Parameters: | C3D (Handle_Adaptor3d_HCurve &) – C2D (Handle_Geom2d_Curve &) – S (Handle_Adaptor3d_HSurface &) – Tol (float) – C3D – C2D – S – Tol –
  Return type: | None
  Return type: | None

  - Warning: the C3D and C2D must have the same parametric domain.

  Parameters: | C3D (Handle_Adaptor3d_HCurve &) – C2D (Handle_Adaptor2d_HCurve2d &) – S (Handle_Adaptor3d_HSurface &) – Tol (float) –
  Return type: | None

  `Curve2d`()
    - Returns the 2D curve that has the same parameter as the 3D curve once evaluated on the surface up to the specified tolerance

    Return type: | Handle_Geom2d_BSplineCurve

  `IsDone`()

    Return type: | bool

  `IsSameParameter`()
    - Tells whether the original data had already the same parameter up to the tolerance : in that case nothing is done.

    Return type: | bool

  `TolReached`()

    Return type: | float

  `thisown`

    The membership flag

class `Approx_SequenceNodeOfSequenceOfHArray1OfReal`(*args)

  Bases: `OCC.TCollection.TCollection_SeqNode`

  Parameters: | I (Handle_TColStd_HArray1OfReal &) – n (TCollection_SeqNodePtr &) – p (TCollection_SeqNodePtr &) –
  Return type: | None

  `GetHandle`()
  `Value`()

    Return type: | Handle_TColStd_HArray1OfReal

  `thisown`

    The membership flag

class `Approx_SequenceOfHArray1OfReal`(*args)

  Bases: `OCC.TCollection.TCollection_BaseSequence`

  Return type: | None
  Parameters: | Other (Approx_SequenceOfHArray1OfReal &) –
  Return type: | None

  `Append`()

    Parameters: | T (Handle_TColStd_HArray1OfReal &) – S (Approx_SequenceOfHArray1OfReal &) –
    Return type: | None
    Return type: | None

  `Assign`()

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

  `ChangeValue`()

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

  `Clear`()

    Return type: | None

  `First`()

    Return type: | Handle_TColStd_HArray1OfReal

  `InsertAfter`()

    Parameters: | Index (int) – T (Handle_TColStd_HArray1OfReal &) – Index – S (Approx_SequenceOfHArray1OfReal &) –
    Return type: | None
    Return type: | None

  `InsertBefore`()

    Parameters: | Index (int) – T (Handle_TColStd_HArray1OfReal &) – Index – S (Approx_SequenceOfHArray1OfReal &) –
    Return type: | None
    Return type: | None

  `Last`()

    Return type: | Handle_TColStd_HArray1OfReal

  `Prepend`()

    Parameters: | T (Handle_TColStd_HArray1OfReal &) – S (Approx_SequenceOfHArray1OfReal &) –
    Return type: | None
    Return type: | None

  `Remove`()

    Parameters: | Index (int) – FromIndex (int) – ToIndex (int) –
    Return type: | None
    Return type: | None

  `Set`()

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

  `SetValue`()

    Parameters: | Index (int) – I (Handle_TColStd_HArray1OfReal &) –
    Return type: | None

  `Split`()

    Parameters: | Index (int) – Sub (Approx_SequenceOfHArray1OfReal &) –
    Return type: | None

  `Value`()

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

  `thisown`

    The membership flag

class `Approx_SweepApproximation`(*args)

  Bases: `object`

  Parameters: | Func (Handle_Approx_SweepFunction &) –
  Return type: | None

  `Average2dError`()
    - returns the average error of the <Index> 2d curve approximation.

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

  `AverageErrorOnSurf`()
    - returns the average error in the suface approximation.

    Return type: | float

  `Curve2d`()

    Parameters: | Index (int) – TPoles (TColgp_Array1OfPnt2d) – TKnots (TColStd_Array1OfReal &) – TMults (TColStd_Array1OfInteger &) –
    Return type: | None

  `Curve2dPoles`()

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

  `Curves2dDegree`()

    Return type: | int

  `Curves2dKnots`()

    Return type: | TColStd_Array1OfReal

  `Curves2dMults`()

    Return type: | TColStd_Array1OfInteger

  `Curves2dShape`()

    Parameters: | Degree (int &) – NbPoles (int &) – NbKnots (int &) –
    Return type: | None

  `DumpToString`()

    Approx_SweepApproximation_DumpToString(Approx_SweepApproximation self) -> std::string

  `Eval`()
    - The EvaluatorFunction from AdvApprox;

    Parameters: | Parameter (float) – DerivativeRequest (int) – First (float) – Last (float) – Result (float &) –
    Return type: | int

  `IsDone`()
    - returns if we have an result

    Return type: | bool

  `Max2dError`()
    - returns the maximum error of the <Index> 2d curve approximation.

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

  `MaxErrorOnSurf`()
    - returns the maximum error in the suface approximation.

    Return type: | float

  `NbCurves2d`()

    Return type: | int

  `Perform`()
    - Perform the Approximation [First, Last] : Approx_SweepApproximation.cdl Tol3d : Tolerance to surface approximation Tol2d : Tolerance used to perform curve approximation Normaly the 2d curve are approximated with a tolerance given by the resolution on support surfaces, but if this tolerance is too large Tol2d is used. TolAngular : Tolerance (in radian) to control the angle beetween tangents on the section law and tangent of iso-v on approximed surface Continuity : The continuity in v waiting on the surface Degmax : The maximum degree in v requiered on the surface Segmax : The maximum number of span in v requiered on the surface Warning : The continuity ci can be obtained only if Ft is Ci

    Parameters: | First (float) – Last (float) – Tol3d (float) – BoundTol (float) – Tol2d (float) – TolAngular (float) – Continuity (GeomAbs_Shape) – default value is GeomAbs_C0 Degmax (int) – default value is 11 Segmax (int) – default value is 50
    Return type: | None

  `SurfPoles`()

    Return type: | TColgp_Array2OfPnt

  `SurfShape`()

    Parameters: | UDegree (int &) – VDegree (int &) – NbUPoles (int &) – NbVPoles (int &) – NbUKnots (int &) – NbVKnots (int &) –
    Return type: | None

  `SurfUKnots`()

    Return type: | TColStd_Array1OfReal

  `SurfUMults`()

    Return type: | TColStd_Array1OfInteger

  `SurfVKnots`()

    Return type: | TColStd_Array1OfReal

  `SurfVMults`()

    Return type: | TColStd_Array1OfInteger

  `SurfWeights`()

    Return type: | TColStd_Array2OfReal

  `Surface`()

    Parameters: | TPoles (TColgp_Array2OfPnt) – TWeights (TColStd_Array2OfReal &) – TUKnots (TColStd_Array1OfReal &) – TVKnots (TColStd_Array1OfReal &) – TUMults (TColStd_Array1OfInteger &) – TVMults (TColStd_Array1OfInteger &) –
    Return type: | None

  `TolCurveOnSurf`()
    - returns the maximum 3d error of the <Index> 2d curve approximation on the Surface.

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

  `UDegree`()

    Return type: | int

  `VDegree`()

    Return type: | int

  `thisown`

    The membership flag

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

  Bases: `OCC.MMgt.MMgt_TShared`

  `BarycentreOfSurf`()
    - Get the barycentre of Surface. An very poor estimation is sufficent. This information is usefull to perform well conditioned rational approximation. Warning: Used only if <self> IsRational

    Return type: | gp_Pnt

  `D0`()
    - compute the section for v = param

    Parameters: | Param (float) – First (float) – Last (float) – Poles (TColgp_Array1OfPnt) – Poles2d (TColgp_Array1OfPnt2d) – Weigths (TColStd_Array1OfReal &) –
    Return type: | bool

  `D1`()
    - compute the first derivative in v direction of the section for v = param Warning : It used only for C1 or C2 aproximation

    Parameters: | Param (float) – First (float) – Last (float) – Poles (TColgp_Array1OfPnt) – DPoles (TColgp_Array1OfVec) – Poles2d (TColgp_Array1OfPnt2d) – DPoles2d (TColgp_Array1OfVec2d) – Weigths (TColStd_Array1OfReal &) – DWeigths (TColStd_Array1OfReal &) –
    Return type: | bool

  `D2`()
    - compute the second derivative in v direction of the section for v = param Warning : It used only for C2 aproximation

    Parameters: | Param (float) – First (float) – Last (float) – Poles (TColgp_Array1OfPnt) – DPoles (TColgp_Array1OfVec) – D2Poles (TColgp_Array1OfVec) – Poles2d (TColgp_Array1OfPnt2d) – DPoles2d (TColgp_Array1OfVec2d) – D2Poles2d (TColgp_Array1OfVec2d) – Weigths (TColStd_Array1OfReal &) – DWeigths (TColStd_Array1OfReal &) – D2Weigths (TColStd_Array1OfReal &) –
    Return type: | bool

  `GetHandle`()
  `GetMinimalWeight`()
    - Compute the minimal value of weight for each poles in all sections. This information is usefull to control error in rational approximation. Warning: Used only if <self> IsRational

    Parameters: | Weigths (TColStd_Array1OfReal &) –
    Return type: | void

  `GetTolerance`()
    - Returns the tolerance to reach in approximation to satisfy. BoundTol error at the Boundary AngleTol tangent error at the Boundary (in radian) SurfTol error inside the surface.

    Parameters: | BoundTol (float) – SurfTol (float) – AngleTol (float) – Tol3d (TColStd_Array1OfReal &) –
    Return type: | void

  `Intervals`()
    - Stores in <T> the parameters bounding the intervals of continuity <S>. //! The array must provide enough room to accomodate for the parameters. i.e. T.Length() > NbIntervals()

    Parameters: | T (TColStd_Array1OfReal &) – S (GeomAbs_Shape) –
    Return type: | void

  `IsRational`()
    - Returns if the sections are rationnal or not

    Return type: | bool

  `Knots`()
    - get the Knots of the section

    Parameters: | TKnots (TColStd_Array1OfReal &) –
    Return type: | void

  `MaximalSection`()
    - Returns the length of the greater section. This information is usefull to G1’s control. Warning: With an little value, approximation can be slower.

    Return type: | float

  `Mults`()
    - get the Multplicities of the section

    Parameters: | TMults (TColStd_Array1OfInteger &) –
    Return type: | void

  `Nb2dCurves`()
    - get the number of 2d curves to approximate.

    Return type: | int

  `NbIntervals`()
    - Returns the number of intervals for continuity <S>. May be one if Continuity(me) >= <S>

    Parameters: | S (GeomAbs_Shape) –
    Return type: | int

  `Resolution`()
    - Returns the resolutions in the sub-space 2d <Index> This information is usfull to find an good tolerance in 2d approximation.

    Parameters: | Index (int) – Tol (float) – TolU (float &) – TolV (float &) –
    Return type: | void

  `SectionShape`()
    - get the format of an section

    Parameters: | NbPoles (int &) – NbKnots (int &) – Degree (int &) –
    Return type: | void

  `SetInterval`()
    - Sets the bounds of the parametric interval on the fonction This determines the derivatives in these values if the function is not Cn.

    Parameters: | First (float) – Last (float) –
    Return type: | void

  `SetTolerance`()
    - Is usefull, if (me) have to run numerical algorithm to perform D0, D1 or D2

    Parameters: | Tol3d (float) – Tol2d (float) –
    Return type: | void

  `thisown`

    The membership flag

class `Handle_Approx_CurvlinFunc`(*args)

  Bases: `OCC.MMgt.Handle_MMgt_TShared`

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

    The membership flag

class `Handle_Approx_HArray1OfAdHSurface`(*args)

  Bases: `OCC.MMgt.Handle_MMgt_TShared`

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

    The membership flag

class `Handle_Approx_HArray1OfGTrsf2d`(*args)

  Bases: `OCC.MMgt.Handle_MMgt_TShared`

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

    The membership flag

class `Handle_Approx_SequenceNodeOfSequenceOfHArray1OfReal`(*args)

  Bases: `OCC.TCollection.Handle_TCollection_SeqNode`

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

    The membership flag

class `Handle_Approx_SweepFunction`(*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