OCC.GeomFill module

class GeomFill_AppSurf(*args)

Bases: OCC.AppBlend.AppBlend_Approx

Return type:

None

Parameters:
  • Degmin (int) –
  • Degmax (int) –
  • Tol3d (float) –
  • Tol2d (float) –
  • NbIt (int) –
  • KnownParameters (bool) – default value is Standard_False
Return type:

None

Continuity()
Return type:GeomAbs_Shape
CriteriumWeight()
Parameters:
  • W1 (float &) –
  • W2 (float &) –
  • W3 (float &) –
Return type:

None

Init()
Parameters:
  • Degmin (int) –
  • Degmax (int) –
  • Tol3d (float) –
  • Tol2d (float) –
  • NbIt (int) –
  • KnownParameters (bool) – default value is Standard_False
Return type:

None

ParType()
Return type:Approx_ParametrizationType
Perform()
Parameters:
  • Lin (Handle_GeomFill_Line &) –
  • SecGen (GeomFill_SectionGenerator &) –
  • SpApprox (bool) – default value is Standard_False
  • Lin
  • SecGen
  • NbMaxP (int) –
Return type:

None

Return type:

None

PerformSmoothing()
Parameters:
  • Lin (Handle_GeomFill_Line &) –
  • SecGen (GeomFill_SectionGenerator &) –
Return type:

None

SetContinuity()
Parameters:C (GeomAbs_Shape) –
Return type:None
SetCriteriumWeight()
Parameters:
Return type:

None

SetParType()
Parameters:ParType (Approx_ParametrizationType) –
Return type:None
thisown

The membership flag

class GeomFill_AppSweep(*args)

Bases: OCC.AppBlend.AppBlend_Approx

Return type:

None

Parameters:
  • Degmin (int) –
  • Degmax (int) –
  • Tol3d (float) –
  • Tol2d (float) –
  • NbIt (int) –
  • KnownParameters (bool) – default value is Standard_False
Return type:

None

Continuity()
Return type:GeomAbs_Shape
CriteriumWeight()
Parameters:
  • W1 (float &) –
  • W2 (float &) –
  • W3 (float &) –
Return type:

None

Init()
Parameters:
  • Degmin (int) –
  • Degmax (int) –
  • Tol3d (float) –
  • Tol2d (float) –
  • NbIt (int) –
  • KnownParameters (bool) – default value is Standard_False
Return type:

None

ParType()
Return type:Approx_ParametrizationType
Perform()
Parameters:
  • Lin (Handle_GeomFill_Line &) –
  • SecGen (GeomFill_SweepSectionGenerator &) –
  • SpApprox (bool) – default value is Standard_False
  • Lin
  • SecGen
  • NbMaxP (int) –
Return type:

None

Return type:

None

PerformSmoothing()
Parameters:
  • Lin (Handle_GeomFill_Line &) –
  • SecGen (GeomFill_SweepSectionGenerator &) –
Return type:

None

SetContinuity()
Parameters:C (GeomAbs_Shape) –
Return type:None
SetCriteriumWeight()
Parameters:
Return type:

None

SetParType()
Parameters:ParType (Approx_ParametrizationType) –
Return type:None
thisown

The membership flag

class GeomFill_Array1OfLocationLaw(*args)

Bases: object

Parameters:
  • Low (int) –
  • Up (int) –
  • Item (Handle_GeomFill_LocationLaw &) –
  • Low
  • Up
Return type:

None

Return type:

None

Assign()
Parameters:Other (GeomFill_Array1OfLocationLaw &) –
Return type:GeomFill_Array1OfLocationLaw
ChangeValue()
Parameters:Index (int) –
Return type:Handle_GeomFill_LocationLaw
Destroy()
Return type:None
Init()
Parameters:V (Handle_GeomFill_LocationLaw &) –
Return type:None
IsAllocated()
Return type:bool
Length()
Return type:int
Lower()
Return type:int
Set()
Parameters:Other (GeomFill_Array1OfLocationLaw &) –
Return type:GeomFill_Array1OfLocationLaw
SetValue()
Parameters:
  • Index (int) –
  • Value (Handle_GeomFill_LocationLaw &) –
Return type:

None

Upper()
Return type:int
Value()
Parameters:Index (int) –
Return type:Handle_GeomFill_LocationLaw
thisown

The membership flag

class GeomFill_Array1OfSectionLaw(*args)

Bases: object

Parameters:
  • Low (int) –
  • Up (int) –
  • Item (Handle_GeomFill_SectionLaw &) –
  • Low
  • Up
Return type:

None

Return type:

None

Assign()
Parameters:Other (GeomFill_Array1OfSectionLaw &) –
Return type:GeomFill_Array1OfSectionLaw
ChangeValue()
Parameters:Index (int) –
Return type:Handle_GeomFill_SectionLaw
Destroy()
Return type:None
Init()
Parameters:V (Handle_GeomFill_SectionLaw &) –
Return type:None
IsAllocated()
Return type:bool
Length()
Return type:int
Lower()
Return type:int
Set()
Parameters:Other (GeomFill_Array1OfSectionLaw &) –
Return type:GeomFill_Array1OfSectionLaw
SetValue()
Parameters:
  • Index (int) –
  • Value (Handle_GeomFill_SectionLaw &) –
Return type:

None

Upper()
Return type:int
Value()
Parameters:Index (int) –
Return type:Handle_GeomFill_SectionLaw
thisown

The membership flag

class GeomFill_BSplineCurves(*args)

Bases: object

  • Constructs a default BSpline surface framework.
Return type:

None

Parameters:
  • C1 (Handle_Geom_BSplineCurve &) –
  • C2 (Handle_Geom_BSplineCurve &) –
  • C3 (Handle_Geom_BSplineCurve &) –
  • C4 (Handle_Geom_BSplineCurve &) –
  • Type (GeomFill_FillingStyle) –
  • C1
  • C2
  • C3
  • Type
Return type:

None

Return type:

None

  • Constructs a framework for building a BSpline surface from either - the four contiguous BSpline curves, C1, C2, C3 and C4, or - the three contiguous BSpline curves, C1, C2 and C3, or - the two contiguous BSpline curves, C1 and C2. The type of filling style Type to be used is one of: - GeomFill_Stretch - the style with the flattest patch - GeomFill_Coons - a rounded style of patch with less depth than that of Curved - GeomFill_Curved - the style with the most rounded patch.Constructs a framework for building a BSpline surface common to the two BSpline curves, C1 and C2. Exceptions Standard_ConstructionError if the curves are not contiguous.
Parameters:
  • C1 (Handle_Geom_BSplineCurve &) –
  • C2 (Handle_Geom_BSplineCurve &) –
  • Type (GeomFill_FillingStyle) –
Return type:

None

Init()
  • if the curves cannot be joined
Parameters:
  • C1 (Handle_Geom_BSplineCurve &) –
  • C2 (Handle_Geom_BSplineCurve &) –
  • C3 (Handle_Geom_BSplineCurve &) –
  • C4 (Handle_Geom_BSplineCurve &) –
  • Type (GeomFill_FillingStyle) –
Return type:

None

  • if the curves cannot be joined
Parameters:
  • C1 (Handle_Geom_BSplineCurve &) –
  • C2 (Handle_Geom_BSplineCurve &) –
  • C3 (Handle_Geom_BSplineCurve &) –
  • Type (GeomFill_FillingStyle) –
Return type:

None

  • Initializes or reinitializes this algorithm with two, three, or four curves - C1, C2, C3, and C4 - and Type, one of the following filling styles: - GeomFill_Stretch - the style with the flattest patch - GeomFill_Coons - a rounded style of patch with less depth than that of Curved - GeomFill_Curved - the style with the most rounded patch. Exceptions Standard_ConstructionError if the curves are not contiguous.
Parameters:
  • C1 (Handle_Geom_BSplineCurve &) –
  • C2 (Handle_Geom_BSplineCurve &) –
  • Type (GeomFill_FillingStyle) –
Return type:

None

Surface()
  • Returns the BSpline surface Surface resulting from the computation performed by this algorithm.
Return type:Handle_Geom_BSplineSurface
thisown

The membership flag

class GeomFill_BezierCurves(*args)

Bases: object

  • Constructs an empty framework for building a Bezier surface from contiguous Bezier curves. You use the Init function to define the boundaries of the surface.
Return type:None
  • Constructs a framework for building a Bezier surface from the four contiguous Bezier curves, C1, C2, C3 and C4 Raises Standard_ConstructionError if the curves are not contiguous.
Parameters:
  • C1 (Handle_Geom_BezierCurve &) –
  • C2 (Handle_Geom_BezierCurve &) –
  • C3 (Handle_Geom_BezierCurve &) –
  • C4 (Handle_Geom_BezierCurve &) –
  • Type (GeomFill_FillingStyle) –
Return type:

None

  • Constructs a framework for building a Bezier surface from the three contiguous Bezier curves, C1, C2 and C3 Raises Standard_ConstructionError if the curves are not contiguous.
Parameters:
  • C1 (Handle_Geom_BezierCurve &) –
  • C2 (Handle_Geom_BezierCurve &) –
  • C3 (Handle_Geom_BezierCurve &) –
  • Type (GeomFill_FillingStyle) –
Return type:

None

  • Constructs a framework for building a Bezier surface from the two contiguous Bezier curves, C1 and C2 Raises Standard_ConstructionError if the curves are not contiguous.
Parameters:
  • C1 (Handle_Geom_BezierCurve &) –
  • C2 (Handle_Geom_BezierCurve &) –
  • Type (GeomFill_FillingStyle) –
Return type:

None

Init()
  • if the curves cannot be joined
Parameters:
  • C1 (Handle_Geom_BezierCurve &) –
  • C2 (Handle_Geom_BezierCurve &) –
  • C3 (Handle_Geom_BezierCurve &) –
  • C4 (Handle_Geom_BezierCurve &) –
  • Type (GeomFill_FillingStyle) –
Return type:

None

  • if the curves cannot be joined
Parameters:
  • C1 (Handle_Geom_BezierCurve &) –
  • C2 (Handle_Geom_BezierCurve &) –
  • C3 (Handle_Geom_BezierCurve &) –
  • Type (GeomFill_FillingStyle) –
Return type:

None

  • Initializes or reinitializes this algorithm with two, three, or four curves - C1, C2, C3, and C4 - and Type, one of the following filling styles: - GeomFill_Stretch - the style with the flattest patch - GeomFill_Coons - a rounded style of patch with less depth than that of Curved - GeomFill_Curved - the style with the most rounded patch. Exceptions Standard_ConstructionError if the curves are not contiguous.
Parameters:
  • C1 (Handle_Geom_BezierCurve &) –
  • C2 (Handle_Geom_BezierCurve &) –
  • Type (GeomFill_FillingStyle) –
Return type:

None

Surface()
  • Returns the Bezier surface resulting from the computation performed by this algorithm.
Return type:Handle_Geom_BezierSurface
thisown

The membership flag

class GeomFill_BoundWithSurf(*args)

Bases: OCC.GeomFill.GeomFill_Boundary

  • Constructs a boundary object defined by the 3d curve CurveOnSurf. The surface to be filled along this boundary will be in the tolerance range defined by Tol3d. What’s more, at each point of CurveOnSurf, the angle between the normal to the surface to be filled along this boundary, and the normal to the surface on which CurveOnSurf lies, must not be greater than TolAng. This object is to be used as a boundary for a GeomFill_ConstrainedFilling framework. Warning CurveOnSurf is an adapted curve, that is, an object which is an interface between: - the services provided by a curve lying on a surface from the package Geom - and those required of the curve by the computation algorithm which uses it. The adapted curve is created in the following way: Handle_Geom_Surface mySurface = ... ; Handle_Geom2d_Curve myParamCurve = ... ; // where myParamCurve is a 2D curve in the parametric space of the surface mySurface Handle_GeomAdaptor_HSurface Surface = new GeomAdaptor_HSurface(mySurface); Handle_Geom2dAdaptor_HCurve ParamCurve = new Geom2dAdaptor_HCurve(myParamCurve); CurveOnSurf = Adaptor3d_CurveOnSurface(ParamCurve,Surface); The boundary is then constructed with the CurveOnSurf object: Standard_Real Tol = ... ; Standard_Real TolAng = ... ; myBoundary = GeomFill_BoundWithSurf ( CurveOnSurf, Tol, TolAng );
Parameters:
  • CurveOnSurf (Adaptor3d_CurveOnSurface &) –
  • Tol3d (float) –
  • Tolang (float) –
Return type:

None

GetHandle()
thisown

The membership flag

class GeomFill_Boundary(*args, **kwargs)

Bases: OCC.MMgt.MMgt_TShared

Bounds()
Parameters:
  • First (float &) –
  • Last (float &) –
Return type:

void

D1()
Parameters:
Return type:

void

D1Norm()
Parameters:
Return type:

void

GetHandle()
HasNormals()
Return type:bool
IsDegenerated()
Return type:bool
Norm()
Parameters:U (float) –
Return type:gp_Vec
Points()
Parameters:
Return type:

None

Reparametrize()
Parameters:
Return type:

void

Tol3d()
Return type:float
Parameters:Tol (float) –
Return type:None
Tolang()
Return type:float
Parameters:Tol (float) –
Return type:None
Value()
Parameters:U (float) –
Return type:gp_Pnt
thisown

The membership flag

class GeomFill_CircularBlendFunc(*args)

Bases: OCC.Approx.Approx_SweepFunction

  • Create a Blend with a constant radius with 2 guide-line. <FShape> sets the type of fillet surface. The – default value is Convert_TgtThetaOver2 (classical – nurbs – representation of circles). ChFi3d_QuasiAngular – corresponds to a nurbs representation of circles – which parameterisation matches the circle one. – ChFi3d_Polynomial corresponds to a polynomial – representation of circles.
Parameters:
  • Path (Handle_Adaptor3d_HCurve &) –
  • Curve1 (Handle_Adaptor3d_HCurve &) –
  • Curve2 (Handle_Adaptor3d_HCurve &) –
  • Radius (float) –
  • Polynomial (bool) – default value is Standard_False
Return type:

None

GetHandle()
thisown

The membership flag

class GeomFill_ConstantBiNormal(*args)

Bases: OCC.GeomFill.GeomFill_TrihedronLaw

Parameters:BiNormal (gp_Dir) –
Return type:None
GetHandle()
thisown

The membership flag

class GeomFill_ConstrainedFilling(*args)

Bases: object

  • Constructs an empty framework for filling a surface from boundaries. The boundaries of the surface will be defined, and the surface will be built by using the function Init. The surface will respect the following constraints: - its degree will not be greater than MaxDeg - the maximum number of segments MaxSeg which BSpline surfaces can have.
Parameters:
  • MaxDeg (int) –
  • MaxSeg (int) –
Return type:

None

Boundary()
  • Returns the bound of index i after sort.
Parameters:I (int) –
Return type:Handle_GeomFill_Boundary
CheckApprox()
  • Computes values and normals along the bound I and compare them to the approx result curves (bound and tgte field) , draw the normals and tangents.
Parameters:I (int) –
Return type:None
CheckCoonsAlgPatch()
  • Computes the fields of tangents on 30 points along the bound I, these are not the constraint tangents but gives an idea of the coonsAlgPatch regularity.
Parameters:I (int) –
Return type:None
CheckResult()
  • Computes values and normals along the bound I on both constraint surface and result surface, draw the normals, and computes the max distance between values and the max angle between normals.
Parameters:I (int) –
Return type:None
CheckTgteField()
  • Computes the fields of tangents and normals on 30 points along the bound I, draw them, and computes the max dot product that must be near than 0.
Parameters:I (int) –
Return type:None
Eval()
  • Internal use for Advmath approximation call.
Parameters:
  • W (float) –
  • Ord (int) –
  • Result (float &) –
Return type:

int

Init()
Parameters:
  • B1 (Handle_GeomFill_Boundary &) –
  • B2 (Handle_GeomFill_Boundary &) –
  • B3 (Handle_GeomFill_Boundary &) –
  • NoCheck (bool) – default value is Standard_False
Return type:

None

  • Constructs a BSpline surface filled from the series of boundaries B1, B2, B3 and, if need be, B4, which serve: - as path constraints - and optionally, as tangency constraints if they are GeomFill_BoundWithSurf curves. The boundaries may be given in any order: they are classified and if necessary, reversed and reparameterized. The surface will also respect the following constraints: - its degree will not be greater than the maximum degree defined at the time of construction of this framework, and - the maximum number of segments MaxSeg which BSpline surfaces can have
Parameters:
  • B1 (Handle_GeomFill_Boundary &) –
  • B2 (Handle_GeomFill_Boundary &) –
  • B3 (Handle_GeomFill_Boundary &) –
  • B4 (Handle_GeomFill_Boundary &) –
  • NoCheck (bool) – default value is Standard_False
Return type:

None

ReBuild()
  • Computes the new poles of the surface using the new blending functions set by several calls to SetDomain.
Return type:None
SetDomain()
  • Allows to modify domain on witch the blending function associated to the constrained boundary B will propag the influence of the field of tangency. Can be usefull to reduce influence of boundaries on whitch the Coons compatibility conditions are not respected. l is a relative value of the parametric range of B. Default value for l is 1 (used in Init). Warning: Must be called after Init with a constrained boundary used in the call to Init.
Parameters:
  • l (float) –
  • B (Handle_GeomFill_BoundWithSurf &) –
Return type:

None

Surface()
  • Returns the BSpline surface after computation of the fill by this framework.
Return type:Handle_Geom_BSplineSurface
thisown

The membership flag

class GeomFill_Coons(*args)

Bases: OCC.GeomFill.GeomFill_Filling

Return type:

None

Parameters:
Return type:

None

Return type:

None

Init()
Parameters:
Return type:

None

Return type:

None

thisown

The membership flag

class GeomFill_CoonsAlgPatch(*args)

Bases: OCC.MMgt.MMgt_TShared

  • Constructs the algorithmic patch. By Default the constructed blending functions are linear. Warning: No control is done on the bounds. B1/B3 and B2/B4 must be same range and well oriented.
Parameters:
  • B1 (Handle_GeomFill_Boundary &) –
  • B2 (Handle_GeomFill_Boundary &) –
  • B3 (Handle_GeomFill_Boundary &) –
  • B4 (Handle_GeomFill_Boundary &) –
Return type:

None

Bound()
Parameters:I (int) –
Return type:Handle_GeomFill_Boundary
Corner()
Parameters:I (int) –
Return type:gp_Pnt
D1U()
  • Computes the d/dU partial derivative on the algorithmic patch at parameters U and V.
Parameters:
Return type:

gp_Vec

D1V()
  • Computes the d/dV partial derivative on the algorithmic patch at parameters U and V.
Parameters:
Return type:

gp_Vec

DUV()
  • Computes the d2/dUdV partial derivative on the algorithmic patch made with linear blending functions at parameter U and V.
Parameters:
Return type:

gp_Vec

Func()
  • Give the blending functions.
Parameters:
  • f1 (Handle_Law_Function &) –
  • f2 (Handle_Law_Function &) –
  • I (int) –
Return type:

None

Return type:

Handle_Law_Function

GetHandle()
SetFunc()
  • Set the blending functions.
Parameters:
  • f1 (Handle_Law_Function &) –
  • f2 (Handle_Law_Function &) –
Return type:

None

Value()
  • Computes the value on the algorithmic patch at parameters U and V.
Parameters:
Return type:

gp_Pnt

thisown

The membership flag

class GeomFill_CornerState(*args)

Bases: object

Return type:None
Constraint()
Return type:None
DoKill()
Parameters:Scal (float) –
Return type:None
Gap()
Return type:float
Parameters:G (float) –
Return type:None
HasConstraint()
Return type:bool
IsToKill()
Parameters:Scal (float &) –
Return type:bool
NorAng()
Return type:float
Parameters:Ang (float) –
Return type:None
TgtAng()
Return type:float
Parameters:Ang (float) –
Return type:None
thisown

The membership flag

class GeomFill_CorrectedFrenet(*args)

Bases: OCC.GeomFill.GeomFill_TrihedronLaw

Return type:None
Parameters:ForEvaluation (bool) –
Return type:None
EvaluateBestMode()
  • Tries to define the best trihedron mode for the curve. It can be: - Frenet - CorrectedFrenet - DiscreteTrihedron Warning: the CorrectedFrenet must be constructed with option ForEvaluation = True, the curve must be set by method SetCurve.
Return type:GeomFill_Trihedron
GetHandle()
thisown

The membership flag

class GeomFill_CurveAndTrihedron(*args)

Bases: OCC.GeomFill.GeomFill_LocationLaw

Parameters:Trihedron (Handle_GeomFill_TrihedronLaw &) –
Return type:None
D0()
  • compute Location and 2d points
Parameters:
Return type:

bool

  • compute Location and 2d points
Parameters:
Return type:

bool

GetCurve()
Return type:Handle_Adaptor3d_HCurve
GetHandle()
thisown

The membership flag

class GeomFill_Curved(*args)

Bases: OCC.GeomFill.GeomFill_Filling

Return type:

None

Parameters:
  • P1 (TColgp_Array1OfPnt) –
  • P2 (TColgp_Array1OfPnt) –
  • P3 (TColgp_Array1OfPnt) –
  • P4 (TColgp_Array1OfPnt) –
  • P1
  • P2
  • P3
  • P4
  • W1 (TColStd_Array1OfReal &) –
  • W2 (TColStd_Array1OfReal &) –
  • W3 (TColStd_Array1OfReal &) –
  • W4 (TColStd_Array1OfReal &) –
  • P1
  • P2
  • P3
  • P1
  • P2
  • P3
  • W1
  • W2
  • W3
  • P1
  • P2
  • P1
  • P2
  • W1
  • W2
Return type:

None

Return type:

None

Return type:

None

Return type:

None

Return type:

None

Return type:

None

Init()
Parameters:
  • P1 (TColgp_Array1OfPnt) –
  • P2 (TColgp_Array1OfPnt) –
  • P3 (TColgp_Array1OfPnt) –
  • P4 (TColgp_Array1OfPnt) –
  • P1
  • P2
  • P3
  • P4
  • W1 (TColStd_Array1OfReal &) –
  • W2 (TColStd_Array1OfReal &) –
  • W3 (TColStd_Array1OfReal &) –
  • W4 (TColStd_Array1OfReal &) –
  • P1
  • P2
  • P3
  • P1
  • P2
  • P3
  • W1
  • W2
  • W3
  • P1
  • P2
  • P1
  • P2
  • W1
  • W2
Return type:

None

Return type:

None

Return type:

None

Return type:

None

Return type:

None

Return type:

None

thisown

The membership flag

class GeomFill_Darboux(*args)

Bases: OCC.GeomFill.GeomFill_TrihedronLaw

Return type:None
GetHandle()
thisown

The membership flag

class GeomFill_DegeneratedBound(*args)

Bases: OCC.GeomFill.GeomFill_Boundary

Parameters:
Return type:

None

GetHandle()
thisown

The membership flag

class GeomFill_DiscreteTrihedron(*args)

Bases: OCC.GeomFill.GeomFill_TrihedronLaw

Return type:None
GetHandle()
Init()
Return type:None
thisown

The membership flag

class GeomFill_DraftTrihedron(*args)

Bases: OCC.GeomFill.GeomFill_TrihedronLaw

Parameters:
Return type:

None

GetHandle()
SetAngle()
Parameters:Angle (float) –
Return type:None
thisown

The membership flag

class GeomFill_EvolvedSection(*args)

Bases: OCC.GeomFill.GeomFill_SectionLaw

  • Make an SectionLaw with a Curve and a real Law.
Parameters:
  • C (Handle_Geom_Curve &) –
  • L (Handle_Law_Function &) –
Return type:

None

GetHandle()
thisown

The membership flag

class GeomFill_Filling(*args)

Bases: object

Return type:None
NbUPoles()
Return type:int
NbVPoles()
Return type:int
Poles()
Parameters:Poles (TColgp_Array2OfPnt) –
Return type:None
Weights()
Parameters:Weights (TColStd_Array2OfReal &) –
Return type:None
isRational()
Return type:bool
thisown

The membership flag

class GeomFill_Fixed(*args)

Bases: OCC.GeomFill.GeomFill_TrihedronLaw

Parameters:
Return type:

None

GetHandle()
thisown

The membership flag

class GeomFill_Frenet(*args)

Bases: OCC.GeomFill.GeomFill_TrihedronLaw

Return type:None
GetHandle()
Init()
Return type:None
thisown

The membership flag

class GeomFill_FunctionDraft(*args)

Bases: OCC.math.math_FunctionSetWithDerivatives

Parameters:
  • S (Handle_Adaptor3d_HSurface &) –
  • C (Handle_Adaptor3d_HCurve &) –
Return type:

None

Deriv2T()
  • returns the values <F> of the T2 derivatives for the parameter Param .
Parameters:
  • C (Handle_Adaptor3d_HCurve &) –
  • Param (float) –
  • W (float) –
  • d2N (gp_Vec) –
  • teta (float) –
  • F (math_Vector &) –
Return type:

bool

Deriv2X()
  • returns the values <T> of the X2 derivatives for the parameter Param .
Parameters:
  • X (math_Vector &) –
  • T (GeomFill_Tensor &) –
Return type:

bool

DerivT()
  • returns the values <F> of the T derivatives for the parameter Param .
Parameters:
  • C (Handle_Adaptor3d_HCurve &) –
  • Param (float) –
  • W (float) –
  • dN (gp_Vec) –
  • teta (float) –
  • F (math_Vector &) –
Return type:

bool

DerivTX()
  • returns the values <D> of the TX derivatives for the parameter Param .
Parameters:
  • dN (gp_Vec) –
  • teta (float) –
  • D (math_Matrix &) –
Return type:

bool

thisown

The membership flag

class GeomFill_FunctionGuide(*args)

Bases: OCC.math.math_FunctionSetWithDerivatives

Parameters:
  • S (Handle_GeomFill_SectionLaw &) –
  • Guide (Handle_Adaptor3d_HCurve &) –
  • ParamOnLaw (float) – default value is 0.0
Return type:

None

DerivT()
  • returns the values <F> of the T derivatives for the parameter Param .
Parameters:
  • X (math_Vector &) –
  • DCentre (gp_XYZ) –
  • DDir (gp_XYZ) –
  • DFDT (math_Vector &) –
Return type:

bool

SetParam()
Parameters:
Return type:

None

thisown

The membership flag

class GeomFill_Generator(*args)

Bases: OCC.GeomFill.GeomFill_Profiler

Return type:None
Surface()
Return type:Handle_Geom_Surface
thisown

The membership flag

class GeomFill_GuideTrihedronAC(*args)

Bases: OCC.GeomFill.GeomFill_TrihedronWithGuide

Parameters:guide (Handle_Adaptor3d_HCurve &) –
Return type:None
GetHandle()
thisown

The membership flag

class GeomFill_GuideTrihedronPlan(*args)

Bases: OCC.GeomFill.GeomFill_TrihedronWithGuide

Parameters:theGuide (Handle_Adaptor3d_HCurve &) –
Return type:None
GetHandle()
thisown

The membership flag

class GeomFill_HArray1OfLocationLaw(*args)

Bases: OCC.MMgt.MMgt_TShared

Parameters:
  • Low (int) –
  • Up (int) –
  • Low
  • Up
  • V (Handle_GeomFill_LocationLaw &) –
Return type:

None

Return type:

None

Array1()
Return type:GeomFill_Array1OfLocationLaw
ChangeArray1()
Return type:GeomFill_Array1OfLocationLaw
ChangeValue()
Parameters:Index (int) –
Return type:Handle_GeomFill_LocationLaw
GetHandle()
Init()
Parameters:V (Handle_GeomFill_LocationLaw &) –
Return type:None
Length()
Return type:int
Lower()
Return type:int
SetValue()
Parameters:
  • Index (int) –
  • Value (Handle_GeomFill_LocationLaw &) –
Return type:

None

Upper()
Return type:int
Value()
Parameters:Index (int) –
Return type:Handle_GeomFill_LocationLaw
thisown

The membership flag

class GeomFill_HArray1OfSectionLaw(*args)

Bases: OCC.MMgt.MMgt_TShared

Parameters:
  • Low (int) –
  • Up (int) –
  • Low
  • Up
  • V (Handle_GeomFill_SectionLaw &) –
Return type:

None

Return type:

None

Array1()
Return type:GeomFill_Array1OfSectionLaw
ChangeArray1()
Return type:GeomFill_Array1OfSectionLaw
ChangeValue()
Parameters:Index (int) –
Return type:Handle_GeomFill_SectionLaw
GetHandle()
Init()
Parameters:V (Handle_GeomFill_SectionLaw &) –
Return type:None
Length()
Return type:int
Lower()
Return type:int
SetValue()
Parameters:
  • Index (int) –
  • Value (Handle_GeomFill_SectionLaw &) –
Return type:

None

Upper()
Return type:int
Value()
Parameters:Index (int) –
Return type:Handle_GeomFill_SectionLaw
thisown

The membership flag

class GeomFill_HSequenceOfAx2(*args)

Bases: OCC.MMgt.MMgt_TShared

Return type:None
Append()
Parameters:
  • anItem (gp_Ax2) –
  • aSequence (Handle_GeomFill_HSequenceOfAx2 &) –
Return type:

None

Return type:

None

ChangeSequence()
Return type:GeomFill_SequenceOfAx2
ChangeValue()
Parameters:anIndex (int) –
Return type:gp_Ax2
Clear()
Return type:None
Exchange()
Parameters:
  • anIndex (int) –
  • anOtherIndex (int) –
Return type:

None

GetHandle()
InsertAfter()
Parameters:
  • anIndex (int) –
  • anItem (gp_Ax2) –
  • anIndex
  • aSequence (Handle_GeomFill_HSequenceOfAx2 &) –
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • anIndex (int) –
  • anItem (gp_Ax2) –
  • anIndex
  • aSequence (Handle_GeomFill_HSequenceOfAx2 &) –
Return type:

None

Return type:

None

IsEmpty()
Return type:bool
Length()
Return type:int
Prepend()
Parameters:
  • anItem (gp_Ax2) –
  • aSequence (Handle_GeomFill_HSequenceOfAx2 &) –
Return type:

None

Return type:

None

Remove()
Parameters:
  • anIndex (int) –
  • fromIndex (int) –
  • toIndex (int) –
Return type:

None

Return type:

None

Reverse()
Return type:None
Sequence()
Return type:GeomFill_SequenceOfAx2
SetValue()
Parameters:
Return type:

None

Split()
Parameters:anIndex (int) –
Return type:Handle_GeomFill_HSequenceOfAx2
Value()
Parameters:anIndex (int) –
Return type:gp_Ax2
thisown

The membership flag

class GeomFill_Line(*args)

Bases: OCC.MMgt.MMgt_TShared

Return type:None
Parameters:NbPoints (int) –
Return type:None
GetHandle()
NbPoints()
Return type:int
Point()
Parameters:Index (int) –
Return type:int
thisown

The membership flag

class GeomFill_LocFunction(*args)

Bases: object

Parameters:Law (Handle_GeomFill_LocationLaw &) –
Return type:None
D0()
  • compute the section for v = param
Parameters:
Return type:

bool

D1()
  • compute the first derivative in v direction of the section for v = param
Parameters:
Return type:

bool

D2()
  • compute the second derivative in v direction of the section for v = param
Parameters:
Return type:

bool

DN()
Parameters:
  • Param (float) –
  • First (float) –
  • Last (float) –
  • Order (int) –
  • Result (float &) –
  • Ier (int &) –
Return type:

None

thisown

The membership flag

class GeomFill_LocationDraft(*args)

Bases: OCC.GeomFill.GeomFill_LocationLaw

Parameters:
Return type:

None

D0()
  • compute Location
Parameters:
Return type:

bool

  • compute Location and 2d points
Parameters:
Return type:

bool

Direction()
Return type:gp_Dir
GetCurve()
Return type:Handle_Adaptor3d_HCurve
GetHandle()
IsIntersec()
  • Say if the generatrice interset the surface
Return type:bool
SetAngle()
Parameters:Angle (float) –
Return type:None
SetStopSurf()
Parameters:Surf (Handle_Adaptor3d_HSurface &) –
Return type:None
thisown

The membership flag

class GeomFill_LocationGuide(*args)

Bases: OCC.GeomFill.GeomFill_LocationLaw

Parameters:Triedre (Handle_GeomFill_TrihedronWithGuide &) –
Return type:None
ComputeAutomaticLaw()
Parameters:ParAndRad (Handle_TColgp_HArray1OfPnt2d) –
Return type:GeomFill_PipeError
D0()
  • compute Location
Parameters:
Return type:

bool

  • compute Location and 2d points
Parameters:
Return type:

bool

EraseRotation()
Return type:None
GetCurve()
Return type:Handle_Adaptor3d_HCurve
GetHandle()
Guide()
Return type:Handle_Adaptor3d_HCurve
Section()
Return type:Handle_Geom_Curve
Set()
Parameters:
  • Section (Handle_GeomFill_SectionLaw &) –
  • rotat (bool) –
  • SFirst (float) –
  • SLast (float) –
  • PrecAngle (float) –
  • LastAngle (float &) –
Return type:

None

SetOrigine()
Parameters:
Return type:

None

thisown

The membership flag

class GeomFill_LocationLaw(*args, **kwargs)

Bases: OCC.MMgt.MMgt_TShared

Copy()
Return type:Handle_GeomFill_LocationLaw
D0()
  • compute Location
Parameters:
Return type:

bool

  • compute Location and 2d points
Parameters:
Return type:

bool

D1()
  • compute location 2d points and associated first derivatives. Warning : It used only for C1 or C2 aproximation
Parameters:
Return type:

bool

D2()
  • compute location 2d points and associated first and seconde derivatives. Warning : It used only for C2 aproximation
Parameters:
Return type:

bool

ErrorStatus()
  • Give a status to the Law Returns PipeOk (default implementation)
Return type:GeomFill_PipeError
GetAverageLaw()
  • Get average value of M(t) and V(t) it is usfull to make fast approximation of rational surfaces.
Parameters:
Return type:

void

GetCurve()
Return type:Handle_Adaptor3d_HCurve
GetDomain()
  • Gets the bounds of the function parametric domain. Warning: This domain it is not modified by the SetValue method
Parameters:
  • First (float &) –
  • Last (float &) –
Return type:

void

GetHandle()
GetInterval()
  • Gets the bounds of the parametric interval on the function
Parameters:
  • First (float &) –
  • Last (float &) –
Return type:

void

GetMaximalNorm()
  • Get the maximum Norm of the matrix-location part. It is usful to find an good Tolerance to approx M(t).
Return type:float
HasFirstRestriction()
  • Say if the first restriction is defined in this class. If it is true the first element of poles array in D0,D1,D2... Correspond to this restriction. Returns Standard_False (default implementation)
Return type:bool
HasLastRestriction()
  • Say if the last restriction is defined in this class. If it is true the last element of poles array in D0,D1,D2... Correspond to this restriction. Returns Standard_False (default implementation)
Return type:bool
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

IsRotation()
  • Say if the Location Law, is a rotation of Location The default implementation is ‘ returns False ‘.
Parameters:Error (float &) –
Return type:bool
IsTranslation()
  • Say if the Location Law, is an translation of Location The default implementation is ‘ returns False ‘.
Parameters:Error (float &) –
Return type:bool
Nb2dCurves()
  • get the number of 2d curves (Restrictions + Traces) 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

Rotation()
Parameters:Center (gp_Pnt) –
Return type:void
SetCurve()
Parameters:C (Handle_Adaptor3d_HCurve &) –
Return type:void
SetInterval()
  • Sets the bounds of the parametric interval on the function This determines the derivatives in these values if the function is not Cn.
Parameters:
Return type:

void

SetTolerance()
  • Is usefull, if (me) have to run numerical algorithm to perform D0, D1 or D2 The default implementation make nothing.
Parameters:
Return type:

void

SetTrsf()
  • Set a transformation Matrix like the law M(t) become Mat * M(t)
Parameters:Transfo (gp_Mat) –
Return type:void
TraceNumber()
  • Give the number of trace (Curves 2d wich are not restriction) Returns 0 (default implementation)
Return type:int
thisown

The membership flag

class GeomFill_Pipe(*args)

Bases: object

  • Constructs an empty algorithm for building pipes. Use the function Init to initialize it.
Return type:

None

Parameters:
  • Path (Handle_Geom_Curve &) –
  • Radius (float) –
Return type:

None

  • Create a pipe with a constant section (<FirstSection>) and a path (<Path>) Option can be - GeomFill_IsCorrectedFrenet - GeomFill_IsFrenet - GeomFill_IsConstant
Parameters:
  • Path (Handle_Geom_Curve &) –
  • FirstSect (Handle_Geom_Curve &) –
  • Option (GeomFill_Trihedron) – default value is GeomFill_IsCorrectedFrenet
Return type:

None

  • Create a pipe with a constant section (<FirstSection>) and a path defined by <Path> and <Support>
Parameters:
  • Path (Handle_Geom2d_Curve &) –
  • Support (Handle_Geom_Surface &) –
  • FirstSect (Handle_Geom_Curve &) –
Return type:

None

  • Create a pipe with a constant section (<FirstSection>) and a path <Path> and a fixed binormal direction <Dir>
Parameters:
  • Path (Handle_Geom_Curve &) –
  • FirstSect (Handle_Geom_Curve &) –
  • Dir (gp_Dir) –
Return type:

None

  • Create a pipe with an evolving section The section evoluate from First to Last Section
Parameters:
  • Path (Handle_Geom_Curve &) –
  • FirstSect (Handle_Geom_Curve &) –
  • LastSect (Handle_Geom_Curve &) –
Return type:

None

  • Create a pipe with N sections The section evoluate from First to Last Section
Parameters:
  • Path (Handle_Geom_Curve &) –
  • NSections (TColGeom_SequenceOfCurve &) –
Return type:

None

  • Create a pipe with a constant radius with 2 guide-line.
Parameters:
  • Path (Handle_Geom_Curve &) –
  • Curve1 (Handle_Geom_Curve &) –
  • Curve2 (Handle_Geom_Curve &) –
  • Radius (float) –
Return type:

None

  • Create a pipe with a constant radius with 2 guide-line.
Parameters:
  • Path (Handle_Adaptor3d_HCurve &) –
  • Curve1 (Handle_Adaptor3d_HCurve &) –
  • Curve2 (Handle_Adaptor3d_HCurve &) –
  • Radius (float) –
Return type:

None

  • Create a pipe with a constant section and with 1 guide-line. Use the function Perform to build the surface. All standard specific cases are detected in order to construct, according to the respective geometric nature of Path and the sections, a planar, cylindrical, conical, spherical or toroidal surface, a surface of linear extrusion or a surface of revolution. In the general case, the result is a BSpline surface (NURBS) built by approximation of a series of sections where: - the number of sections N is chosen automatically by the algorithm according to the respective geometries of Path and the sections. N is greater than or equal to 2; - N points Pi (with i in the range [ 1,N ]) are defined at regular intervals along the curve Path from its first point to its end point. At each point Pi, a coordinate system Ti is computed with Pi as origin, and with the tangential and normal vectors to Path defining two of its coordinate axes. In the case of a pipe with a constant circular section, the first section is a circle of radius Radius centered on the origin of Path and whose ‘Z Axis’ is aligned along the vector tangential to the origin of Path. In the case of a pipe with a constant section, the first section is the curve FirstSect. In these two cases, the ith section (for values of i greater than 1) is obtained by applying to a copy of this first section the geometric transformation which transforms coordinate system T1 into coordinate system Ti. In the case of an evolving section, N-2 intermediate curves Si are first computed (if N is greater than 2, and with i in the range [ 2,N-1 ]) whose geometry evolves regularly from the curve S1=FirstSect to the curve SN=LastSect. The first section is FirstSect, and the ith section (for values of i greater than 1) is obtained by applying to the curve Si the geometric transformation which transforms coordinate system T1 into coordinate system Ti.
Parameters:
  • Path (Handle_Geom_Curve &) –
  • Guide (Handle_Adaptor3d_HCurve &) –
  • FirstSect (Handle_Geom_Curve &) –
  • ByACR (bool) –
  • rotat (bool) –
Return type:

None

ErrorOnSurf()
  • Returns the approximation’s error. if the Surface is plane, cylinder ... this error can be 0.
Return type:float
ExchangeUV()
  • The u parametric direction of the surface constructed by this algorithm usually corresponds to the evolution along the path and the v parametric direction corresponds to the evolution along the section(s). However, this rule is not respected when constructing certain specific Geom surfaces (typically cylindrical surfaces, surfaces of revolution, etc.) for which the parameterization is inversed. The ExchangeUV function checks for this, and returns true in all these specific cases. Warning Do not use this function before the surface is built.
Return type:bool
GenerateParticularCase()
  • Sets a flag to try to create as many planes, cylinder,... as possible. Default value is <Standard_False>.
Parameters:B (bool) –
Return type:None
  • Returns the flag.
Return type:bool
Init()
Parameters:
  • Path (Handle_Geom_Curve &) –
  • Radius (float) –
  • Path
  • FirstSect (Handle_Geom_Curve &) –
  • Option (GeomFill_Trihedron) – default value is GeomFill_IsCorrectedFrenet
  • Path
  • Support (Handle_Geom_Surface &) –
  • FirstSect
  • Path
  • FirstSect
  • Dir (gp_Dir) –
  • Path
  • FirstSect
  • LastSect (Handle_Geom_Curve &) –
  • Path
  • NSections (TColGeom_SequenceOfCurve &) –
Return type:

None

Return type:

None

Return type:

None

Return type:

None

Return type:

None

Return type:

None

  • Create a pipe with a constant radius with 2 guide-line.
Parameters:
  • Path (Handle_Adaptor3d_HCurve &) –
  • Curve1 (Handle_Adaptor3d_HCurve &) –
  • Curve2 (Handle_Adaptor3d_HCurve &) –
  • Radius (float) –
Return type:

None

  • Initializes this pipe algorithm to build the following surface: - a pipe with a constant circular section of radius Radius along the path Path, or - a pipe with constant section FirstSect along the path Path, or - a pipe where the section evolves from FirstSect to LastSect along the path Path. Use the function Perform to build the surface. Note: a description of the resulting surface is given under Constructors.
Parameters:
  • Path (Handle_Geom_Curve &) –
  • Guide (Handle_Adaptor3d_HCurve &) –
  • FirstSect (Handle_Geom_Curve &) –
  • ByACR (bool) –
  • rotat (bool) –
Return type:

None

Perform()
  • Builds the pipe defined at the time of initialization of this algorithm. A description of the resulting surface is given under Constructors. If WithParameters (defaulted to false) is set to true, the approximation algorithm (used only in the general case of construction of a BSpline surface) builds the surface with a u parameter corresponding to the one of the path. Exceptions Standard_ConstructionError if a surface cannot be constructed from the data. Warning: It is the old Perform method, the next methode is recommended.
Parameters:
  • WithParameters (bool) – default value is Standard_False
  • myPolynomial (bool) – default value is Standard_False
Return type:

None

  • detects the particular cases. And compute the surface. if none particular case is detected we make an approximation with respect of the Tolerance <Tol>, the continuty <Conti>, the maximum degree <MaxDegree>, the maximum number of span <NbMaxSegment> and the spine parametrization. If we can’t create a surface with the data
Parameters:
  • Tol (float) –
  • Polynomial (bool) –
  • Conti (GeomAbs_Shape) – default value is GeomAbs_C1
  • MaxDegree (int) – default value is 11
  • NbMaxSegment (int) – default value is 30
Return type:

None

Surface()
  • Returns the surface built by this algorithm. Warning Do not use this function before the surface is built (in this case the function will return a null handle).
Return type:Handle_Geom_Surface
thisown

The membership flag

class GeomFill_PlanFunc(*args)

Bases: OCC.math.math_FunctionWithDerivative

Parameters:
  • P (gp_Pnt) –
  • V (gp_Vec) –
  • C (Handle_Adaptor3d_HCurve &) –
Return type:

None

D2()
Parameters:
  • X (float) –
  • F (float &) –
  • D1 (float &) –
  • D2 (float &) –
Return type:

None

D2E()
Parameters:
Return type:

None

DEDT()
Parameters:
Return type:

None

thisown

The membership flag

class GeomFill_PolynomialConvertor(*args)

Bases: object

Return type:None
Init()
Return type:None
Initialized()
  • say if <self> is Initialized
Return type:bool
Section()
Parameters:
Return type:

None

Return type:

None

Return type:

None

thisown

The membership flag

class GeomFill_Profiler(*args)

Bases: object

Return type:None
AddCurve()
Parameters:Curve (Handle_Geom_Curve &) –
Return type:None
Curve()
Parameters:Index (int) –
Return type:Handle_Geom_Curve
Degree()
  • Raises if not yet perform
Return type:int
Delete()
Return type:void
IsPeriodic()
Return type:bool
KnotsAndMults()
  • Raises if not yet perform Raises if the lengthes of <Knots> and <Mults> are not equal to NbKnots().
Parameters:
  • Knots (TColStd_Array1OfReal &) –
  • Mults (TColStd_Array1OfInteger &) –
Return type:

None

NbKnots()
  • Raises if not yet perform
Return type:int
NbPoles()
  • Raises if not yet perform
Return type:int
Perform()
  • Converts all curves to BSplineCurves. Set them to the common profile. <PTol> is used to compare 2 knots.
Parameters:PTol (float) –
Return type:void
Poles()
  • returns in <Poles> the poles of the BSplineCurve from index <Index> adjusting to the current profile. Raises if not yet perform Raises if <Index> not in the range [1,NbCurves] if the length of <Poles> is not equal to NbPoles().
Parameters:
Return type:

None

Weights()
  • returns in <Weights> the weights of the BSplineCurve from index <Index> adjusting to the current profile. Raises if not yet perform Raises if <Index> not in the range [1,NbCurves] or if the length of <Weights> is not equal to NbPoles().
Parameters:
  • Index (int) –
  • Weights (TColStd_Array1OfReal &) –
Return type:

None

thisown

The membership flag

class GeomFill_QuasiAngularConvertor(*args)

Bases: object

Return type:None
Init()
Return type:None
Initialized()
  • say if <self> is Initialized
Return type:bool
Section()
Parameters:
  • FirstPnt (gp_Pnt) –
  • Center (gp_Pnt) –
  • Dir (gp_Vec) –
  • Angle (float) –
  • Poles (TColgp_Array1OfPnt) –
  • Weights (TColStd_Array1OfReal &) –
  • FirstPnt
  • DFirstPnt (gp_Vec) –
  • Center
  • DCenter (gp_Vec) –
  • Dir
  • DDir (gp_Vec) –
  • Angle
  • DAngle (float) –
  • Poles
  • DPoles (TColgp_Array1OfVec) –
  • Weights
  • DWeights (TColStd_Array1OfReal &) –
  • FirstPnt
  • DFirstPnt
  • D2FirstPnt (gp_Vec) –
  • Center
  • DCenter
  • D2Center (gp_Vec) –
  • Dir
  • DDir
  • D2Dir (gp_Vec) –
  • Angle
  • DAngle
  • D2Angle (float) –
  • Poles
  • DPoles
  • D2Poles (TColgp_Array1OfVec) –
  • Weights
  • DWeights
  • D2Weights (TColStd_Array1OfReal &) –
Return type:

None

Return type:

None

Return type:

None

thisown

The membership flag

class GeomFill_SectionGenerator(*args)

Bases: OCC.GeomFill.GeomFill_Profiler

Return type:None
GetShape()
Parameters:
  • NbPoles (int &) –
  • NbKnots (int &) –
  • Degree (int &) –
  • NbPoles2d (int &) –
Return type:

None

Knots()
Parameters:TKnots (TColStd_Array1OfReal &) –
Return type:None
Mults()
Parameters:TMults (TColStd_Array1OfInteger &) –
Return type:None
Parameter()
  • Returns the parameter of Section<P>, to impose it for the approximation.
Parameters:P (int) –
Return type:float
Section()
  • Used for the first and last section The method returns Standard_True if the derivatives are computed, otherwise it returns Standard_False.
Parameters:
Return type:

bool

Return type:

None

SetParam()
Parameters:Params (Handle_TColStd_HArray1OfReal &) –
Return type:None
thisown

The membership flag

class GeomFill_SectionLaw(*args, **kwargs)

Bases: OCC.MMgt.MMgt_TShared

BSplineSurface()
  • give if possible an bspline Surface, like iso-v are the section. If it is not possible this methode have to get an Null Surface. It is the default implementation.
Return type:Handle_Geom_BSplineSurface
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
CirclSection()
  • Return the circle section at parameter <Param>, if <self> a IsConicalLaw
Parameters:Param (float) –
Return type:Handle_Geom_Curve
ConstantSection()
  • Return a copy of the constant Section, if me IsConstant
Return type:Handle_Geom_Curve
D0()
  • compute the section for v = param
Parameters:
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:
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:
Return type:

bool

GetDomain()
  • Gets the bounds of the function parametric domain. Warning: This domain it is not modified by the SetValue method
Parameters:
  • First (float &) –
  • Last (float &) –
Return type:

void

GetHandle()
GetInterval()
  • Gets the bounds of the parametric interval on the function
Parameters:
  • First (float &) –
  • Last (float &) –
Return type:

void

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 tolerances associated at each poles 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

IsConicalLaw()
  • Returns True if all section are circle, with same plane,same center and linear radius evolution Return False by Default.
Parameters:Error (float &) –
Return type:bool
IsConstant()
  • Say if all sections are equals
Parameters:Error (float &) –
Return type:bool
IsRational()
  • Returns if the sections are rationnal or not
Return type:bool
IsUPeriodic()
  • Returns if the sections are periodic or not
Return type:bool
IsVPeriodic()
  • Returns if law is periodic 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
NbIntervals()
  • Returns the number of intervals for continuity <S>. May be one if Continuity(me) >= <S>
Parameters:S (GeomAbs_Shape) –
Return type:int
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 function This determines the derivatives in these values if the function is not Cn.
Parameters:
Return type:

void

SetTolerance()
  • Is usefull, if (me) have to run numerical algorithm to perform D0, D1 or D2 The default implementation make nothing.
Parameters:
Return type:

void

thisown

The membership flag

class GeomFill_SectionPlacement(*args)

Bases: object

Parameters:
  • L (Handle_GeomFill_LocationLaw &) –
  • Section (Handle_Geom_Geometry &) –
Return type:

None

Angle()
Return type:float
Distance()
Return type:float
IsDone()
Return type:bool
ModifiedSection()
  • Compute the Section, in the coordinate syteme given by the Location Law. To have the Normal to section equal to the Location Law Normal. If <WithTranslation> contact beetween <Section> and <Path> is forced.
Parameters:WithTranslation (bool) –
Return type:Handle_Geom_Curve
ParameterOnPath()
Return type:float
ParameterOnSection()
Return type:float
Perform()
Parameters:
  • Tol (float) –
  • Path (Handle_Adaptor3d_HCurve &) –
  • Tol
  • ParamOnPath (float) –
  • Tol
Return type:

None

Return type:

None

Return type:

None

Section()
  • Compute the Section, in the coordinate syteme given by the Location Law. If <WithTranslation> contact beetween <Section> and <Path> is forced.
Parameters:WithTranslation (bool) –
Return type:Handle_Geom_Curve
SetLocation()
  • To change the section Law
Parameters:L (Handle_GeomFill_LocationLaw &) –
Return type:None
Transformation()
Parameters:
  • WithTranslation (bool) –
  • WithCorrection (bool) – default value is Standard_False
Return type:

gp_Trsf

thisown

The membership flag

class GeomFill_SequenceNodeOfSequenceOfAx2(*args)

Bases: OCC.TCollection.TCollection_SeqNode

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

None

GetHandle()
Value()
Return type:gp_Ax2
thisown

The membership flag

class GeomFill_SequenceNodeOfSequenceOfTrsf(*args)

Bases: OCC.TCollection.TCollection_SeqNode

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

None

GetHandle()
Value()
Return type:gp_Trsf
thisown

The membership flag

class GeomFill_SequenceOfAx2(*args)

Bases: OCC.TCollection.TCollection_BaseSequence

Return type:None
Parameters:Other (GeomFill_SequenceOfAx2 &) –
Return type:None
Append()
Parameters:
  • T (gp_Ax2) –
  • S (GeomFill_SequenceOfAx2 &) –
Return type:

None

Return type:

None

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

None

Return type:

None

InsertBefore()
Parameters:
  • Index (int) –
  • T (gp_Ax2) –
  • Index
  • S (GeomFill_SequenceOfAx2 &) –
Return type:

None

Return type:

None

Last()
Return type:gp_Ax2
Prepend()
Parameters:
  • T (gp_Ax2) –
  • S (GeomFill_SequenceOfAx2 &) –
Return type:

None

Return type:

None

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

None

Return type:

None

Set()
Parameters:Other (GeomFill_SequenceOfAx2 &) –
Return type:GeomFill_SequenceOfAx2
SetValue()
Parameters:
Return type:

None

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

None

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

The membership flag

class GeomFill_SequenceOfTrsf(*args)

Bases: OCC.TCollection.TCollection_BaseSequence

Return type:None
Parameters:Other (GeomFill_SequenceOfTrsf &) –
Return type:None
Append()
Parameters:
  • T (gp_Trsf) –
  • S (GeomFill_SequenceOfTrsf &) –
Return type:

None

Return type:

None

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

None

Return type:

None

InsertBefore()
Parameters:
  • Index (int) –
  • T (gp_Trsf) –
  • Index
  • S (GeomFill_SequenceOfTrsf &) –
Return type:

None

Return type:

None

Last()
Return type:gp_Trsf
Prepend()
Parameters:
  • T (gp_Trsf) –
  • S (GeomFill_SequenceOfTrsf &) –
Return type:

None

Return type:

None

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

None

Return type:

None

Set()
Parameters:Other (GeomFill_SequenceOfTrsf &) –
Return type:GeomFill_SequenceOfTrsf
SetValue()
Parameters:
Return type:

None

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

None

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

The membership flag

class GeomFill_SimpleBound(*args)

Bases: OCC.GeomFill.GeomFill_Boundary

  • Constructs the boundary object defined by the 3d curve. The surface to be built along this boundary will be in the tolerance range defined by Tol3d. This object is to be used as a boundary for a GeomFill_ConstrainedFilling framework. Dummy is initialized but has no function in this class. Warning Curve is an adapted curve, that is, an object which is an interface between: - the services provided by a 3D curve from the package Geom - and those required of the curve by the computation algorithm which uses it. The adapted curve is created in one of the following ways: - First sequence: Handle_Geom_Curve myCurve = ... ; Handle_GeomAdaptor_HCurve Curve = new GeomAdaptor_HCurve(myCurve); - Second sequence: // Step 1 Handle_Geom_Curve myCurve = ... ; GeomAdaptor_Curve Crv (myCurve); // Step 2 Handle_GeomAdaptor_HCurve Curve = new GeomAdaptor_HCurve(Crv); You use the second part of this sequence if you already have the adapted curve Crv. The boundary is then constructed with the Curve object: Standard_Real Tol = ... ; Standard_Real dummy = 0. ; myBoundary = GeomFill_SimpleBound (Curve,Tol,dummy);
Parameters:
  • Curve (Handle_Adaptor3d_HCurve &) –
  • Tol3d (float) –
  • Tolang (float) –
Return type:

None

GetHandle()
thisown

The membership flag

class GeomFill_SnglrFunc(*args)

Bases: OCC.Adaptor3d.Adaptor3d_Curve

Parameters:HC (Handle_Adaptor3d_HCurve &) –
Return type:None
SetRatio()
Parameters:Ratio (float) –
Return type:None
thisown

The membership flag

class GeomFill_Stretch(*args)

Bases: OCC.GeomFill.GeomFill_Filling

Return type:

None

Parameters:
Return type:

None

Return type:

None

Init()
Parameters:
Return type:

None

Return type:

None

thisown

The membership flag

class GeomFill_Sweep(*args)

Bases: object

Parameters:
  • Location (Handle_GeomFill_LocationLaw &) –
  • WithKpart (bool) – default value is Standard_True
Return type:

None

Build()
  • Build the Sweeep Surface ApproxStyle defines Approximation Strategy - GeomFill_Section : The composed Function : Location X Section is directly approximed. - GeomFill_Location : The location law is approximed, and the SweepSurface is build algebric composition of approximed location law and section law This option is Ok, if Section.Surface() methode is effective. 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 //! raise If Domain are infinite or Profile not Setted.
Parameters:
  • Section (Handle_GeomFill_SectionLaw &) –
  • Methode (GeomFill_ApproxStyle) – default value is GeomFill_Location
  • Continuity (GeomAbs_Shape) – default value is GeomAbs_C2
  • Degmax (int) – default value is 10
  • Segmax (int) – default value is 30
Return type:

None

ErrorOnRestriction()
  • Gets the Approximation error.
Parameters:
  • IsFirst (bool) –
  • UError (float &) –
  • VError (float &) –
Return type:

None

ErrorOnSurface()
  • Gets the Approximation error.
Return type:float
ErrorOnTrace()
  • Gets the Approximation error.
Parameters:
  • IndexOfTrace (int) –
  • UError (float &) –
  • VError (float &) –
Return type:

None

ExchangeUV()
  • returns true if sections are U-Iso This can be produce in some cases when <WithKpart> is True.
Return type:bool
IsDone()
  • Tells if the Surface is Buildt.
Return type:bool
NumberOfTrace()
Return type:int
Restriction()
Parameters:IsFirst (bool) –
Return type:Handle_Geom2d_Curve
SetDomain()
  • Set parametric information [<First>, <Last>] Sets the parametric bound of the sweeping surface to build. <SectionFirst>, <SectionLast> gives coresponding bounds parameter on the section law of <First> and <Last> //! V-Iso on Sweeping Surface S(u,v) is defined by Location(v) and Section(w) where w = SectionFirst + (v - First) / (Last-First) * (SectionLast - SectionFirst) //! By default w = v, and First and Last are given by First and Last parameter stored in LocationLaw.
Parameters:
Return type:

None

SetForceApproxC1()
  • Set the flag that indicates attempt to approximate a C1-continuous surface if a swept surface proved to be C0.
Parameters:ForceApproxC1 (bool) –
Return type:None
SetTolerance()
  • Set Approximation Tolerance 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 method define in <LocationLaw> 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
Parameters:
  • Tol3d (float) –
  • BoundTol (float) – default value is 1.0
  • Tol2d (float) – default value is 1.0e-5
  • TolAngular (float) – default value is 1.0
Return type:

None

Surface()
Return type:Handle_Geom_Surface
Trace()
Parameters:IndexOfTrace (int) –
Return type:Handle_Geom2d_Curve
UReversed()
  • returns true if Parametrisation sens in U is inverse of parametrisation sens of section (or of path if ExchangeUV)
Return type:bool
VReversed()
  • returns true if Parametrisation sens in V is inverse of parametrisation sens of path (or of section if ExchangeUV)
Return type:bool
thisown

The membership flag

class GeomFill_SweepFunction(*args)

Bases: OCC.Approx.Approx_SweepFunction

Parameters:
  • Section (Handle_GeomFill_SectionLaw &) –
  • Location (Handle_GeomFill_LocationLaw &) –
  • FirstParameter (float) –
  • FirstParameterOnS (float) –
  • RatioParameterOnS (float) –
Return type:

None

GetHandle()
thisown

The membership flag

class GeomFill_Tensor(*args)

Bases: object

Parameters:
  • NbRow (int) –
  • NbCol (int) –
  • NbMat (int) –
Return type:

None

ChangeValue()
  • accesses (in read or write mode) the value of index <Row>, <Col> and <Mat> of a Tensor. An exception is raised if <Row>, <Col> or <Mat> are not in the correct range.
Parameters:
Return type:

float

Init()
  • Initialize all the elements of a Tensor to InitialValue.
Parameters:InitialValue (float) –
Return type:None
Multiply()
Parameters:
  • Right (math_Vector &) –
  • Product (math_Matrix &) –
Return type:

None

Value()
  • accesses (in read or write mode) the value of index <Row>, <Col> and <Mat> of a Tensor. An exception is raised if <Row>, <Col> or <Mat> are not in the correct range.
Parameters:
Return type:

float

thisown

The membership flag

class GeomFill_TgtField(*args, **kwargs)

Bases: OCC.MMgt.MMgt_TShared

D1()
  • Computes the derivative of the field of tangency at parameter W.
Parameters:W (float) –
Return type:gp_Vec
  • Computes the value and the derivative of the field of tangency at parameter W.
Parameters:
Return type:

void

GetHandle()
IsScalable()
Return type:bool
Scale()
Parameters:Func (Handle_Law_BSpline &) –
Return type:void
Value()
  • Computes the value of the field of tangency at parameter W.
Parameters:W (float) –
Return type:gp_Vec
thisown

The membership flag

class GeomFill_TgtOnCoons(*args)

Bases: OCC.GeomFill.GeomFill_TgtField

Parameters:
  • K (Handle_GeomFill_CoonsAlgPatch &) –
  • I (int) –
Return type:

None

D1()
  • Computes the derivative of the field of tangency at parameter W.
Parameters:W (float) –
Return type:gp_Vec
  • Computes the value and the derivative of the field of tangency at parameter W.
Parameters:
Return type:

None

GetHandle()
thisown

The membership flag

class GeomFill_TrihedronLaw(*args, **kwargs)

Bases: OCC.MMgt.MMgt_TShared

Copy()
Return type:Handle_GeomFill_TrihedronLaw
D0()
  • compute Triedrhon on curve at parameter <Param>
Parameters:
Return type:

bool

D1()
  • compute Triedrhon and derivative Trihedron on curve at parameter <Param> Warning : It used only for C1 or C2 aproximation
Parameters:
Return type:

bool

D2()
  • compute Trihedron on curve first and seconde derivatives. Warning : It used only for C2 aproximation
Parameters:
Return type:

bool

ErrorStatus()
  • Give a status to the Law Returns PipeOk (default implementation)
Return type:GeomFill_PipeError
GetAverageLaw()
  • Get average value of M(t) and V(t) it is usfull to make fast approximation of rational surfaces.
Parameters:
Return type:

void

GetHandle()
GetInterval()
  • Gets the bounds of the parametric interval on the function
Parameters:
  • First (float &) –
  • Last (float &) –
Return type:

None

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

IsConstant()
  • Say if the law is Constant
Return type:bool
IsOnlyBy3dCurve()
  • Say if the law is defined, only by the 3d Geometry of the setted Curve Return False by Default.
Return type:bool
NbIntervals()
  • Returns the number of intervals for continuity <S>. May be one if Continuity(me) >= <S>
Parameters:S (GeomAbs_Shape) –
Return type:int
SetCurve()
Parameters:C (Handle_Adaptor3d_HCurve &) –
Return type:void
SetInterval()
  • Sets the bounds of the parametric interval on the function This determines the derivatives in these values if the function is not Cn.
Parameters:
Return type:

void

thisown

The membership flag

class GeomFill_TrihedronWithGuide(*args, **kwargs)

Bases: OCC.GeomFill.GeomFill_TrihedronLaw

CurrentPointOnGuide()
  • Returns the current point on guide found by D0, D1 or D2.
Return type:gp_Pnt
GetHandle()
Guide()
Return type:Handle_Adaptor3d_HCurve
Origine()
Parameters:
Return type:

void

thisown

The membership flag

class GeomFill_UniformSection(*args)

Bases: OCC.GeomFill.GeomFill_SectionLaw

  • Make an constant Law with C. [First, Last] define law definition domain
Parameters:
  • C (Handle_Geom_Curve &) –
  • FirstParameter (float) – default value is 0.0
  • LastParameter (float) – default value is 1.0
Return type:

None

GetHandle()
thisown

The membership flag

class Handle_GeomFill_BoundWithSurf(*args)

Bases: OCC.GeomFill.Handle_GeomFill_Boundary

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

The membership flag

class Handle_GeomFill_Boundary(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class Handle_GeomFill_CircularBlendFunc(*args)

Bases: OCC.Approx.Handle_Approx_SweepFunction

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

The membership flag

class Handle_GeomFill_ConstantBiNormal(*args)

Bases: OCC.GeomFill.Handle_GeomFill_TrihedronLaw

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

The membership flag

class Handle_GeomFill_CoonsAlgPatch(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class Handle_GeomFill_CorrectedFrenet(*args)

Bases: OCC.GeomFill.Handle_GeomFill_TrihedronLaw

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

The membership flag

class Handle_GeomFill_CurveAndTrihedron(*args)

Bases: OCC.GeomFill.Handle_GeomFill_LocationLaw

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

The membership flag

class Handle_GeomFill_Darboux(*args)

Bases: OCC.GeomFill.Handle_GeomFill_TrihedronLaw

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

The membership flag

class Handle_GeomFill_DegeneratedBound(*args)

Bases: OCC.GeomFill.Handle_GeomFill_Boundary

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

The membership flag

class Handle_GeomFill_DiscreteTrihedron(*args)

Bases: OCC.GeomFill.Handle_GeomFill_TrihedronLaw

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

The membership flag

class Handle_GeomFill_DraftTrihedron(*args)

Bases: OCC.GeomFill.Handle_GeomFill_TrihedronLaw

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

The membership flag

class Handle_GeomFill_EvolvedSection(*args)

Bases: OCC.GeomFill.Handle_GeomFill_SectionLaw

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

The membership flag

class Handle_GeomFill_Fixed(*args)

Bases: OCC.GeomFill.Handle_GeomFill_TrihedronLaw

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

The membership flag

class Handle_GeomFill_Frenet(*args)

Bases: OCC.GeomFill.Handle_GeomFill_TrihedronLaw

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

The membership flag

class Handle_GeomFill_GuideTrihedronAC(*args)

Bases: OCC.GeomFill.Handle_GeomFill_TrihedronWithGuide

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

The membership flag

class Handle_GeomFill_GuideTrihedronPlan(*args)

Bases: OCC.GeomFill.Handle_GeomFill_TrihedronWithGuide

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

The membership flag

class Handle_GeomFill_HArray1OfLocationLaw(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class Handle_GeomFill_HArray1OfSectionLaw(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class Handle_GeomFill_HSequenceOfAx2(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class Handle_GeomFill_Line(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class Handle_GeomFill_LocationDraft(*args)

Bases: OCC.GeomFill.Handle_GeomFill_LocationLaw

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

The membership flag

class Handle_GeomFill_LocationGuide(*args)

Bases: OCC.GeomFill.Handle_GeomFill_LocationLaw

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

The membership flag

class Handle_GeomFill_LocationLaw(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class Handle_GeomFill_SectionLaw(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class Handle_GeomFill_SequenceNodeOfSequenceOfAx2(*args)

Bases: OCC.TCollection.Handle_TCollection_SeqNode

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

The membership flag

class Handle_GeomFill_SequenceNodeOfSequenceOfTrsf(*args)

Bases: OCC.TCollection.Handle_TCollection_SeqNode

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

The membership flag

class Handle_GeomFill_SimpleBound(*args)

Bases: OCC.GeomFill.Handle_GeomFill_Boundary

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

The membership flag

class Handle_GeomFill_SweepFunction(*args)

Bases: OCC.Approx.Handle_Approx_SweepFunction

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

The membership flag

class Handle_GeomFill_TgtField(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class Handle_GeomFill_TgtOnCoons(*args)

Bases: OCC.GeomFill.Handle_GeomFill_TgtField

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

The membership flag

class Handle_GeomFill_TrihedronLaw(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class Handle_GeomFill_TrihedronWithGuide(*args)

Bases: OCC.GeomFill.Handle_GeomFill_TrihedronLaw

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

The membership flag

class Handle_GeomFill_UniformSection(*args)

Bases: OCC.GeomFill.Handle_GeomFill_SectionLaw

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 geomfill

Bases: object

static GetCircle(*args)
Parameters:
  • TConv (Convert_ParameterisationType) –
  • ns1 (gp_Vec) –
  • ns2 (gp_Vec) –
  • nplan (gp_Vec) –
  • pt1 (gp_Pnt) –
  • pt2 (gp_Pnt) –
  • Rayon (float) –
  • Center (gp_Pnt) –
  • Poles (TColgp_Array1OfPnt) –
  • Weigths (TColStd_Array1OfReal &) –
  • TConv
  • ns1
  • ns2
  • dn1w (gp_Vec) –
  • dn2w (gp_Vec) –
  • nplan
  • dnplan (gp_Vec) –
  • pts1 (gp_Pnt) –
  • pts2 (gp_Pnt) –
  • tang1 (gp_Vec) –
  • tang2 (gp_Vec) –
  • Rayon
  • DRayon (float) –
  • Center
  • DCenter (gp_Vec) –
  • Poles
  • DPoles (TColgp_Array1OfVec) –
  • Weigths
  • DWeigths (TColStd_Array1OfReal &) –
  • TConv
  • ns1
  • ns2
  • dn1w
  • dn2w
  • d2n1w (gp_Vec) –
  • d2n2w (gp_Vec) –
  • nplan
  • dnplan
  • d2nplan (gp_Vec) –
  • pts1
  • pts2
  • tang1
  • tang2
  • Dtang1 (gp_Vec) –
  • Dtang2 (gp_Vec) –
  • Rayon
  • DRayon
  • D2Rayon (float) –
  • Center
  • DCenter
  • D2Center (gp_Vec) –
  • Poles
  • DPoles
  • D2Poles (TColgp_Array1OfVec) –
  • Weigths
  • DWeigths
  • D2Weigths (TColStd_Array1OfReal &) –
Return type:

void

Return type:

bool

Return type:

bool

static GetMinimalWeights(*args)
Parameters:
  • TConv (Convert_ParameterisationType) –
  • AngleMin (float) –
  • AngleMax (float) –
  • Weigths (TColStd_Array1OfReal &) –
Return type:

void

static GetShape(*args)
Parameters:
  • MaxAng (float) –
  • NbPoles (int &) –
  • NbKnots (int &) –
  • Degree (int &) –
  • TypeConv (Convert_ParameterisationType &) –
Return type:

void

static GetTolerance(*args)
  • Used by the generical classes to determine Tolerance for approximation
Parameters:
  • TConv (Convert_ParameterisationType) –
  • AngleMin (float) –
  • Radius (float) –
  • AngularTol (float) –
  • SpatialTol (float) –
Return type:

float

static Knots(*args)
Parameters:
  • TypeConv (Convert_ParameterisationType) –
  • TKnots (TColStd_Array1OfReal &) –
Return type:

void

static Mults(*args)
Parameters:
  • TypeConv (Convert_ParameterisationType) –
  • TMults (TColStd_Array1OfInteger &) –
Return type:

void

static Surface(*args)
  • Builds a ruled surface between the two curves, Curve1 and Curve2.
Parameters:
  • Curve1 (Handle_Geom_Curve &) –
  • Curve2 (Handle_Geom_Curve &) –
Return type:

Handle_Geom_Surface

thisown

The membership flag

geomfill_GetCircle(*args)
Parameters:
  • TConv (Convert_ParameterisationType) –
  • ns1 (gp_Vec) –
  • ns2 (gp_Vec) –
  • nplan (gp_Vec) –
  • pt1 (gp_Pnt) –
  • pt2 (gp_Pnt) –
  • Rayon (float) –
  • Center (gp_Pnt) –
  • Poles (TColgp_Array1OfPnt) –
  • Weigths (TColStd_Array1OfReal &) –
  • TConv
  • ns1
  • ns2
  • dn1w (gp_Vec) –
  • dn2w (gp_Vec) –
  • nplan
  • dnplan (gp_Vec) –
  • pts1 (gp_Pnt) –
  • pts2 (gp_Pnt) –
  • tang1 (gp_Vec) –
  • tang2 (gp_Vec) –
  • Rayon
  • DRayon (float) –
  • Center
  • DCenter (gp_Vec) –
  • Poles
  • DPoles (TColgp_Array1OfVec) –
  • Weigths
  • DWeigths (TColStd_Array1OfReal &) –
  • TConv
  • ns1
  • ns2
  • dn1w
  • dn2w
  • d2n1w (gp_Vec) –
  • d2n2w (gp_Vec) –
  • nplan
  • dnplan
  • d2nplan (gp_Vec) –
  • pts1
  • pts2
  • tang1
  • tang2
  • Dtang1 (gp_Vec) –
  • Dtang2 (gp_Vec) –
  • Rayon
  • DRayon
  • D2Rayon (float) –
  • Center
  • DCenter
  • D2Center (gp_Vec) –
  • Poles
  • DPoles
  • D2Poles (TColgp_Array1OfVec) –
  • Weigths
  • DWeigths
  • D2Weigths (TColStd_Array1OfReal &) –
Return type:

void

Return type:

bool

Return type:

bool

geomfill_GetMinimalWeights(*args)
Parameters:
  • TConv (Convert_ParameterisationType) –
  • AngleMin (float) –
  • AngleMax (float) –
  • Weigths (TColStd_Array1OfReal &) –
Return type:

void

geomfill_GetShape(*args)
Parameters:
  • MaxAng (float) –
  • NbPoles (int &) –
  • NbKnots (int &) –
  • Degree (int &) –
  • TypeConv (Convert_ParameterisationType &) –
Return type:

void

geomfill_GetTolerance(*args)
  • Used by the generical classes to determine Tolerance for approximation
Parameters:
  • TConv (Convert_ParameterisationType) –
  • AngleMin (float) –
  • Radius (float) –
  • AngularTol (float) –
  • SpatialTol (float) –
Return type:

float

geomfill_Knots(*args)
Parameters:
  • TypeConv (Convert_ParameterisationType) –
  • TKnots (TColStd_Array1OfReal &) –
Return type:

void

geomfill_Mults(*args)
Parameters:
  • TypeConv (Convert_ParameterisationType) –
  • TMults (TColStd_Array1OfInteger &) –
Return type:

void

geomfill_Surface(*args)
  • Builds a ruled surface between the two curves, Curve1 and Curve2.
Parameters:
  • Curve1 (Handle_Geom_Curve &) –
  • Curve2 (Handle_Geom_Curve &) –
Return type:

Handle_Geom_Surface

register_handle(handle, base_object)

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