OCC.BRepApprox module

class BRepApprox_Approx(*args)

Bases: object

Return type:None
IsDone()
Return type:bool
NbMultiCurves()
Return type:int
SetParameters()
Parameters:
  • Tol3d (float) –
  • Tol2d (float) –
  • DegMin (int) –
  • DegMax (int) –
  • NbIterMax (int) –
  • ApproxWithTangency (bool) – default value is Standard_True
  • Parametrization (Approx_ParametrizationType) – default value is Approx_ChordLength
  • Tol3d
  • Tol2d
  • RelativeTol (bool) –
  • DegMin
  • DegMax
  • NbIterMax
  • NbPntMax (int) –
  • ApproxWithTangency – default value is Standard_True
  • Parametrization – default value is Approx_ChordLength
Return type:

None

Return type:

None

TolReached2d()
Return type:float
TolReached3d()
Return type:float
Value()
Parameters:Index (int) –
Return type:AppParCurves_MultiBSpCurve
thisown

The membership flag

class BRepApprox_ApproxLine(*args)

Bases: OCC.MMgt.MMgt_TShared

Parameters:
  • CurveXYZ (Handle_Geom_BSplineCurve &) –
  • CurveUV1 (Handle_Geom2d_BSplineCurve &) –
  • CurveUV2 (Handle_Geom2d_BSplineCurve &) –
  • lin (Handle_IntSurf_LineOn2S &) –
  • Tang (bool) –
Return type:

None

Return type:

None

GetHandle()
NbPnts()
Return type:int
Point()
Parameters:Index (int) –
Return type:IntSurf_PntOn2S
thisown

The membership flag

class BRepApprox_BSpGradient_BFGSOfMyBSplGradientOfTheComputeLineOfApprox(*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 BRepApprox_BSpParFunctionOfMyBSplGradientOfTheComputeLineOfApprox(*args)

Bases: OCC.math.math_MultipleVarFunctionWithGradient

Parameters:
  • SSP (BRepApprox_TheMultiLineOfApprox &) –
  • 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 BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox(*args)

Bases: object

Parameters:
  • SSP (BRepApprox_TheMultiLineOfApprox &) –
  • 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 BRepApprox_Gradient_BFGSOfMyGradientOfTheComputeLineBezierOfApprox(*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 BRepApprox_Gradient_BFGSOfMyGradientbisOfTheComputeLineOfApprox(*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 BRepApprox_MyBSplGradientOfTheComputeLineOfApprox(*args)

Bases: object

Parameters:
  • SSP (BRepApprox_TheMultiLineOfApprox &) –
  • 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 BRepApprox_MyGradientOfTheComputeLineBezierOfApprox(*args)

Bases: object

Parameters:
  • SSP (BRepApprox_TheMultiLineOfApprox &) –
  • 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 BRepApprox_MyGradientbisOfTheComputeLineOfApprox(*args)

Bases: object

Parameters:
  • SSP (BRepApprox_TheMultiLineOfApprox &) –
  • 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 BRepApprox_ParFunctionOfMyGradientOfTheComputeLineBezierOfApprox(*args)

Bases: OCC.math.math_MultipleVarFunctionWithGradient

Parameters:
  • SSP (BRepApprox_TheMultiLineOfApprox &) –
  • 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 BRepApprox_ParFunctionOfMyGradientbisOfTheComputeLineOfApprox(*args)

Bases: OCC.math.math_MultipleVarFunctionWithGradient

Parameters:
  • SSP (BRepApprox_TheMultiLineOfApprox &) –
  • 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 BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox(*args)

Bases: object

Parameters:
  • SSP (BRepApprox_TheMultiLineOfApprox &) –
  • 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 BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox(*args)

Bases: object

Parameters:
  • SSP (BRepApprox_TheMultiLineOfApprox &) –
  • 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 BRepApprox_ResConstraintOfMyGradientOfTheComputeLineBezierOfApprox(*args)

Bases: object

Parameters:
  • SSP (BRepApprox_TheMultiLineOfApprox &) –
  • 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 (BRepApprox_TheMultiLineOfApprox &) –
  • 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 BRepApprox_ResConstraintOfMyGradientbisOfTheComputeLineOfApprox(*args)

Bases: object

Parameters:
  • SSP (BRepApprox_TheMultiLineOfApprox &) –
  • 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 (BRepApprox_TheMultiLineOfApprox &) –
  • 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 BRepApprox_TheComputeLineBezierOfApprox(*args)

Bases: object

Parameters:
  • Line (BRepApprox_TheMultiLineOfApprox &) –
  • 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 (BRepApprox_TheMultiLineOfApprox &) –
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:
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 BRepApprox_TheComputeLineOfApprox(*args)

Bases: object

Parameters:
  • Line (BRepApprox_TheMultiLineOfApprox &) –
  • 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 (BRepApprox_TheMultiLineOfApprox &) –
Return type:None
IsAllApproximated()
Return type:bool
IsToleranceReached()
Return type:bool
Parameters()
Return type:TColStd_Array1OfReal
Perform()
Parameters:Line (BRepApprox_TheMultiLineOfApprox &) –
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:
Return type:

None

Value()
Return type:AppParCurves_MultiBSpCurve
thisown

The membership flag

class BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox(*args)

Bases: OCC.math.math_FunctionSetWithDerivatives

Return type:

None

Parameters:
  • S1 (BRepAdaptor_Surface &) –
  • S2 (BRepAdaptor_Surface &) –
Return type:

None

AuxillarSurface1()
Return type:BRepAdaptor_Surface
AuxillarSurface2()
Return type:BRepAdaptor_Surface
ComputeParameters()
Parameters:
  • ChoixIso (IntImp_ConstIsoparametric) –
  • Param (TColStd_Array1OfReal &) –
  • UVap (math_Vector &) –
  • BornInf (math_Vector &) –
  • BornSup (math_Vector &) –
  • Tolerance (math_Vector &) –
Return type:

None

Direction()
Return type:gp_Dir
DirectionOnS1()
Return type:gp_Dir2d
DirectionOnS2()
Return type:gp_Dir2d
IsTangent()
Parameters:
  • UVap (math_Vector &) –
  • Param (TColStd_Array1OfReal &) –
  • BestChoix (IntImp_ConstIsoparametric &) –
Return type:

bool

Point()
Return type:gp_Pnt
Root()
Return type:float
thisown

The membership flag

class BRepApprox_TheImpPrmSvSurfacesOfApprox(*args)

Bases: OCC.ApproxInt.ApproxInt_SvSurfaces

Parameters:
  • Surf1 (IntSurf_Quadric &) –
  • Surf2 (BRepAdaptor_Surface &) –
  • Surf1
  • Surf2
Return type:

None

Return type:

None

thisown

The membership flag

class BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox(*args)

Bases: object

Return type:

None

Parameters:
  • Param (TColStd_Array1OfReal &) –
  • S1 (BRepAdaptor_Surface &) –
  • S2 (BRepAdaptor_Surface &) –
  • TolTangency (float) –
  • S1
  • S2
  • TolTangency
Return type:

None

Return type:

None

Direction()
Return type:gp_Dir
DirectionOnS1()
Return type:gp_Dir2d
DirectionOnS2()
Return type:gp_Dir2d
Function()
Return type:BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox
IsDone()
Return type:bool
IsEmpty()
Return type:bool
IsTangent()
Return type:bool
Perform()
Parameters:
  • Param (TColStd_Array1OfReal &) –
  • Rsnld (math_FunctionSetRoot &) –
  • Param
  • Rsnld
  • ChoixIso (IntImp_ConstIsoparametric) –
Return type:

IntImp_ConstIsoparametric

Return type:

IntImp_ConstIsoparametric

Point()
Return type:IntSurf_PntOn2S
thisown

The membership flag

class BRepApprox_TheMultiLineOfApprox(*args)

Bases: object

Parameters:
  • line (Handle_BRepApprox_ApproxLine &) –
  • PtrSvSurfaces (Standard_Address) –
  • NbP3d (int) –
  • NbP2d (int) –
  • xo (float) –
  • ax (float) –
  • yo (float) –
  • ay (float) –
  • zo (float) –
  • az (float) –
  • u1o (float) –
  • a1u (float) –
  • v1o (float) –
  • a1v (float) –
  • u2o (float) –
  • a2u (float) –
  • v2o (float) –
  • a2v (float) –
  • P2DOnFirst (bool) –
  • IndMin (int) – default value is 0
  • IndMax (int) – default value is 0
  • line
  • NbP3d
  • NbP2d
  • xo
  • ax
  • yo
  • ay
  • zo
  • az
  • u1o
  • a1u
  • v1o
  • a1v
  • u2o
  • a2u
  • v2o
  • a2v
  • P2DOnFirst
  • IndMin – default value is 0
  • IndMax – default value is 0
Return type:

None

Return type:

None

FirstPoint()
Return type:int
LastPoint()
Return type:int
MakeMLBetween()
Parameters:
  • Low (int) –
  • High (int) –
  • NbPointsToInsert (int) –
Return type:

BRepApprox_TheMultiLineOfApprox

NbP2d()
Return type:int
NbP3d()
Return type:int
Tangency()
Parameters:
Return type:

bool

Return type:

bool

Return type:

bool

Value()
Parameters:
Return type:

None

Return type:

None

Return type:

None

WhatStatus()
Return type:Approx_Status
thisown

The membership flag

class BRepApprox_TheMultiLineToolOfApprox

Bases: object

static Curvature(*args)
Parameters:
Return type:

bool

Return type:

bool

Return type:

bool

static FirstPoint(*args)
Parameters:ML (BRepApprox_TheMultiLineOfApprox &) –
Return type:int
static LastPoint(*args)
Parameters:ML (BRepApprox_TheMultiLineOfApprox &) –
Return type:int
static MakeMLBetween(*args)
Parameters:
  • ML (BRepApprox_TheMultiLineOfApprox &) –
  • I1 (int) –
  • I2 (int) –
  • NbPMin (int) –
Return type:

BRepApprox_TheMultiLineOfApprox

static NbP2d(*args)
Parameters:ML (BRepApprox_TheMultiLineOfApprox &) –
Return type:int
static NbP3d(*args)
Parameters:ML (BRepApprox_TheMultiLineOfApprox &) –
Return type:int
static Tangency(*args)
Parameters:
Return type:

bool

Return type:

bool

Return type:

bool

static Value(*args)
Parameters:
Return type:

void

Return type:

void

Return type:

void

static WhatStatus(*args)
Parameters:
  • ML (BRepApprox_TheMultiLineOfApprox &) –
  • I1 (int) –
  • I2 (int) –
Return type:

Approx_Status

thisown

The membership flag

BRepApprox_TheMultiLineToolOfApprox_Curvature(*args)
Parameters:
Return type:

bool

Return type:

bool

Return type:

bool

BRepApprox_TheMultiLineToolOfApprox_FirstPoint(*args)
Parameters:ML (BRepApprox_TheMultiLineOfApprox &) –
Return type:int
BRepApprox_TheMultiLineToolOfApprox_LastPoint(*args)
Parameters:ML (BRepApprox_TheMultiLineOfApprox &) –
Return type:int
BRepApprox_TheMultiLineToolOfApprox_MakeMLBetween(*args)
Parameters:
  • ML (BRepApprox_TheMultiLineOfApprox &) –
  • I1 (int) –
  • I2 (int) –
  • NbPMin (int) –
Return type:

BRepApprox_TheMultiLineOfApprox

BRepApprox_TheMultiLineToolOfApprox_NbP2d(*args)
Parameters:ML (BRepApprox_TheMultiLineOfApprox &) –
Return type:int
BRepApprox_TheMultiLineToolOfApprox_NbP3d(*args)
Parameters:ML (BRepApprox_TheMultiLineOfApprox &) –
Return type:int
BRepApprox_TheMultiLineToolOfApprox_Tangency(*args)
Parameters:
Return type:

bool

Return type:

bool

Return type:

bool

BRepApprox_TheMultiLineToolOfApprox_Value(*args)
Parameters:
Return type:

void

Return type:

void

Return type:

void

BRepApprox_TheMultiLineToolOfApprox_WhatStatus(*args)
Parameters:
  • ML (BRepApprox_TheMultiLineOfApprox &) –
  • I1 (int) –
  • I2 (int) –
Return type:

Approx_Status

class BRepApprox_ThePrmPrmSvSurfacesOfApprox(*args)

Bases: OCC.ApproxInt.ApproxInt_SvSurfaces

Parameters:
  • Surf1 (BRepAdaptor_Surface &) –
  • Surf2 (BRepAdaptor_Surface &) –
Return type:

None

thisown

The membership flag

class BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox(*args)

Bases: OCC.math.math_FunctionSetWithDerivatives

Return type:

None

Parameters:
  • PS (BRepAdaptor_Surface &) –
  • IS (IntSurf_Quadric &) –
  • IS
Return type:

None

Return type:

None

Direction2d()
Return type:gp_Dir2d
Direction3d()
Return type:gp_Vec
ISurface()
Return type:IntSurf_Quadric
IsTangent()
Return type:bool
PSurface()
Return type:BRepAdaptor_Surface
Point()
Return type:gp_Pnt
Root()
Return type:float
Set()
Parameters:
  • PS (BRepAdaptor_Surface &) –
  • Tolerance (float) –
Return type:

None

Return type:

None

SetImplicitSurface()
Parameters:IS (IntSurf_Quadric &) –
Return type:None
Tolerance()
Return type:float
thisown

The membership flag

class Handle_BRepApprox_ApproxLine(*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