OCC.GeomInt module

Provides intersections on between two surfaces of Geom.The result are curves from Geom.

class GeomInt_BSpGradient_BFGSOfMyBSplGradientOfTheComputeLineOfWLApprox(*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 GeomInt_BSpParFunctionOfMyBSplGradientOfTheComputeLineOfWLApprox(*args)

Bases: OCC.math.math_MultipleVarFunctionWithGradient

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

Bases: object

Parameters:
  • SSP (GeomInt_TheMultiLineOfWLApprox &) –
  • 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 GeomInt_Gradient_BFGSOfMyGradientOfTheComputeLineBezierOfWLApprox(*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 GeomInt_Gradient_BFGSOfMyGradientbisOfTheComputeLineOfWLApprox(*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 GeomInt_IntSS(*args)

Bases: object

Return type:None
  • performs general intersection of two surfaces just now
Parameters:
  • S1 (Handle_Geom_Surface &) –
  • S2 (Handle_Geom_Surface &) –
  • Tol (float) –
  • Approx (bool) – default value is Standard_True
  • ApproxS1 (bool) – default value is Standard_False
  • ApproxS2 (bool) – default value is Standard_False
Return type:

None

Boundary()
Parameters:Index (int) –
Return type:Handle_Geom_Curve
static BuildPCurves()
  • creates 2D-curve on given surface from given 3D-curve
Parameters:
  • f (float) –
  • l (float) –
  • Tol (float &) –
  • S (Handle_Geom_Surface &) –
  • C (Handle_Geom_Curve &) –
  • C2d (Handle_Geom2d_Curve &) –
Return type:

void

HasLineOnS1()
Parameters:Index (int) –
Return type:bool
HasLineOnS2()
Parameters:Index (int) –
Return type:bool
IsDone()
Return type:bool
Line()
Parameters:Index (int) –
Return type:Handle_Geom_Curve
LineOnS1()
Parameters:Index (int) –
Return type:Handle_Geom2d_Curve
LineOnS2()
Parameters:Index (int) –
Return type:Handle_Geom2d_Curve
NbBoundaries()
Return type:int
NbLines()
Return type:int
NbPoints()
Return type:int
Perform()
  • general intersection of two surfaces
Parameters:
  • S1 (Handle_Geom_Surface &) –
  • S2 (Handle_Geom_Surface &) –
  • Tol (float) –
  • Approx (bool) – default value is Standard_True
  • ApproxS1 (bool) – default value is Standard_False
  • ApproxS2 (bool) – default value is Standard_False
Return type:

None

  • intersection of adapted surfaces
Parameters:
  • HS1 (Handle_GeomAdaptor_HSurface &) –
  • HS2 (Handle_GeomAdaptor_HSurface &) –
  • Tol (float) –
  • Approx (bool) – default value is Standard_True
  • ApproxS1 (bool) – default value is Standard_False
  • ApproxS2 (bool) – default value is Standard_False
Return type:

None

  • general intersection using a starting point
Parameters:
  • S1 (Handle_Geom_Surface &) –
  • S2 (Handle_Geom_Surface &) –
  • Tol (float) –
  • U1 (float) –
  • V1 (float) –
  • U2 (float) –
  • V2 (float) –
  • Approx (bool) – default value is Standard_True
  • ApproxS1 (bool) – default value is Standard_False
  • ApproxS2 (bool) – default value is Standard_False
Return type:

None

  • intersection of adapted surfaces using a starting point
Parameters:
  • HS1 (Handle_GeomAdaptor_HSurface &) –
  • HS2 (Handle_GeomAdaptor_HSurface &) –
  • Tol (float) –
  • U1 (float) –
  • V1 (float) –
  • U2 (float) –
  • V2 (float) –
  • Approx (bool) – default value is Standard_True
  • ApproxS1 (bool) – default value is Standard_False
  • ApproxS2 (bool) – default value is Standard_False
Return type:

None

Pnt2d()
Parameters:
  • Index (int) –
  • OnFirst (bool) –
Return type:

gp_Pnt2d

Point()
Parameters:Index (int) –
Return type:gp_Pnt
TolReached2d()
Return type:float
TolReached3d()
Return type:float
static TreatRLine()
  • converts RLine to Geom(2d)_Curve.
Parameters:
  • theRL (Handle_IntPatch_RLine &) –
  • theHS1 (Handle_GeomAdaptor_HSurface &) –
  • theHS2 (Handle_GeomAdaptor_HSurface &) –
  • theC3d (Handle_Geom_Curve &) –
  • theC2d1 (Handle_Geom2d_Curve &) –
  • theC2d2 (Handle_Geom2d_Curve &) –
  • theTolReached (float &) –
Return type:

void

static TrimILineOnSurfBoundaries()
  • puts into theArrayOfParameters the parameters of intersection points of given theC2d1 and theC2d2 curves with the boundaries of the source surface.
Parameters:
  • theC2d1 (Handle_Geom2d_Curve &) –
  • theC2d2 (Handle_Geom2d_Curve &) –
  • theBound1 (Bnd_Box2d &) –
  • theBound2 (Bnd_Box2d &) –
  • theArrayOfParameters (GeomInt_VectorOfReal &) –
Return type:

void

thisown

The membership flag

GeomInt_IntSS_BuildPCurves()
  • creates 2D-curve on given surface from given 3D-curve
Parameters:
  • f (float) –
  • l (float) –
  • Tol (float &) –
  • S (Handle_Geom_Surface &) –
  • C (Handle_Geom_Curve &) –
  • C2d (Handle_Geom2d_Curve &) –
Return type:

void

GeomInt_IntSS_TreatRLine()
  • converts RLine to Geom(2d)_Curve.
Parameters:
  • theRL (Handle_IntPatch_RLine &) –
  • theHS1 (Handle_GeomAdaptor_HSurface &) –
  • theHS2 (Handle_GeomAdaptor_HSurface &) –
  • theC3d (Handle_Geom_Curve &) –
  • theC2d1 (Handle_Geom2d_Curve &) –
  • theC2d2 (Handle_Geom2d_Curve &) –
  • theTolReached (float &) –
Return type:

void

GeomInt_IntSS_TrimILineOnSurfBoundaries()
  • puts into theArrayOfParameters the parameters of intersection points of given theC2d1 and theC2d2 curves with the boundaries of the source surface.
Parameters:
  • theC2d1 (Handle_Geom2d_Curve &) –
  • theC2d2 (Handle_Geom2d_Curve &) –
  • theBound1 (Bnd_Box2d &) –
  • theBound2 (Bnd_Box2d &) –
  • theArrayOfParameters (GeomInt_VectorOfReal &) –
Return type:

void

class GeomInt_LineConstructor(*args)

Bases: object

  • Empty constructor
Return type:None
IsDone()
  • Returns True if splitting was successful
Return type:bool
Load()
  • Initializes me by two surfaces and corresponding tools which represent boundaries of surfaces
Parameters:
  • D1 (Handle_Adaptor3d_TopolTool &) –
  • D2 (Handle_Adaptor3d_TopolTool &) –
  • S1 (Handle_GeomAdaptor_HSurface &) –
  • S2 (Handle_GeomAdaptor_HSurface &) –
Return type:

None

NbParts()
  • Returns number of splits
Return type:int
Part()
  • Return first and last parameters for given index of split
Parameters:
  • I (int) –
  • WFirst (float &) –
  • WLast (float &) –
Return type:

None

Perform()
  • Splits line
Parameters:L (Handle_IntPatch_Line &) –
Return type:None
thisown

The membership flag

class GeomInt_LineTool

Bases: object

static FirstParameter()
Parameters:L (Handle_IntPatch_Line &) –
Return type:float
static LastParameter()
Parameters:L (Handle_IntPatch_Line &) –
Return type:float
static NbVertex()
Parameters:L (Handle_IntPatch_Line &) –
Return type:int
static Vertex()
Parameters:
  • L (Handle_IntPatch_Line &) –
  • I (int) –
Return type:

IntPatch_Point

thisown

The membership flag

GeomInt_LineTool_FirstParameter()
Parameters:L (Handle_IntPatch_Line &) –
Return type:float
GeomInt_LineTool_LastParameter()
Parameters:L (Handle_IntPatch_Line &) –
Return type:float
GeomInt_LineTool_NbVertex()
Parameters:L (Handle_IntPatch_Line &) –
Return type:int
GeomInt_LineTool_Vertex()
Parameters:
  • L (Handle_IntPatch_Line &) –
  • I (int) –
Return type:

IntPatch_Point

class GeomInt_MyBSplGradientOfTheComputeLineOfWLApprox(*args)

Bases: object

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

Bases: object

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

Bases: object

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

Bases: OCC.math.math_MultipleVarFunctionWithGradient

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

Bases: OCC.math.math_MultipleVarFunctionWithGradient

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

Bases: object

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

Bases: object

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

Bases: object

Return type:

None

Parameters:
  • P (float) –
  • Or1 (TopAbs_Orientation) –
  • Or2 (TopAbs_Orientation) –
Return type:

None

Orientation1()
Return type:TopAbs_Orientation
Orientation2()
Return type:TopAbs_Orientation
Parameter()
Return type:float
SetOrientation1()
Parameters:Or (TopAbs_Orientation) –
Return type:None
SetOrientation2()
Parameters:Or (TopAbs_Orientation) –
Return type:None
thisown

The membership flag

class GeomInt_ResConstraintOfMyGradientOfTheComputeLineBezierOfWLApprox(*args)

Bases: object

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

Bases: object

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

Bases: OCC.TCollection.TCollection_SeqNode

Parameters:
  • I (GeomInt_ParameterAndOrientation &) –
  • n (TCollection_SeqNodePtr &) –
  • p (TCollection_SeqNodePtr &) –
Return type:

None

GetHandle()
Value()
Return type:GeomInt_ParameterAndOrientation
thisown

The membership flag

class GeomInt_SequenceOfParameterAndOrientation(*args)

Bases: OCC.TCollection.TCollection_BaseSequence

Return type:None
Parameters:Other (GeomInt_SequenceOfParameterAndOrientation &) –
Return type:None
Append()
Parameters:
  • T (GeomInt_ParameterAndOrientation &) –
  • S (GeomInt_SequenceOfParameterAndOrientation &) –
Return type:

None

Return type:

None

Assign()
Parameters:Other (GeomInt_SequenceOfParameterAndOrientation &) –
Return type:GeomInt_SequenceOfParameterAndOrientation
ChangeValue()
Parameters:Index (int) –
Return type:GeomInt_ParameterAndOrientation
Clear()
Return type:None
First()
Return type:GeomInt_ParameterAndOrientation
InsertAfter()
Parameters:
  • Index (int) –
  • T (GeomInt_ParameterAndOrientation &) –
  • Index
  • S (GeomInt_SequenceOfParameterAndOrientation &) –
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • Index (int) –
  • T (GeomInt_ParameterAndOrientation &) –
  • Index
  • S (GeomInt_SequenceOfParameterAndOrientation &) –
Return type:

None

Return type:

None

Last()
Return type:GeomInt_ParameterAndOrientation
Prepend()
Parameters:
  • T (GeomInt_ParameterAndOrientation &) –
  • S (GeomInt_SequenceOfParameterAndOrientation &) –
Return type:

None

Return type:

None

Remove()
Parameters:
  • Index (int) –
  • FromIndex (int) –
  • ToIndex (int) –
Return type:

None

Return type:

None

Set()
Parameters:Other (GeomInt_SequenceOfParameterAndOrientation &) –
Return type:GeomInt_SequenceOfParameterAndOrientation
SetValue()
Parameters:
  • Index (int) –
  • I (GeomInt_ParameterAndOrientation &) –
Return type:

None

Split()
Parameters:
  • Index (int) –
  • Sub (GeomInt_SequenceOfParameterAndOrientation &) –
Return type:

None

Value()
Parameters:Index (int) –
Return type:GeomInt_ParameterAndOrientation
thisown

The membership flag

class GeomInt_TheComputeLineBezierOfWLApprox(*args)

Bases: object

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

Bases: object

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

Bases: OCC.math.math_FunctionSetWithDerivatives

Return type:

None

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

None

AuxillarSurface1()
Return type:Handle_Adaptor3d_HSurface
AuxillarSurface2()
Return type:Handle_Adaptor3d_HSurface
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 GeomInt_TheImpPrmSvSurfacesOfWLApprox(*args)

Bases: OCC.ApproxInt.ApproxInt_SvSurfaces

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

None

Return type:

None

thisown

The membership flag

class GeomInt_TheInt2SOfThePrmPrmSvSurfacesOfWLApprox(*args)

Bases: object

Return type:

None

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

None

Return type:

None

ChangePoint()
Return type:IntSurf_PntOn2S
Direction()
Return type:gp_Dir
DirectionOnS1()
Return type:gp_Dir2d
DirectionOnS2()
Return type:gp_Dir2d
Function()
Return type:GeomInt_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfWLApprox
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 GeomInt_TheMultiLineOfWLApprox(*args)

Bases: object

Parameters:
  • line (Handle_IntPatch_WLine &) –
  • 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

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

GeomInt_TheMultiLineOfWLApprox

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 GeomInt_TheMultiLineToolOfWLApprox

Bases: object

static Curvature()
Parameters:
Return type:

bool

Return type:

bool

Return type:

bool

static Dump()
Parameters:ML (GeomInt_TheMultiLineOfWLApprox &) –
Return type:void
static FirstPoint()
Parameters:ML (GeomInt_TheMultiLineOfWLApprox &) –
Return type:int
static LastPoint()
Parameters:ML (GeomInt_TheMultiLineOfWLApprox &) –
Return type:int
static MakeMLBetween(*args) → OCC.GeomInt.GeomInt_TheMultiLineOfWLApprox
Parameters:
  • ML (GeomInt_TheMultiLineOfWLApprox &) –
  • I1 (int) –
  • I2 (int) –
  • NbPMin (int) –
Return type:

GeomInt_TheMultiLineOfWLApprox

static NbP2d()
Parameters:ML (GeomInt_TheMultiLineOfWLApprox &) –
Return type:int
static NbP3d()
Parameters:ML (GeomInt_TheMultiLineOfWLApprox &) –
Return type:int
static Tangency()
Parameters:
Return type:

bool

Return type:

bool

Return type:

bool

static Value()
Parameters:
Return type:

void

Return type:

void

Return type:

void

static WhatStatus()
Parameters:
  • ML (GeomInt_TheMultiLineOfWLApprox &) –
  • I1 (int) –
  • I2 (int) –
Return type:

Approx_Status

thisown

The membership flag

GeomInt_TheMultiLineToolOfWLApprox_Curvature()
Parameters:
Return type:

bool

Return type:

bool

Return type:

bool

GeomInt_TheMultiLineToolOfWLApprox_Dump()
Parameters:ML (GeomInt_TheMultiLineOfWLApprox &) –
Return type:void
GeomInt_TheMultiLineToolOfWLApprox_FirstPoint()
Parameters:ML (GeomInt_TheMultiLineOfWLApprox &) –
Return type:int
GeomInt_TheMultiLineToolOfWLApprox_LastPoint()
Parameters:ML (GeomInt_TheMultiLineOfWLApprox &) –
Return type:int
GeomInt_TheMultiLineToolOfWLApprox_MakeMLBetween(*args) → OCC.GeomInt.GeomInt_TheMultiLineOfWLApprox
Parameters:
  • ML (GeomInt_TheMultiLineOfWLApprox &) –
  • I1 (int) –
  • I2 (int) –
  • NbPMin (int) –
Return type:

GeomInt_TheMultiLineOfWLApprox

GeomInt_TheMultiLineToolOfWLApprox_NbP2d()
Parameters:ML (GeomInt_TheMultiLineOfWLApprox &) –
Return type:int
GeomInt_TheMultiLineToolOfWLApprox_NbP3d()
Parameters:ML (GeomInt_TheMultiLineOfWLApprox &) –
Return type:int
GeomInt_TheMultiLineToolOfWLApprox_Tangency()
Parameters:
Return type:

bool

Return type:

bool

Return type:

bool

GeomInt_TheMultiLineToolOfWLApprox_Value()
Parameters:
Return type:

void

Return type:

void

Return type:

void

GeomInt_TheMultiLineToolOfWLApprox_WhatStatus()
Parameters:
  • ML (GeomInt_TheMultiLineOfWLApprox &) –
  • I1 (int) –
  • I2 (int) –
Return type:

Approx_Status

class GeomInt_ThePrmPrmSvSurfacesOfWLApprox(*args)

Bases: OCC.ApproxInt.ApproxInt_SvSurfaces

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

None

thisown

The membership flag

class GeomInt_TheZerImpFuncOfTheImpPrmSvSurfacesOfWLApprox(*args)

Bases: OCC.math.math_FunctionSetWithDerivatives

Return type:

None

Parameters:
  • PS (Handle_Adaptor3d_HSurface &) –
  • 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:Handle_Adaptor3d_HSurface
Point()
Return type:gp_Pnt
Root()
Return type:float
Set()
Parameters:
  • PS (Handle_Adaptor3d_HSurface &) –
  • 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_GeomInt_SequenceNodeOfSequenceOfParameterAndOrientation(*args)

Bases: OCC.TCollection.Handle_TCollection_SeqNode

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()
class geomint

Bases: object

static AdjustPeriodic()
  • Adjusts the parameter <thePar> to the range [theParMin, theParMax]
Parameters:
  • thePar (float) –
  • theParMin (float) –
  • theParMax (float) –
  • thePeriod (float) –
  • theNewPar (float &) –
  • theOffset (float &) –
  • theEps (float) – default value is 0.0
Return type:

bool

thisown

The membership flag

geomint_AdjustPeriodic()
  • Adjusts the parameter <thePar> to the range [theParMin, theParMax]
Parameters:
  • thePar (float) –
  • theParMin (float) –
  • theParMax (float) –
  • thePeriod (float) –
  • theNewPar (float &) –
  • theOffset (float &) –
  • theEps (float) – default value is 0.0
Return type:

bool

new_instancemethod(func, inst, cls)
register_handle(handle, base_object)

Inserts the handle into the base object to prevent memory corruption in certain cases