OCC.Core.GeomProjLib module¶
GeomProjLib module, see official documentation at https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_geomprojlib.html
-
class
SwigPyIterator
(*args, **kwargs)¶ Bases:
object
-
advance
()¶
-
copy
()¶
-
decr
()¶
-
distance
()¶
-
equal
()¶
-
incr
()¶
-
next
()¶
-
previous
()¶
-
property
thisown
¶ The membership flag
-
value
()¶
-
-
class
geomprojlib
¶ Bases:
object
-
static
Curve2d
()¶ - gives the 2d-curve of a 3d-curve 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. WARNINGif the projection has failed, this method returns a null Handle.
- param C
- type C
Geom_Curve
- param First
- type First
float
- param Last
- type Last
float
- param S
- type S
Geom_Surface
- param UFirst
- type UFirst
float
- param ULast
- type ULast
float
- param VFirst
- type VFirst
float
- param VLast
- type VLast
float
- param Tolerance
- type Tolerance
float
- rtype
opencascade::handle<Geom2d_Curve>* gives the 2d-curve of a 3d-curve 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.
- param C
- type C
Geom_Curve
- param First
- type First
float
- param Last
- type Last
float
- param S
- type S
Geom_Surface
- param Tolerance
- type Tolerance
float
- rtype
opencascade::handle<Geom2d_Curve>* gives the 2d-curve of a 3d-curve 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.
- param C
- type C
Geom_Curve
- param First
- type First
float
- param Last
- type Last
float
- param S
- type S
Geom_Surface
- rtype
opencascade::handle<Geom2d_Curve>* gives the 2d-curve of a 3d-curve 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.
- param C
- type C
Geom_Curve
- param S
- type S
Geom_Surface
- rtype
opencascade::handle<Geom2d_Curve>* gives the 2d-curve of a 3d-curve 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
- param C
- type C
Geom_Curve
- param S
- type S
Geom_Surface
- param UDeb
- type UDeb
float
- param UFin
- type UFin
float
- param VDeb
- type VDeb
float
- param VFin
- type VFin
float
- rtype
opencascade::handle<Geom2d_Curve>* gives the 2d-curve of a 3d-curve 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
- param C
- type C
Geom_Curve
- param S
- type S
Geom_Surface
- param UDeb
- type UDeb
float
- param UFin
- type UFin
float
- param VDeb
- type VDeb
float
- param VFin
- type VFin
float
- param Tolerance
- type Tolerance
float
- rtype
opencascade::handle<Geom2d_Curve>
-
static
Project
()¶ - Constructs the 3d-curve from the normal projection of the Curve <C> on the surface <S>. WARNINGif the projection has failes returns a null Handle.
- param C
- type C
Geom_Curve
- param S
- type S
Geom_Surface
- rtype
opencascade::handle<Geom_Curve>
-
static
ProjectOnPlane
()¶ - Constructs the 3d-curves 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.
- param Curve
- type Curve
Geom_Curve
- param Plane
- type Plane
Geom_Plane
- param Dir
- type Dir
gp_Dir
- param KeepParametrization
- type KeepParametrization
bool
- rtype
opencascade::handle<Geom_Curve>
-
property
thisown
¶ The membership flag
-
static