OCC.GeomProjLib module¶

class
SwigPyIterator
(*args, **kwargs)¶ Bases:
object

advance
()¶

copy
()¶

decr
()¶

distance
()¶

equal
()¶

incr
()¶

next
()¶

previous
()¶

thisown
¶ The membership flag

value
()¶


class
geomprojlib
¶ Bases:
object

static
Curve2d
(*args)¶  gives the 2dcurve of a 3dcurve lying on a surface ( uses GeomProjLib_ProjectedCurve ) The 3dCurve is taken between the parametrization range [First, Last] <Tolerance> is used as input if the projection needs an approximation. In this case, the reached tolerance is set in <Tolerance> as output. WARNING : if the projection has failed, this method returns a null Handle.
Parameters: Return type:  gives the 2dcurve of a 3dcurve lying on a surface ( uses GeomProjLib_ProjectedCurve ) The 3dCurve is taken between the parametrization range [First, Last] <Tolerance> is used as input if the projection needs an approximation. In this case, the reached tolerance is set in <Tolerance> as output. WARNING : if the projection has failed, this method returns a null Handle.
Parameters: Return type:  gives the 2dcurve of a 3dcurve lying on a surface ( uses GeomProjLib_ProjectedCurve ) The 3dCurve is taken between the parametrization range [First, Last] If the projection needs an approximation, Precision::PApproximation() is used. WARNING : if the projection has failed, this method returns a null Handle.
Parameters: Return type:  gives the 2dcurve of a 3dcurve lying on a surface ( uses GeomProjLib_ProjectedCurve ). If the projection needs an approximation, Precision::PApproximation() is used. WARNING : if the projection has failed, this method returns a null Handle.
Parameters:  C (Handle_Geom_Curve &) –
 S (Handle_Geom_Surface &) –
Return type:  gives the 2dcurve of a 3dcurve lying on a surface ( uses GeomProjLib_ProjectedCurve ). If the projection needs an approximation, Precision::PApproximation() is used. WARNING : if the projection has failed, this method returns a null Handle. can expand a little the bounds of surface
Parameters: Return type:  gives the 2dcurve of a 3dcurve lying on a surface ( uses GeomProjLib_ProjectedCurve ). If the projection needs an approximation, Precision::PApproximation() is used. WARNING : if the projection has failed, this method returns a null Handle. can expand a little the bounds of surface
Parameters: Return type:

static
Project
(*args)¶  Constructs the 3dcurve from the normal projection of the Curve <C> on the surface <S>. WARNING : if the projection has failes returns a null Handle.
Parameters:  C (Handle_Geom_Curve &) –
 S (Handle_Geom_Surface &) –
Return type:

static
ProjectOnPlane
(*args)¶  Constructs the 3dcurves from the projection of the curve <Curve> on the plane <Plane> along the direction <Dir>. 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: Return type:

thisown
¶ The membership flag

static

geomprojlib_Curve2d
(*args)¶  gives the 2dcurve of a 3dcurve lying on a surface ( uses GeomProjLib_ProjectedCurve ) The 3dCurve is taken between the parametrization range [First, Last] <Tolerance> is used as input if the projection needs an approximation. In this case, the reached tolerance is set in <Tolerance> as output. WARNING : if the projection has failed, this method returns a null Handle.
Parameters: Return type:  gives the 2dcurve of a 3dcurve lying on a surface ( uses GeomProjLib_ProjectedCurve ) The 3dCurve is taken between the parametrization range [First, Last] <Tolerance> is used as input if the projection needs an approximation. In this case, the reached tolerance is set in <Tolerance> as output. WARNING : if the projection has failed, this method returns a null Handle.
Parameters: Return type:  gives the 2dcurve of a 3dcurve lying on a surface ( uses GeomProjLib_ProjectedCurve ) The 3dCurve is taken between the parametrization range [First, Last] If the projection needs an approximation, Precision::PApproximation() is used. WARNING : if the projection has failed, this method returns a null Handle.
Parameters: Return type:  gives the 2dcurve of a 3dcurve lying on a surface ( uses GeomProjLib_ProjectedCurve ). If the projection needs an approximation, Precision::PApproximation() is used. WARNING : if the projection has failed, this method returns a null Handle.
Parameters:  C (Handle_Geom_Curve &) –
 S (Handle_Geom_Surface &) –
Return type:  gives the 2dcurve of a 3dcurve lying on a surface ( uses GeomProjLib_ProjectedCurve ). If the projection needs an approximation, Precision::PApproximation() is used. WARNING : if the projection has failed, this method returns a null Handle. can expand a little the bounds of surface
Parameters: Return type:  gives the 2dcurve of a 3dcurve lying on a surface ( uses GeomProjLib_ProjectedCurve ). If the projection needs an approximation, Precision::PApproximation() is used. WARNING : if the projection has failed, this method returns a null Handle. can expand a little the bounds of surface
Parameters: Return type:

geomprojlib_Project
(*args)¶  Constructs the 3dcurve from the normal projection of the Curve <C> on the surface <S>. WARNING : if the projection has failes returns a null Handle.
Parameters:  C (Handle_Geom_Curve &) –
 S (Handle_Geom_Surface &) –
Return type:

geomprojlib_ProjectOnPlane
(*args)¶  Constructs the 3dcurves from the projection of the curve <Curve> on the plane <Plane> along the direction <Dir>. 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: Return type:

register_handle
(handle, base_object)¶ Inserts the handle into the base object to prevent memory corruption in certain cases