pycatia.sketcher_interfaces.hyperbola_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.hyperbola_2D.Hyperbola2D(com_object)¶
Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectSketcherInterfaces.GeometricElementSketcherInterfaces.Geometry2DSketcherInterfaces.Curve2DHyperbola2DClass defining an hyperbola in 2D Space.- 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 hyperbola 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 point of the hyperbola in 2D spaceParameters:oCenter[0]The X Coordinate of the center point of the hyperbolaoCenter[1]The Y Coordinate of the center point of thehyperbola
- Return type:
tuple
- property imaginary_radius: float¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property ImaginaryRadius() As double (Read Only)Returns the minor radius of the hyperbola in 2D spaceParameters:oMinorRadiusThe minor radius of the hyperbola
- Return type:
float
- property radius: float¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Radius() As double (Read Only)Returns the major radius of the hyperbola in 2D spaceParameters:oMajorRadiusThe major radius of the hyperbola
- Return type:
float
- set_data(i_center_x: float, i_center_y: float, i_axis_x: float, i_axis_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 iAxisX,double iAxisY,double iMajorRadius,double iMinorRadius)Modifies the caracteristics of the hyperbolaParameters:iCenterXThe X Coordinate of the hyperbola centeriCenterYThe Y Coordinate of the hyperbola centeriAxisXThe X coordinate of the axis vector directioniAxisYThe Y coordinate of the axis vector directioniMajorRadiusThe length of the major radiusiMinorRadiusThe length of the minor radius
- Parameters:
i_center_x (float) –
i_center_y (float) –
i_axis_x (float) –
i_axis_y (float) –
i_major_radius (float) –
i_minor_radius (float) –
- Return type:
None