OCC.GeomLProp module¶
These global functions compute the degree ofcontinuity of a 3D curve built by concatenation of twoother curves (or portions of curves) at their junction point.
-
class
GeomLProp_CLProps
(*args)¶ Bases:
object
Parameters: Return type: Return type: Return type: -
thisown
¶ The membership flag
-
-
class
GeomLProp_CurveTool
¶ Bases:
object
-
static
Continuity
()¶ - returns the order of continuity of the curve <C>. returns 1 : first derivative only is computable returns 2 : first and second derivative only are computable. returns 3 : first, second and third are computable.
Parameters: C (Handle_Geom_Curve &) – Return type: int
-
static
D1
()¶ - Computes the point <P> and first derivative <V1> of parameter <U> on the curve <C>.
Parameters: Return type: void
-
static
D2
()¶ - Computes the point <P>, the first derivative <V1> and second derivative <V2> of parameter <U> on the curve <C>.
Parameters: Return type: void
-
static
D3
()¶ - Computes the point <P>, the first derivative <V1>, the second derivative <V2> and third derivative <V3> of parameter <U> on the curve <C>.
Parameters: Return type: void
-
static
FirstParameter
()¶ - returns the first parameter bound of the curve.
Parameters: C (Handle_Geom_Curve &) – Return type: float
-
static
LastParameter
()¶ - returns the last parameter bound of the curve. FirstParameter must be less than LastParamenter.
Parameters: C (Handle_Geom_Curve &) – Return type: float
-
static
Value
()¶ - Computes the point <P> of parameter <U> on the curve <C>.
Parameters: Return type: void
-
thisown
¶ The membership flag
-
static
-
GeomLProp_CurveTool_Continuity
()¶ - returns the order of continuity of the curve <C>. returns 1 : first derivative only is computable returns 2 : first and second derivative only are computable. returns 3 : first, second and third are computable.
Parameters: C (Handle_Geom_Curve &) – Return type: int
-
GeomLProp_CurveTool_D1
()¶ - Computes the point <P> and first derivative <V1> of parameter <U> on the curve <C>.
Parameters: Return type: void
-
GeomLProp_CurveTool_D2
()¶ - Computes the point <P>, the first derivative <V1> and second derivative <V2> of parameter <U> on the curve <C>.
Parameters: Return type: void
-
GeomLProp_CurveTool_D3
()¶ - Computes the point <P>, the first derivative <V1>, the second derivative <V2> and third derivative <V3> of parameter <U> on the curve <C>.
Parameters: Return type: void
-
GeomLProp_CurveTool_FirstParameter
()¶ - returns the first parameter bound of the curve.
Parameters: C (Handle_Geom_Curve &) – Return type: float
-
GeomLProp_CurveTool_LastParameter
()¶ - returns the last parameter bound of the curve. FirstParameter must be less than LastParamenter.
Parameters: C (Handle_Geom_Curve &) – Return type: float
-
GeomLProp_CurveTool_Value
()¶ - Computes the point <P> of parameter <U> on the curve <C>.
Parameters: Return type: void
-
class
GeomLProp_SLProps
(*args)¶ Bases:
object
Parameters: Return type: Return type: Return type: -
thisown
¶ The membership flag
-
-
class
GeomLProp_SurfaceTool
¶ Bases:
object
-
static
Bounds
()¶ - returns the bounds of the Surface.
Parameters: - S (Handle_Geom_Surface &) –
- U1 (float &) –
- V1 (float &) –
- U2 (float &) –
- V2 (float &) –
Return type: void
-
static
Continuity
()¶ - returns the order of continuity of the Surface <S>. returns 1 : first derivative only is computable returns 2 : first and second derivative only are computable.
Parameters: S (Handle_Geom_Surface &) – Return type: int
-
static
D1
()¶ - Computes the point <P> and first derivative <D1*> of parameter <U> and <V> on the Surface <S>.
Parameters: Return type: void
-
static
D2
()¶ - Computes the point <P>, the first derivative <D1*> and second derivative <D2*> of parameter <U> and <V> on the Surface <S>.
Parameters: Return type: void
-
static
DN
()¶ Parameters: Return type:
-
static
Value
()¶ - Computes the point <P> of parameter <U> and <V> on the Surface <S>.
Parameters: Return type: void
-
thisown
¶ The membership flag
-
static
-
GeomLProp_SurfaceTool_Bounds
()¶ - returns the bounds of the Surface.
Parameters: - S (Handle_Geom_Surface &) –
- U1 (float &) –
- V1 (float &) –
- U2 (float &) –
- V2 (float &) –
Return type: void
-
GeomLProp_SurfaceTool_Continuity
()¶ - returns the order of continuity of the Surface <S>. returns 1 : first derivative only is computable returns 2 : first and second derivative only are computable.
Parameters: S (Handle_Geom_Surface &) – Return type: int
-
GeomLProp_SurfaceTool_D1
()¶ - Computes the point <P> and first derivative <D1*> of parameter <U> and <V> on the Surface <S>.
Parameters: Return type: void
-
GeomLProp_SurfaceTool_D2
()¶ - Computes the point <P>, the first derivative <D1*> and second derivative <D2*> of parameter <U> and <V> on the Surface <S>.
Parameters: Return type: void
-
GeomLProp_SurfaceTool_DN
()¶ Parameters: Return type:
-
GeomLProp_SurfaceTool_Value
()¶ - Computes the point <P> of parameter <U> and <V> on the Surface <S>.
Parameters: Return type: void
-
class
SwigPyIterator
(*args, **kwargs)¶ Bases:
object
-
advance
()¶
-
copy
()¶
-
decr
()¶
-
distance
()¶
-
equal
()¶
-
incr
()¶
-
next
()¶
-
previous
()¶
-
thisown
¶ The membership flag
-
value
()¶
-
-
class
geomlprop
¶ Bases:
object
-
static
Continuity
()¶ - Computes the regularity at the junction between C1 and C2. The booleans r1 and r2 are true if the curves must be taken reversed. The point u1 on C1 and the point u2 on C2 must be confused. tl and ta are the linear and angular tolerance used two compare the derivative.
Parameters: Return type: GeomAbs_Shape
- The same as preciding but using the standard tolerances from package Precision.
Parameters: Return type: GeomAbs_Shape
-
thisown
¶ The membership flag
-
static
-
geomlprop_Continuity
()¶ - Computes the regularity at the junction between C1 and C2. The booleans r1 and r2 are true if the curves must be taken reversed. The point u1 on C1 and the point u2 on C2 must be confused. tl and ta are the linear and angular tolerance used two compare the derivative.
Parameters: Return type: GeomAbs_Shape
- The same as preciding but using the standard tolerances from package Precision.
Parameters: Return type: GeomAbs_Shape
-
new_instancemethod
(func, inst, cls)¶
-
register_handle
(handle, base_object)¶ Inserts the handle into the base object to prevent memory corruption in certain cases