# OCC.ProjLib module

class `Handle_ProjLib_HCompProjectedCurve`(*args)

  Bases: `OCC.Adaptor2d.Handle_Adaptor2d_HCurve2d`

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

    The membership flag

class `Handle_ProjLib_HProjectedCurve`(*args)

  Bases: `OCC.Adaptor2d.Handle_Adaptor2d_HCurve2d`

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

    The membership flag

class `Handle_ProjLib_HSequenceOfHSequenceOfPnt`(*args)

  Bases: `OCC.MMgt.Handle_MMgt_TShared`

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

    The membership flag

class `Handle_ProjLib_SequenceNodeOfSequenceOfHSequenceOfPnt`(*args)

  Bases: `OCC.TCollection.Handle_TCollection_SeqNode`

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

    The membership flag

class `ProjLib_CompProjectedCurve`(*args)

  Bases: `OCC.Adaptor2d.Adaptor2d_Curve2d`

  Return type: | None

  - try to find all solutions

  Parameters: | S (Handle_Adaptor3d_HSurface &) – C (Handle_Adaptor3d_HCurve &) – TolU (float) – TolV (float) –
  Return type: | None

  - this constructor tries to optimize the search using the assamption that maximum distance between surface and curve less or equal then MaxDist. if MaxDist < 0 then algorithm works as above.

  Parameters: | S (Handle_Adaptor3d_HSurface &) – C (Handle_Adaptor3d_HCurve &) – TolU (float) – TolV (float) – MaxDist (float) –
  Return type: | None

  `Bounds`()
    - returns the bounds of the continuous part corresponding to Index

    Parameters: | Index (int) – Udeb (float &) – Ufin (float &) –
    Return type: | None

  `GetCurve`()

    Return type: | Handle_Adaptor3d_HCurve

  `GetSequence`()

    Return type: | Handle_ProjLib_HSequenceOfHSequenceOfPnt

  `GetSurface`()

    Return type: | Handle_Adaptor3d_HSurface

  `GetTolerance`()

    Parameters: | TolU (float &) – TolV (float &) –
    Return type: | None

  `Init`()
    - computes a set of projected point and determine the continuous parts of the projected curves. The points corresponding to a projection on the bounds of the surface are included in this set of points.

    Return type: | None

  `IsSinglePnt`()
    - returns True if part of projection with number Index is a single point and writes its coordinats in P

    Parameters: | Index (int) – P (gp_Pnt2d) –
    Return type: | bool

  `IsUIso`()
    - returns True if part of projection with number Index is an u-isoparametric curve of input surface

    Parameters: | Index (int) – U (float &) –
    Return type: | bool

  `IsVIso`()
    - returns True if part of projection with number Index is an v-isoparametric curve of input surface

    Parameters: | Index (int) – V (float &) –
    Return type: | bool

  `Load`()
    - Changes the surface.

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

    - Changes the curve.

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

  `MaxDistance`()
    - returns the maximum distance between curve to project and surface

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

  `NbCurves`()
    - returns the number of continuous part of the projected curve

    Return type: | int

  `thisown`

    The membership flag

class `ProjLib_ComputeApprox`(*args)

  Bases: `object`

  - <Tol> is the tolerance with which the approximation is performed.

  Parameters: | C (Handle_Adaptor3d_HCurve &) – S (Handle_Adaptor3d_HSurface &) – Tol (float) –
  Return type: | None

  `BSpline`()

    Return type: | Handle_Geom2d_BSplineCurve

  `Bezier`()

    Return type: | Handle_Geom2d_BezierCurve

  `Tolerance`()
    - returns the reached Tolerance.

    Return type: | float

  `thisown`

    The membership flag

class `ProjLib_ComputeApproxOnPolarSurface`(*args)

  Bases: `object`

  Return type: | None
  Parameters: | C (Handle_Adaptor3d_HCurve &) – S (Handle_Adaptor3d_HSurface &) – Tol (float) – default value is 1.0e-4 InitCurve2d (Handle_Adaptor2d_HCurve2d &) – C – S – Tol – InitCurve2d – InitCurve2dBis (Handle_Adaptor2d_HCurve2d &) – C – S – Tol –
  Return type: | None
  Return type: | None
  Return type: | None

  `BSpline`()

    Return type: | Handle_Geom2d_BSplineCurve

  `BuildInitialCurve2d`()

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

  `Curve2d`()

    Return type: | Handle_Geom2d_Curve

  `IsDone`()

    Return type: | bool

  `Perform`()

    Parameters: | InitCurve2d (Handle_Adaptor2d_HCurve2d &) – C (Handle_Adaptor3d_HCurve &) – S (Handle_Adaptor3d_HSurface &) –
    Return type: | Handle_Geom2d_BSplineCurve

  `ProjectUsingInitialCurve2d`()

    Parameters: | Curve (Handle_Adaptor3d_HCurve &) – S (Handle_Adaptor3d_HSurface &) – InitCurve2d (Handle_Adaptor2d_HCurve2d &) –
    Return type: | Handle_Geom2d_BSplineCurve

  `thisown`

    The membership flag

class `ProjLib_Cone`(*args)

  Bases: `OCC.ProjLib.ProjLib_Projector`

  - Undefined projection.

  Return type: | None

  - Projection on the cone <Co>.

  Parameters: | Co (gp_Cone) –
  Return type: | None

  - Projection of the line <L> on the cone <Co>.

  Parameters: | Co (gp_Cone) – L (gp_Lin) –
  Return type: | None

  - Projection of the circle <C> on the cone <Co>.

  Parameters: | Co (gp_Cone) – C (gp_Circ) –
  Return type: | None

  `Init`()

    Parameters: | Co (gp_Cone) –
    Return type: | None

  `Project`()

    Parameters: | L (gp_Lin) – C (gp_Circ) – E (gp_Elips) – P (gp_Parab) – H (gp_Hypr) –
    Return type: | void
    Return type: | void
    Return type: | void
    Return type: | void
    Return type: | void

  `thisown`

    The membership flag

class `ProjLib_Cylinder`(*args)

  Bases: `OCC.ProjLib.ProjLib_Projector`

  - Undefined projection.

  Return type: | None

  - Projection on the cylinder <Cyl>.

  Parameters: | Cyl (gp_Cylinder) –
  Return type: | None

  - Projection of the line <L> on the cylinder <Cyl>.

  Parameters: | Cyl (gp_Cylinder) – L (gp_Lin) –
  Return type: | None

  - Projection of the circle <C> on the cylinder <Cyl>.

  Parameters: | Cyl (gp_Cylinder) – C (gp_Circ) –
  Return type: | None

  - Projection of the ellipse <E> on the cylinder <Cyl>.

  Parameters: | Cyl (gp_Cylinder) – E (gp_Elips) –
  Return type: | None

  `Init`()

    Parameters: | Cyl (gp_Cylinder) –
    Return type: | None

  `Project`()

    Parameters: | L (gp_Lin) – C (gp_Circ) – E (gp_Elips) – P (gp_Parab) – H (gp_Hypr) –
    Return type: | void
    Return type: | void
    Return type: | void
    Return type: | void
    Return type: | void

  `thisown`

    The membership flag

class `ProjLib_HCompProjectedCurve`(*args)

  Bases: `OCC.Adaptor2d.Adaptor2d_HCurve2d`

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

  `ChangeCurve2d`()

    Return type: | ProjLib_CompProjectedCurve

  `GetHandle`()
  `Set`()

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

  `thisown`

    The membership flag

class `ProjLib_HProjectedCurve`(*args)

  Bases: `OCC.Adaptor2d.Adaptor2d_HCurve2d`

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

  `ChangeCurve2d`()

    Return type: | ProjLib_ProjectedCurve

  `GetHandle`()
  `Set`()

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

  `thisown`

    The membership flag

class `ProjLib_HSequenceOfHSequenceOfPnt`(*args)

  Bases: `OCC.MMgt.MMgt_TShared`

  Return type: | None

  `Append`()

    Parameters: | anItem (Handle_TColgp_HSequenceOfPnt) – aSequence (Handle_ProjLib_HSequenceOfHSequenceOfPnt &) –
    Return type: | None
    Return type: | None

  `ChangeSequence`()

    Return type: | ProjLib_SequenceOfHSequenceOfPnt

  `ChangeValue`()

    Parameters: | anIndex (int) –
    Return type: | Handle_TColgp_HSequenceOfPnt

  `Clear`()

    Return type: | None

  `Exchange`()

    Parameters: | anIndex (int) – anOtherIndex (int) –
    Return type: | None

  `GetHandle`()
  `InsertAfter`()

    Parameters: | anIndex (int) – anItem (Handle_TColgp_HSequenceOfPnt) – anIndex – aSequence (Handle_ProjLib_HSequenceOfHSequenceOfPnt &) –
    Return type: | None
    Return type: | None

  `InsertBefore`()

    Parameters: | anIndex (int) – anItem (Handle_TColgp_HSequenceOfPnt) – anIndex – aSequence (Handle_ProjLib_HSequenceOfHSequenceOfPnt &) –
    Return type: | None
    Return type: | None

  `IsEmpty`()

    Return type: | bool

  `Length`()

    Return type: | int

  `Prepend`()

    Parameters: | anItem (Handle_TColgp_HSequenceOfPnt) – aSequence (Handle_ProjLib_HSequenceOfHSequenceOfPnt &) –
    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: | ProjLib_SequenceOfHSequenceOfPnt

  `SetValue`()

    Parameters: | anIndex (int) – anItem (Handle_TColgp_HSequenceOfPnt) –
    Return type: | None

  `Split`()

    Parameters: | anIndex (int) –
    Return type: | Handle_ProjLib_HSequenceOfHSequenceOfPnt

  `Value`()

    Parameters: | anIndex (int) –
    Return type: | Handle_TColgp_HSequenceOfPnt

  `thisown`

    The membership flag

class `ProjLib_Plane`(*args)

  Bases: `OCC.ProjLib.ProjLib_Projector`

  - Undefined projection.

  Return type: | None

  - Projection on the plane <Pl>.

  Parameters: | Pl (gp_Pln) –
  Return type: | None

  - Projection of the line <L> on the plane <Pl>.

  Parameters: | Pl (gp_Pln) – L (gp_Lin) –
  Return type: | None

  - Projection of the circle <C> on the plane <Pl>.

  Parameters: | Pl (gp_Pln) – C (gp_Circ) –
  Return type: | None

  - Projection of the ellipse <E> on the plane <Pl>.

  Parameters: | Pl (gp_Pln) – E (gp_Elips) –
  Return type: | None

  - Projection of the parabola <P> on the plane <Pl>.

  Parameters: | Pl (gp_Pln) – P (gp_Parab) –
  Return type: | None

  - Projection of the hyperbola <H> on the plane <Pl>.

  Parameters: | Pl (gp_Pln) – H (gp_Hypr) –
  Return type: | None

  `Init`()

    Parameters: | Pl (gp_Pln) –
    Return type: | None

  `Project`()

    Parameters: | L (gp_Lin) – C (gp_Circ) – E (gp_Elips) – P (gp_Parab) – H (gp_Hypr) –
    Return type: | void
    Return type: | void
    Return type: | void
    Return type: | void
    Return type: | void

  `thisown`

    The membership flag

class `ProjLib_PrjFunc`(*args)

  Bases: `OCC.math.math_FunctionSetWithDerivatives`

  Parameters: | C (Adaptor3d_CurvePtr &) – FixVal (float) – S (Adaptor3d_SurfacePtr &) – Fix (int) –
  Return type: | None

  `Solution`()
    - returns point on surface

    Return type: | gp_Pnt2d

  `thisown`

    The membership flag

class `ProjLib_PrjResolve`(*args)

  Bases: `object`

  Parameters: | C (Adaptor3d_Curve &) – S (Adaptor3d_Surface &) – Fix (int) –
  Return type: | None

  `IsDone`()
    - Returns True if the distance is found.

    Return type: | bool

  `Perform`()
    - Calculates the ort from C(t) to S with a close point. The close point is defined by the parameter values U0 and V0. The function F(u,v)=distance(S(u,v),C(t)) has an extremum when gradient(F)=0. The algorithm searchs a zero near the close point.

    Parameters: | t (float) – U (float) – V (float) – Tol (gp_Pnt2d) – Inf (gp_Pnt2d) – Sup (gp_Pnt2d) – FTol (float) – default value is -1 StrictInside (bool) – default value is Standard_False
    Return type: | None

  `Solution`()
    - Returns the point of the extremum distance.

    Return type: | gp_Pnt2d

  `thisown`

    The membership flag

class `ProjLib_ProjectOnPlane`(*args)

  Bases: `OCC.Adaptor3d.Adaptor3d_Curve`

  - Empty constructor.

  Return type: | None

  - The projection will be normal to the Plane defined by the Ax3 <Pl>.

  Parameters: | Pl (gp_Ax3) –
  Return type: | None

  - The projection will be along the direction <D> on the plane defined by the Ax3 <Pl>. raises if the direction <D> is parallel to the plane <Pl>.

  Parameters: | Pl (gp_Ax3) – D (gp_Dir) –
  Return type: | None

  `GetCurve`()

    Return type: | Handle_Adaptor3d_HCurve

  `GetDirection`()

    Return type: | gp_Dir

  `GetPlane`()

    Return type: | gp_Ax3

  `Load`()
    - Sets the Curve and perform the projection. if <KeepParametrization> is true, the parametrization of the Projected Curve <PC> will be the same as the parametrization of the initial curve <C>. It meens: proj(C(u)) = PC(u) for each u. Otherwize, the parametrization may change.

    Parameters: | C (Handle_Adaptor3d_HCurve &) – Tolerance (float) – KeepParametrization (bool) – default value is Standard_True
    Return type: | None

  `thisown`

    The membership flag

class `ProjLib_ProjectOnSurface`(*args)

  Bases: `object`

  - Create an empty projector.

  Return type: | None

  - Create a projector normaly to the surface <S>.

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

  `BSpline`()

    Return type: | Handle_Geom_BSplineCurve

  `Delete`()

    Return type: | void

  `IsDone`()

    Return type: | bool

  `thisown`

    The membership flag

class `ProjLib_ProjectedCurve`(*args)

  Bases: `OCC.Adaptor2d.Adaptor2d_Curve2d`

  Return type: | None
  Parameters: | S (Handle_Adaptor3d_HSurface &) – S – C (Handle_Adaptor3d_HCurve &) – S – C – Tol (float) –
  Return type: | None
  Return type: | None
  Return type: | None

  `GetCurve`()

    Return type: | Handle_Adaptor3d_HCurve

  `GetSurface`()

    Return type: | Handle_Adaptor3d_HSurface

  `GetTolerance`()
    - returns the tolerance reached if an approximation is Done.

    Return type: | float

  `thisown`

    The membership flag

class `ProjLib_Projector`(*args)

  Bases: `object`

  - Sets the type to OtherCurve

  Return type: | None

  `BSpline`()

    Return type: | Handle_Geom2d_BSplineCurve

  `Bezier`()

    Return type: | Handle_Geom2d_BezierCurve

  `Circle`()

    Return type: | gp_Circ2d

  `Delete`()

    Return type: | void

  `Done`()
    - Set isDone = Standard_True;

    Return type: | None

  `Ellipse`()

    Return type: | gp_Elips2d

  `GetType`()

    Return type: | GeomAbs_CurveType

  `Hyperbola`()

    Return type: | gp_Hypr2d

  `IsDone`()

    Return type: | bool

  `IsPeriodic`()

    Return type: | bool

  `Line`()

    Return type: | gp_Lin2d

  `Parabola`()

    Return type: | gp_Parab2d

  `Project`()

    Parameters: | L (gp_Lin) – C (gp_Circ) – E (gp_Elips) – P (gp_Parab) – H (gp_Hypr) –
    Return type: | void
    Return type: | void
    Return type: | void
    Return type: | void
    Return type: | void

  `SetBSpline`()

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

  `SetBezier`()

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

  `SetPeriodic`()

    Return type: | None

  `SetType`()

    Parameters: | Type (GeomAbs_CurveType) –
    Return type: | None

  `UFrame`()
    - Translates the 2d curve to set the part of the curve [CFirst, CLast] in the range [ UFirst, UFirst + Period [

    Parameters: | CFirst (float) – CLast (float) – UFirst (float) – Period (float) –
    Return type: | None

  `VFrame`()
    - Translates the 2d curve to set the part of the curve [CFirst, CLast] in the range [ VFirst, VFirst + Period [

    Parameters: | CFirst (float) – CLast (float) – VFirst (float) – Period (float) –
    Return type: | None

  `thisown`

    The membership flag

class `ProjLib_SequenceNodeOfSequenceOfHSequenceOfPnt`(*args)

  Bases: `OCC.TCollection.TCollection_SeqNode`

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

  `GetHandle`()
  `Value`()

    Return type: | Handle_TColgp_HSequenceOfPnt

  `thisown`

    The membership flag

class `ProjLib_SequenceOfHSequenceOfPnt`(*args)

  Bases: `OCC.TCollection.TCollection_BaseSequence`

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

  `Append`()

    Parameters: | T (Handle_TColgp_HSequenceOfPnt) – S (ProjLib_SequenceOfHSequenceOfPnt &) –
    Return type: | None
    Return type: | None

  `Assign`()

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

  `ChangeValue`()

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

  `Clear`()

    Return type: | None

  `First`()

    Return type: | Handle_TColgp_HSequenceOfPnt

  `InsertAfter`()

    Parameters: | Index (int) – T (Handle_TColgp_HSequenceOfPnt) – Index – S (ProjLib_SequenceOfHSequenceOfPnt &) –
    Return type: | None
    Return type: | None

  `InsertBefore`()

    Parameters: | Index (int) – T (Handle_TColgp_HSequenceOfPnt) – Index – S (ProjLib_SequenceOfHSequenceOfPnt &) –
    Return type: | None
    Return type: | None

  `Last`()

    Return type: | Handle_TColgp_HSequenceOfPnt

  `Prepend`()

    Parameters: | T (Handle_TColgp_HSequenceOfPnt) – S (ProjLib_SequenceOfHSequenceOfPnt &) –
    Return type: | None
    Return type: | None

  `Remove`()

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

  `Set`()

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

  `SetValue`()

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

  `Split`()

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

  `Value`()

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

  `thisown`

    The membership flag

class `ProjLib_Sphere`(*args)

  Bases: `OCC.ProjLib.ProjLib_Projector`

  - Undefined projection.

  Return type: | None

  - Projection on the sphere <Sp>.

  Parameters: | Sp (gp_Sphere) –
  Return type: | None

  - Projection of the circle <C> on the sphere <Sp>.

  Parameters: | Sp (gp_Sphere) – C (gp_Circ) –
  Return type: | None

  `Init`()

    Parameters: | Sp (gp_Sphere) –
    Return type: | None

  `Project`()

    Parameters: | L (gp_Lin) – C (gp_Circ) – E (gp_Elips) – P (gp_Parab) – H (gp_Hypr) –
    Return type: | void
    Return type: | void
    Return type: | void
    Return type: | void
    Return type: | void

  `SetInBounds`()
    - Set the point of parameter U on C in the natural restrictions of the sphere.

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

  `thisown`

    The membership flag

class `ProjLib_Torus`(*args)

  Bases: `OCC.ProjLib.ProjLib_Projector`

  - Undefined projection.

  Return type: | None

  - Projection on the torus <To>.

  Parameters: | To (gp_Torus) –
  Return type: | None

  - Projection of the circle <C> on the torus <To>.

  Parameters: | To (gp_Torus) – C (gp_Circ) –
  Return type: | None

  `Init`()

    Parameters: | To (gp_Torus) –
    Return type: | None

  `Project`()

    Parameters: | L (gp_Lin) – C (gp_Circ) – E (gp_Elips) – P (gp_Parab) – H (gp_Hypr) –
    Return type: | void
    Return type: | void
    Return type: | void
    Return type: | void
    Return type: | void

  `thisown`

    The membership flag

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

  Bases: `object`

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

    The membership flag

  `value`()

class `projlib`

  Bases: `object`

  static `Project`(*args)

    Parameters: | Pl (gp_Pln) – P (gp_Pnt) – Pl – L (gp_Lin) – Pl – C (gp_Circ) – Pl – E (gp_Elips) – Pl – P – Pl – H (gp_Hypr) – Cy (gp_Cylinder) – P – Cy – L – Cy – Ci (gp_Circ) – Co (gp_Cone) – P – Co – L – Co – Ci – Sp (gp_Sphere) – P – Sp – Ci – To (gp_Torus) – P – To – Ci –
    Return type: | gp_Pnt2d
    Return type: | gp_Lin2d
    Return type: | gp_Circ2d
    Return type: | gp_Elips2d
    Return type: | gp_Parab2d
    Return type: | gp_Hypr2d
    Return type: | gp_Pnt2d
    Return type: | gp_Lin2d
    Return type: | gp_Lin2d
    Return type: | gp_Pnt2d
    Return type: | gp_Lin2d
    Return type: | gp_Lin2d
    Return type: | gp_Pnt2d
    Return type: | gp_Lin2d
    Return type: | gp_Pnt2d
    Return type: | gp_Lin2d

  `thisown`

    The membership flag

`projlib_Project`(*args)

  Parameters: | Pl (gp_Pln) – P (gp_Pnt) – Pl – L (gp_Lin) – Pl – C (gp_Circ) – Pl – E (gp_Elips) – Pl – P – Pl – H (gp_Hypr) – Cy (gp_Cylinder) – P – Cy – L – Cy – Ci (gp_Circ) – Co (gp_Cone) – P – Co – L – Co – Ci – Sp (gp_Sphere) – P – Sp – Ci – To (gp_Torus) – P – To – Ci –
  Return type: | gp_Pnt2d
  Return type: | gp_Lin2d
  Return type: | gp_Circ2d
  Return type: | gp_Elips2d
  Return type: | gp_Parab2d
  Return type: | gp_Hypr2d
  Return type: | gp_Pnt2d
  Return type: | gp_Lin2d
  Return type: | gp_Lin2d
  Return type: | gp_Pnt2d
  Return type: | gp_Lin2d
  Return type: | gp_Lin2d
  Return type: | gp_Pnt2d
  Return type: | gp_Lin2d
  Return type: | gp_Pnt2d
  Return type: | gp_Lin2d

`register_handle`(handle, base_object)

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