OCC.Core.ProjLib module¶
ProjLib module, see official documentation at https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_projlib.html
-
class
ProjLib_CompProjectedCurve
(*args)¶ Bases:
OCC.Core.Adaptor2d.Adaptor2d_Curve2d
- Return type
None* try to find all solutions :param S: :type S: Adaptor3d_HSurface :param C: :type C: Adaptor3d_HCurve :param TolU: :type TolU: float :param TolV: :type TolV: float :rtype: None* this constructor tries to optimize the search using the assumption that maximum distance between surface and curve less or equal then MaxDist. if MaxDist < 0 then algorithm works as above. :param S: :type S: Adaptor3d_HSurface :param C: :type C: Adaptor3d_HCurve :param TolU: :type TolU: float :param TolV: :type TolV: float :param MaxDist: :type MaxDist: float :rtype: None
-
Bounds
()¶ - returns the bounds of the continuous part corresponding to Index
- param Index
- type Index
int
- param Udeb
- type Udeb
float
- param Ufin
- type Ufin
float
- rtype
None
-
GetCurve
()¶ - Return type
opencascade::handle<Adaptor3d_HCurve>
-
GetSequence
()¶ - Return type
opencascade::handle<ProjLib_HSequenceOfHSequenceOfPnt>
-
GetSurface
()¶ - Return type
opencascade::handle<Adaptor3d_HSurface>
-
GetTolerance
()¶ - Parameters
TolU –
- type TolU
float
- param TolV
- type TolV
float
- rtype
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.
- rtype
None
-
IsSinglePnt
()¶ - returns True if part of projection with number Index is a single point and writes its coordinates in P
- param Index
- type Index
int
- param P
- type P
gp_Pnt2d
- rtype
bool
-
IsUIso
()¶ - returns True if part of projection with number Index is an u-isoparametric curve of input surface
- param Index
- type Index
int
- param U
- type U
float
- rtype
bool
-
IsVIso
()¶ - returns True if part of projection with number Index is an v-isoparametric curve of input surface
- param Index
- type Index
int
- param V
- type V
float
- rtype
bool
-
Load
()¶ - Changes the surface.
- param S
- type S
Adaptor3d_HSurface
- rtype
None* Changes the curve.
- param C
- type C
Adaptor3d_HCurve
- rtype
None
-
MaxDistance
()¶ - returns the maximum distance between curve to project and surface
- param Index
- type Index
int
- rtype
float
-
NbCurves
()¶ - returns the number of continuous part of the projected curve
- rtype
int
-
property
thisown
¶ The membership flag
-
class
ProjLib_ComputeApprox
(*args)¶ Bases:
object
- Empty constructor, it only sets some initial values for class fields.
- rtype
None* <Tol> is the tolerance with which the approximation is performed. Other parameters for approximation have default values.
- param C
- type C
Adaptor3d_HCurve
- param S
- type S
Adaptor3d_HSurface
- param Tol
- type Tol
float
- rtype
None
-
BSpline
()¶ - Return type
opencascade::handle<Geom2d_BSplineCurve>
-
Bezier
()¶ - Return type
opencascade::handle<Geom2d_BezierCurve>
-
Perform
()¶ - Performs projecting. In case of approximation current values of parameters are used: default values or set by corresponding methods Set…
- param C
- type C
Adaptor3d_HCurve
- param S
- type S
Adaptor3d_HSurface
- rtype
None
-
SetBndPnt
()¶ - Set the parameter, which defines type of boundary condition between segments during approximation. It can be AppParCurves_PassPoint or AppParCurves_TangencyPoint. Default value is AppParCurves_TangencyPoint;
- param theBndPnt
- type theBndPnt
AppParCurves_Constraint
- rtype
None
-
SetDegree
()¶ - Set min and max possible degree of result BSpline curve2d, which is got by approximation. If theDegMin/Max < 0, algorithm uses values that are chosen depending of types curve 3d and surface.
- param theDegMin
- type theDegMin
int
- param theDegMax
- type theDegMax
int
- rtype
None
-
SetMaxSegments
()¶ - Set the parameter, which defines maximal value of parametric intervals the projected curve can be cut for approximation. If theMaxSegments < 0, algorithm uses default value = 1000.
- param theMaxSegments
- type theMaxSegments
int
- rtype
None
-
SetTolerance
()¶ - Set tolerance of approximation. Default value is Precision::Confusion().
- param theTolerance
- type theTolerance
float
- rtype
None
-
Tolerance
()¶ - returns the reached Tolerance.
- rtype
float
-
property
thisown
¶ The membership flag
-
class
ProjLib_ComputeApproxOnPolarSurface
(*args)¶ Bases:
object
- Empty constructor, it only sets some initial values for class fields.
- rtype
None* Constructor, which performs projecting.
- param C
- type C
Adaptor3d_HCurve
- param S
- type S
Adaptor3d_HSurface
- param Tol
default value is 1.0e-4
- type Tol
float
- rtype
None* Constructor, which performs projecting, using initial curve 2d InitCurve2d, which is any rough approximation of result curve. Parameter Tol is 3d tolerance of approximation.
- param InitCurve2d
- type InitCurve2d
Adaptor2d_HCurve2d
- param C
- type C
Adaptor3d_HCurve
- param S
- type S
Adaptor3d_HSurface
- param Tol
- type Tol
float
- rtype
None* Constructor, which performs projecting, using two initial curves 2d: InitCurve2d and InitCurve2dBis that are any rough approximations of result curves. This constructor is used to get two pcurves for seem edge. Parameter Tol is 3d tolerance of approximation.
- param InitCurve2d
- type InitCurve2d
Adaptor2d_HCurve2d
- param InitCurve2dBis
- type InitCurve2dBis
Adaptor2d_HCurve2d
- param C
- type C
Adaptor3d_HCurve
- param S
- type S
Adaptor3d_HSurface
- param Tol
- type Tol
float
- rtype
None
-
BSpline
()¶ - Returns result curve 2d.
- rtype
opencascade::handle<Geom2d_BSplineCurve>
-
BuildInitialCurve2d
()¶ - Builds initial 2d curve as BSpline with degree = 1 using Extrema algoritm. Method is used in method Perform(…).
- param Curve
- type Curve
Adaptor3d_HCurve
- param S
- type S
Adaptor3d_HSurface
- rtype
opencascade::handle<Adaptor2d_HCurve2d>
-
Curve2d
()¶ - Returns second 2d curve.
- rtype
opencascade::handle<Geom2d_Curve>
-
Perform
()¶ - Method, which performs projecting, using default values of parameters or they must be set by corresponding methods before using.
- param C
- type C
Adaptor3d_HCurve
- param S
- type S
Adaptor3d_HSurface
- rtype
None* Method, which performs projecting, using default values of parameters or they must be set by corresponding methods before using. Parameter InitCurve2d is any rough estimation of 2d result curve.
- param InitCurve2d
- type InitCurve2d
Adaptor2d_HCurve2d
- param C
- type C
Adaptor3d_HCurve
- param S
- type S
Adaptor3d_HSurface
- rtype
opencascade::handle<Geom2d_BSplineCurve>
-
ProjectUsingInitialCurve2d
()¶ - Method, which performs projecting. Method is used in method Perform(…).
- param Curve
- type Curve
Adaptor3d_HCurve
- param S
- type S
Adaptor3d_HSurface
- param InitCurve2d
- type InitCurve2d
Adaptor2d_HCurve2d
- rtype
opencascade::handle<Geom2d_BSplineCurve>
-
SetBndPnt
()¶ - Set the parameter, which defines type of boundary condition between segments during approximation. It can be AppParCurves_PassPoint or AppParCurves_TangencyPoint. Default value is AppParCurves_TangencyPoint.
- param theBndPnt
- type theBndPnt
AppParCurves_Constraint
- rtype
None
-
SetDegree
()¶ - Set min and max possible degree of result BSpline curve2d, which is got by approximation. If theDegMin/Max < 0, algorithm uses values min = 2, max = 8.
- param theDegMin
- type theDegMin
int
- param theDegMax
- type theDegMax
int
- rtype
None
-
SetMaxDist
()¶ - Set the parameter, which defines maximal possible distance between projected curve and surface. It is used only for projecting on not analytical surfaces. If theMaxDist < 0, algoritm uses default value 100.*Tolerance. If real distance between curve and surface more then theMaxDist, algorithm stops working.
- param theMaxDist
- type theMaxDist
float
- rtype
None
-
SetMaxSegments
()¶ - Set the parameter, which defines maximal value of parametric intervals the projected curve can be cut for approximation. If theMaxSegments < 0, algorithm uses default value = 1000.
- param theMaxSegments
- type theMaxSegments
int
- rtype
None
-
SetTolerance
()¶ - Set the tolerance used to project the curve on the surface. Default value is Precision::Approximation().
- param theTolerance
- type theTolerance
float
- rtype
None
-
Tolerance
()¶ - returns the reached Tolerance.
- rtype
float
-
property
thisown
¶ The membership flag
-
class
ProjLib_Cone
(*args)¶ Bases:
OCC.Core.ProjLib.ProjLib_Projector
- Undefined projection.
- rtype
None* Projection on the cone <Co>.
- param Co
- type Co
gp_Cone
- rtype
None* Projection of the line <L> on the cone <Co>.
- param Co
- type Co
gp_Cone
- param L
- type L
gp_Lin
- rtype
None* Projection of the circle <C> on the cone <Co>.
- param Co
- type Co
gp_Cone
- param C
- type C
gp_Circ
- rtype
None
-
Init
()¶ - Parameters
Co –
- type Co
gp_Cone
- rtype
None
-
Project
()¶ - Parameters
L –
- type L
gp_Lin
- rtype
void:param C:
- type C
gp_Circ
- rtype
void:param E:
- type E
gp_Elips
- rtype
void:param P:
- type P
gp_Parab
- rtype
void:param H:
- type H
gp_Hypr
- rtype
void
-
property
thisown
¶ The membership flag
-
class
ProjLib_Cylinder
(*args)¶ Bases:
OCC.Core.ProjLib.ProjLib_Projector
- Undefined projection.
- rtype
None* Projection on the cylinder <Cyl>.
- param Cyl
- type Cyl
gp_Cylinder
- rtype
None* Projection of the line <L> on the cylinder <Cyl>.
- param Cyl
- type Cyl
gp_Cylinder
- param L
- type L
gp_Lin
- rtype
None* Projection of the circle <C> on the cylinder <Cyl>.
- param Cyl
- type Cyl
gp_Cylinder
- param C
- type C
gp_Circ
- rtype
None* Projection of the ellipse <E> on the cylinder <Cyl>.
- param Cyl
- type Cyl
gp_Cylinder
- param E
- type E
gp_Elips
- rtype
None
-
Init
()¶ - Parameters
Cyl –
- type Cyl
gp_Cylinder
- rtype
None
-
Project
()¶ - Parameters
L –
- type L
gp_Lin
- rtype
void:param C:
- type C
gp_Circ
- rtype
void:param E:
- type E
gp_Elips
- rtype
void:param P:
- type P
gp_Parab
- rtype
void:param H:
- type H
gp_Hypr
- rtype
void
-
property
thisown
¶ The membership flag
-
class
ProjLib_HCompProjectedCurve
(*args)¶ Bases:
OCC.Core.Adaptor2d.Adaptor2d_HCurve2d
- Creates an empty GenHCurve2d.
- rtype
None* Creates a GenHCurve2d from a Curve
- param C
- type C
ProjLib_CompProjectedCurve
- rtype
None
-
ChangeCurve2d
()¶ - Returns the curve used to create the GenHCurve.
- rtype
ProjLib_CompProjectedCurve
-
static
DownCast
(t)¶
-
Set
()¶ - Sets the field of the GenHCurve2d.
- param C
- type C
ProjLib_CompProjectedCurve
- rtype
None
-
property
thisown
¶ The membership flag
-
class
ProjLib_HProjectedCurve
(*args)¶ Bases:
OCC.Core.Adaptor2d.Adaptor2d_HCurve2d
- Creates an empty GenHCurve2d.
- rtype
None* Creates a GenHCurve2d from a Curve
- param C
- type C
ProjLib_ProjectedCurve
- rtype
None
-
ChangeCurve2d
()¶ - Returns the curve used to create the GenHCurve.
- rtype
ProjLib_ProjectedCurve
-
static
DownCast
(t)¶
-
Set
()¶ - Sets the field of the GenHCurve2d.
- param C
- type C
ProjLib_ProjectedCurve
- rtype
None
-
property
thisown
¶ The membership flag
-
class
ProjLib_HSequenceOfHSequenceOfPnt
(*args)¶ Bases:
OCC.Core.ProjLib.ProjLib_SequenceOfHSequenceOfPnt
,OCC.Core.Standard.Standard_Transient
Empty constructor
- Return type
None* Copy constructor – does nothing
- Parameters
& (Standard_Transient) –
- Return type
-
Append
()¶
-
ChangeSequence
()¶
-
static
DownCast
(t)¶
-
Sequence
()¶
-
property
thisown
¶ The membership flag
-
class
ProjLib_Plane
(*args)¶ Bases:
OCC.Core.ProjLib.ProjLib_Projector
- Undefined projection.
- rtype
None* Projection on the plane <Pl>.
- param Pl
- type Pl
gp_Pln
- rtype
None* Projection of the line <L> on the plane <Pl>.
- param Pl
- type Pl
gp_Pln
- param L
- type L
gp_Lin
- rtype
None* Projection of the circle <C> on the plane <Pl>.
- param Pl
- type Pl
gp_Pln
- param C
- type C
gp_Circ
- rtype
None* Projection of the ellipse <E> on the plane <Pl>.
- param Pl
- type Pl
gp_Pln
- param E
- type E
gp_Elips
- rtype
None* Projection of the parabola <P> on the plane <Pl>.
- param Pl
- type Pl
gp_Pln
- param P
- type P
gp_Parab
- rtype
None* Projection of the hyperbola <H> on the plane <Pl>.
- param Pl
- type Pl
gp_Pln
- param H
- type H
gp_Hypr
- rtype
None
-
Init
()¶ - Parameters
Pl –
- type Pl
gp_Pln
- rtype
None
-
Project
()¶ - Parameters
L –
- type L
gp_Lin
- rtype
void:param C:
- type C
gp_Circ
- rtype
void:param E:
- type E
gp_Elips
- rtype
void:param P:
- type P
gp_Parab
- rtype
void:param H:
- type H
gp_Hypr
- rtype
void
-
property
thisown
¶ The membership flag
-
class
ProjLib_PrjFunc
(*args)¶ Bases:
OCC.Core.math.math_FunctionSetWithDerivatives
- Parameters
C –
- type C
Adaptor3d_CurvePtr
- param FixVal
- type FixVal
float
- param S
- type S
Adaptor3d_SurfacePtr
- param Fix
- type Fix
int
- rtype
None
-
Solution
()¶ - returns point on surface
- rtype
gp_Pnt2d
-
property
thisown
¶ The membership flag
-
class
ProjLib_PrjResolve
(*args)¶ Bases:
object
- Parameters
C –
- type C
Adaptor3d_Curve
- param S
- type S
Adaptor3d_Surface
- param Fix
- type Fix
int
- rtype
None
-
IsDone
()¶ - Returns True if the distance is found.
- rtype
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.
- param t
- type t
float
- param U
- type U
float
- param V
- type V
float
- param Tol
- type Tol
gp_Pnt2d
- param Inf
- type Inf
gp_Pnt2d
- param Sup
- type Sup
gp_Pnt2d
- param FTol
default value is -1
- type FTol
float
- param StrictInside
default value is Standard_False
- type StrictInside
bool
- rtype
None
-
Solution
()¶ - Returns the point of the extremum distance.
- rtype
gp_Pnt2d
-
property
thisown
¶ The membership flag
-
class
ProjLib_ProjectOnPlane
(*args)¶ Bases:
OCC.Core.Adaptor3d.Adaptor3d_Curve
- Empty constructor.
- rtype
None* The projection will be normal to the Plane defined by the Ax3 <Pl>.
- param Pl
- type Pl
gp_Ax3
- rtype
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>.
- param Pl
- type Pl
gp_Ax3
- param D
- type D
gp_Dir
- rtype
None
-
GetCurve
()¶ - Return type
opencascade::handle<Adaptor3d_HCurve>
-
GetResult
()¶ - Return type
opencascade::handle<GeomAdaptor_HCurve>
-
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.
- param C
- type C
Adaptor3d_HCurve
- param Tolerance
- type Tolerance
float
- param KeepParametrization
default value is Standard_True
- type KeepParametrization
bool
- rtype
None
-
property
thisown
¶ The membership flag
-
class
ProjLib_ProjectOnSurface
(*args)¶ Bases:
object
- Create an empty projector.
- rtype
None* Create a projector normaly to the surface <S>.
- param S
- type S
Adaptor3d_HSurface
- rtype
None
-
BSpline
()¶ - Return type
opencascade::handle<Geom_BSplineCurve>
-
property
thisown
¶ The membership flag
-
class
ProjLib_ProjectedCurve
(*args)¶ Bases:
OCC.Core.Adaptor2d.Adaptor2d_Curve2d
- Empty constructor, it only sets some initial values for class fields.
- rtype
None* Constructor with initialisation field mySurface
- param S
- type S
Adaptor3d_HSurface
- rtype
None* Constructor, which performs projecting. If projecting uses approximation, default parameters are used, in particular, 3d tolerance of approximation is Precision::Confusion()
- param S
- type S
Adaptor3d_HSurface
- param C
- type C
Adaptor3d_HCurve
- rtype
None* Constructor, which performs projecting. If projecting uses approximation, 3d tolerance is Tol, default parameters are used,
- param S
- type S
Adaptor3d_HSurface
- param C
- type C
Adaptor3d_HCurve
- param Tol
- type Tol
float
- rtype
None
-
GetCurve
()¶ - Return type
opencascade::handle<Adaptor3d_HCurve>
-
GetSurface
()¶ - Return type
opencascade::handle<Adaptor3d_HSurface>
-
GetTolerance
()¶ - returns the tolerance reached if an approximation is Done.
- rtype
float
-
Perform
()¶ - Performs projecting for given curve. If projecting uses approximation, approximation parameters can be set before by corresponding methods SetDegree(…), SetMaxSegmets(…), SetBndPnt(…), SetMaxDist(…)
- param C
- type C
Adaptor3d_HCurve
- rtype
None
-
SetBndPnt
()¶ - Set the parameter, which defines type of boundary condition between segments during approximation. It can be AppParCurves_PassPoint or AppParCurves_TangencyPoint. Default value is AppParCurves_TangencyPoint;
- param theBndPnt
- type theBndPnt
AppParCurves_Constraint
- rtype
None
-
SetDegree
()¶ - Set min and max possible degree of result BSpline curve2d, which is got by approximation. If theDegMin/Max < 0, algorithm uses values that are chosen depending of types curve 3d and surface.
- param theDegMin
- type theDegMin
int
- param theDegMax
- type theDegMax
int
- rtype
None
-
SetMaxDist
()¶ - Set the parameter, which degines maximal possible distance between projected curve and surface. It uses only for projecting on not analytical surfaces. If theMaxDist < 0, algoritm uses default value 100.*Tolerance. If real distance between curve and surface more then theMaxDist, algorithm stops working.
- param theMaxDist
- type theMaxDist
float
- rtype
None
-
SetMaxSegments
()¶ - Set the parameter, which defines maximal value of parametric intervals the projected curve can be cut for approximation. If theMaxSegments < 0, algorithm uses default value = 1000.
- param theMaxSegments
- type theMaxSegments
int
- rtype
None
-
property
thisown
¶ The membership flag
-
class
ProjLib_Projector
(*args)¶ Bases:
object
- Sets the type to OtherCurve
- rtype
None
-
BSpline
()¶ - Return type
opencascade::handle<Geom2d_BSplineCurve>
-
Bezier
()¶ - Return type
opencascade::handle<Geom2d_BezierCurve>
-
Done
()¶ - Set isDone = Standard_True;
- rtype
None
-
Ellipse
()¶ - Return type
-
GetType
()¶ - Return type
GeomAbs_CurveType
-
Parabola
()¶ - Return type
-
Project
()¶ - Parameters
L –
- type L
gp_Lin
- rtype
void:param C:
- type C
gp_Circ
- rtype
void:param E:
- type E
gp_Elips
- rtype
void:param P:
- type P
gp_Parab
- rtype
void:param H:
- type H
gp_Hypr
- rtype
void
-
SetBSpline
()¶ - Parameters
C –
- type C
Geom2d_BSplineCurve
- rtype
None
-
SetBezier
()¶ - Parameters
C –
- type C
Geom2d_BezierCurve
- rtype
None
-
SetType
()¶ - Parameters
Type –
- type Type
GeomAbs_CurveType
- rtype
None
-
UFrame
()¶ - Translates the 2d curve to set the part of the curve [CFirst, CLast] in the range [ UFirst, UFirst + Period [
- param CFirst
- type CFirst
float
- param CLast
- type CLast
float
- param UFirst
- type UFirst
float
- param Period
- type Period
float
- rtype
None
-
VFrame
()¶ - Translates the 2d curve to set the part of the curve [CFirst, CLast] in the range [ VFirst, VFirst + Period [
- param CFirst
- type CFirst
float
- param CLast
- type CLast
float
- param VFirst
- type VFirst
float
- param Period
- type Period
float
- rtype
None
-
property
thisown
¶ The membership flag
-
class
ProjLib_SequenceOfHSequenceOfPnt
(*args)¶ Bases:
object
-
Append
()¶
-
Assign
()¶
-
ChangeFirst
()¶
-
ChangeLast
()¶
-
ChangeValue
()¶
-
Clear
()¶
-
Exchange
()¶
-
First
()¶
-
InsertAfter
()¶
-
InsertBefore
()¶
-
IsEmpty
()¶
-
Last
()¶
-
Length
()¶
-
Lower
()¶
-
Prepend
()¶
-
Remove
()¶
-
Reverse
()¶
-
Set
()¶
-
SetValue
()¶
-
Size
()¶
-
Split
()¶
-
Upper
()¶
-
Value
()¶
-
begin
()¶
-
cbegin
()¶
-
cend
()¶
-
static
delNode
()¶
-
end
()¶
-
property
thisown
¶ The membership flag
-
-
class
ProjLib_Sphere
(*args)¶ Bases:
OCC.Core.ProjLib.ProjLib_Projector
- Undefined projection.
- rtype
None* Projection on the sphere <Sp>.
- param Sp
- type Sp
gp_Sphere
- rtype
None* Projection of the circle <C> on the sphere <Sp>.
- param Sp
- type Sp
gp_Sphere
- param C
- type C
gp_Circ
- rtype
None
-
Init
()¶ - Parameters
Sp –
- type Sp
gp_Sphere
- rtype
None
-
Project
()¶ - Parameters
L –
- type L
gp_Lin
- rtype
void:param C:
- type C
gp_Circ
- rtype
void:param E:
- type E
gp_Elips
- rtype
void:param P:
- type P
gp_Parab
- rtype
void:param H:
- type H
gp_Hypr
- rtype
void
-
SetInBounds
()¶ - Set the point of parameter U on C in the natural restrictions of the sphere.
- param U
- type U
float
- rtype
None
-
property
thisown
¶ The membership flag
-
class
ProjLib_Torus
(*args)¶ Bases:
OCC.Core.ProjLib.ProjLib_Projector
- Undefined projection.
- rtype
None* Projection on the torus <To>.
- param To
- type To
gp_Torus
- rtype
None* Projection of the circle <C> on the torus <To>.
- param To
- type To
gp_Torus
- param C
- type C
gp_Circ
- rtype
None
-
Init
()¶ - Parameters
To –
- type To
gp_Torus
- rtype
None
-
Project
()¶ - Parameters
L –
- type L
gp_Lin
- rtype
void:param C:
- type C
gp_Circ
- rtype
void:param E:
- type E
gp_Elips
- rtype
void:param P:
- type P
gp_Parab
- rtype
void:param H:
- type H
gp_Hypr
- rtype
void
-
property
thisown
¶ The membership flag
-
class
SwigPyIterator
(*args, **kwargs)¶ Bases:
object
-
advance
()¶
-
copy
()¶
-
decr
()¶
-
distance
()¶
-
equal
()¶
-
incr
()¶
-
next
()¶
-
previous
()¶
-
property
thisown
¶ The membership flag
-
value
()¶
-
-
class
projlib
¶ Bases:
object
-
static
IsAnaSurf
()¶ - Returns ‘true’ if surface is analytical, that is it can be Plane, Cylinder, Cone, Sphere, Torus. For all other types of surface method returns ‘false’.
- param theAS
- type theAS
Adaptor3d_HSurface
- rtype
bool
-
static
MakePCurveOfType
()¶ - Make empty P-Curve <aC> of relevant to <PC> type
- param PC
- type PC
ProjLib_ProjectedCurve
- param aC
- type aC
Geom2d_Curve
- rtype
void
-
static
Project
()¶ - Parameters
Pl –
- type Pl
gp_Pln
- param P
- type P
gp_Pnt
- rtype
gp_Pnt2d:param Pl:
- type Pl
gp_Pln
- param L
- type L
gp_Lin
- rtype
gp_Lin2d:param Pl:
- type Pl
gp_Pln
- param C
- type C
gp_Circ
- rtype
gp_Circ2d:param Pl:
- type Pl
gp_Pln
- param E
- type E
gp_Elips
- rtype
gp_Elips2d:param Pl:
- type Pl
gp_Pln
- param P
- type P
gp_Parab
- rtype
gp_Parab2d:param Pl:
- type Pl
gp_Pln
- param H
- type H
gp_Hypr
- rtype
gp_Hypr2d:param Cy:
- type Cy
gp_Cylinder
- param P
- type P
gp_Pnt
- rtype
gp_Pnt2d:param Cy:
- type Cy
gp_Cylinder
- param L
- type L
gp_Lin
- rtype
gp_Lin2d:param Cy:
- type Cy
gp_Cylinder
- param Ci
- type Ci
gp_Circ
- rtype
gp_Lin2d:param Co:
- type Co
gp_Cone
- param P
- type P
gp_Pnt
- rtype
gp_Pnt2d:param Co:
- type Co
gp_Cone
- param L
- type L
gp_Lin
- rtype
gp_Lin2d:param Co:
- type Co
gp_Cone
- param Ci
- type Ci
gp_Circ
- rtype
gp_Lin2d:param Sp:
- type Sp
gp_Sphere
- param P
- type P
gp_Pnt
- rtype
gp_Pnt2d:param Sp:
- type Sp
gp_Sphere
- param Ci
- type Ci
gp_Circ
- rtype
gp_Lin2d:param To:
- type To
gp_Torus
- param P
- type P
gp_Pnt
- rtype
gp_Pnt2d:param To:
- type To
gp_Torus
- param Ci
- type Ci
gp_Circ
- rtype
gp_Lin2d
-
property
thisown
¶ The membership flag
-
static