OffsetCurve OffsetCurve.hxx cadex/Geom/OffsetCurve.hxx. More...
Public Member Functions | |
| __init__ (self, theBasicCurve, theOffset, theDirection) | |
| BasisCurve (self) | |
| Returns basis curve. | |
| Offset (self) | |
| Returns offset value. | |
| Direction (self) | |
| Returns reference direction. | |
Public Member Functions inherited from manufacturingtoolkit.CadExMTK.Geom_Curve | |
| Type (self) | |
| Returns a curve type. | |
| Continuity (self) | |
| Returns a continuity type of the curve. | |
| Value (self, theParameter) | |
| Evaluates a point on the curve. | |
| Normal (self, theParameter) | |
| Returns the normal direction theNormal of parameter theParam. | |
| Curvature (self, theParameter) | |
| Returns the curvature value of parameter theParam. | |
| IsPeriodic (self) | |
| Returns true if the curve is periodic. | |
| UMin (self) | |
| Returns a minimum parameter of a definition domain. | |
| UMax (self) | |
| Returns a maximum parameter of a definition domain. | |
| Domain (self) | |
| Returns a definition domain. | |
| IsTrimmed (self) | |
| Returns whether curve is trimmed or not. | |
| SetTrim (self, theFirst, theLast) | |
| Trims curve with [theFirst, theLast] section. | |
| Transform (self, theTransformation) | |
| Applies transformation matrix to this object. | |
| Transformed (self, theTransformation) | |
| D0 (self, theParameter, theValue) | |
| Returns the point theValue of parameter theParam. | |
| D1 (self, theParameter, theValue, theD1) | |
| D2 (self, theParameter, theValue, theD1, theD2) | |
| Returns the point theValue of parameter theParam, the first theD1 and second theD2 derivatives. | |
| DN (self, theParameter, theDerivativeOrder, theValue, theD) | |
| Returns true if calculation completed successfully. | |
| Mirror (self, *args) | |
| Mirrored (self, *args) | |
| Rotate (self, theAxis, theAngle) | |
| Rotated (self, theAxis, theAngle) | |
| Translate (self, theVector) | |
| Translated (self, theVector) | |
| Scale (self, thePoint, theScale) | |
| Scaled (self, thePoint, theScale) | |
Public Member Functions inherited from manufacturingtoolkit.CadExMTK.BaseObject | |
| Id (self) | |
| Return unique identifier of public object. | |
| IsNull (self) | |
| IsEqual (self, theObj) | |
| __hash__ (self) | |
| __eq__ (self, other) | |
Static Public Member Functions | |
| CompareType (theObject) | |
| Cast (theBase) | |
OffsetCurve OffsetCurve.hxx cadex/Geom/OffsetCurve.hxx.
Defines 3D offset curve.
An offset curve is defined by a basis curve, reference direction and offset value.
The following image depicts an example of a planar offset curve:
A basis curve must be at least G1-continous, otherwise behavior is undefined (most likely an exception will be thrown).
An offset curve is parametrized as follows: \(\mathbf{C}(t) = \mathbf{B}(t) + \mathrm{offset}\cdot\mathbf{V}(t)\), where
If the basis curve is planar and reference direction \(\mathbf{D}\) is perpendicular to a plane of the basis curve, then the offset curve also belongs to that plane and is shifted by \(\mathrm{offset}\) value from the basis curve.
IsPeriodic() returns a value returned by the basis curve.
| manufacturingtoolkit.CadExMTK.Geom_OffsetCurve.__init__ | ( | self, | |
| theBasicCurve, | |||
| theOffset, | |||
| theDirection ) |
Reimplemented from manufacturingtoolkit.CadExMTK.Geom_Curve.
|
static |
Reimplemented from manufacturingtoolkit.CadExMTK.Geom_Curve.
|
static |
Reimplemented from manufacturingtoolkit.CadExMTK.Geom_Curve.