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

BezierSurface BezierSurface.hxx cadex/Geom/BezierSurface.hxx. More...

Inheritance diagram for manufacturingtoolkit.CadExMTK.Geom_BezierSurface:
manufacturingtoolkit.CadExMTK.Geom_Surface manufacturingtoolkit.CadExMTK.Geom_Geometry manufacturingtoolkit.CadExMTK.BaseObject

Public Member Functions

 __init__ (self, *args)
 
 UDegree (self)
 Returns degree.
 
 VDegree (self)
 Returns degree.
 
 NumberOfUPoles (self)
 Returns number of U-poles.
 
 NumberOfVPoles (self)
 Returns number of V-poles.
 
 Pole (self, theUIndex, theVIndex)
 Returns a pole value.
 
 Poles (self)
 Populates a 2D table of poles.
 
 Weight (self, theUIndex, theVIndex)
 Returns a weight value.
 
 Weights (self)
 Populates a 2D table of weights.
 
- Public Member Functions inherited from manufacturingtoolkit.CadExMTK.Geom_Surface
 Type (self)
 Returns a surface type.
 
 Continuity (self)
 Returns a continuity type of the surface.
 
 Value (self, theParameterU, theParameterV)
 Evaluates a point on the surface.
 
 Normal (self, theParameterU, theParameterV)
 
 IsUPeriodic (self)
 Returns true if the surface is periodic in U direction.
 
 IsVPeriodic (self)
 Returns true if the surface is periodic in V direction.
 
 UMin (self)
 Returns a minimum parameter of a definition domain in U direction.
 
 UMax (self)
 Returns a maximum parameter of a definition domain in U direction.
 
 VMin (self)
 Returns a minimum parameter of a definition domain in V direction.
 
 VMax (self)
 Returns a maximum parameter of a definition domain in V direction.
 
 Domain (self)
 Returns a definition domain.
 
 IsTrimmed (self)
 Returns whether surface is trimmed or not.
 
 SetTrim (self, theUFirst, theULast, theVFirst, theVLast)
 Trims surface with [theUFirst, theULast] x [theVFirst, theVLast] section.
 
 Transform (self, theTransformation)
 Applies transformation matrix to this object.
 
 Transformed (self, theTransformation)
 Returns a copy this object after applying transformation.
 
 D0 (self, theParameterU, theParameterV, theValue)
 
 D1 (self, theParameterU, theParameterV, theValue, theD1U, theD1V)
 
 D2 (self, theParameterU, theParameterV, theValue, theD1U, theD1V, theD2U, theD2V, theD2UV)
 
 DN (self, theParameterU, theParameterV, 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.
 
 Curvature (self, *args)
 
 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

BezierSurface BezierSurface.hxx cadex/Geom/BezierSurface.hxx.

Defines a Bezier surface.

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

Bezier surface

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

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

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

The Bezier surface is always considered non-periodic.

Constructor & Destructor Documentation

◆ __init__()

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

Member Function Documentation

◆ Cast()

manufacturingtoolkit.CadExMTK.Geom_BezierSurface.Cast ( theBase)
static

◆ CompareType()

manufacturingtoolkit.CadExMTK.Geom_BezierSurface.CompareType ( theObject)
static

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