Curve2d Curve2d.hxx cadex/Geom/Curve2d.hxx. More...
Public Member Functions | |
__init__ (self, *args, **kwargs) | |
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. | |
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. | |
D0 (self, theParameter, theValue) | |
Returns the point theValue of parameter theParam. | |
D1 (self, theParameter, theValue, theD1) | |
Returns the point theValue of parameter theParam and the first derivative theD1. | |
D2 (self, theParameter, theValue, theD1, theD2) | |
Returns the point theValue of parameter theParam and second derivatives theD1 and theD2. | |
DN (self, theParameter, theDerivativeOrder, theValue, theD) | |
Returns true if calculation was passed succsesfully, the returned vectors gives the value of the derivative for the order of derivation theDerivativeOrder. | |
Transform (self, theTransformation) | |
Applies transformation matrix to this object. | |
Transformed (self, theTransformation) | |
Returns a copy this object after applying transformation. | |
![]() | |
Id (self) | |
Return unique identifier of public object. | |
IsNull (self) | |
Static Public Member Functions | |
CompareType (theObject) | |
Cast (theBase) | |
Curve2d Curve2d.hxx cadex/Geom/Curve2d.hxx.
Base class for 2D curves.
2D curves are used to represent curves in surface parametric domains (p-curves). They are used by edges owned by faces.
For detailed description refer to 3D counterpart Curve.
manufacturingtoolkit.CadExMTK.Geom_Curve2d.__init__ | ( | self, | |
* | args, | ||
** | kwargs ) |
|
static |
Reimplemented from manufacturingtoolkit.CadExMTK.Geom_Geometry.
|
static |
Reimplemented from manufacturingtoolkit.CadExMTK.Geom_Geometry.
manufacturingtoolkit.CadExMTK.Geom_Curve2d.DN | ( | self, | |
theParameter, | |||
theDerivativeOrder, | |||
theValue, | |||
theD ) |
Returns true if calculation was passed succsesfully, the returned vectors gives the value of the derivative for the order of derivation theDerivativeOrder.
Otherwise returns false. Throws exception if the continuity of the curve is not CN.
Parameters: