# OCC.Adaptor3d module

class `Adaptor3d_Curve`

  Bases: `object`

  `BSpline`()

    Return type: | Handle_Geom_BSplineCurve

  `Bezier`()

    Return type: | Handle_Geom_BezierCurve

  `Circle`()

    Return type: | gp_Circ

  `Continuity`()

    Return type: | GeomAbs_Shape

  `D0`()
    - Computes the point of parameter U on the curve.

    Parameters: | U (float) – P (gp_Pnt) –
    Return type: | void

  `D1`()
    - Computes the point of parameter U on the curve with its first derivative. Raised if the continuity of the current interval is not C1.

    Parameters: | U (float) – P (gp_Pnt) – V (gp_Vec) –
    Return type: | void

  `D2`()
    - Returns the point P of parameter U, the first and second derivatives V1 and V2. Raised if the continuity of the current interval is not C2.

    Parameters: | U (float) – P (gp_Pnt) – V1 (gp_Vec) – V2 (gp_Vec) –
    Return type: | void

  `D3`()
    - Returns the point P of parameter U, the first, the second and the third derivative. Raised if the continuity of the current interval is not C3.

    Parameters: | U (float) – P (gp_Pnt) – V1 (gp_Vec) – V2 (gp_Vec) – V3 (gp_Vec) –
    Return type: | void

  `DN`()
    - The returned vector gives the value of the derivative for the order of derivation N. Raised if the continuity of the current interval is not CN. Raised if N < 1.

    Parameters: | U (float) – N (int) –
    Return type: | gp_Vec

  `Degree`()

    Return type: | int

  `Ellipse`()

    Return type: | gp_Elips

  `FirstParameter`()

    Return type: | float

  `GetType`()
    - Returns the type of the curve in the current interval : Line, Circle, Ellipse, Hyperbola, Parabola, BezierCurve, BSplineCurve, OtherCurve.

    Return type: | GeomAbs_CurveType

  `Hyperbola`()

    Return type: | gp_Hypr

  `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

  `IsClosed`()

    Return type: | bool

  `IsPeriodic`()

    Return type: | bool

  `IsRational`()

    Return type: | bool

  `LastParameter`()

    Return type: | float

  `Line`()

    Return type: | gp_Lin

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

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

  `NbKnots`()

    Return type: | int

  `NbPoles`()

    Return type: | int

  `Parabola`()

    Return type: | gp_Parab

  `Period`()

    Return type: | float

  `Resolution`()
    - Returns the parametric resolution corresponding to the real space resolution <R3d>.

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

  `Trim`()
    - Returns a curve equivalent of <self> between parameters <First> and <Last>. <Tol> is used to test for 3d points confusion. If <First> >= <Last>

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

  `Value`()
    - Computes the point of parameter U on the curve.

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

  `thisown`

    The membership flag

class `Adaptor3d_CurveOnSurface`(*args)

  Bases: `OCC.Adaptor3d.Adaptor3d_Curve`

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

  - Creates a CurveOnSurface from the 2d curve <C> and the surface <S>.

  Parameters: | C (Handle_Adaptor2d_HCurve2d &) – S (Handle_Adaptor3d_HSurface &) –
  Return type: | None

  `ChangeCurve`()

    Return type: | Handle_Adaptor2d_HCurve2d

  `ChangeSurface`()

    Return type: | Handle_Adaptor3d_HSurface

  `GetCurve`()

    Return type: | Handle_Adaptor2d_HCurve2d

  `GetSurface`()

    Return type: | Handle_Adaptor3d_HSurface

  `Load`()
    - Changes the surface.

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

    - Changes the 2d curve.

    Parameters: | C (Handle_Adaptor2d_HCurve2d &) –
    Return type: | None

  `thisown`

    The membership flag

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

  Bases: `OCC.MMgt.MMgt_TShared`

  `BSpline`()

    Return type: | Handle_Geom_BSplineCurve

  `Bezier`()

    Return type: | Handle_Geom_BezierCurve

  `Circle`()

    Return type: | gp_Circ

  `Continuity`()

    Return type: | GeomAbs_Shape

  `Curve`()
    - Returns a pointer to the Curve inside the HCurve.

    Return type: | Adaptor3d_Curve

  `D0`()

    Parameters: | U (float) – P (gp_Pnt) –
    Return type: | None

  `D1`()

    Parameters: | U (float) – P (gp_Pnt) – V (gp_Vec) –
    Return type: | None

  `D2`()

    Parameters: | U (float) – P (gp_Pnt) – V1 (gp_Vec) – V2 (gp_Vec) –
    Return type: | None

  `D3`()

    Parameters: | U (float) – P (gp_Pnt) – V1 (gp_Vec) – V2 (gp_Vec) – V3 (gp_Vec) –
    Return type: | None

  `DN`()

    Parameters: | U (float) – N (int) –
    Return type: | gp_Vec

  `Degree`()

    Return type: | int

  `Ellipse`()

    Return type: | gp_Elips

  `FirstParameter`()

    Return type: | float

  `GetCurve`()
    - Returns a pointer to the Curve inside the HCurve.

    Return type: | Adaptor3d_Curve

  `GetHandle`()
  `GetType`()

    Return type: | GeomAbs_CurveType

  `Hyperbola`()

    Return type: | gp_Hypr

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

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

  `IsClosed`()

    Return type: | bool

  `IsPeriodic`()

    Return type: | bool

  `IsRational`()

    Return type: | bool

  `LastParameter`()

    Return type: | float

  `Line`()

    Return type: | gp_Lin

  `NbIntervals`()

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

  `NbKnots`()

    Return type: | int

  `NbPoles`()

    Return type: | int

  `Parabola`()

    Return type: | gp_Parab

  `Period`()

    Return type: | float

  `Resolution`()

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

  `Trim`()
    - Returns a curve equivalent of <self> between parameters <First> and <Last>. <Tol> is used to test for 3d points confusion. //! If <First> >= <Last>

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

  `Value`()

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

  `thisown`

    The membership flag

class `Adaptor3d_HCurveOnSurface`(*args)

  Bases: `OCC.Adaptor3d.Adaptor3d_HCurve`

  Return type: | None
  Parameters: | C (Adaptor3d_CurveOnSurface &) –
  Return type: | None

  `ChangeCurve`()

    Return type: | Adaptor3d_CurveOnSurface

  `GetHandle`()
  `Set`()

    Parameters: | C (Adaptor3d_CurveOnSurface &) –
    Return type: | None

  `thisown`

    The membership flag

class `Adaptor3d_HIsoCurve`(*args)

  Bases: `OCC.Adaptor3d.Adaptor3d_HCurve`

  Return type: | None
  Parameters: | C (Adaptor3d_IsoCurve &) –
  Return type: | None

  `ChangeCurve`()

    Return type: | Adaptor3d_IsoCurve

  `GetHandle`()
  `Set`()

    Parameters: | C (Adaptor3d_IsoCurve &) –
    Return type: | None

  `thisown`

    The membership flag

class `Adaptor3d_HOffsetCurve`(*args)

  Bases: `OCC.Adaptor2d.Adaptor2d_HCurve2d`

  Return type: | None
  Parameters: | C (Adaptor3d_OffsetCurve &) –
  Return type: | None

  `ChangeCurve2d`()

    Return type: | Adaptor3d_OffsetCurve

  `GetHandle`()
  `Set`()

    Parameters: | C (Adaptor3d_OffsetCurve &) –
    Return type: | None

  `thisown`

    The membership flag

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

  Bases: `OCC.MMgt.MMgt_TShared`

  `AxeOfRevolution`()

    Return type: | gp_Ax1

  `BSpline`()

    Return type: | Handle_Geom_BSplineSurface

  `BasisCurve`()

    Return type: | Handle_Adaptor3d_HCurve

  `BasisSurface`()

    Return type: | Handle_Adaptor3d_HSurface

  `Bezier`()

    Return type: | Handle_Geom_BezierSurface

  `Cone`()

    Return type: | gp_Cone

  `Cylinder`()

    Return type: | gp_Cylinder

  `D0`()

    Parameters: | U (float) – V (float) – P (gp_Pnt) –
    Return type: | None

  `D1`()

    Parameters: | U (float) – V (float) – P (gp_Pnt) – D1U (gp_Vec) – D1V (gp_Vec) –
    Return type: | None

  `D2`()

    Parameters: | U (float) – V (float) – P (gp_Pnt) – D1U (gp_Vec) – D1V (gp_Vec) – D2U (gp_Vec) – D2V (gp_Vec) – D2UV (gp_Vec) –
    Return type: | None

  `D3`()

    Parameters: | U (float) – V (float) – P (gp_Pnt) – D1U (gp_Vec) – D1V (gp_Vec) – D2U (gp_Vec) – D2V (gp_Vec) – D2UV (gp_Vec) – D3U (gp_Vec) – D3V (gp_Vec) – D3UUV (gp_Vec) – D3UVV (gp_Vec) –
    Return type: | None

  `DN`()

    Parameters: | U (float) – V (float) – Nu (int) – Nv (int) –
    Return type: | gp_Vec

  `Direction`()

    Return type: | gp_Dir

  `FirstUParameter`()

    Return type: | float

  `FirstVParameter`()

    Return type: | float

  `GetHandle`()
  `GetType`()

    Return type: | GeomAbs_SurfaceType

  `IsUClosed`()

    Return type: | bool

  `IsUPeriodic`()

    Return type: | bool

  `IsURational`()

    Return type: | bool

  `IsVClosed`()

    Return type: | bool

  `IsVPeriodic`()

    Return type: | bool

  `IsVRational`()

    Return type: | bool

  `LastUParameter`()

    Return type: | float

  `LastVParameter`()

    Return type: | float

  `NbUIntervals`()

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

  `NbUKnots`()

    Return type: | int

  `NbUPoles`()

    Return type: | int

  `NbVIntervals`()

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

  `NbVKnots`()

    Return type: | int

  `NbVPoles`()

    Return type: | int

  `OffsetValue`()

    Return type: | float

  `Plane`()

    Return type: | gp_Pln

  `Sphere`()

    Return type: | gp_Sphere

  `Surface`()
    - Returns a reference to the Surface inside the HSurface.

    Return type: | Adaptor3d_Surface

  `Torus`()

    Return type: | gp_Torus

  `UContinuity`()

    Return type: | GeomAbs_Shape

  `UDegree`()

    Return type: | int

  `UIntervals`()

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

  `UPeriod`()

    Return type: | float

  `UResolution`()

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

  `UTrim`()

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

  `VContinuity`()

    Return type: | GeomAbs_Shape

  `VDegree`()

    Return type: | int

  `VIntervals`()

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

  `VPeriod`()

    Return type: | float

  `VResolution`()

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

  `VTrim`()

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

  `Value`()

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

  `thisown`

    The membership flag

class `Adaptor3d_HSurfaceOfLinearExtrusion`(*args)

  Bases: `OCC.Adaptor3d.Adaptor3d_HSurface`

  Return type: | None
  Parameters: | S (Adaptor3d_SurfaceOfLinearExtrusion &) –
  Return type: | None

  `ChangeSurface`()

    Return type: | Adaptor3d_SurfaceOfLinearExtrusion

  `GetHandle`()
  `Set`()

    Parameters: | S (Adaptor3d_SurfaceOfLinearExtrusion &) –
    Return type: | None

  `thisown`

    The membership flag

class `Adaptor3d_HSurfaceOfRevolution`(*args)

  Bases: `OCC.Adaptor3d.Adaptor3d_HSurface`

  Return type: | None
  Parameters: | S (Adaptor3d_SurfaceOfRevolution &) –
  Return type: | None

  `ChangeSurface`()

    Return type: | Adaptor3d_SurfaceOfRevolution

  `GetHandle`()
  `Set`()

    Parameters: | S (Adaptor3d_SurfaceOfRevolution &) –
    Return type: | None

  `thisown`

    The membership flag

class `Adaptor3d_HSurfaceTool`

  Bases: `object`

  static `AxeOfRevolution`(*args)

    Parameters: | S (Handle_Adaptor3d_HSurface &) –
    Return type: | gp_Ax1

  static `BSpline`(*args)

    Parameters: | S (Handle_Adaptor3d_HSurface &) –
    Return type: | Handle_Geom_BSplineSurface

  static `BasisCurve`(*args)

    Parameters: | S (Handle_Adaptor3d_HSurface &) –
    Return type: | Handle_Adaptor3d_HCurve

  static `BasisSurface`(*args)

    Parameters: | S (Handle_Adaptor3d_HSurface &) –
    Return type: | Handle_Adaptor3d_HSurface

  static `Bezier`(*args)

    Parameters: | S (Handle_Adaptor3d_HSurface &) –
    Return type: | Handle_Geom_BezierSurface

  static `Cone`(*args)

    Parameters: | S (Handle_Adaptor3d_HSurface &) –
    Return type: | gp_Cone

  static `Cylinder`(*args)

    Parameters: | S (Handle_Adaptor3d_HSurface &) –
    Return type: | gp_Cylinder

  static `D0`(*args)

    Parameters: | S (Handle_Adaptor3d_HSurface &) – u (float) – v (float) – P (gp_Pnt) –
    Return type: | void

  static `D1`(*args)

    Parameters: | S (Handle_Adaptor3d_HSurface &) – u (float) – v (float) – P (gp_Pnt) – D1u (gp_Vec) – D1v (gp_Vec) –
    Return type: | void

  static `D2`(*args)

    Parameters: | S (Handle_Adaptor3d_HSurface &) – u (float) – v (float) – P (gp_Pnt) – D1U (gp_Vec) – D1V (gp_Vec) – D2U (gp_Vec) – D2V (gp_Vec) – D2UV (gp_Vec) –
    Return type: | void

  static `D3`(*args)

    Parameters: | S (Handle_Adaptor3d_HSurface &) – u (float) – v (float) – P (gp_Pnt) – D1U (gp_Vec) – D1V (gp_Vec) – D2U (gp_Vec) – D2V (gp_Vec) – D2UV (gp_Vec) – D3U (gp_Vec) – D3V (gp_Vec) – D3UUV (gp_Vec) – D3UVV (gp_Vec) –
    Return type: | void

  static `DN`(*args)

    Parameters: | S (Handle_Adaptor3d_HSurface &) – u (float) – v (float) – Nu (int) – Nv (int) –
    Return type: | gp_Vec

  static `Direction`(*args)

    Parameters: | S (Handle_Adaptor3d_HSurface &) –
    Return type: | gp_Dir

  static `FirstUParameter`(*args)

    Parameters: | S (Handle_Adaptor3d_HSurface &) –
    Return type: | float

  static `FirstVParameter`(*args)

    Parameters: | S (Handle_Adaptor3d_HSurface &) –
    Return type: | float

  static `GetType`(*args)

    Parameters: | S (Handle_Adaptor3d_HSurface &) –
    Return type: | GeomAbs_SurfaceType

  static `IsUClosed`(*args)

    Parameters: | S (Handle_Adaptor3d_HSurface &) –
    Return type: | bool

  static `IsUPeriodic`(*args)

    Parameters: | S (Handle_Adaptor3d_HSurface &) –
    Return type: | bool

  static `IsVClosed`(*args)

    Parameters: | S (Handle_Adaptor3d_HSurface &) –
    Return type: | bool

  static `IsVPeriodic`(*args)

    Parameters: | S (Handle_Adaptor3d_HSurface &) –
    Return type: | bool

  static `LastUParameter`(*args)

    Parameters: | S (Handle_Adaptor3d_HSurface &) –
    Return type: | float

  static `LastVParameter`(*args)

    Parameters: | S (Handle_Adaptor3d_HSurface &) –
    Return type: | float

  static `NbSamplesU`(*args)

    Parameters: | S (Handle_Adaptor3d_HSurface &) – S – u1 (float) – u2 (float) –
    Return type: | int
    Return type: | int

  static `NbSamplesV`(*args)

    Parameters: | S (Handle_Adaptor3d_HSurface &) – S – v1 (float) – v2 (float) –
    Return type: | int
    Return type: | int

  static `NbUIntervals`(*args)

    Parameters: | S (Handle_Adaptor3d_HSurface &) – Sh (GeomAbs_Shape) –
    Return type: | int

  static `NbVIntervals`(*args)

    Parameters: | S (Handle_Adaptor3d_HSurface &) – Sh (GeomAbs_Shape) –
    Return type: | int

  static `OffsetValue`(*args)

    Parameters: | S (Handle_Adaptor3d_HSurface &) –
    Return type: | float

  static `Plane`(*args)

    Parameters: | S (Handle_Adaptor3d_HSurface &) –
    Return type: | gp_Pln

  static `Sphere`(*args)

    Parameters: | S (Handle_Adaptor3d_HSurface &) –
    Return type: | gp_Sphere

  static `Torus`(*args)

    Parameters: | S (Handle_Adaptor3d_HSurface &) –
    Return type: | gp_Torus

  static `UIntervals`(*args)

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

  static `UPeriod`(*args)

    Parameters: | S (Handle_Adaptor3d_HSurface &) –
    Return type: | float

  static `UResolution`(*args)

    Parameters: | S (Handle_Adaptor3d_HSurface &) – R3d (float) –
    Return type: | float

  static `UTrim`(*args)
    - If <First> >= <Last>

    Parameters: | S (Handle_Adaptor3d_HSurface &) – First (float) – Last (float) – Tol (float) –
    Return type: | Handle_Adaptor3d_HSurface

  static `VIntervals`(*args)

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

  static `VPeriod`(*args)

    Parameters: | S (Handle_Adaptor3d_HSurface &) –
    Return type: | float

  static `VResolution`(*args)

    Parameters: | S (Handle_Adaptor3d_HSurface &) – R3d (float) –
    Return type: | float

  static `VTrim`(*args)
    - If <First> >= <Last>

    Parameters: | S (Handle_Adaptor3d_HSurface &) – First (float) – Last (float) – Tol (float) –
    Return type: | Handle_Adaptor3d_HSurface

  static `Value`(*args)

    Parameters: | S (Handle_Adaptor3d_HSurface &) – u (float) – v (float) –
    Return type: | gp_Pnt

  `thisown`

    The membership flag

`Adaptor3d_HSurfaceTool_AxeOfRevolution`(*args)

  Parameters: | S (Handle_Adaptor3d_HSurface &) –
  Return type: | gp_Ax1

`Adaptor3d_HSurfaceTool_BSpline`(*args)

  Parameters: | S (Handle_Adaptor3d_HSurface &) –
  Return type: | Handle_Geom_BSplineSurface

`Adaptor3d_HSurfaceTool_BasisCurve`(*args)

  Parameters: | S (Handle_Adaptor3d_HSurface &) –
  Return type: | Handle_Adaptor3d_HCurve

`Adaptor3d_HSurfaceTool_BasisSurface`(*args)

  Parameters: | S (Handle_Adaptor3d_HSurface &) –
  Return type: | Handle_Adaptor3d_HSurface

`Adaptor3d_HSurfaceTool_Bezier`(*args)

  Parameters: | S (Handle_Adaptor3d_HSurface &) –
  Return type: | Handle_Geom_BezierSurface

`Adaptor3d_HSurfaceTool_Cone`(*args)

  Parameters: | S (Handle_Adaptor3d_HSurface &) –
  Return type: | gp_Cone

`Adaptor3d_HSurfaceTool_Cylinder`(*args)

  Parameters: | S (Handle_Adaptor3d_HSurface &) –
  Return type: | gp_Cylinder

`Adaptor3d_HSurfaceTool_D0`(*args)

  Parameters: | S (Handle_Adaptor3d_HSurface &) – u (float) – v (float) – P (gp_Pnt) –
  Return type: | void

`Adaptor3d_HSurfaceTool_D1`(*args)

  Parameters: | S (Handle_Adaptor3d_HSurface &) – u (float) – v (float) – P (gp_Pnt) – D1u (gp_Vec) – D1v (gp_Vec) –
  Return type: | void

`Adaptor3d_HSurfaceTool_D2`(*args)

  Parameters: | S (Handle_Adaptor3d_HSurface &) – u (float) – v (float) – P (gp_Pnt) – D1U (gp_Vec) – D1V (gp_Vec) – D2U (gp_Vec) – D2V (gp_Vec) – D2UV (gp_Vec) –
  Return type: | void

`Adaptor3d_HSurfaceTool_D3`(*args)

  Parameters: | S (Handle_Adaptor3d_HSurface &) – u (float) – v (float) – P (gp_Pnt) – D1U (gp_Vec) – D1V (gp_Vec) – D2U (gp_Vec) – D2V (gp_Vec) – D2UV (gp_Vec) – D3U (gp_Vec) – D3V (gp_Vec) – D3UUV (gp_Vec) – D3UVV (gp_Vec) –
  Return type: | void

`Adaptor3d_HSurfaceTool_DN`(*args)

  Parameters: | S (Handle_Adaptor3d_HSurface &) – u (float) – v (float) – Nu (int) – Nv (int) –
  Return type: | gp_Vec

`Adaptor3d_HSurfaceTool_Direction`(*args)

  Parameters: | S (Handle_Adaptor3d_HSurface &) –
  Return type: | gp_Dir

`Adaptor3d_HSurfaceTool_FirstUParameter`(*args)

  Parameters: | S (Handle_Adaptor3d_HSurface &) –
  Return type: | float

`Adaptor3d_HSurfaceTool_FirstVParameter`(*args)

  Parameters: | S (Handle_Adaptor3d_HSurface &) –
  Return type: | float

`Adaptor3d_HSurfaceTool_GetType`(*args)

  Parameters: | S (Handle_Adaptor3d_HSurface &) –
  Return type: | GeomAbs_SurfaceType

`Adaptor3d_HSurfaceTool_IsUClosed`(*args)

  Parameters: | S (Handle_Adaptor3d_HSurface &) –
  Return type: | bool

`Adaptor3d_HSurfaceTool_IsUPeriodic`(*args)

  Parameters: | S (Handle_Adaptor3d_HSurface &) –
  Return type: | bool

`Adaptor3d_HSurfaceTool_IsVClosed`(*args)

  Parameters: | S (Handle_Adaptor3d_HSurface &) –
  Return type: | bool

`Adaptor3d_HSurfaceTool_IsVPeriodic`(*args)

  Parameters: | S (Handle_Adaptor3d_HSurface &) –
  Return type: | bool

`Adaptor3d_HSurfaceTool_LastUParameter`(*args)

  Parameters: | S (Handle_Adaptor3d_HSurface &) –
  Return type: | float

`Adaptor3d_HSurfaceTool_LastVParameter`(*args)

  Parameters: | S (Handle_Adaptor3d_HSurface &) –
  Return type: | float

`Adaptor3d_HSurfaceTool_NbSamplesU`(*args)

  Parameters: | S (Handle_Adaptor3d_HSurface &) – S – u1 (float) – u2 (float) –
  Return type: | int
  Return type: | int

`Adaptor3d_HSurfaceTool_NbSamplesV`(*args)

  Parameters: | S (Handle_Adaptor3d_HSurface &) – S – v1 (float) – v2 (float) –
  Return type: | int
  Return type: | int

`Adaptor3d_HSurfaceTool_NbUIntervals`(*args)

  Parameters: | S (Handle_Adaptor3d_HSurface &) – Sh (GeomAbs_Shape) –
  Return type: | int

`Adaptor3d_HSurfaceTool_NbVIntervals`(*args)

  Parameters: | S (Handle_Adaptor3d_HSurface &) – Sh (GeomAbs_Shape) –
  Return type: | int

`Adaptor3d_HSurfaceTool_OffsetValue`(*args)

  Parameters: | S (Handle_Adaptor3d_HSurface &) –
  Return type: | float

`Adaptor3d_HSurfaceTool_Plane`(*args)

  Parameters: | S (Handle_Adaptor3d_HSurface &) –
  Return type: | gp_Pln

`Adaptor3d_HSurfaceTool_Sphere`(*args)

  Parameters: | S (Handle_Adaptor3d_HSurface &) –
  Return type: | gp_Sphere

`Adaptor3d_HSurfaceTool_Torus`(*args)

  Parameters: | S (Handle_Adaptor3d_HSurface &) –
  Return type: | gp_Torus

`Adaptor3d_HSurfaceTool_UIntervals`(*args)

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

`Adaptor3d_HSurfaceTool_UPeriod`(*args)

  Parameters: | S (Handle_Adaptor3d_HSurface &) –
  Return type: | float

`Adaptor3d_HSurfaceTool_UResolution`(*args)

  Parameters: | S (Handle_Adaptor3d_HSurface &) – R3d (float) –
  Return type: | float

`Adaptor3d_HSurfaceTool_UTrim`(*args)
  - If <First> >= <Last>

  Parameters: | S (Handle_Adaptor3d_HSurface &) – First (float) – Last (float) – Tol (float) –
  Return type: | Handle_Adaptor3d_HSurface

`Adaptor3d_HSurfaceTool_VIntervals`(*args)

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

`Adaptor3d_HSurfaceTool_VPeriod`(*args)

  Parameters: | S (Handle_Adaptor3d_HSurface &) –
  Return type: | float

`Adaptor3d_HSurfaceTool_VResolution`(*args)

  Parameters: | S (Handle_Adaptor3d_HSurface &) – R3d (float) –
  Return type: | float

`Adaptor3d_HSurfaceTool_VTrim`(*args)
  - If <First> >= <Last>

  Parameters: | S (Handle_Adaptor3d_HSurface &) – First (float) – Last (float) – Tol (float) –
  Return type: | Handle_Adaptor3d_HSurface

`Adaptor3d_HSurfaceTool_Value`(*args)

  Parameters: | S (Handle_Adaptor3d_HSurface &) – u (float) – v (float) –
  Return type: | gp_Pnt

class `Adaptor3d_HVertex`(*args)

  Bases: `OCC.MMgt.MMgt_TShared`

  Return type: | None
  Parameters: | P (gp_Pnt2d) – Ori (TopAbs_Orientation) – Resolution (float) –
  Return type: | None

  `GetHandle`()
  `IsSame`()

    Parameters: | Other (Handle_Adaptor3d_HVertex &) –
    Return type: | bool

  `Orientation`()

    Return type: | TopAbs_Orientation

  `Parameter`()

    Parameters: | C (Handle_Adaptor2d_HCurve2d &) –
    Return type: | float

  `Resolution`()
    - Parametric resolution (2d).

    Parameters: | C (Handle_Adaptor2d_HCurve2d &) –
    Return type: | float

  `Value`()

    Return type: | gp_Pnt2d

  `thisown`

    The membership flag

class `Adaptor3d_InterFunc`(*args)

  Bases: `OCC.math.math_FunctionWithDerivative`

  - build the function U(t)=FixVal if Fix =1 or V(t)=FixVal if Fix=2

  Parameters: | C (Handle_Adaptor2d_HCurve2d &) – FixVal (float) – Fix (int) –
  Return type: | None

  `thisown`

    The membership flag

class `Adaptor3d_IsoCurve`(*args)

  Bases: `OCC.Adaptor3d.Adaptor3d_Curve`

  - The iso is set to NoneIso.

  Return type: | None

  - The surface is loaded. The iso is set to NoneIso.

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

  - Creates an IsoCurve curve. Iso defines the type (isoU or isoU) Param defines the value of the iso. The bounds of the iso are the bounds of the surface.

  Parameters: | S (Handle_Adaptor3d_HSurface &) – Iso (GeomAbs_IsoType) – Param (float) –
  Return type: | None

  - Create an IsoCurve curve. Iso defines the type (isoU or isov). Param defines the value of the iso. WFirst,WLast define the bounds of the iso.

  Parameters: | S (Handle_Adaptor3d_HSurface &) – Iso (GeomAbs_IsoType) – Param (float) – WFirst (float) – WLast (float) –
  Return type: | None

  `Iso`()

    Return type: | GeomAbs_IsoType

  `Load`()
    - Changes the surface. The iso is reset to NoneIso.

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

    - Changes the iso on the current surface.

    Parameters: | Iso (GeomAbs_IsoType) – Param (float) –
    Return type: | None

    - Changes the iso on the current surface.

    Parameters: | Iso (GeomAbs_IsoType) – Param (float) – WFirst (float) – WLast (float) –
    Return type: | None

  `Parameter`()

    Return type: | float

  `Surface`()

    Return type: | Handle_Adaptor3d_HSurface

  `thisown`

    The membership flag

class `Adaptor3d_OffsetCurve`(*args)

  Bases: `OCC.Adaptor2d.Adaptor2d_Curve2d`

  - The Offset is set to 0.

  Return type: | None

  - The curve is loaded. The Offset is set to 0.

  Parameters: | C (Handle_Adaptor2d_HCurve2d &) –
  Return type: | None

  - Creates an OffsetCurve curve. The Offset is set to Offset.

  Parameters: | C (Handle_Adaptor2d_HCurve2d &) – Offset (float) –
  Return type: | None

  - Create an Offset curve. WFirst,WLast define the bounds of the Offset curve.

  Parameters: | C (Handle_Adaptor2d_HCurve2d &) – Offset (float) – WFirst (float) – WLast (float) –
  Return type: | None

  `Curve`()

    Return type: | Handle_Adaptor2d_HCurve2d

  `Load`()
    - Changes the curve. The Offset is reset to 0.

    Parameters: | S (Handle_Adaptor2d_HCurve2d &) –
    Return type: | None

    - Changes the Offset on the current Curve.

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

    - Changes the Offset Curve on the current Curve.

    Parameters: | Offset (float) – WFirst (float) – WLast (float) –
    Return type: | None

  `Offset`()

    Return type: | float

  `thisown`

    The membership flag

class `Adaptor3d_Surface`

  Bases: `object`

  `AxeOfRevolution`()

    Return type: | gp_Ax1

  `BSpline`()

    Return type: | Handle_Geom_BSplineSurface

  `BasisCurve`()

    Return type: | Handle_Adaptor3d_HCurve

  `BasisSurface`()

    Return type: | Handle_Adaptor3d_HSurface

  `Bezier`()

    Return type: | Handle_Geom_BezierSurface

  `Cone`()

    Return type: | gp_Cone

  `Cylinder`()

    Return type: | gp_Cylinder

  `D0`()
    - Computes the point of parameters U,V on the surface.

    Parameters: | U (float) – V (float) – P (gp_Pnt) –
    Return type: | void

  `D1`()
    - Computes the point and the first derivatives on the surface. Raised if the continuity of the current intervals is not C1.

    Parameters: | U (float) – V (float) – P (gp_Pnt) – D1U (gp_Vec) – D1V (gp_Vec) –
    Return type: | void

  `D2`()
    - Computes the point, the first and second derivatives on the surface. Raised if the continuity of the current intervals is not C2.

    Parameters: | U (float) – V (float) – P (gp_Pnt) – D1U (gp_Vec) – D1V (gp_Vec) – D2U (gp_Vec) – D2V (gp_Vec) – D2UV (gp_Vec) –
    Return type: | void

  `D3`()
    - Computes the point, the first, second and third derivatives on the surface. Raised if the continuity of the current intervals is not C3.

    Parameters: | U (float) – V (float) – P (gp_Pnt) – D1U (gp_Vec) – D1V (gp_Vec) – D2U (gp_Vec) – D2V (gp_Vec) – D2UV (gp_Vec) – D3U (gp_Vec) – D3V (gp_Vec) – D3UUV (gp_Vec) – D3UVV (gp_Vec) –
    Return type: | void

  `DN`()
    - Computes the derivative of order Nu in the direction U and Nv in the direction V at the point P(U, V). Raised if the current U interval is not not CNu and the current V interval is not CNv. Raised if Nu + Nv < 1 or Nu < 0 or Nv < 0.

    Parameters: | U (float) – V (float) – Nu (int) – Nv (int) –
    Return type: | gp_Vec

  `Direction`()

    Return type: | gp_Dir

  `FirstUParameter`()

    Return type: | float

  `FirstVParameter`()

    Return type: | float

  `GetType`()
    - Returns the type of the surface : Plane, Cylinder, Cone, Sphere, Torus, BezierSurface, BSplineSurface, SurfaceOfRevolution, SurfaceOfExtrusion, OtherSurface

    Return type: | GeomAbs_SurfaceType

  `IsUClosed`()

    Return type: | bool

  `IsUPeriodic`()

    Return type: | bool

  `IsURational`()

    Return type: | bool

  `IsVClosed`()

    Return type: | bool

  `IsVPeriodic`()

    Return type: | bool

  `IsVRational`()

    Return type: | bool

  `LastUParameter`()

    Return type: | float

  `LastVParameter`()

    Return type: | float

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

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

  `NbUKnots`()

    Return type: | int

  `NbUPoles`()

    Return type: | int

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

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

  `NbVKnots`()

    Return type: | int

  `NbVPoles`()

    Return type: | int

  `OffsetValue`()

    Return type: | float

  `Plane`()

    Return type: | gp_Pln

  `Sphere`()

    Return type: | gp_Sphere

  `Torus`()

    Return type: | gp_Torus

  `UContinuity`()

    Return type: | GeomAbs_Shape

  `UDegree`()

    Return type: | int

  `UIntervals`()
    - Returns the intervals with the requested continuity in the U direction.

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

  `UPeriod`()

    Return type: | float

  `UResolution`()
    - Returns the parametric U resolution corresponding to the real space resolution <R3d>.

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

  `UTrim`()
    - Returns a surface trimmed in the U direction equivalent of <self> between parameters <First> and <Last>. <Tol> is used to test for 3d points confusion. If <First> >= <Last>

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

  `VContinuity`()

    Return type: | GeomAbs_Shape

  `VDegree`()

    Return type: | int

  `VIntervals`()
    - Returns the intervals with the requested continuity in the V direction.

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

  `VPeriod`()

    Return type: | float

  `VResolution`()
    - Returns the parametric V resolution corresponding to the real space resolution <R3d>.

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

  `VTrim`()
    - Returns a surface trimmed in the V direction between parameters <First> and <Last>. <Tol> is used to test for 3d points confusion. If <First> >= <Last>

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

  `Value`()
    - Computes the point of parameters U,V on the surface.

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

  `thisown`

    The membership flag

class `Adaptor3d_SurfaceOfLinearExtrusion`(*args)

  Bases: `OCC.Adaptor3d.Adaptor3d_Surface`

  Return type: | None

  - The Curve is loaded.

  Parameters: | C (Handle_Adaptor3d_HCurve &) –
  Return type: | None

  - Thew Curve and the Direction are loaded.

  Parameters: | C (Handle_Adaptor3d_HCurve &) – V (gp_Dir) –
  Return type: | None

  `Load`()
    - Changes the Curve

    Parameters: | C (Handle_Adaptor3d_HCurve &) –
    Return type: | None

    - Changes the Direction

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

  `thisown`

    The membership flag

class `Adaptor3d_SurfaceOfRevolution`(*args)

  Bases: `OCC.Adaptor3d.Adaptor3d_Surface`

  Return type: | None

  - The Curve is loaded.

  Parameters: | C (Handle_Adaptor3d_HCurve &) –
  Return type: | None

  - The Curve and the Direction are loaded.

  Parameters: | C (Handle_Adaptor3d_HCurve &) – V (gp_Ax1) –
  Return type: | None

  `Axis`()

    Return type: | gp_Ax3

  `Load`()
    - Changes the Curve

    Parameters: | C (Handle_Adaptor3d_HCurve &) –
    Return type: | None

    - Changes the Direction

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

  `thisown`

    The membership flag

class `Adaptor3d_TopolTool`(*args)

  Bases: `OCC.MMgt.MMgt_TShared`

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

  `BSplSamplePnts`()
    - compute the sample-points for the intersections algorithms by adaptive algorithm for BSpline surfaces - is used in SamplePnts theDefl is a requred deflection theNUmin, theNVmin are minimal nb points for U and V.

    Parameters: | theDefl (float) – theNUmin (int) – theNVmin (int) –
    Return type: | void

  `Classify`()

    Parameters: | P (gp_Pnt2d) – Tol (float) – ReacdreOnPeriodic (bool) – default value is Standard_True
    Return type: | TopAbs_State

  `ComputeSamplePoints`()

    Return type: | void

  `DomainIsInfinite`()

    Return type: | bool

  `Edge`()

    Return type: | Standard_Address

  `GetHandle`()
  `Has3d`()
    - answers if arcs and vertices may have 3d representations, so that we could use Tol3d and Pnt methods.

    Return type: | bool

  `Identical`()
    - Returns True if the vertices V1 and V2 are identical. This method does not take the orientation of the vertices in account.

    Parameters: | V1 (Handle_Adaptor3d_HVertex &) – V2 (Handle_Adaptor3d_HVertex &) –
    Return type: | bool

  `Init`()

    Return type: | void

  `InitVertexIterator`()

    Return type: | void

  `Initialize`()

    Return type: | void
    Parameters: | S (Handle_Adaptor3d_HSurface &) – Curve (Handle_Adaptor2d_HCurve2d &) –
    Return type: | void
    Return type: | void

  `IsThePointOn`()

    Parameters: | P (gp_Pnt2d) – Tol (float) – ReacdreOnPeriodic (bool) – default value is Standard_True
    Return type: | bool

  `IsUniformSampling`()
    - Returns true if provide uniform sampling of points.

    Return type: | bool

  `More`()

    Return type: | bool

  `MoreVertex`()

    Return type: | bool

  `NbSamples`()
    - compute the sample-points for the intersections algorithms

    Return type: | int

  `NbSamplesU`()
    - compute the sample-points for the intersections algorithms

    Return type: | int

  `NbSamplesV`()
    - compute the sample-points for the intersections algorithms

    Return type: | int

  `Next`()

    Return type: | void

  `NextVertex`()

    Return type: | void

  `Orientation`()
    - If the function returns the orientation of the arc. If the orientation is FORWARD or REVERSED, the arc is a ‘real’ limit of the surface. If the orientation is INTERNAL or EXTERNAL, the arc is considered as an arc on the surface.

    Parameters: | C (Handle_Adaptor2d_HCurve2d &) –
    Return type: | TopAbs_Orientation

    - Returns the orientation of the vertex V. The vertex has been found with an exploration on a given arc. The orientation is the orientation of the vertex on this arc.

    Parameters: | V (Handle_Adaptor3d_HVertex &) –
    Return type: | TopAbs_Orientation

  `Pnt`()
    - returns 3d point of the vertex V

    Parameters: | V (Handle_Adaptor3d_HVertex &) –
    Return type: | gp_Pnt

  `SamplePnts`()
    - compute the sample-points for the intersections algorithms by adaptive algorithm for BSpline surfaces. For other surfaces algorithm is the same as in method ComputeSamplePoints(), but only fill arrays of U and V sample parameters; theDefl is a requred deflection theNUmin, theNVmin are minimal nb points for U and V.

    Parameters: | theDefl (float) – theNUmin (int) – theNVmin (int) –
    Return type: | void

  `SamplePoint`()

    Parameters: | Index (int) – P2d (gp_Pnt2d) – P3d (gp_Pnt) –
    Return type: | void

  `Tol3d`()
    - returns 3d tolerance of the arc C

    Parameters: | C (Handle_Adaptor2d_HCurve2d &) –
    Return type: | float

    - returns 3d tolerance of the vertex V

    Parameters: | V (Handle_Adaptor3d_HVertex &) –
    Return type: | float

  `UParameters`()
    - return the set of U parameters on the surface obtained by the method SamplePnts

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

  `VParameters`()
    - return the set of V parameters on the surface obtained by the method SamplePnts

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

  `Value`()

    Return type: | Handle_Adaptor2d_HCurve2d

  `Vertex`()

    Return type: | Handle_Adaptor3d_HVertex

  `thisown`

    The membership flag

class `Handle_Adaptor3d_HCurve`(*args)

  Bases: `OCC.MMgt.Handle_MMgt_TShared`

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

    The membership flag

class `Handle_Adaptor3d_HCurveOnSurface`(*args)

  Bases: `OCC.Adaptor3d.Handle_Adaptor3d_HCurve`

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

    The membership flag

class `Handle_Adaptor3d_HIsoCurve`(*args)

  Bases: `OCC.Adaptor3d.Handle_Adaptor3d_HCurve`

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

    The membership flag

class `Handle_Adaptor3d_HOffsetCurve`(*args)

  Bases: `OCC.Adaptor2d.Handle_Adaptor2d_HCurve2d`

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

    The membership flag

class `Handle_Adaptor3d_HSurface`(*args)

  Bases: `OCC.MMgt.Handle_MMgt_TShared`

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

    The membership flag

class `Handle_Adaptor3d_HSurfaceOfLinearExtrusion`(*args)

  Bases: `OCC.Adaptor3d.Handle_Adaptor3d_HSurface`

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

    The membership flag

class `Handle_Adaptor3d_HSurfaceOfRevolution`(*args)

  Bases: `OCC.Adaptor3d.Handle_Adaptor3d_HSurface`

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

    The membership flag

class `Handle_Adaptor3d_HVertex`(*args)

  Bases: `OCC.MMgt.Handle_MMgt_TShared`

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

    The membership flag

class `Handle_Adaptor3d_TopolTool`(*args)

  Bases: `OCC.MMgt.Handle_MMgt_TShared`

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

    The membership flag

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

  Bases: `object`

  `advance`()
  `copy`()
  `decr`()
  `distance`()
  `equal`()
  `incr`()
  `next`()
  `previous`()
  `thisown`

    The membership flag

  `value`()

`register_handle`(handle, base_object)

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