pycatia.sketcher_interfaces.parabola_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.parabola_2D.Parabola2D(com_object)¶
Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectSketcherInterfaces.GeometricElementSketcherInterfaces.Geometry2DSketcherInterfaces.Curve2DParabola2DClass defining an parabola in 2D Space.- property focal_distance: float¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property FocalDistance() As double (Read Only)Returns the focal distance of the parabola in 2D spaceParameters:oFocalThe focal distance of the parabola
- Return type:
float
- get_axis() tuple ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub GetAxis(CATSafeArrayVariant oAxis)Returns the axis vector direction of the parabola in 2DspaceParameters:oAxis[0]The X coordinate of the axis vector directionoAxis[1]The Y coordinate of the axis vector direction
- Return type:
tuple
- 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 parabola in 2D spaceParameters:oCenter[0]The X Coordinate of the center point of the parabolaoCenter[1]The Y Coordinate of the center point of theparabola
- Return type:
tuple
- set_data(i_center_x: float, i_center_y: float, i_axis_x: float, i_axis_y: float, i_focal_distance: float) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetData(double iCenterX,double iCenterY,double iAxisX,double iAxisY,double iFocalDistance)Modifies the caracteristics of the parabolaParameters:iCenterXThe X Coordinate of the parabola centeriCenterYThe Y Coordinate of the parabola centeriAxisXThe X coordinate of the axis vector directioniAxisYThe Y coordinate of the axis vector directioniFocalDistanceThe focal distance of the parabola
- Parameters:
i_center_x (float) –
i_center_y (float) –
i_axis_x (float) –
i_axis_y (float) –
i_focal_distance (float) –
- Return type:
None