pycatia.sketcher_interfaces.ellipse_2D¶
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
Warning
The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.
- class pycatia.sketcher_interfaces.ellipse_2D.Ellipse2D(com_object)¶
Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectSketcherInterfaces.GeometricElementSketcherInterfaces.Geometry2DSketcherInterfaces.Curve2DEllipse2DClass defining an ellipse in 2D Space.- property center_point: Point2D¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property CenterPoint() As Point2DReturns the center point of the ellipse.Parameters:iCenterPointThe center point of the ellipse
- Return type:
- get_center() tuple ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub GetCenter(CATSafeArrayVariant oCenter)Returns the center of the ellipse in 2D spaceParameters:oCenter[0]The X Coordinate of the center point of the ellipseoCenter[1]The Y Coordinate of the center point of theellipse
- Return type:
tuple
- get_major_axis() tuple ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub GetMajorAxis(CATSafeArrayVariant oMajorAxis)Returns the unit vector of the major axis of the ellipse in 2DspaceParameters:oMajorAxis[0]The length of the major axisoMajorAxis[1]The length of the major axis
- Return type:
tuple
- get_minor_axis() tuple ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub GetMinorAxis(CATSafeArrayVariant oMajorAxis)Returns the unit vector of the minor axis of the ellipse in 2DspaceParameters:oMinorAxis[0]The length of the major axisoMinorAxis[1]The length of the major axis
- Return type:
tuple
- property major_radius: float¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property MajorRadius() As double (Read Only)Returns the radius of the ellipse major axisParameters:oMajorRadiusThe radius of the major axis
- Return type:
float
- property minor_radius: float¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property MinorRadius() As double (Read Only)Returns the radius of the ellipse minor axisParameters:oMinorRadiusThe radius of the minor axis
- Return type:
float
- set_data(i_center_x: float, i_center_y: float, i_major_x: float, i_major_y: float, i_major_radius: float, i_minor_radius: float) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetData(double iCenterX,double iCenterY,double iMajorX,double iMajorY,double iMajorRadius,double iMinorRadius)Modifies the caracteristics of the ellipseParameters:iCenterXThe X Coordinate of the ellipse centeriCenterYThe Y Coordinate of the ellipse centeriMajorXThe X coordinate of the Major axis directioniMajorYThe Y coordinate of the Major axis directioniMajorRadiusThe length of the major axisiMinorRadiusThe length of the minor axis
- Parameters:
i_center_x (float) –
i_center_y (float) –
i_major_x (float) –
i_major_y (float) –
i_major_radius (float) –
i_minor_radius (float) –
- Return type:
None