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

BezierCurve BezierCurve.hxx cadex/Geom/BezierCurve.hxx. More...

Inheritance diagram for manufacturingtoolkit.CadExMTK.Geom_BezierCurve:
manufacturingtoolkit.CadExMTK.Geom_Curve manufacturingtoolkit.CadExMTK.Geom_Geometry manufacturingtoolkit.CadExMTK.BaseObject

Public Member Functions

 __init__ (self, *args)
 
 Degree (self)
 Returns degree.
 
 NumberOfPoles (self)
 Returns number of poles.
 
 Pole (self, theIndex)
 Returns a pole value.
 
 Poles (self)
 Populates a vector of weights.
 
 Weight (self, theIndex)
 Returns a weight value.
 
 Weights (self)
 Populates a vector of weights.
 
- 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)
 

Static Public Member Functions

 CompareType (theObject)
 
 Cast (theBase)
 

Detailed Description

BezierCurve BezierCurve.hxx cadex/Geom/BezierCurve.hxx.

Defines 3D Bezier curve.

Bezier curve is defined by control points (poles) and their weights. The following image depicts an example of a Bezier curve:

Bezier curve

For introduction to and mathematical definition of Bezier curve please refer to external resources, for instance:

A rational Bezier curve contains an explicit vector of weights, whereas polynomial does not.

The curve degree equals number of poles minus one. Degree up to 25 is supported.

The Bezier curve is always considered non-periodic.

Constructor & Destructor Documentation

◆ __init__()

manufacturingtoolkit.CadExMTK.Geom_BezierCurve.__init__ ( self,
* args )

Member Function Documentation

◆ Cast()

manufacturingtoolkit.CadExMTK.Geom_BezierCurve.Cast ( theBase)
static

◆ CompareType()

manufacturingtoolkit.CadExMTK.Geom_BezierCurve.CompareType ( theObject)
static

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