OCC.Core.ElCLib module¶
ElCLib module, see official documentation at https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_elclib.html
-
class
SwigPyIterator
(*args, **kwargs)¶ Bases:
object
-
advance
()¶
-
copy
()¶
-
decr
()¶
-
distance
()¶
-
equal
()¶
-
incr
()¶
-
next
()¶
-
previous
()¶
-
property
thisown
¶ The membership flag
-
value
()¶
-
-
class
elclib
¶ Bases:
object
-
static
AdjustPeriodic
()¶ - Adjust U1 and U2 in the parametric range UFirst Ulast of a periodic curve, where ULast - UFirst is its period. To do this, this function: - sets U1 in the range [ UFirst, ULast ] by adding/removing the period to/from the value U1, then - sets U2 in the range [ U1, U1 + period ] by adding/removing the period to/from the value U2. Precision is used to test the equalities.
- param UFirst
- type UFirst
float
- param ULast
- type ULast
float
- param Precision
- type Precision
float
- param U1
- type U1
float
- param U2
- type U2
float
- rtype
void
-
static
CircleD1
()¶ - Parameters
U –
- type U
float
- param Pos
- type Pos
gp_Ax2
- param Radius
- type Radius
float
- param P
- type P
gp_Pnt
- param V1
- type V1
gp_Vec
- rtype
void:param U:
- type U
float
- param Pos
- type Pos
gp_Ax22d
- param Radius
- type Radius
float
- param P
- type P
gp_Pnt2d
- param V1
- type V1
gp_Vec2d
- rtype
void
-
static
CircleD2
()¶ - Parameters
U –
- type U
float
- param Pos
- type Pos
gp_Ax2
- param Radius
- type Radius
float
- param P
- type P
gp_Pnt
- param V1
- type V1
gp_Vec
- param V2
- type V2
gp_Vec
- rtype
void:param U:
- type U
float
- param Pos
- type Pos
gp_Ax22d
- param Radius
- type Radius
float
- param P
- type P
gp_Pnt2d
- param V1
- type V1
gp_Vec2d
- param V2
- type V2
gp_Vec2d
- rtype
void
-
static
CircleD3
()¶ - Parameters
U –
- type U
float
- param Pos
- type Pos
gp_Ax2
- param Radius
- type Radius
float
- param P
- type P
gp_Pnt
- param V1
- type V1
gp_Vec
- param V2
- type V2
gp_Vec
- param V3
- type V3
gp_Vec
- rtype
void:param U:
- type U
float
- param Pos
- type Pos
gp_Ax22d
- param Radius
- type Radius
float
- param P
- type P
gp_Pnt2d
- param V1
- type V1
gp_Vec2d
- param V2
- type V2
gp_Vec2d
- param V3
- type V3
gp_Vec2d
- rtype
void
-
static
CircleDN
()¶ - Parameters
U –
- type U
float
- param Pos
- type Pos
gp_Ax2
- param Radius
- type Radius
float
- param N
- type N
int
- rtype
gp_Vec:param U:
- type U
float
- param Pos
- type Pos
gp_Ax22d
- param Radius
- type Radius
float
- param N
- type N
int
- rtype
gp_Vec2d
-
static
CircleParameter
()¶ - Parameters
Pos –
- type Pos
gp_Ax2
- param P
- type P
gp_Pnt
- rtype
float* Pos is the Axis of the Circle parametrization In the local coordinate system of the circle X (U) = Radius * Cos (U) Y (U) = Radius * Sin (U)
- param Pos
- type Pos
gp_Ax22d
- param P
- type P
gp_Pnt2d
- rtype
float
-
static
CircleValue
()¶ - Parameters
U –
- type U
float
- param Pos
- type Pos
gp_Ax2
- param Radius
- type Radius
float
- rtype
gp_Pnt:param U:
- type U
float
- param Pos
- type Pos
gp_Ax22d
- param Radius
- type Radius
float
- rtype
gp_Pnt2d
-
static
D1
()¶ - For elementary curves (lines, circles and conics) from the gp package, computes: - the point P of parameter U, and - the first derivative vector V1 at this point. The results P and V1 are either: - a gp_Pnt point and a gp_Vec vector, for a curve in 3D space, or - a gp_Pnt2d point and a gp_Vec2d vector, for a curve in 2D space.
- param U
- type U
float
- param L
- type L
gp_Lin
- param P
- type P
gp_Pnt
- param V1
- type V1
gp_Vec
- rtype
None:param U:
- type U
float
- param C
- type C
gp_Circ
- param P
- type P
gp_Pnt
- param V1
- type V1
gp_Vec
- rtype
None:param U:
- type U
float
- param E
- type E
gp_Elips
- param P
- type P
gp_Pnt
- param V1
- type V1
gp_Vec
- rtype
None:param U:
- type U
float
- param H
- type H
gp_Hypr
- param P
- type P
gp_Pnt
- param V1
- type V1
gp_Vec
- rtype
None:param U:
- type U
float
- param Prb
- type Prb
gp_Parab
- param P
- type P
gp_Pnt
- param V1
- type V1
gp_Vec
- rtype
None:param U:
- type U
float
- param L
- type L
gp_Lin2d
- param P
- type P
gp_Pnt2d
- param V1
- type V1
gp_Vec2d
- rtype
None:param U:
- type U
float
- param C
- type C
gp_Circ2d
- param P
- type P
gp_Pnt2d
- param V1
- type V1
gp_Vec2d
- rtype
None:param U:
- type U
float
- param E
- type E
gp_Elips2d
- param P
- type P
gp_Pnt2d
- param V1
- type V1
gp_Vec2d
- rtype
None:param U:
- type U
float
- param H
- type H
gp_Hypr2d
- param P
- type P
gp_Pnt2d
- param V1
- type V1
gp_Vec2d
- rtype
None:param U:
- type U
float
- param Prb
- type Prb
gp_Parab2d
- param P
- type P
gp_Pnt2d
- param V1
- type V1
gp_Vec2d
- rtype
None
-
static
D2
()¶ - For elementary curves (circles and conics) from the gp package, computes: - the point P of parameter U, and - the first and second derivative vectors V1 and V2 at this point. The results, P, V1 and V2, are either: - a gp_Pnt point and two gp_Vec vectors, for a curve in 3D space, or - a gp_Pnt2d point and two gp_Vec2d vectors, for a curve in 2D space.
- param U
- type U
float
- param C
- type C
gp_Circ
- param P
- type P
gp_Pnt
- param V1
- type V1
gp_Vec
- param V2
- type V2
gp_Vec
- rtype
None:param U:
- type U
float
- param E
- type E
gp_Elips
- param P
- type P
gp_Pnt
- param V1
- type V1
gp_Vec
- param V2
- type V2
gp_Vec
- rtype
None:param U:
- type U
float
- param H
- type H
gp_Hypr
- param P
- type P
gp_Pnt
- param V1
- type V1
gp_Vec
- param V2
- type V2
gp_Vec
- rtype
None:param U:
- type U
float
- param Prb
- type Prb
gp_Parab
- param P
- type P
gp_Pnt
- param V1
- type V1
gp_Vec
- param V2
- type V2
gp_Vec
- rtype
None:param U:
- type U
float
- param C
- type C
gp_Circ2d
- param P
- type P
gp_Pnt2d
- param V1
- type V1
gp_Vec2d
- param V2
- type V2
gp_Vec2d
- rtype
None:param U:
- type U
float
- param E
- type E
gp_Elips2d
- param P
- type P
gp_Pnt2d
- param V1
- type V1
gp_Vec2d
- param V2
- type V2
gp_Vec2d
- rtype
None:param U:
- type U
float
- param H
- type H
gp_Hypr2d
- param P
- type P
gp_Pnt2d
- param V1
- type V1
gp_Vec2d
- param V2
- type V2
gp_Vec2d
- rtype
None:param U:
- type U
float
- param Prb
- type Prb
gp_Parab2d
- param P
- type P
gp_Pnt2d
- param V1
- type V1
gp_Vec2d
- param V2
- type V2
gp_Vec2d
- rtype
None
-
static
D3
()¶ - For elementary curves (circles, ellipses and hyperbolae) from the gp package, computes: - the point P of parameter U, and - the first, second and third derivative vectors V1, V2 and V3 at this point. The results, P, V1, V2 and V3, are either: - a gp_Pnt point and three gp_Vec vectors, for a curve in 3D space, or - a gp_Pnt2d point and three gp_Vec2d vectors, for a curve in 2D space.
- param U
- type U
float
- param C
- type C
gp_Circ
- param P
- type P
gp_Pnt
- param V1
- type V1
gp_Vec
- param V2
- type V2
gp_Vec
- param V3
- type V3
gp_Vec
- rtype
None:param U:
- type U
float
- param E
- type E
gp_Elips
- param P
- type P
gp_Pnt
- param V1
- type V1
gp_Vec
- param V2
- type V2
gp_Vec
- param V3
- type V3
gp_Vec
- rtype
None:param U:
- type U
float
- param H
- type H
gp_Hypr
- param P
- type P
gp_Pnt
- param V1
- type V1
gp_Vec
- param V2
- type V2
gp_Vec
- param V3
- type V3
gp_Vec
- rtype
None:param U:
- type U
float
- param C
- type C
gp_Circ2d
- param P
- type P
gp_Pnt2d
- param V1
- type V1
gp_Vec2d
- param V2
- type V2
gp_Vec2d
- param V3
- type V3
gp_Vec2d
- rtype
None:param U:
- type U
float
- param E
- type E
gp_Elips2d
- param P
- type P
gp_Pnt2d
- param V1
- type V1
gp_Vec2d
- param V2
- type V2
gp_Vec2d
- param V3
- type V3
gp_Vec2d
- rtype
None* In the following functions N is the order of derivation and should be greater than 0
- param U
- type U
float
- param H
- type H
gp_Hypr2d
- param P
- type P
gp_Pnt2d
- param V1
- type V1
gp_Vec2d
- param V2
- type V2
gp_Vec2d
- param V3
- type V3
gp_Vec2d
- rtype
None
-
static
DN
()¶ - For elementary curves (lines, circles and conics) from the gp package, computes the vector corresponding to the Nth derivative at the point of parameter U. The result is either: - a gp_Vec vector for a curve in 3D space, or - a gp_Vec2d vector for a curve in 2D space. In the following functions N is the order of derivation and should be greater than 0
- param U
- type U
float
- param L
- type L
gp_Lin
- param N
- type N
int
- rtype
gp_Vec:param U:
- type U
float
- param C
- type C
gp_Circ
- param N
- type N
int
- rtype
gp_Vec:param U:
- type U
float
- param E
- type E
gp_Elips
- param N
- type N
int
- rtype
gp_Vec:param U:
- type U
float
- param H
- type H
gp_Hypr
- param N
- type N
int
- rtype
gp_Vec:param U:
- type U
float
- param Prb
- type Prb
gp_Parab
- param N
- type N
int
- rtype
gp_Vec:param U:
- type U
float
- param L
- type L
gp_Lin2d
- param N
- type N
int
- rtype
gp_Vec2d:param U:
- type U
float
- param C
- type C
gp_Circ2d
- param N
- type N
int
- rtype
gp_Vec2d:param U:
- type U
float
- param E
- type E
gp_Elips2d
- param N
- type N
int
- rtype
gp_Vec2d:param U:
- type U
float
- param H
- type H
gp_Hypr2d
- param N
- type N
int
- rtype
gp_Vec2d:param U:
- type U
float
- param Prb
- type Prb
gp_Parab2d
- param N
- type N
int
- rtype
gp_Vec2d
-
static
EllipseD1
()¶ - Parameters
U –
- type U
float
- param Pos
- type Pos
gp_Ax2
- param MajorRadius
- type MajorRadius
float
- param MinorRadius
- type MinorRadius
float
- param P
- type P
gp_Pnt
- param V1
- type V1
gp_Vec
- rtype
void:param U:
- type U
float
- param Pos
- type Pos
gp_Ax22d
- param MajorRadius
- type MajorRadius
float
- param MinorRadius
- type MinorRadius
float
- param P
- type P
gp_Pnt2d
- param V1
- type V1
gp_Vec2d
- rtype
void
-
static
EllipseD2
()¶ - Parameters
U –
- type U
float
- param Pos
- type Pos
gp_Ax2
- param MajorRadius
- type MajorRadius
float
- param MinorRadius
- type MinorRadius
float
- param P
- type P
gp_Pnt
- param V1
- type V1
gp_Vec
- param V2
- type V2
gp_Vec
- rtype
void:param U:
- type U
float
- param Pos
- type Pos
gp_Ax22d
- param MajorRadius
- type MajorRadius
float
- param MinorRadius
- type MinorRadius
float
- param P
- type P
gp_Pnt2d
- param V1
- type V1
gp_Vec2d
- param V2
- type V2
gp_Vec2d
- rtype
void
-
static
EllipseD3
()¶ - Parameters
U –
- type U
float
- param Pos
- type Pos
gp_Ax2
- param MajorRadius
- type MajorRadius
float
- param MinorRadius
- type MinorRadius
float
- param P
- type P
gp_Pnt
- param V1
- type V1
gp_Vec
- param V2
- type V2
gp_Vec
- param V3
- type V3
gp_Vec
- rtype
void:param U:
- type U
float
- param Pos
- type Pos
gp_Ax22d
- param MajorRadius
- type MajorRadius
float
- param MinorRadius
- type MinorRadius
float
- param P
- type P
gp_Pnt2d
- param V1
- type V1
gp_Vec2d
- param V2
- type V2
gp_Vec2d
- param V3
- type V3
gp_Vec2d
- rtype
void
-
static
EllipseDN
()¶ - Parameters
U –
- type U
float
- param Pos
- type Pos
gp_Ax2
- param MajorRadius
- type MajorRadius
float
- param MinorRadius
- type MinorRadius
float
- param N
- type N
int
- rtype
gp_Vec:param U:
- type U
float
- param Pos
- type Pos
gp_Ax22d
- param MajorRadius
- type MajorRadius
float
- param MinorRadius
- type MinorRadius
float
- param N
- type N
int
- rtype
gp_Vec2d
-
static
EllipseParameter
()¶ - Parameters
Pos –
- type Pos
gp_Ax2
- param MajorRadius
- type MajorRadius
float
- param MinorRadius
- type MinorRadius
float
- param P
- type P
gp_Pnt
- rtype
float* Pos is the Axis of the Ellipse parametrization In the local coordinate system of the Ellipse X (U) = MajorRadius * Cos (U) Y (U) = MinorRadius * Sin (U)
- param Pos
- type Pos
gp_Ax22d
- param MajorRadius
- type MajorRadius
float
- param MinorRadius
- type MinorRadius
float
- param P
- type P
gp_Pnt2d
- rtype
float
-
static
EllipseValue
()¶ - Parameters
U –
- type U
float
- param Pos
- type Pos
gp_Ax2
- param MajorRadius
- type MajorRadius
float
- param MinorRadius
- type MinorRadius
float
- rtype
gp_Pnt:param U:
- type U
float
- param Pos
- type Pos
gp_Ax22d
- param MajorRadius
- type MajorRadius
float
- param MinorRadius
- type MinorRadius
float
- rtype
gp_Pnt2d
-
static
HyperbolaD1
()¶ - Parameters
U –
- type U
float
- param Pos
- type Pos
gp_Ax2
- param MajorRadius
- type MajorRadius
float
- param MinorRadius
- type MinorRadius
float
- param P
- type P
gp_Pnt
- param V1
- type V1
gp_Vec
- rtype
void:param U:
- type U
float
- param Pos
- type Pos
gp_Ax22d
- param MajorRadius
- type MajorRadius
float
- param MinorRadius
- type MinorRadius
float
- param P
- type P
gp_Pnt2d
- param V1
- type V1
gp_Vec2d
- rtype
void
-
static
HyperbolaD2
()¶ - Parameters
U –
- type U
float
- param Pos
- type Pos
gp_Ax2
- param MajorRadius
- type MajorRadius
float
- param MinorRadius
- type MinorRadius
float
- param P
- type P
gp_Pnt
- param V1
- type V1
gp_Vec
- param V2
- type V2
gp_Vec
- rtype
void:param U:
- type U
float
- param Pos
- type Pos
gp_Ax22d
- param MajorRadius
- type MajorRadius
float
- param MinorRadius
- type MinorRadius
float
- param P
- type P
gp_Pnt2d
- param V1
- type V1
gp_Vec2d
- param V2
- type V2
gp_Vec2d
- rtype
void
-
static
HyperbolaD3
()¶ - Parameters
U –
- type U
float
- param Pos
- type Pos
gp_Ax2
- param MajorRadius
- type MajorRadius
float
- param MinorRadius
- type MinorRadius
float
- param P
- type P
gp_Pnt
- param V1
- type V1
gp_Vec
- param V2
- type V2
gp_Vec
- param V3
- type V3
gp_Vec
- rtype
void* In the following functions N is the order of derivation and should be greater than 0
- param U
- type U
float
- param Pos
- type Pos
gp_Ax22d
- param MajorRadius
- type MajorRadius
float
- param MinorRadius
- type MinorRadius
float
- param P
- type P
gp_Pnt2d
- param V1
- type V1
gp_Vec2d
- param V2
- type V2
gp_Vec2d
- param V3
- type V3
gp_Vec2d
- rtype
void
-
static
HyperbolaDN
()¶ - Parameters
U –
- type U
float
- param Pos
- type Pos
gp_Ax2
- param MajorRadius
- type MajorRadius
float
- param MinorRadius
- type MinorRadius
float
- param N
- type N
int
- rtype
gp_Vec:param U:
- type U
float
- param Pos
- type Pos
gp_Ax22d
- param MajorRadius
- type MajorRadius
float
- param MinorRadius
- type MinorRadius
float
- param N
- type N
int
- rtype
gp_Vec2d
-
static
HyperbolaParameter
()¶ - Parameters
Pos –
- type Pos
gp_Ax2
- param MajorRadius
- type MajorRadius
float
- param MinorRadius
- type MinorRadius
float
- param P
- type P
gp_Pnt
- rtype
float* Pos is the Axis of the Hyperbola parametrization In the local coordinate system of the Hyperbola X (U) = MajorRadius * Ch (U) Y (U) = MinorRadius * Sh (U)
- param Pos
- type Pos
gp_Ax22d
- param MajorRadius
- type MajorRadius
float
- param MinorRadius
- type MinorRadius
float
- param P
- type P
gp_Pnt2d
- rtype
float
-
static
HyperbolaValue
()¶ - Parameters
U –
- type U
float
- param Pos
- type Pos
gp_Ax2
- param MajorRadius
- type MajorRadius
float
- param MinorRadius
- type MinorRadius
float
- rtype
gp_Pnt:param U:
- type U
float
- param Pos
- type Pos
gp_Ax22d
- param MajorRadius
- type MajorRadius
float
- param MinorRadius
- type MinorRadius
float
- rtype
gp_Pnt2d
-
static
InPeriod
()¶ - Return a value in the range <UFirst, ULast> by adding or removing the period <ULast - UFirst> to <U>. ATTENTION!!! It is expected but not checked that (ULast > UFirst)
- param U
- type U
float
- param UFirst
- type UFirst
float
- param ULast
- type ULast
float
- rtype
float
-
static
LineD1
()¶ - Parameters
U –
- type U
float
- param Pos
- type Pos
gp_Ax1
- param P
- type P
gp_Pnt
- param V1
- type V1
gp_Vec
- rtype
void:param U:
- type U
float
- param Pos
- type Pos
gp_Ax2d
- param P
- type P
gp_Pnt2d
- param V1
- type V1
gp_Vec2d
- rtype
void
-
static
LineDN
()¶ - In the following functions N is the order of derivation and should be greater than 0
- param U
- type U
float
- param Pos
- type Pos
gp_Ax1
- param N
- type N
int
- rtype
gp_Vec:param U:
- type U
float
- param Pos
- type Pos
gp_Ax2d
- param N
- type N
int
- rtype
gp_Vec2d
-
static
LineParameter
()¶ - Parameters
Pos –
- type Pos
gp_Ax1
- param P
- type P
gp_Pnt
- rtype
float* parametrization P (U) = L.Location() + U * L.Direction()
- param Pos
- type Pos
gp_Ax2d
- param P
- type P
gp_Pnt2d
- rtype
float
-
static
LineValue
()¶ - Curve evaluation The following basis functions compute the derivatives on elementary curves defined by their geometric characteristics. These functions can be called without constructing a conic from package gp. They are called by the previous functions. ExampleA circle is defined by its position and its radius.
- param U
- type U
float
- param Pos
- type Pos
gp_Ax1
- rtype
gp_Pnt:param U:
- type U
float
- param Pos
- type Pos
gp_Ax2d
- rtype
gp_Pnt2d
-
static
ParabolaD1
()¶ - Parameters
U –
- type U
float
- param Pos
- type Pos
gp_Ax2
- param Focal
- type Focal
float
- param P
- type P
gp_Pnt
- param V1
- type V1
gp_Vec
- rtype
void:param U:
- type U
float
- param Pos
- type Pos
gp_Ax22d
- param Focal
- type Focal
float
- param P
- type P
gp_Pnt2d
- param V1
- type V1
gp_Vec2d
- rtype
void
-
static
ParabolaD2
()¶ - Parameters
U –
- type U
float
- param Pos
- type Pos
gp_Ax2
- param Focal
- type Focal
float
- param P
- type P
gp_Pnt
- param V1
- type V1
gp_Vec
- param V2
- type V2
gp_Vec
- rtype
void:param U:
- type U
float
- param Pos
- type Pos
gp_Ax22d
- param Focal
- type Focal
float
- param P
- type P
gp_Pnt2d
- param V1
- type V1
gp_Vec2d
- param V2
- type V2
gp_Vec2d
- rtype
void
-
static
ParabolaDN
()¶ - Parameters
U –
- type U
float
- param Pos
- type Pos
gp_Ax2
- param Focal
- type Focal
float
- param N
- type N
int
- rtype
gp_Vec* The following functions compute the parametric value corresponding to a given point on a elementary curve. The point should be on the curve.
- param U
- type U
float
- param Pos
- type Pos
gp_Ax22d
- param Focal
- type Focal
float
- param N
- type N
int
- rtype
gp_Vec2d
-
static
ParabolaParameter
()¶ - Parameters
Pos –
- type Pos
gp_Ax2
- param P
- type P
gp_Pnt
- rtype
float* Pos is the mirror axis of the parabola parametrization In the local coordinate system of the parabola Y**2 = (2*P) * X where P is the distance between the focus and the directrix. The following functions build a 3d curve from a 2d curve at a given position defined with an Ax2.
- param Pos
- type Pos
gp_Ax22d
- param P
- type P
gp_Pnt2d
- rtype
float
-
static
ParabolaValue
()¶ - Parameters
U –
- type U
float
- param Pos
- type Pos
gp_Ax2
- param Focal
- type Focal
float
- rtype
gp_Pnt:param U:
- type U
float
- param Pos
- type Pos
gp_Ax22d
- param Focal
- type Focal
float
- rtype
gp_Pnt2d
-
static
Parameter
()¶ - Computes the parameter value of the point P on the given curve. Note: In its local coordinate system, the parametric equation of the curve is given by the following: - for the line L: P(U) = Po + U*Vo where Po is the origin and Vo the unit vector of its positioning axis. - for the circle C: X(U) = Radius*Cos(U), Y(U) = Radius*Sin(U) - for the ellipse E: X(U) = MajorRadius*Cos(U). Y(U) = MinorRadius*Sin(U) - for the hyperbola H: X(U) = MajorRadius*Ch(U), Y(U) = MinorRadius*Sh(U) - for the parabola Prb: X(U) = U**2 / (2*p) Y(U) = U where p is the distance between the focus and the directrix. Warning The point P must be on the curve. These functions are not protected, however, and if point P is not on the curve, an exception may be raised.
- param L
- type L
gp_Lin
- param P
- type P
gp_Pnt
- rtype
float* parametrization P (U) = L.Location() + U * L.Direction()
- param L
- type L
gp_Lin2d
- param P
- type P
gp_Pnt2d
- rtype
float:param C:
- type C
gp_Circ
- param P
- type P
gp_Pnt
- rtype
float* parametrization In the local coordinate system of the circle X (U) = Radius * Cos (U) Y (U) = Radius * Sin (U)
- param C
- type C
gp_Circ2d
- param P
- type P
gp_Pnt2d
- rtype
float:param E:
- type E
gp_Elips
- param P
- type P
gp_Pnt
- rtype
float* parametrization In the local coordinate system of the Ellipse X (U) = MajorRadius * Cos (U) Y (U) = MinorRadius * Sin (U)
- param E
- type E
gp_Elips2d
- param P
- type P
gp_Pnt2d
- rtype
float:param H:
- type H
gp_Hypr
- param P
- type P
gp_Pnt
- rtype
float* parametrization In the local coordinate system of the Hyperbola X (U) = MajorRadius * Ch (U) Y (U) = MinorRadius * Sh (U)
- param H
- type H
gp_Hypr2d
- param P
- type P
gp_Pnt2d
- rtype
float:param Prb:
- type Prb
gp_Parab
- param P
- type P
gp_Pnt
- rtype
float* parametrization In the local coordinate system of the parabola Y**2 = (2*P) * X where P is the distance between the focus and the directrix.
- param Prb
- type Prb
gp_Parab2d
- param P
- type P
gp_Pnt2d
- rtype
float
-
static
To3d
()¶ - Parameters
Pos –
- type Pos
gp_Ax2
- param P
- type P
gp_Pnt2d
- rtype
gp_Pnt:param Pos:
- type Pos
gp_Ax2
- param V
- type V
gp_Vec2d
- rtype
gp_Vec:param Pos:
- type Pos
gp_Ax2
- param V
- type V
gp_Dir2d
- rtype
gp_Dir:param Pos:
- type Pos
gp_Ax2
- param A
- type A
gp_Ax2d
- rtype
gp_Ax1:param Pos:
- type Pos
gp_Ax2
- param A
- type A
gp_Ax22d
- rtype
gp_Ax2:param Pos:
- type Pos
gp_Ax2
- param L
- type L
gp_Lin2d
- rtype
gp_Lin:param Pos:
- type Pos
gp_Ax2
- param C
- type C
gp_Circ2d
- rtype
gp_Circ:param Pos:
- type Pos
gp_Ax2
- param E
- type E
gp_Elips2d
- rtype
gp_Elips:param Pos:
- type Pos
gp_Ax2
- param H
- type H
gp_Hypr2d
- rtype
gp_Hypr* These functions build a 3D geometric entity from a 2D geometric entity. The ‘X Axis’ and the ‘Y Axis’ of the global coordinate system (i.e. 2D space) are lined up respectively with the ‘X Axis’ and ‘Y Axis’ of the 3D coordinate system, Pos.
- param Pos
- type Pos
gp_Ax2
- param Prb
- type Prb
gp_Parab2d
- rtype
gp_Parab
-
static
Value
()¶ - For elementary curves (lines, circles and conics) from the gp package, computes the point of parameter U. The result is either: - a gp_Pnt point for a curve in 3D space, or - a gp_Pnt2d point for a curve in 2D space.
- param U
- type U
float
- param L
- type L
gp_Lin
- rtype
gp_Pnt:param U:
- type U
float
- param C
- type C
gp_Circ
- rtype
gp_Pnt:param U:
- type U
float
- param E
- type E
gp_Elips
- rtype
gp_Pnt:param U:
- type U
float
- param H
- type H
gp_Hypr
- rtype
gp_Pnt:param U:
- type U
float
- param Prb
- type Prb
gp_Parab
- rtype
gp_Pnt:param U:
- type U
float
- param L
- type L
gp_Lin2d
- rtype
gp_Pnt2d:param U:
- type U
float
- param C
- type C
gp_Circ2d
- rtype
gp_Pnt2d:param U:
- type U
float
- param E
- type E
gp_Elips2d
- rtype
gp_Pnt2d:param U:
- type U
float
- param H
- type H
gp_Hypr2d
- rtype
gp_Pnt2d:param U:
- type U
float
- param Prb
- type Prb
gp_Parab2d
- rtype
gp_Pnt2d
-
property
thisown
¶ The membership flag
-
static