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

Ellipse Ellipse.hxx cadex/Geom/Ellipse.hxx. More...

Inheritance diagram for manufacturingtoolkit.CadExMTK.Geom_Ellipse:
manufacturingtoolkit.CadExMTK.Geom_Conic manufacturingtoolkit.CadExMTK.Geom_Curve manufacturingtoolkit.CadExMTK.Geom_Geometry manufacturingtoolkit.CadExMTK.BaseObject

Public Member Functions

 __init__ (self, thePosition, theMajorRadius, theMinorRadius)
 Constructor.
 
 MajorRadius (self)
 Returns a major radius.
 
 MinorRadius (self)
 Returns a minor radius.
 
- Public Member Functions inherited from manufacturingtoolkit.CadExMTK.Geom_Conic
 Position (self)
 Returns an axis.
 
 Parameter (self, thePoint)
 Returns parameter for a 3D point.
 
- 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

Ellipse Ellipse.hxx cadex/Geom/Ellipse.hxx.

Defines 3D ellipse.

An ellipse is defined by axis placement, major and minor radii. The following image depicts an ellipse example:

Ellipse

An ellipse is a periodic curve parametrized as follows: \(\mathbf{C}(t) = \mathbf{P} + R_{major}\cos(t)\mathbf{X} + R_{minor}\sin(t)\mathbf{Y}\), where

  • \(\mathbf{P}\) is an origin point,
  • \(\mathbf{X}\) and \(\mathbf{Y}\) are directions,
  • \(R_{major}\) and \(R_{minor}\) are major and minor radii,
  • \(t\) belongs to \([0, 2\pi]\).

Note that major radius is always along the X-axis and minor radius - along the Y-axis, and that the \(\mathbf{C}(0)\) point lies on the major radius.

See also
Ellipse2d.

Constructor & Destructor Documentation

◆ __init__()

manufacturingtoolkit.CadExMTK.Geom_Ellipse.__init__ ( self,
thePosition,
theMajorRadius,
theMinorRadius )

Constructor.

Reimplemented from manufacturingtoolkit.CadExMTK.Geom_Conic.

Member Function Documentation

◆ Cast()

manufacturingtoolkit.CadExMTK.Geom_Ellipse.Cast ( theBase)
static

◆ CompareType()

manufacturingtoolkit.CadExMTK.Geom_Ellipse.CompareType ( theObject)
static

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