Hide menu
Loading...
Searching...
No Matches
manufacturingtoolkit.CadExMTK.Geom_Curve2d Class Reference

Curve2d Curve2d.hxx cadex/Geom/Curve2d.hxx. More...

Inheritance diagram for manufacturingtoolkit.CadExMTK.Geom_Curve2d:
manufacturingtoolkit.CadExMTK.Geom_Geometry manufacturingtoolkit.CadExMTK.BaseObject manufacturingtoolkit.CadExMTK.Geom_BSplineCurve2d manufacturingtoolkit.CadExMTK.Geom_BezierCurve2d manufacturingtoolkit.CadExMTK.Geom_Conic2d manufacturingtoolkit.CadExMTK.Geom_Line2d manufacturingtoolkit.CadExMTK.Geom_OffsetCurve2d manufacturingtoolkit.CadExMTK.Geom_Circle2d manufacturingtoolkit.CadExMTK.Geom_Ellipse2d manufacturingtoolkit.CadExMTK.Geom_Hyperbola2d manufacturingtoolkit.CadExMTK.Geom_Parabola2d

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.
 
- Public Member Functions inherited from manufacturingtoolkit.CadExMTK.BaseObject
 Id (self)
 Return unique identifier of public object.
 
 IsNull (self)
 

Static Public Member Functions

 CompareType (theObject)
 
 Cast (theBase)
 

Detailed Description

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.

See also
Curves.

Constructor & Destructor Documentation

◆ __init__()

Member Function Documentation

◆ Cast()

manufacturingtoolkit.CadExMTK.Geom_Curve2d.Cast ( theBase)
static

◆ CompareType()

manufacturingtoolkit.CadExMTK.Geom_Curve2d.CompareType ( theObject)
static

◆ DN()

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:

  • theDerivativeOrder must belong to range [0, 3].
  • theD should have enough size to store theDerivativeOrder derivatives.

The documentation for this class was generated from the following file:
  • CadExMTK.py